From 8251feea588ab1d4a866178cf92e6d8ee9b7b2e8 Mon Sep 17 00:00:00 2001 From: Evgenii Karagodin Date: Tue, 20 Feb 2018 15:34:44 +0700 Subject: [PATCH] Update docs to 0.4.1 --- build/1.1eded1c3.js | 1 + build/1.d59fc978.js | 1 - build/bundle.13566d48.js | 1 - build/bundle.ba7a221a.js | 1 + build/codemirror.2b069d61.js | 1 + build/codemirror.a8f27acf.js | 1 - build/codemirror/addon/dialog/dialog.js.b0486a86.js | 1 - build/codemirror/addon/search/search.js.6b12bb49.js | 1 - build/codemirror/addon/search/searchcursor.js.c3af3a7d.js | 1 - build/codemirror/mode/{0.fe7607f3.js => 0.b8f5d546.js} | 2 +- build/codemirror/mode/{1.a478c796.js => 1.28f4ed3b.js} | 2 +- build/codemirror/mode/{10.bd3eeb50.js => 10.2d2a1b06.js} | 2 +- build/codemirror/mode/{100.667ac867.js => 100.3dfe94d2.js} | 2 +- build/codemirror/mode/{101.95a992a0.js => 101.2015be6c.js} | 2 +- build/codemirror/mode/102.18644915.js | 1 - build/codemirror/mode/102.337084be.js | 1 + build/codemirror/mode/{103.6728881e.js => 103.eef30f80.js} | 2 +- build/codemirror/mode/{104.4a2eaa16.js => 104.5aa9aa5e.js} | 2 +- build/codemirror/mode/{105.a8f13fa5.js => 105.ee32f53d.js} | 2 +- build/codemirror/mode/{106.585ee64c.js => 106.d75c2e21.js} | 2 +- build/codemirror/mode/{107.a3ff5dac.js => 107.2831d40a.js} | 2 +- build/codemirror/mode/{108.cb9d408f.js => 108.8aa69e62.js} | 2 +- build/codemirror/mode/{109.9936a534.js => 109.b2f41820.js} | 2 +- build/codemirror/mode/{11.9d59b91f.js => 11.6f245c08.js} | 2 +- build/codemirror/mode/{110.ad82b946.js => 110.494e9203.js} | 2 +- build/codemirror/mode/{111.ed91cbab.js => 111.b57b96f5.js} | 2 +- build/codemirror/mode/{112.b6fbf1a3.js => 112.5ec6f653.js} | 2 +- build/codemirror/mode/113.9848ee76.js | 1 - build/codemirror/mode/113.e88b1ce9.js | 1 + build/codemirror/mode/{114.dc9ecfc5.js => 114.3af0b25a.js} | 2 +- build/codemirror/mode/115.f2bd619e.js | 1 + build/codemirror/mode/115.fc392072.js | 1 - build/codemirror/mode/{116.f9582ff1.js => 116.8febadc3.js} | 2 +- build/codemirror/mode/{117.7e30f14e.js => 117.ffc3c072.js} | 2 +- build/codemirror/mode/{118.be8e9bef.js => 118.8852c4fd.js} | 2 +- build/codemirror/mode/{119.e3615ee1.js => 119.df9e6021.js} | 2 +- build/codemirror/mode/12.2f5d25a9.js | 1 + build/codemirror/mode/12.840e57b9.js | 1 - build/codemirror/mode/{120.ddecb772.js => 120.a1e75709.js} | 2 +- build/codemirror/mode/{13.f0d8e766.js => 13.21f7aba8.js} | 2 +- build/codemirror/mode/{14.1f62f606.js => 14.aebc88cf.js} | 2 +- build/codemirror/mode/15.a97f3b20.js | 1 + build/codemirror/mode/15.bf076336.js | 1 - build/codemirror/mode/{16.3592a531.js => 16.f0020c3d.js} | 2 +- build/codemirror/mode/17.a5a063ca.js | 1 - build/codemirror/mode/17.be4e6e78.js | 1 + build/codemirror/mode/{18.f9460598.js => 18.7d74d0c8.js} | 2 +- build/codemirror/mode/{19.62046c7a.js => 19.c5231846.js} | 2 +- build/codemirror/mode/{2.33810719.js => 2.914d05f5.js} | 2 +- build/codemirror/mode/{20.57ecd309.js => 20.b24e51b0.js} | 2 +- build/codemirror/mode/{21.aa7adbd5.js => 21.b13f826d.js} | 2 +- build/codemirror/mode/{22.4558e8fa.js => 22.54e75c53.js} | 2 +- build/codemirror/mode/{23.79089835.js => 23.f944f82b.js} | 2 +- build/codemirror/mode/{24.481e77ff.js => 24.7547b394.js} | 2 +- build/codemirror/mode/{25.9fa80074.js => 25.ab718f16.js} | 2 +- build/codemirror/mode/{26.ae5267a0.js => 26.d5c43c69.js} | 2 +- build/codemirror/mode/27.39ed72a8.js | 1 - build/codemirror/mode/27.48b46d5a.js | 1 + build/codemirror/mode/{28.e6e73573.js => 28.a6aba0d7.js} | 2 +- build/codemirror/mode/{29.aeb0cfba.js => 29.db9ac070.js} | 2 +- build/codemirror/mode/{3.445c94a7.js => 3.860f39f2.js} | 2 +- build/codemirror/mode/{30.1b11854e.js => 30.d91cdc45.js} | 2 +- build/codemirror/mode/31.175c6db1.js | 1 + build/codemirror/mode/31.bd367f06.js | 1 - build/codemirror/mode/{32.82765e46.js => 32.db75da5a.js} | 2 +- build/codemirror/mode/{33.3ba1fd88.js => 33.fb720ccb.js} | 2 +- build/codemirror/mode/{34.0cc6b81f.js => 34.dc385593.js} | 2 +- build/codemirror/mode/35.95f88735.js | 1 - build/codemirror/mode/35.d361f93b.js | 1 + build/codemirror/mode/{36.9f18a546.js => 36.2a61213e.js} | 2 +- build/codemirror/mode/{37.fd6baf76.js => 37.a1edc9f1.js} | 2 +- build/codemirror/mode/{38.71c44bb9.js => 38.20d4cd0b.js} | 2 +- build/codemirror/mode/{39.10535a98.js => 39.0c2841f7.js} | 2 +- build/codemirror/mode/{4.9832fd20.js => 4.1cfb22b3.js} | 2 +- build/codemirror/mode/40.32f465ff.js | 1 + build/codemirror/mode/40.9942dea7.js | 1 - build/codemirror/mode/41.30150f92.js | 1 - build/codemirror/mode/41.e578ae37.js | 1 + build/codemirror/mode/{42.6571825d.js => 42.4eacd5a9.js} | 2 +- build/codemirror/mode/{43.992558a7.js => 43.9ab47f29.js} | 2 +- build/codemirror/mode/44.cb2a8694.js | 1 + build/codemirror/mode/44.def7f213.js | 1 - build/codemirror/mode/{45.9908ae38.js => 45.9f35cebc.js} | 2 +- build/codemirror/mode/46.4f1e75d9.js | 1 + build/codemirror/mode/46.e6daca29.js | 1 - build/codemirror/mode/{47.b46eccbc.js => 47.975d9a04.js} | 2 +- build/codemirror/mode/{48.0765d450.js => 48.23f61f7f.js} | 2 +- build/codemirror/mode/{49.bed4664a.js => 49.98e4a38c.js} | 2 +- build/codemirror/mode/5.534f612b.js | 1 + build/codemirror/mode/5.c0305a13.js | 1 - build/codemirror/mode/50.bd0daf54.js | 1 - build/codemirror/mode/50.c4eacba3.js | 1 + build/codemirror/mode/{51.e2deb7fc.js => 51.099d6eb5.js} | 2 +- build/codemirror/mode/{52.80b4c01f.js => 52.b819e740.js} | 2 +- build/codemirror/mode/{54.acccc963.js => 54.a9002ce3.js} | 2 +- build/codemirror/mode/55.5bdf3e9a.js | 1 + build/codemirror/mode/55.816dd08a.js | 1 - build/codemirror/mode/{56.96da3117.js => 56.285415aa.js} | 2 +- build/codemirror/mode/{57.1b11bbde.js => 57.ab352850.js} | 2 +- build/codemirror/mode/{58.6174768c.js => 58.38fd96a1.js} | 2 +- build/codemirror/mode/{59.10fb445b.js => 59.1ce8993e.js} | 2 +- build/codemirror/mode/{6.e89f8f3b.js => 6.b31d8e76.js} | 2 +- build/codemirror/mode/{60.021e0fd8.js => 60.e18f6a82.js} | 2 +- build/codemirror/mode/{61.d94cb4c3.js => 61.0633ad66.js} | 2 +- build/codemirror/mode/{62.4b7ef017.js => 62.2f6751d0.js} | 2 +- build/codemirror/mode/{63.d534388d.js => 63.3a4f0385.js} | 2 +- build/codemirror/mode/{64.8db15856.js => 64.42dc3045.js} | 2 +- build/codemirror/mode/65.849ddeff.js | 1 - build/codemirror/mode/65.dacd5913.js | 1 + build/codemirror/mode/{66.ef08b5b7.js => 66.d659ab48.js} | 2 +- build/codemirror/mode/67.0c9acc47.js | 1 - build/codemirror/mode/67.8263eaf6.js | 1 + build/codemirror/mode/{68.4d8779c2.js => 68.c38cda68.js} | 2 +- build/codemirror/mode/{69.1d3ff129.js => 69.b870b37c.js} | 2 +- build/codemirror/mode/{7.4ba28b15.js => 7.d1561ec7.js} | 2 +- build/codemirror/mode/{70.249f8367.js => 70.4b74882b.js} | 2 +- build/codemirror/mode/{71.5132dbcd.js => 71.6298f007.js} | 2 +- build/codemirror/mode/72.22fc981e.js | 1 + build/codemirror/mode/72.f008318d.js | 1 - build/codemirror/mode/73.483ced06.js | 1 + build/codemirror/mode/73.b839e3f7.js | 1 - build/codemirror/mode/{74.5c6f633a.js => 74.fddeafad.js} | 2 +- build/codemirror/mode/{75.318a53d2.js => 75.604c0213.js} | 2 +- build/codemirror/mode/{76.118330e1.js => 76.07dc8648.js} | 2 +- build/codemirror/mode/{77.9b3a9a55.js => 77.d8e00efc.js} | 2 +- build/codemirror/mode/{78.880e46a4.js => 78.3da868b9.js} | 2 +- build/codemirror/mode/{79.10030e89.js => 79.9eefbc8f.js} | 2 +- build/codemirror/mode/{8.27af5ef2.js => 8.29bae0a6.js} | 2 +- build/codemirror/mode/{80.cd4dd9c6.js => 80.3bf9e37f.js} | 2 +- build/codemirror/mode/{81.54a4db2a.js => 81.4c010307.js} | 2 +- build/codemirror/mode/82.31d68144.js | 1 - build/codemirror/mode/82.5f97dc28.js | 1 + build/codemirror/mode/{83.eeaa2ead.js => 83.61ba1a5d.js} | 2 +- build/codemirror/mode/84.306f94d8.js | 1 - build/codemirror/mode/84.a2184a7e.js | 1 + build/codemirror/mode/{85.cd819e9f.js => 85.7cdb7b2e.js} | 2 +- build/codemirror/mode/86.05fbaa7e.js | 1 + build/codemirror/mode/86.b171cd8f.js | 1 - build/codemirror/mode/{87.463ccf62.js => 87.13bde017.js} | 2 +- build/codemirror/mode/{88.d4151819.js => 88.a947c8ec.js} | 2 +- build/codemirror/mode/{89.cb7c9282.js => 89.9ad95fdc.js} | 2 +- build/codemirror/mode/{9.28f82480.js => 9.b84ed167.js} | 2 +- build/codemirror/mode/90.2b2a9b2a.js | 1 - build/codemirror/mode/90.dc5cad7b.js | 1 + build/codemirror/mode/{91.ab574985.js => 91.782262bf.js} | 2 +- build/codemirror/mode/{92.ad517888.js => 92.bb001aed.js} | 2 +- build/codemirror/mode/{93.d93e7b80.js => 93.288e4087.js} | 2 +- build/codemirror/mode/{94.f05cdb39.js => 94.30796d46.js} | 2 +- build/codemirror/mode/95.157d304e.js | 1 - build/codemirror/mode/95.893ea849.js | 1 + build/codemirror/mode/96.6bfbc2da.js | 1 + build/codemirror/mode/96.d8be156d.js | 1 - build/codemirror/mode/{97.88367277.js => 97.f676d8c3.js} | 2 +- build/codemirror/mode/{98.95baa9d3.js => 98.479b2a70.js} | 2 +- build/codemirror/mode/{99.a0bccb8f.js => 99.3ad39299.js} | 2 +- ...ortable-hoc.1863c1e1.js => react-sortable-hoc.e37a541e.js} | 2 +- index.html | 4 ++-- 157 files changed, 126 insertions(+), 129 deletions(-) create mode 100644 build/1.1eded1c3.js delete mode 100644 build/1.d59fc978.js delete mode 100644 build/bundle.13566d48.js create mode 100644 build/bundle.ba7a221a.js create mode 100644 build/codemirror.2b069d61.js delete mode 100644 build/codemirror.a8f27acf.js delete mode 100644 build/codemirror/addon/dialog/dialog.js.b0486a86.js delete mode 100644 build/codemirror/addon/search/search.js.6b12bb49.js delete mode 100644 build/codemirror/addon/search/searchcursor.js.c3af3a7d.js rename build/codemirror/mode/{0.fe7607f3.js => 0.b8f5d546.js} (97%) rename build/codemirror/mode/{1.a478c796.js => 1.28f4ed3b.js} (94%) rename build/codemirror/mode/{10.bd3eeb50.js => 10.2d2a1b06.js} (97%) rename build/codemirror/mode/{100.667ac867.js => 100.3dfe94d2.js} (98%) rename build/codemirror/mode/{101.95a992a0.js => 101.2015be6c.js} (94%) delete mode 100644 build/codemirror/mode/102.18644915.js create mode 100644 build/codemirror/mode/102.337084be.js rename build/codemirror/mode/{103.6728881e.js => 103.eef30f80.js} (94%) rename build/codemirror/mode/{104.4a2eaa16.js => 104.5aa9aa5e.js} (98%) rename build/codemirror/mode/{105.a8f13fa5.js => 105.ee32f53d.js} (98%) rename build/codemirror/mode/{106.585ee64c.js => 106.d75c2e21.js} (97%) rename build/codemirror/mode/{107.a3ff5dac.js => 107.2831d40a.js} (98%) rename build/codemirror/mode/{108.cb9d408f.js => 108.8aa69e62.js} (98%) rename build/codemirror/mode/{109.9936a534.js => 109.b2f41820.js} (98%) rename build/codemirror/mode/{11.9d59b91f.js => 11.6f245c08.js} (98%) rename build/codemirror/mode/{110.ad82b946.js => 110.494e9203.js} (97%) rename build/codemirror/mode/{111.ed91cbab.js => 111.b57b96f5.js} (99%) rename build/codemirror/mode/{112.b6fbf1a3.js => 112.5ec6f653.js} (98%) delete mode 100644 build/codemirror/mode/113.9848ee76.js create mode 100644 build/codemirror/mode/113.e88b1ce9.js rename build/codemirror/mode/{114.dc9ecfc5.js => 114.3af0b25a.js} (97%) create mode 100644 build/codemirror/mode/115.f2bd619e.js delete mode 100644 build/codemirror/mode/115.fc392072.js rename build/codemirror/mode/{116.f9582ff1.js => 116.8febadc3.js} (99%) rename build/codemirror/mode/{117.7e30f14e.js => 117.ffc3c072.js} (97%) rename build/codemirror/mode/{118.be8e9bef.js => 118.8852c4fd.js} (96%) rename build/codemirror/mode/{119.e3615ee1.js => 119.df9e6021.js} (89%) create mode 100644 build/codemirror/mode/12.2f5d25a9.js delete mode 100644 build/codemirror/mode/12.840e57b9.js rename build/codemirror/mode/{120.ddecb772.js => 120.a1e75709.js} (96%) rename build/codemirror/mode/{13.f0d8e766.js => 13.21f7aba8.js} (98%) rename build/codemirror/mode/{14.1f62f606.js => 14.aebc88cf.js} (98%) create mode 100644 build/codemirror/mode/15.a97f3b20.js delete mode 100644 build/codemirror/mode/15.bf076336.js rename build/codemirror/mode/{16.3592a531.js => 16.f0020c3d.js} (85%) delete mode 100644 build/codemirror/mode/17.a5a063ca.js create mode 100644 build/codemirror/mode/17.be4e6e78.js rename build/codemirror/mode/{18.f9460598.js => 18.7d74d0c8.js} (98%) rename build/codemirror/mode/{19.62046c7a.js => 19.c5231846.js} (97%) rename build/codemirror/mode/{2.33810719.js => 2.914d05f5.js} (98%) rename build/codemirror/mode/{20.57ecd309.js => 20.b24e51b0.js} (98%) rename build/codemirror/mode/{21.aa7adbd5.js => 21.b13f826d.js} (97%) rename build/codemirror/mode/{22.4558e8fa.js => 22.54e75c53.js} (98%) rename build/codemirror/mode/{23.79089835.js => 23.f944f82b.js} (96%) rename build/codemirror/mode/{24.481e77ff.js => 24.7547b394.js} (97%) rename build/codemirror/mode/{25.9fa80074.js => 25.ab718f16.js} (99%) rename build/codemirror/mode/{26.ae5267a0.js => 26.d5c43c69.js} (98%) delete mode 100644 build/codemirror/mode/27.39ed72a8.js create mode 100644 build/codemirror/mode/27.48b46d5a.js rename build/codemirror/mode/{28.e6e73573.js => 28.a6aba0d7.js} (97%) rename build/codemirror/mode/{29.aeb0cfba.js => 29.db9ac070.js} (98%) rename build/codemirror/mode/{3.445c94a7.js => 3.860f39f2.js} (98%) rename build/codemirror/mode/{30.1b11854e.js => 30.d91cdc45.js} (98%) create mode 100644 build/codemirror/mode/31.175c6db1.js delete mode 100644 build/codemirror/mode/31.bd367f06.js rename build/codemirror/mode/{32.82765e46.js => 32.db75da5a.js} (99%) rename build/codemirror/mode/{33.3ba1fd88.js => 33.fb720ccb.js} (97%) rename build/codemirror/mode/{34.0cc6b81f.js => 34.dc385593.js} (98%) delete mode 100644 build/codemirror/mode/35.95f88735.js create mode 100644 build/codemirror/mode/35.d361f93b.js rename build/codemirror/mode/{36.9f18a546.js => 36.2a61213e.js} (99%) rename build/codemirror/mode/{37.fd6baf76.js => 37.a1edc9f1.js} (98%) rename build/codemirror/mode/{38.71c44bb9.js => 38.20d4cd0b.js} (97%) rename build/codemirror/mode/{39.10535a98.js => 39.0c2841f7.js} (99%) rename build/codemirror/mode/{4.9832fd20.js => 4.1cfb22b3.js} (90%) create mode 100644 build/codemirror/mode/40.32f465ff.js delete mode 100644 build/codemirror/mode/40.9942dea7.js delete mode 100644 build/codemirror/mode/41.30150f92.js create mode 100644 build/codemirror/mode/41.e578ae37.js rename build/codemirror/mode/{42.6571825d.js => 42.4eacd5a9.js} (95%) rename build/codemirror/mode/{43.992558a7.js => 43.9ab47f29.js} (99%) create mode 100644 build/codemirror/mode/44.cb2a8694.js delete mode 100644 build/codemirror/mode/44.def7f213.js rename build/codemirror/mode/{45.9908ae38.js => 45.9f35cebc.js} (96%) create mode 100644 build/codemirror/mode/46.4f1e75d9.js delete mode 100644 build/codemirror/mode/46.e6daca29.js rename build/codemirror/mode/{47.b46eccbc.js => 47.975d9a04.js} (98%) rename build/codemirror/mode/{48.0765d450.js => 48.23f61f7f.js} (98%) rename build/codemirror/mode/{49.bed4664a.js => 49.98e4a38c.js} (98%) create mode 100644 build/codemirror/mode/5.534f612b.js delete mode 100644 build/codemirror/mode/5.c0305a13.js delete mode 100644 build/codemirror/mode/50.bd0daf54.js create mode 100644 build/codemirror/mode/50.c4eacba3.js rename build/codemirror/mode/{51.e2deb7fc.js => 51.099d6eb5.js} (96%) rename build/codemirror/mode/{52.80b4c01f.js => 52.b819e740.js} (95%) rename build/codemirror/mode/{54.acccc963.js => 54.a9002ce3.js} (98%) create mode 100644 build/codemirror/mode/55.5bdf3e9a.js delete mode 100644 build/codemirror/mode/55.816dd08a.js rename build/codemirror/mode/{56.96da3117.js => 56.285415aa.js} (98%) rename build/codemirror/mode/{57.1b11bbde.js => 57.ab352850.js} (98%) rename build/codemirror/mode/{58.6174768c.js => 58.38fd96a1.js} (97%) rename build/codemirror/mode/{59.10fb445b.js => 59.1ce8993e.js} (99%) rename build/codemirror/mode/{6.e89f8f3b.js => 6.b31d8e76.js} (99%) rename build/codemirror/mode/{60.021e0fd8.js => 60.e18f6a82.js} (98%) rename build/codemirror/mode/{61.d94cb4c3.js => 61.0633ad66.js} (97%) rename build/codemirror/mode/{62.4b7ef017.js => 62.2f6751d0.js} (97%) rename build/codemirror/mode/{63.d534388d.js => 63.3a4f0385.js} (98%) rename build/codemirror/mode/{64.8db15856.js => 64.42dc3045.js} (95%) delete mode 100644 build/codemirror/mode/65.849ddeff.js create mode 100644 build/codemirror/mode/65.dacd5913.js rename build/codemirror/mode/{66.ef08b5b7.js => 66.d659ab48.js} (99%) delete mode 100644 build/codemirror/mode/67.0c9acc47.js create mode 100644 build/codemirror/mode/67.8263eaf6.js rename build/codemirror/mode/{68.4d8779c2.js => 68.c38cda68.js} (97%) rename build/codemirror/mode/{69.1d3ff129.js => 69.b870b37c.js} (99%) rename build/codemirror/mode/{7.4ba28b15.js => 7.d1561ec7.js} (93%) rename build/codemirror/mode/{70.249f8367.js => 70.4b74882b.js} (92%) rename build/codemirror/mode/{71.5132dbcd.js => 71.6298f007.js} (94%) create mode 100644 build/codemirror/mode/72.22fc981e.js delete mode 100644 build/codemirror/mode/72.f008318d.js create mode 100644 build/codemirror/mode/73.483ced06.js delete mode 100644 build/codemirror/mode/73.b839e3f7.js rename build/codemirror/mode/{74.5c6f633a.js => 74.fddeafad.js} (98%) rename build/codemirror/mode/{75.318a53d2.js => 75.604c0213.js} (98%) rename build/codemirror/mode/{76.118330e1.js => 76.07dc8648.js} (97%) rename build/codemirror/mode/{77.9b3a9a55.js => 77.d8e00efc.js} (96%) rename build/codemirror/mode/{78.880e46a4.js => 78.3da868b9.js} (98%) rename build/codemirror/mode/{79.10030e89.js => 79.9eefbc8f.js} (98%) rename build/codemirror/mode/{8.27af5ef2.js => 8.29bae0a6.js} (98%) rename build/codemirror/mode/{80.cd4dd9c6.js => 80.3bf9e37f.js} (98%) rename build/codemirror/mode/{81.54a4db2a.js => 81.4c010307.js} (99%) delete mode 100644 build/codemirror/mode/82.31d68144.js create mode 100644 build/codemirror/mode/82.5f97dc28.js rename build/codemirror/mode/{83.eeaa2ead.js => 83.61ba1a5d.js} (98%) delete mode 100644 build/codemirror/mode/84.306f94d8.js create mode 100644 build/codemirror/mode/84.a2184a7e.js rename build/codemirror/mode/{85.cd819e9f.js => 85.7cdb7b2e.js} (96%) create mode 100644 build/codemirror/mode/86.05fbaa7e.js delete mode 100644 build/codemirror/mode/86.b171cd8f.js rename build/codemirror/mode/{87.463ccf62.js => 87.13bde017.js} (96%) rename build/codemirror/mode/{88.d4151819.js => 88.a947c8ec.js} (97%) rename build/codemirror/mode/{89.cb7c9282.js => 89.9ad95fdc.js} (94%) rename build/codemirror/mode/{9.28f82480.js => 9.b84ed167.js} (98%) delete mode 100644 build/codemirror/mode/90.2b2a9b2a.js create mode 100644 build/codemirror/mode/90.dc5cad7b.js rename build/codemirror/mode/{91.ab574985.js => 91.782262bf.js} (98%) rename build/codemirror/mode/{92.ad517888.js => 92.bb001aed.js} (94%) rename build/codemirror/mode/{93.d93e7b80.js => 93.288e4087.js} (66%) rename build/codemirror/mode/{94.f05cdb39.js => 94.30796d46.js} (97%) delete mode 100644 build/codemirror/mode/95.157d304e.js create mode 100644 build/codemirror/mode/95.893ea849.js create mode 100644 build/codemirror/mode/96.6bfbc2da.js delete mode 100644 build/codemirror/mode/96.d8be156d.js rename build/codemirror/mode/{97.88367277.js => 97.f676d8c3.js} (97%) rename build/codemirror/mode/{98.95baa9d3.js => 98.479b2a70.js} (99%) rename build/codemirror/mode/{99.a0bccb8f.js => 99.3ad39299.js} (98%) rename build/{react-sortable-hoc.1863c1e1.js => react-sortable-hoc.e37a541e.js} (95%) diff --git a/build/1.1eded1c3.js b/build/1.1eded1c3.js new file mode 100644 index 0000000..37a0503 --- /dev/null +++ b/build/1.1eded1c3.js @@ -0,0 +1 @@ +webpackJsonp([1,15,32,88],{1054:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var 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])};return function(t,n){function __(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}();Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(1),s="undefined"==typeof navigator;s||(i=n(907));var a=function(){function Shared(e,t){this.editor=e,this.props=t,this.notifyOfDeprecation()}return Shared.prototype.notifyOfDeprecation=function(){void 0!==this.props.autoScrollCursorOnSet&&console.warn("`autoScrollCursorOnSet` has been deprecated. Use `autoScroll` instead\n\nSee https://github.com/scniro/react-codemirror2#props"),void 0!==this.props.resetCursorOnSet&&console.warn("`resetCursorOnSet` has been deprecated. Use `autoCursor` instead\n\nSee https://github.com/scniro/react-codemirror2#props"),void 0!==this.props.onSet&&console.warn("`onSet` has been deprecated. User `editorDidMount` instead. See https://github.com/scniro/react-codemirror2#events"),void 0!==this.props.onBeforeSet&&console.warn("`onBeforeSet` has been deprecated. User `onBeforeChange` for `Controlled`. instead. See https://github.com/scniro/react-codemirror2#events")},Shared.prototype.wire=function(e){var t=this;switch(e){case"onBlur":this.editor.on("blur",function(e,n){t.props.onBlur(t.editor,n)});break;case"onCursor":this.editor.on("cursorActivity",function(e){t.props.onCursor(t.editor,t.editor.getCursor())});break;case"onCursorActivity":this.editor.on("cursorActivity",function(e){t.props.onCursorActivity(t.editor)});break;case"onDragEnter":this.editor.on("dragenter",function(e,n){t.props.onDragEnter(t.editor,n)});break;case"onDragOver":this.editor.on("dragover",function(e,n){t.props.onDragOver(t.editor,n)});break;case"onDrop":this.editor.on("drop",function(e,n){t.props.onDrop(t.editor,n)});break;case"onFocus":this.editor.on("focus",function(e,n){t.props.onFocus(t.editor,n)});break;case"onGutterClick":this.editor.on("gutterClick",function(e,n,r,i){t.props.onGutterClick(t.editor,n,r,i)});break;case"onKeyDown":this.editor.on("keydown",function(e,n){t.props.onKeyDown(t.editor,n)});break;case"onKeyPress":this.editor.on("keypress",function(e,n){t.props.onKeyPress(t.editor,n)});break;case"onKeyUp":this.editor.on("keyup",function(e,n){t.props.onKeyUp(t.editor,n)});break;case"onScroll":this.editor.on("scroll",function(e){t.props.onScroll(t.editor,t.editor.getScrollInfo())});break;case"onSelection":this.editor.on("beforeSelectionChange",function(e,n){t.props.onSelection(t.editor,n)});break;case"onUpdate":this.editor.on("update",function(e){t.props.onUpdate(t.editor)});break;case"onViewportChange":this.editor.on("viewportChange",function(e,n,r){t.props.onViewportChange(t.editor,n,r)})}},Shared}(),l=function(e){function Controlled(t){var n=e.call(this,t)||this;return s?n:(n.deferred=null,n.emulating=!1,n.hydrated=!1,n.initCb=function(){n.props.editorDidConfigure&&n.props.editorDidConfigure(n.editor)},n.mounted=!1,n)}return r(Controlled,e),Controlled.prototype.setCursor=function(e,t,n){var r=this.editor.getDoc();n&&this.editor.focus(),t?r.setCursor(e):r.setCursor(e,null,{scroll:!1})},Controlled.prototype.moveCursor=function(e,t){var n=this.editor.getDoc();t?n.setCursor(e):n.setCursor(e,null,{scroll:!1})},Controlled.prototype.hydrate=function(e){var t=this;Object.keys(e.options||{}).forEach(function(n){t.editor.setOption(n,e.options[n]),t.mirror.setOption(n,e.options[n])}),this.hydrated||(this.mounted&&this.deferred?this.resolveChange():this.initChange(e.value||"")),this.hydrated=!0},Controlled.prototype.initChange=function(e){this.emulating=!0;var t=this.editor.lastLine(),n=this.editor.getLine(this.editor.lastLine()).length;this.editor.replaceRange(e||"",{line:0,ch:0},{line:t,ch:n}),this.mirror.setValue(e),this.editor.clearHistory(),this.mirror.clearHistory(),this.emulating=!1},Controlled.prototype.resolveChange=function(){this.emulating=!0,"undo"===this.deferred.origin?this.editor.undo():"redo"===this.deferred.origin?this.editor.redo():this.editor.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),this.emulating=!1,this.deferred=null},Controlled.prototype.mirrorChange=function(e){return"undo"===e.origin?(this.editor.setHistory(this.mirror.getHistory()),this.mirror.undo()):"redo"===e.origin?(this.editor.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(e.text,e.from,e.to,e.origin),this.mirror.getValue()},Controlled.prototype.componentWillMount=function(){s||this.props.editorWillMount&&this.props.editorWillMount()},Controlled.prototype.componentDidMount=function(){var e=this;if(!s){if(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&i.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=i(this.ref),this.shared=new a(this.editor,this.props),this.mirror=i(function(){}),this.editor.on("electricInput",function(){e.mirror.setHistory(e.editor.getHistory())}),this.editor.on("cursorActivity",function(){e.mirror.setCursor(e.editor.getCursor())}),this.editor.on("beforeChange",function(t,n){if(!e.emulating){n.cancel(),e.deferred=n;var r=e.mirrorChange(e.deferred);e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,e.deferred,r)}}),this.editor.on("change",function(t,n){e.mounted&&e.props.onChange&&e.props.onChange(e.editor,n,e.editor.getValue())}),this.props.onBlur&&this.shared.wire("onBlur"),this.props.onCursor&&this.shared.wire("onCursor"),this.props.onCursorActivity&&this.shared.wire("onCursorActivity"),this.props.onDragEnter&&this.shared.wire("onDragEnter"),this.props.onDragOver&&this.shared.wire("onDragOver"),this.props.onDrop&&this.shared.wire("onDrop"),this.props.onFocus&&this.shared.wire("onFocus"),this.props.onGutterClick&&this.shared.wire("onGutterClick"),this.props.onKeyDown&&this.shared.wire("onKeyDown"),this.props.onKeyPress&&this.shared.wire("onKeyPress"),this.props.onKeyUp&&this.shared.wire("onKeyUp"),this.props.onScroll&&this.shared.wire("onScroll"),this.props.onSelection&&this.shared.wire("onSelection"),this.props.onUpdate&&this.shared.wire("onUpdate"),this.props.onViewportChange&&this.shared.wire("onViewportChange"),this.hydrate(this.props),this.props.selection){this.editor.getDoc().setSelections(this.props.selection)}this.props.cursor&&this.setCursor(this.props.cursor,this.props.autoScroll||!1,this.props.autoFocus||!1),this.props.scroll&&this.editor.scrollTo(this.props.scroll.x,this.props.scroll.y),this.mounted=!0,this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb)}},Controlled.prototype.componentWillReceiveProps=function(e){if(!s){var t;e.value!==this.props.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t=this.editor.getCursor()),this.hydrate(e),this.props.autoCursor||void 0===this.props.autoCursor||this.moveCursor(t,this.props.autoScroll||!1)}},Controlled.prototype.componentWillUnmount=function(){s||this.props.editorWillUnmount&&this.props.editorWillUnmount(i)},Controlled.prototype.shouldComponentUpdate=function(e,t){return!s},Controlled.prototype.render=function(){var e=this;if(s)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return o.createElement("div",{className:t,ref:function(t){return e.ref=t}})},Controlled}(o.Component);t.Controlled=l;var c=function(e){function UnControlled(t){var n=e.call(this,t)||this;return s?n:(n.continueChange=!1,n.hydrated=!1,n.initCb=function(){n.props.editorDidConfigure&&n.props.editorDidConfigure(n.editor)},n.mounted=!1,n.onBeforeChangeCb=function(){n.continueChange=!0},n)}return r(UnControlled,e),UnControlled.prototype.setCursor=function(e,t,n){var r=this.editor.getDoc();n&&this.editor.focus(),t?r.setCursor(e):r.setCursor(e,null,{scroll:!1})},UnControlled.prototype.moveCursor=function(e,t){var n=this.editor.getDoc();t?n.setCursor(e):n.setCursor(e,null,{scroll:!1})},UnControlled.prototype.hydrate=function(e){var t=this;if(Object.keys(e.options||{}).forEach(function(n){return t.editor.setOption(n,e.options[n])}),!this.hydrated){var n=this.editor.lastLine(),r=this.editor.getLine(this.editor.lastLine()).length;this.editor.replaceRange(e.value||"",{line:0,ch:0},{line:n,ch:r})}this.hydrated=!0},UnControlled.prototype.componentWillMount=function(){s||this.props.editorWillMount&&this.props.editorWillMount()},UnControlled.prototype.componentDidMount=function(){var e=this;if(!s){if(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&i.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=i(this.ref),this.shared=new a(this.editor,this.props),this.editor.on("beforeChange",function(t,n){e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,n,null,e.onBeforeChangeCb)}),this.editor.on("change",function(t,n){if(e.mounted)if(e.props.onBeforeChange){if(!e.continueChange)return;e.props.onChange(e.editor,n,e.editor.getValue())}else e.props.onChange(e.editor,n,e.editor.getValue())}),this.props.onBlur&&this.shared.wire("onBlur"),this.props.onCursor&&this.shared.wire("onCursor"),this.props.onCursorActivity&&this.shared.wire("onCursorActivity"),this.props.onDragEnter&&this.shared.wire("onDragEnter"),this.props.onDragOver&&this.shared.wire("onDragOver"),this.props.onDrop&&this.shared.wire("onDrop"),this.props.onFocus&&this.shared.wire("onFocus"),this.props.onGutterClick&&this.shared.wire("onGutterClick"),this.props.onKeyDown&&this.shared.wire("onKeyDown"),this.props.onKeyPress&&this.shared.wire("onKeyPress"),this.props.onKeyUp&&this.shared.wire("onKeyUp"),this.props.onScroll&&this.shared.wire("onScroll"),this.props.onSelection&&this.shared.wire("onSelection"),this.props.onUpdate&&this.shared.wire("onUpdate"),this.props.onViewportChange&&this.shared.wire("onViewportChange"),this.hydrate(this.props),this.props.selection){this.editor.getDoc().setSelections(this.props.selection)}this.props.cursor&&this.setCursor(this.props.cursor,this.props.autoScroll||!1,this.props.autoFocus||!1),this.props.scroll&&this.editor.scrollTo(this.props.scroll.x,this.props.scroll.y),this.mounted=!0,this.editor.clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb)}},UnControlled.prototype.componentWillReceiveProps=function(e){if(!s){var t;e.value!==this.props.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t=this.editor.getCursor()),this.hydrate(e),this.props.autoCursor||void 0===this.props.autoCursor||this.moveCursor(t,this.props.autoScroll||!1)}},UnControlled.prototype.componentWillUnmount=function(){s||this.props.editorWillUnmount&&this.props.editorWillUnmount(i)},UnControlled.prototype.shouldComponentUpdate=function(e,t){return!s},UnControlled.prototype.render=function(){var e=this;if(s)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return o.createElement("div",{className:t,ref:function(t){return e.ref=t}})},UnControlled}(o.Component);t.UnControlled=c},1059:function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: -20px;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""])},1060:function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror { background: #f5f5f5; color: #202020; }\n.cm-s-base16-light div.CodeMirror-selected { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-gutters { background: #f5f5f5; border-right: 0px; }\n.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-linenumber { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-cursor { border-left: 1px solid #505050; }\n\n.cm-s-base16-light span.cm-comment { color: #8f5536; }\n.cm-s-base16-light span.cm-atom { color: #aa759f; }\n.cm-s-base16-light span.cm-number { color: #aa759f; }\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute { color: #90a959; }\n.cm-s-base16-light span.cm-keyword { color: #ac4142; }\n.cm-s-base16-light span.cm-string { color: #f4bf75; }\n\n.cm-s-base16-light span.cm-variable { color: #90a959; }\n.cm-s-base16-light span.cm-variable-2 { color: #6a9fb5; }\n.cm-s-base16-light span.cm-def { color: #d28445; }\n.cm-s-base16-light span.cm-bracket { color: #202020; }\n.cm-s-base16-light span.cm-tag { color: #ac4142; }\n.cm-s-base16-light span.cm-link { color: #aa759f; }\n.cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; }\n\n.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; }\n.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }\n",""])},1061:function(e,t,n){var r=n(1059);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0};i.transform=void 0;n(217)(r,i);r.locals&&(e.exports=r.locals)},1062:function(e,t,n){var r=n(1060);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0};i.transform=void 0;n(217)(r,i);r.locals&&(e.exports=r.locals)},906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r),o=n(0),s=n.n(o),a=n(223),l=n.n(a),c=n(1054),u=(n.n(c),n(922)),d=(n.n(u),function(){function defineProperties(e,t){for(var n=0;n0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return s+(t-o);s+=a-o,s+=n-s%n,o=a+1}}function indexOf(e,t){for(var n=0;n=t)return r+Math.min(s,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function spaceStr(e){for(;E.length<=e;)E.push(lst(E)+" ");return E[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||I.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function isExtendingChar(e){return e.charCodeAt(0)>=768&&F.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?Pos(n,getLine(e,n).text.length):function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}(t,getLine(e,t.line).text.length)}function clipPosArray(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new MarkedSpan(s,o.from,a?null:o.to))}}return r}(n,i,s),l=function markedSpansAfter(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=t:o.from0&&a)for(var b=0;b=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.from,r)<=0:cmp(c.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,r=getLine(e,t);if(!lineIsHidden(e,r))return t;for(;n=collapsedSpanAtEnd(r);)r=n.find(1,!0).line;return lineNo(r)+1}function lineIsHidden(e,t){var n=z&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function getBidiPartAt(e,t,n){var r;R=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:R=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:R=i)}return null!=r?r:R}function getOrder(e,t){var n=e.order;return null==n&&(n=e.order=V(e.text,t)),n}function getHandlers(e,t){return e._handlers&&e._handlers[t]||U}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=indexOf(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function eventMixin(e){e.prototype.on=function(e,t){j(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}function zeroWidthElement(e){if(null==O){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(O=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&a<8))}var n=O?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=P)return P;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=w(t,0,1).getBoundingClientRect(),r=w(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(P=r.right-n.right<3)}function resolveMode(e){if("string"==typeof e&&Y.hasOwnProperty(e))e=Y[e];else if(e&&"string"==typeof e.name&&Y.hasOwnProperty(e.name)){var t=Y[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=X[t.name];if(!n)return getMode(e,"text/plain");var r=n(e,t);if(Z.hasOwnProperty(t.name)){var i=Z[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var s in t.modeProps)r[s]=t.modeProps[s];return r}function extendMode(e,t){copyObj(t,Z.hasOwnProperty(e)?Z[e]:Z[e]={})}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}function highlightLine(e,t,n,r){var i=[e.state.modeGen],o={};runMode(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var s=n.state,a=function(r){n.baseTokens=i;var a=e.state.overlays[r],l=1,c=0;n.state=!0,runMode(e,t.text,a.mode,n,function(e,t){for(var n=l;ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(a.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&©State(e.doc.mode,r.state),o=highlightLine(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ee(r,!0,t);var o=function findStartLine(e,t,n){for(var r,i,o=e.doc,s=n?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>s;--a){if(a<=o.first)return o.first;var l=getLine(o,a-1),c=l.stateAfter;if(c&&(!n||a+(c instanceof J?c.lookAhead:0)<=o.modeFrontier))return a;var u=countColumn(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=a-1,r=u)}return i}(e,t,n),s=o>r.first&&getLine(r,o-1).stateAfter,a=s?ee.fromSaved(r,s,o):new ee(r,startState(r.mode),o);return r.iter(o,t,function(n){processLine(e,n.text,a);var r=a.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function takeToken(e,t,n,r){var i,o,s=e.doc,a=s.mode,l=getLine(s,(t=clipPos(s,t)).line),c=getContextBefore(e,t.line,n),u=new Q(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pose.options.maxHighlightLength?(a=!1,s&&processLine(e,t,r,d.pos),d.pos=t.length,l=null):l=extractLineClasses(readToken(n,d,r.state,p),o),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!a||u!=l){for(;cc&&d.from<=c);p++);if(d.to>=u)return e(n,r,i,o,s,a,l);e(n,r.slice(0,d.to-c),i,o,null,a,l),o=null,r=r.slice(d.to-c),c=d.to}}}(r.addToken,a)),r.map=[];!function insertLineContent(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(!r){for(var s=1;sg||S.collapsed&&w.to==g&&w.from==g)?(null!=w.to&&w.to!=g&&y>w.to&&(y=w.to,u=""),S.className&&(c+=" "+S.className),S.css&&(l=(l?l+";":"")+S.css),S.startStyle&&w.from==g&&(d+=" "+S.startStyle),S.endStyle&&w.to==y&&(C||(C=[])).push(S.endStyle,w.to),S.title&&!p&&(p=S.title),S.collapsed&&(!h||compareCollapsedMarkers(h.marker,S)<0)&&(h=w)):w.from>g&&y>w.from&&(y=w.from)}if(C)for(var k=0;k=f)break;for(var M=Math.min(f,y);;){if(v){var T=g+v.length;if(!h){var O=T>M?v.slice(0,M-g):v;t.addToken(t,O,a?a+c:c,d,g+O.length==y?u:"",p,l)}if(T>=M){v=v.slice(M-g),g=M;break}g=T,d=""}v=i.slice(o,o=n[m++]),a=interpretTokenStyle(n[m++],t.cm.options)}}}(o,r,getLineStyles(e,o,t!=e.display.externalMeasured&&lineNo(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=joinClasses(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=joinClasses(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(zeroWidthElement(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return signal(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=joinClasses(r.pre.className,r.textClass||"")),r}function defaultSpecialCharPlaceholder(e){var t=elt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function buildToken(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function splitSpaces(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;in)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function measureChar(e,t,n,r){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,r)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function measureCharInner(e,t,n,r){var i,o=nodeAndOffsetInLineMap(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&isExtendingChar(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{c>0&&(d=r="right");var h;i=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(s&&a<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:le}for(var g=i.top-t.rect.top,m=i.bottom-t.rect.top,v=(g+m)/2,y=t.view.measure.heights,b=0;bt)&&(i=(o=l-a)-1,t>=l&&(s="right")),null!=i){if(r=e[c+2],a==l&&n==(r.insertLeft?"left":"right")&&(s=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],s="left";if("right"==n&&i==l-a)for(;c=0&&(n=e[i]).left==n.right;i--);return n}function clearLineMeasurementCacheFor(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(a=r.text.length,l="before"):a<=0&&(a=0,l="after"),!s)return get("before"==l?a-1:a,"before"==l);var c=getBidiPartAt(s,a,l),u=R,d=getBidi(a,c,"before"==l);return null!=u&&(d.other=getBidi(a,u,"before"!=l)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var r=getLine(e.doc,t.line),i=heightAtLine(r)+paddingTop(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function PosWithInfo(e,t,n,r,i){var o=Pos(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function coordsChar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(r.first,0,null,!0,-1);var i=lineAtHeight(r,n),o=r.first+r.size-1;if(i>o)return PosWithInfo(r.first+r.size-1,getLine(r,o).text.length,null,!0,1);t<0&&(t=0);for(var s=getLine(r,i);;){var a=function coordsCharInner(e,t,n,r,i){i-=heightAtLine(t);var o=prepareMeasureForLine(e,t),s=widgetTopHeight(t),a=0,l=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?function coordsBidiPartWrapped(e,t,n,r,i,o,s){var a=wrappedLineExtent(e,t,r,s),l=a.begin,c=a.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p=c||h.to<=l)){var f=1!=h.level,g=measureCharPrepared(e,r,f?Math.min(c,h.to)-1:Math.max(l,h.from)).right,m=gm)&&(u=h,d=m)}}u||(u=i[i.length-1]);u.fromc&&(u={from:u.from,to:c,level:u.level});return u}:function coordsBidiPart(e,t,n,r,i,o,s){var a=findFirst(function(a){var l=i[a],c=1!=l.level;return boxIsAfter(cursorCoords(e,Pos(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,s,!0)},0,i.length-1),l=i[a];if(a>0){var c=1!=l.level,u=cursorCoords(e,Pos(n,c?l.from:l.to,c?"after":"before"),"line",t,r);boxIsAfter(u,o,s,!0)&&u.top>s&&(l=i[a-1])}return l})(e,t,n,o,u,r,i);c=1!=d.level,a=c?d.from:d.to-1,l=c?d.to:d.from-1}var p,h,f=null,g=null,m=findFirst(function(t){var n=measureCharPrepared(e,o,t);return n.top+=s,n.bottom+=s,!!boxIsAfter(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(f=t,g=n),!0)},a,l),v=!1;if(g){var y=r-g.left=C.bottom}return m=skipExtendingChars(t.text,m,1),PosWithInfo(n,m,h,v,r-p)}(e,s,i,t,n),l=collapsedSpanAtEnd(s),c=l&&l.find(0,!0);if(!l||!(a.ch>c.from.ch||a.ch==c.from.ch&&a.xRel>0))return a;i=lineNo(s=c.to.line)}}function wrappedLineExtent(e,t,n,r){r-=widgetTopHeight(t);var i=t.text.length,o=findFirst(function(t){return measureCharPrepared(e,n,t-1).bottom<=r},i,0);return i=findFirst(function(t){return measureCharPrepared(e,n,t).top>r},o,i),{begin:o,end:i}}function wrappedLineExtentChar(e,t,n,r){n||(n=prepareMeasureForLine(e,t));return wrappedLineExtent(e,t,n,intoCoordSystem(e,t,measureCharPrepared(e,n,r),"line").top)}function boxIsAfter(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==re){re=elt("pre");for(var t=0;t<49;++t)re.appendChild(document.createTextNode("x")),re.appendChild(elt("br"));re.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,re);var n=re.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t]);removeChildrenAndAdd(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function getDimensions(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[e.options.gutters[s]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[s]]=o.clientWidth;return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(i){if(lineIsHidden(e.doc,i))return 0;var o=0;if(i.widgets)for(var s=0;s=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||a.to().linet||t==n&&s.to==t)&&(r(Math.max(s.from,t),Math.min(s.to,n),1==s.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(p,n||0,null==r?d:r,function(e,t,i,u){var h="ltr"==i,f=coords(e,h?"left":"right"),g=coords(t-1,h?"right":"left"),m=null==n&&0==e,v=null==r&&t==d,y=0==u,b=!p||u==p.length-1;if(g.top-f.top<=3){var C=(c?m:v)&&y,x=(c?v:m)&&b,w=C?a:(h?f:g).left,S=x?l:(h?g:f).right;add(w,f.top,S-w,f.bottom)}else{var k,L,M,T;h?(k=c&&m&&y?a:f.left,L=c?l:wrapX(e,i,"before"),M=c?a:wrapX(t,i,"after"),T=c&&v&&b?l:g.right):(k=c?wrapX(e,i,"before"):a,L=!c&&m&&y?l:f.right,M=!c&&v&&b?a:g.left,T=c?wrapX(t,i,"after"):l),add(k,f.top,L-k,f.bottom),f.bottom0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))},100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,L(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||u<-.005)&&(updateLineHeight(i.line,o),updateWidgetHeight(i.line),i.rest))for(var d=0;d=s&&(o=lineAtHeight(t,heightAtLine(getLine(t,l))-e.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",s=0;so&&(t.bottom=t.top+o);var a=e.doc.height+paddingVert(n),l=t.topa-r;if(t.topi+o){var u=Math.min(t.top,(c?a:t.bottom)-o);u!=i&&(s.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?s.scrollLeft=0:t.leftp+d-3&&(s.scrollLeft=t.right+(h?0:10)-p),s}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;scrollToCoordsRange(e,estimateCoords(e,t.from),estimateCoords(e,t.to),t.margin)}}function scrollToCoordsRange(e,t,n,r){var i=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});scrollToCoords(e,i.scrollLeft,i.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,r=e.display.barHeight;updateScrollbarsInner(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,r=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new de[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),j(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)},e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}function startOperation(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++pe},function pushOperation(e){se?se.ops.push(e):e.ownsGroup=se={ops:[e],delayedCallbacks:[]}}(e.curOp)}function endOperation(e){!function finishOperation(e,t){var n=e.ownsGroup;if(n)try{!function fireCallbacksForOps(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new he(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}(t[n]);for(var r=0;r1&&(s=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(s=!0)),!s)break}return i}(t,clipPos(r,e.scrollToPos.from),clipPos(r,e.scrollToPos.to),e.scrollToPos.margin);!function maybeScrollWindow(e,t){if(!signalDOMEvent(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!f){var o=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,i)}var o=e.maybeHiddenMarkers,s=e.maybeUnhiddenMarkers;if(o)for(var a=0;at)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)z&&visualLineNo(e.doc,t)i.viewFrom?resetView(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)resetView(e);else if(t<=i.viewFrom){var o=viewCuttingPoint(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):resetView(e)}else if(n>=i.viewTo){var s=viewCuttingPoint(e,t,t,-1);s?(i.view=i.view.slice(0,s.index),i.viewTo=s.lineN):resetView(e)}else{var a=viewCuttingPoint(e,t,t,-1),l=viewCuttingPoint(e,n,n+r,1);a&&l?(i.view=i.view.slice(0,a.index).concat(buildViewArray(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):resetView(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[findViewIndex(e,t)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==indexOf(s,n)&&s.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,r){var i,o=findViewIndex(e,t),s=e.display.view;if(!z||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var a=e.display.viewFrom,l=0;l0){if(o==s.length-1)return null;i=a+s[o].size-t,o++}else i=a-t;t+=i,n+=i}for(;visualLineNo(e.doc,n)!=n;){if(o==(r<0?0:s.length-1))return null;n+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function countDirtyView(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=getContextBefore(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var s=o.styles,a=o.text.length>e.options.maxHighlightLength?copyState(t.mode,r.state):null,l=highlightLine(e,o,r,!0);a&&(r.state=a),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!s||s.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&pn)return startWorker(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&runInOp(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),s=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroms&&n.viewTo-s<20&&(s=Math.min(i,n.viewTo)),z&&(o=visualLineNo(e.doc,o),s=visualLineEndNo(e.doc,s));var a=o!=n.viewFrom||s!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function adjustView(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=buildViewArray(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=buildViewArray(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,findViewIndex(e,n)))),r.viewTo=n}(e,o,s),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=countDirtyView(e);if(!a&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function selectionSnapshot(e){if(e.hasFocus())return null;var t=activeElt();if(!t||!contains(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&contains(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function patchDisplay(e,t,n){function rm(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,s=o.firstChild;for(var a=r.view,c=r.viewFrom,u=0;u-1&&(p=!1),updateLineForChanges(e,d,c,n)),p&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),s=d.node.nextSibling}else{var h=buildLineElement(e,d,c,n);o.insertBefore(h,s)}c+=d.size}for(;s;)s=rm(s)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function restoreSelection(e){if(e&&e.activeElt&&e.activeElt!=activeElt()&&(e.activeElt.focus(),e.anchorNode&&contains(document.body,e.anchorNode)&&contains(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,a&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);r=!1){updateHeightsInViewport(e);var i=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,i),setDocumentHeight(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new he(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),n.finish()}}function updateGutterSpace(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function updateGutters(e){var t=e.display.gutters,n=e.options.gutters;removeChildren(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function wheelEventDelta(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function wheelEventPixels(e){var t=wheelEventDelta(e);return t.x*=ge,t.y*=ge,t}function onScrollWheel(e,t){var r=wheelEventDelta(t),i=r.x,o=r.y,s=e.display,a=s.scroller,c=a.scrollWidth>a.clientWidth,u=a.scrollHeight>a.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,h=s.view;p!=a;p=p.parentNode)for(var f=0;f=0){var s=minPos(o.from(),i.from()),a=maxPos(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new ve(l?a:s,l?s:a))}}return new me(e,t)}function simpleSelection(e,t){return new me([new ve(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=changeEnd(t).ch-t.to.ch),Pos(n,r)}function computeSelAfterChange(e,t){for(var n=[],r=0;r1&&e.remove(i.line+1,d-1),e.insert(i.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){function propagate(e,r,i){if(e.linked)for(var o=0;oa-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function lastChangeEvent(e,t){return t?(clearSelectionEvents(e.done),lst(e.done)):e.done.length&&!lst(e.done).ranges?lst(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}(i,i.lastOp==r)))s=lst(o.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,s.to)?s.to=changeEnd(t):o.changes.push(historyChangeFromChange(e,t));else{var l=lst(i.done);for(l&&l.ranges||pushSelectionToHistory(e.sel,i.done),o={changes:[historyChangeFromChange(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||signal(e,"historyAdded")}function addSelectionToHistory(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function selectionEventCanBeMerged(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,lst(i.done),t))?i.done[i.done.length-1]=t:pushSelectionToHistory(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&clearSelectionEvents(i.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n-1&&(lst(a)[d]=c[d],delete c[d])}}}return r}function extendRange(e,t,n,r){if(r){var i=e.anchor;if(n){var o=cmp(t,i)<0;o!=cmp(n,i)<0?(i=t,t=n):o!=cmp(t,n)<0&&(t=n)}return new ve(i,t)}return new ve(n||t,t)}function extendSelection(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new me([extendRange(e.sel.primary(),t,n,i)],0),r)}function extendSelections(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:a.to>t.ch))){if(i&&(signal(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=movePos(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=cmp(c,n))&&(r<0?u<0:u>0))return skipAtomicInner(e,c,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=movePos(e,d,r,d.line==t.line?o:null)),d?skipAtomicInner(e,d,t,r,i):null}}return t}function skipAtomic(e,t,n,r,i){var o=r||1,s=skipAtomicInner(e,t,n,o,i)||!i&&skipAtomicInner(e,t,n,o,!0)||skipAtomicInner(e,t,n,-o,i)||!i&&skipAtomicInner(e,t,n,-o,!0);return s||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(r||getLine(e,t.line)).text.length?t.line0)){var u=[l,1],d=cmp(c.from,a.from),p=cmp(c.to,a.to);(d<0||!s.inclusiveLeft&&!d)&&u.push({from:c.from,to:a.from}),(p>0||!s.inclusiveRight&&!p)&&u.push({from:a.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)makeChangeInner(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var r=[];linkedDocs(e,function(e,n){n||-1!=indexOf(r,e.history)||(rebaseHist(e.history,t),r.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))})}}function makeChangeFromHistory(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,s="undo"==t?i.done:i.undone,a="undo"==t?i.undone:i.done,l=0;l=0;--p){var h=d(p);if(h)return h.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new me(map(e.sel.ranges,function(e){return new ve(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Pos(o,getLine(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?function makeChangeSingleDocInEditor(e,t,n){var r=e.doc,i=e.display,o=t.from,s=t.to,a=!1,l=o.line;e.options.lineWrapping||(l=lineNo(visualLine(getLine(r,o.line))),r.iter(l,s.line+1,function(e){if(e==i.maxLine)return a=!0,!0}));r.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e);updateDoc(r,t,n,estimateHeight(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=lineLength(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,a=!1)}),a&&(e.curOp.updateMaxLine=!0));(function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=getLine(e,r).stateAfter;if(i&&(!(i instanceof J)||r+i.lookAhead0||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=eltP("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,o)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){z=!0}()}o.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var a,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(a=!0),o.collapsed&&l!=t.line&&updateLineHeight(e,0),function addMarkedSpan(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new MarkedSpan(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)}),o.clearOnEnter&&j(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(!function seeReadOnlySpans(){B=!0}(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++be,o.atomic=!0),c){if(a&&(c.curOp.updateMaxLine=!0),o.collapsed)regChange(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");o.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,o)}return o}function findSharedMarkers(e){return e.findMarks(Pos(e.first,0),e.clipPos(Pos(e.lastLine())),function(e){return e.parent})}function detachSharedMarkers(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];linkedDocs(n.primary.doc,function(e){return r.push(e)});for(var i=0;i-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),d)for(var p=0;p=0;t--)replaceRange(e.doc,"",r[t].from,r[t].to,"+delete");ensureCursorVisible(e)})}function moveCharLogically(e,t,n){var r=skipExtendingChars(e.text,t+n,n);return r<0||r>e.text.length?null:r}function moveLogically(e,t,n){var r=moveCharLogically(e,t.ch,n);return null==r?null:new Pos(t.line,r,n<0?"after":"before")}function endOfLine(e,t,n,r,i){if(e){var o=getOrder(n,t.doc.direction);if(o){var s,a=i<0?lst(o):o[0],l=i<0==(1==a.level)?"after":"before";if(a.level>0||"rtl"==t.doc.direction){var c=prepareMeasureForLine(t,n);s=i<0?n.text.length-1:0;var u=measureCharPrepared(t,c,s).top;s=findFirst(function(e){return measureCharPrepared(t,c,e).top==u},i<0==(1==a.level)?a.from:a.to-1,s),"before"==l&&(s=moveCharLogically(n,s,1))}else s=i<0?a.to:a.from;return new Pos(r,s,l)}}return new Pos(r,i<0?n.text.length:0,i<0?"before":"after")}function lineStart(e,t){var n=getLine(e.doc,t),r=visualLine(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,r,t,1)}function lineEnd(e,t){var n=getLine(e.doc,t),r=function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,n,t,-1)}function lineStartSmart(e,t){var n=lineStart(e,t.line),r=getLine(e.doc,n.line),i=getOrder(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),s=t.line==n.line&&t.ch<=o&&t.ch;return Pos(n.line,s?0:o,n.sticky)}return n}function doHandleBinding(e,t,n){if("string"==typeof t&&!(t=Ne[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=N}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function dispatchKey(e,t,n,r){var i=e.state.keySeq;if(i){if(isModifierKey(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:De.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),dispatchKeyInner(e,i+" "+t,n,r))return!0}return dispatchKeyInner(e,t,n,r)}function dispatchKeyInner(e,t,n,r){var i=function lookupKeyForEditor(e,t,n){for(var r=0;r-1&&(cmp((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(cmp(i.to(),t)>0||t.xRel<0)?function leftButtonStartDrag(e,t,n,r){var i=e.display,o=!1,c=operation(e,function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,off(document,"mouseup",c),off(document,"mousemove",u),off(i.scroller,"dragstart",d),off(i.scroller,"drop",c),o||(e_preventDefault(t),r.addNew||extendSelection(e.doc,n,null,null,r.extend),l||s&&9==a?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0);e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop();j(document,"mouseup",c),j(document,"mousemove",u),j(i.scroller,"dragstart",d),j(i.scroller,"drop",c),delayBlurEvent(e),setTimeout(function(){return i.input.focus()},20)}(e,r,t,o):function leftButtonSelect(e,t,n,r){function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,u=countColumn(getLine(o,n.line).text,n.ch,c),p=countColumn(getLine(o,t.line).text,t.ch,c),h=Math.min(u,p),f=Math.max(u,p),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=getLine(o,g).text,y=findColumn(v,h,c);h==f?i.push(new ve(Pos(g,y),Pos(g,y))):v.length>y&&i.push(new ve(Pos(g,y),Pos(g,findColumn(v,f,c))))}i.length||i.push(new ve(n,n)),setSelection(o,normalizeSelection(l.ranges.slice(0,a).concat(i),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,C=s,x=rangeForUnit(e,t,r.unit),w=C.anchor;cmp(x.anchor,w)>0?(b=x.head,w=minPos(C.from(),x.anchor)):(b=x.anchor,w=maxPos(C.to(),x.head));var S=l.ranges.slice(0);S[a]=function bidiSimplify(e,t){var n=t.anchor,r=t.head,i=getLine(e.doc,n.line);if(0==cmp(n,r)&&n.sticky==r.sticky)return t;var o=getOrder(i);if(!o)return t;var s=getBidiPartAt(o,n.ch,n.sticky),a=o[s];if(a.from!=n.ch&&a.to!=n.ch)return t;var l=s+(a.from==n.ch==(1!=a.level)?0:1);if(0==l||l==o.length)return t;var c;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(o,r.ch,r.sticky),d=u-s||(r.ch-n.ch)*(1==a.level?-1:1);c=u==l-1||u==l?d<0:d>0}var p=o[l+(c?-1:0)],h=c==(1==p.level),f=h?p.from:p.to,g=h?"after":"before";return n.ch==f&&n.sticky==g?t:new ve(new Pos(n.line,f,g),r)}(e,new ve(clipPos(o,w),b)),setSelection(o,normalizeSelection(S,a),H)}}function extend(t){var n=++h,s=posFromMouse(e,t,!0,"rectangle"==r.unit);if(s)if(0!=cmp(s,d)){e.curOp.focus=activeElt(),extendTo(s);var a=visibleLines(i,o);(s.line>=a.to||s.linep.bottom?20:0;l&&setTimeout(operation(e,function(){h==n&&(i.scroller.scrollTop+=l,extend(t))}),50)}}function done(t){e.state.selectingText=!1,h=1/0,e_preventDefault(t),i.input.focus(),off(document,"mousemove",f),off(document,"mouseup",g),o.history.lastSelOrigin=null}var i=e.display,o=e.doc;e_preventDefault(t);var s,a,l=o.sel,c=l.ranges;r.addNew&&!r.extend?(a=o.sel.contains(n),s=a>-1?c[a]:new ve(n,n)):(s=o.sel.primary(),a=o.sel.primIndex);if("rectangle"==r.unit)r.addNew||(s=new ve(n,n)),n=posFromMouse(e,t,!0,!0),a=-1;else{var u=rangeForUnit(e,n,r.unit);s=r.extend?extendRange(s,u.anchor,u.head,r.extend):u}r.addNew?-1==a?(a=c.length,setSelection(o,normalizeSelection(c.concat([s]),a),{scroll:!1,origin:"*mouse"})):c.length>1&&c[a].empty()&&"char"==r.unit&&!r.extend?(setSelection(o,normalizeSelection(c.slice(0,a).concat(c.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):replaceOneSelection(o,a,s,H):(a=0,setSelection(o,new me([s],0),H),l=o.sel);var d=n;var p=i.wrapper.getBoundingClientRect(),h=0;var f=operation(e,function(e){e_button(e)?extend(e):done(e)}),g=operation(e,done);e.state.selectingText=g,j(document,"mousemove",f),j(document,"mouseup",g)}(e,r,t,o)}(this,n,i,e):e_target(e)==t.scroller&&e_preventDefault(e):2==r?(n&&extendSelection(this.doc,n),setTimeout(function(){return t.input.focus()},20)):3==r&&(k?onContextMenu(this,e):delayBlurEvent(this)))}}function rangeForUnit(e,t,n){if("char"==n)return new ve(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ve(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var r=n(e,t);return new ve(r.from,r.to)}function gutterEvent(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&e_preventDefault(t);var s=e.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!hasHandler(e,n))return e_defaultPrevented(t);o-=a.top-s.viewOffset;for(var l=0;l=i){return signal(e,n,e,lineAtHeight(e.doc,o),e.options.gutters[l],t),e_defaultPrevented(t)}}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||function contextMenuInGutter(e,t){if(!hasHandler(e,"gutterContextMenu"))return!1;return gutterEvent(e,t,"gutterContextMenu",!1)}(e,t)||signalDOMEvent(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}function guttersChanged(e){updateGutters(e),regChange(e),alignHorizontally(e)}function dragDropChanged(e,t,n){if(!t!=!(n&&n!=Fe)){var r=e.display.dragFunctions,i=t?j:off;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(L(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout(function(){return updateScrollbars(e)},100)}function CodeMirror$1(e,t){var r=this;if(!(this instanceof CodeMirror$1))return new CodeMirror$1(e,t);this.options=t=t?copyObj(t):{},copyObj(Be,t,!1),setGuttersForLineNumbers(t);var i=t.value;"string"==typeof i&&(i=new Se(i,t.mode,null,t.lineSeparator,t.direction)),this.doc=i;var o=new CodeMirror$1.inputStyles[t.inputStyle](this),c=this.display=new function Display(e,t,r){this.input=r,this.scrollbarFiller=elt("div",null,"CodeMirror-scrollbar-filler"),this.scrollbarFiller.setAttribute("cm-not-content","true"),this.gutterFiller=elt("div",null,"CodeMirror-gutter-filler"),this.gutterFiller.setAttribute("cm-not-content","true"),this.lineDiv=eltP("div",null,"CodeMirror-code"),this.selectionDiv=elt("div",null,null,"position: relative; z-index: 1"),this.cursorDiv=elt("div",null,"CodeMirror-cursors"),this.measure=elt("div",null,"CodeMirror-measure"),this.lineMeasure=elt("div",null,"CodeMirror-measure"),this.lineSpace=eltP("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");var i=eltP("div",[this.lineSpace],"CodeMirror-lines");this.mover=elt("div",[i],null,"position: relative"),this.sizer=elt("div",[this.mover],"CodeMirror-sizer"),this.sizerWidth=null,this.heightForcer=elt("div",null,null,"position: absolute; height: "+A+"px; width: 1px;"),this.gutters=elt("div",null,"CodeMirror-gutters"),this.lineGutter=null,this.scroller=elt("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll"),this.scroller.setAttribute("tabIndex","-1"),this.wrapper=elt("div",[this.scrollbarFiller,this.gutterFiller,this.scroller],"CodeMirror"),s&&a<8&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0),l||n&&v||(this.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(this.wrapper):e(this.wrapper)),this.viewFrom=this.viewTo=t.first,this.reportedViewFrom=this.reportedViewTo=t.first,this.view=[],this.renderedView=null,this.externalMeasured=null,this.viewOffset=0,this.lastWrapHeight=this.lastWrapWidth=0,this.updateLineNumbers=null,this.nativeBarWidth=this.barHeight=this.barWidth=0,this.scrollbarsClipped=!1,this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null,this.alignWidgets=!1,this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null,this.maxLine=null,this.maxLineLength=0,this.maxLineChanged=!1,this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null,this.shift=!1,this.selForContextMenu=null,this.activeTouch=null,r.init(this)}(e,i,o);c.wrapper.CodeMirror=this,updateGutters(this),themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new T,keySeq:null,specialChars:null},t.autofocus&&!v&&c.input.focus(),s&&a<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function registerEventHandlers(e){function finishTouch(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function farAway(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var t=e.display;j(t.scroller,"mousedown",operation(e,onMouseDown)),j(t.scroller,"dblclick",s&&a<11?operation(e,function(t){if(!signalDOMEvent(e,t)){var n=posFromMouse(e,t);if(n&&!clickInGutter(e,t)&&!eventInWidget(e.display,t)){e_preventDefault(t);var r=e.findWordAt(n);extendSelection(e.doc,r.anchor,r.head)}}}):function(t){return signalDOMEvent(e,t)||e_preventDefault(t)});k||j(t.scroller,"contextmenu",function(t){return onContextMenu(e,t)});var n,r={end:0};j(t.scroller,"touchstart",function(i){if(!signalDOMEvent(e,i)&&!function isMouseLikeTouchEvent(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!clickInGutter(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),j(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),j(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!eventInWidget(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var i,o=e.coordsChar(t.activeTouch,"page");i=!r.prev||farAway(r,r.prev)?new ve(o,o):!r.prev.prev||farAway(r,r.prev.prev)?e.findWordAt(o):new ve(Pos(o.line,0),clipPos(e.doc,Pos(o.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),e_preventDefault(n)}finishTouch()}),j(t.scroller,"touchcancel",finishTouch),j(t.scroller,"scroll",function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))}),j(t.scroller,"mousewheel",function(t){return onScrollWheel(e,t)}),j(t.scroller,"DOMMouseScroll",function(t){return onScrollWheel(e,t)}),j(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(!function onDragOver(e,t){var n=posFromMouse(e,t);if(n){var r=document.createDocumentFragment();drawSelectionCursor(e,n,r),e.display.dragCursor||(e.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),removeChildrenAndAdd(e.display.dragCursor,r)}}(e,t),e_stop(t))},start:function(t){return function onDragStart(e,t){if(s&&(!e.state.draggingText||+new Date-ke<100))e_stop(t);else if(!signalDOMEvent(e,t)&&!eventInWidget(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=elt("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var i=t.input.getField();j(i,"keyup",function(t){return onKeyUp.call(e,t)}),j(i,"keydown",operation(e,onKeyDown)),j(i,"keypress",operation(e,onKeyPress)),j(i,"focus",function(t){return onFocus(e,t)}),j(i,"blur",function(t){return onBlur(e,t)})}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,i),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this);for(var u in ze)ze.hasOwnProperty(u)&&ze[u](r,t[u],Fe);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var h=0;h150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?countColumn(getLine(o,t-1).text,null,s):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/s);h;--h)p+=s,d+="\t";if(p1)if(Ve&&Ve.text.join("\n")==t){if(r.ranges.length%Ve.text.length==0){l=[];for(var c=0;c=0;d--){var p=r.ranges[d],h=p.from(),f=p.to();p.empty()&&(n&&n>0?h=Pos(h.line,h.ch-n):e.state.overwrite&&!s?f=Pos(f.line,Math.min(getLine(o,f.line).text.length,f.ch+lst(a).length)):Ve&&Ve.lineWise&&Ve.text.join("\n")==t&&(h=f=Pos(h.line,0))),u=e.curOp.updateInput;var g={from:h,to:f,text:l?l[d%l.length]:a,origin:i||(s?"paste":e.state.cutIncoming?"cut":"+input")};makeChange(e.doc,g),signalLater(e,"inputRead",e,g)}t&&!s&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,function(){return applyTextInput(t,n,0,null,"paste")}),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),s=!1;if(o.electricChars){for(var a=0;a-1){s=indentLine(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(getLine(e.doc,i.head.line).text.slice(0,i.head.ch))&&(s=indentLine(e,i.head.line,"smart"));s&&signalLater(e,"electricInput",e,i.head.line)}}}function copyableRanges(e){for(var t=[],n=[],r=0;r=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=getBidiPartAt(i,n.ch,n.sticky),s=i[o];if("ltr"==e.doc.direction&&s.level%2==0&&(r>0?s.to>n.ch:s.from=s.from&&p>=u.begin)){var h=d?"before":"after";return new Pos(n.line,p,h)}}var f=function(e,t,r){for(var o=function(e,t){return t?new Pos(n.line,l(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e0==(1!=s.level),c=a?r.begin:l(r.end,-1);if(s.from<=c&&c0?u.end:l(u.begin,-1);return null==m||r>0&&m==t.text.length||!(g=f(r>0?0:i.length-1,r,c(m)))?null:g}(e.cm,a,t,n):moveLogically(a,t,n))){if(r||!function findNextLine(){var r=t.line+n;return!(r=e.first+e.size)&&(t=new Pos(r,t.ch,t.sticky),a=getLine(e,r))}())return!1;t=endOfLine(i,e.cm,a,t.line,n)}else t=o;return!0}var o=t,s=n,a=getLine(e,t.line);if("char"==r)moveOnce();else if("column"==r)moveOnce(!0);else if("word"==r||"group"==r)for(var l=null,c="group"==r,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var p=a.text.charAt(t.ch)||"\n",h=isWordChar(p,u)?"w":c&&"\n"==p?"n":!c||/\s/.test(p)?null:"p";if(!c||d||h||(h="s"),l&&l!=h){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(h&&(l=h),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,o,s,!0);return equalCursorPos(o,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,r){var i,o=e.doc,s=t.left;if("page"==r){var a=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*textHeight(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var c;(c=coordsChar(e,s,i)).outside;){if(n<0?i<=0:i>=o.height){c.hitSide=!0;break}i+=5*n}return c}function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var r=getLine(e.doc,t.line),i=mapFromLineView(n,r,t.line),o=getOrder(r,e.doc.direction),s="left";if(o){s=getBidiPartAt(o,t.ch)%2?"right":"left"}var a=nodeAndOffsetInLineMap(i.map,t.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function badPos(e,t){return t&&(e.bad=!0),e}function domToPos(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return badPos(e.clipPos(Pos(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i=15&&(d=!1,l=!0);var w,S=y&&(c||d&&(null==x||x<12.11)),k=n||s&&a>=9,L=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};w=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var M=function(e){e.select()};g?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:s&&(M=function(e){try{e.select()}catch(e){}});var T=function(){this.id=null};T.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var O,P,A=30,N={toString:function(){return"CodeMirror.Pass"}},D={scroll:!1},H={origin:"*mouse"},W={origin:"+move"},E=[""],I=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,F=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,B=!1,z=!1,R=null,V=function(){function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,i=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;return function(e,t){var a="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var l=e.length,c=[],u=0;u=this.string.length},Q.prototype.sol=function(){return this.pos==this.lineStart},Q.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Q.prototype.next=function(){if(this.post},Q.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Q.prototype.skipToEnd=function(){this.pos=this.string.length},Q.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Q.prototype.backUp=function(e){this.pos-=e},Q.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Q.prototype.current=function(){return this.string.slice(this.start,this.pos)},Q.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Q.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Q.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var J=function(e,t){this.state=e,this.lookAhead=t},ee=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};ee.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ee.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ee.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ee.fromSaved=function(e,t,n){return t instanceof J?new ee(e,copyState(e.mode,t.state),n,t.lookAhead):new ee(e,copyState(e.mode,t),n)},ee.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new J(t,this.maxLookAhead):t};var te=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},ne=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};ne.prototype.lineNo=function(){return lineNo(this)},eventMixin(ne);var re,ie={},oe={},se=null,ae=null,le={left:0,right:0,top:0,bottom:0},ce=function(e,t,n){this.cm=n;var r=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),j(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),j(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,s&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ce.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},ce.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ce.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ce.prototype.zeroWidthHack=function(){var e=y&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new T,this.disableVert=new T},ce.prototype.enableZeroWidthBar=function(e,t,n){function maybeDisable(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)}e.style.pointerEvents="auto",t.set(1e3,maybeDisable)},ce.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ue=function(){};ue.prototype.update=function(){return{bottom:0,right:0}},ue.prototype.setScrollLeft=function(){},ue.prototype.setScrollTop=function(){},ue.prototype.clear=function(){};var de={native:ce,null:ue},pe=0,he=function(e,t,n){var r=e.display;this.viewport=t,this.visible=visibleLines(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=displayWidth(e),this.force=n,this.dims=getDimensions(e),this.events=[]};he.prototype.signal=function(e,t){hasHandler(e,t)&&this.events.push(arguments)},he.prototype.finish=function(){for(var e=0;e=0&&cmp(e,r.to())<=0)return n}return-1};var ve=function(e,t){this.anchor=e,this.head=t};ve.prototype.from=function(){return minPos(this.anchor,this.head)},ve.prototype.to=function(){return maxPos(this.anchor,this.head)},ve.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},LeafChunk.prototype={chunkSize:function chunkSize(){return this.lines.length},removeInner:function removeInner(e,t){for(var n=e,r=e+t;n1||!(this.children[0]instanceof LeafChunk))){var a=[];this.collapse(a),this.children=[new LeafChunk(a)],this.children[0].parent=this}},collapse:function collapse(e){for(var t=0;t50){for(var s=i.lines.length%25+25,a=s;a10);e.parent.maybeSpill()}},iterN:function iterN(e,t,n){for(var r=0;re.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&®Change(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,r,i),t&&endOperation(e),this.parent&&this.parent.clear()}},Ce.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;i=0;l--)makeChange(this,r[l]);a?setSelectionReplaceHistory(this,a):this.cm&&ensureCursorVisible(this.cm)}),undo:docMethodOp(function(){makeChangeFromHistory(this,"undo")}),redo:docMethodOp(function(){makeChangeFromHistory(this,"redo")}),undoSelection:docMethodOp(function(){makeChangeFromHistory(this,"undo",!0)}),redoSelection:docMethodOp(function(){makeChangeFromHistory(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)i=new Pos(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Pos(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var s=getLine(e.doc,i.line-1).text;s&&(i=new Pos(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+s.charAt(s.length-1),Pos(i.line-1,s.length-1),i,"+transpose"))}n.push(new ve(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&0==cmp(t,this.pos)&&n==this.button};var Ee,Ie,Fe={toString:function(){return"CodeMirror.Init"}},Be={},ze={};CodeMirror$1.defaults=Be,CodeMirror$1.optionHandlers=ze;var Re=[];CodeMirror$1.defineInitHook=function(e){return Re.push(e)};var Ve=null,Ue=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new T,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ue.prototype.init=function(e){function onCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,D),r.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var o=Ve.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var s=hiddenTextarea(),a=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),a.value=Ve.text.join("\n");var l=document.activeElement;M(a),setTimeout(function(){r.display.lineSpace.removeChild(s),l.focus(),l==i&&n.showPrimarySelection()},50)}}var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;disableBrowserMagic(i,r.options.spellcheck),j(i,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||a<=11&&setTimeout(operation(r,function(){return t.updateFromDOM()}),20)}),j(i,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),j(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),j(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),j(i,"touchstart",function(){return n.forceCompositionEnd()}),j(i,"input",function(){t.composing||t.readFromDOMSoon()}),j(i,"copy",onCopyCut),j(i,"cut",onCopyCut)},Ue.prototype.prepareSelection=function(){var e=prepareSelection(this.cm,!1);return e.focus=this.cm.state.focused,e},Ue.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ue.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line=t.display.viewFrom&&posToDOM(t,i)||{node:l[0].measure.map[2],offset:0},u=o.linee.firstLine()&&(r=Pos(r.line-1,getLine(e.doc,r.line-1).length)),i.ch==getLine(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,s,a;r.line==t.viewFrom||0==(o=findViewIndex(e,r.line))?(s=lineNo(t.view[0].line),a=t.view[0].node):(s=lineNo(t.view[o].line),a=t.view[o-1].node.nextSibling);var l,c,u=findViewIndex(e,i.line);if(u==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=lineNo(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!a)return!1;for(var d=e.doc.splitLines(function domTextBetween(e,t,n,r,i){function close(){s&&(o+=a,s=!1)}function addText(e){e&&(close(),o+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void addText(n||t.textContent.replace(/\u200b/g,""));var o,l=t.getAttribute("cm-marker");if(l){var c=e.findMarks(Pos(r,0),Pos(i+1,0),function recognizeMarker(e){return function(t){return t.id==e}}(+l));return void(c.length&&(o=c[0].find(0))&&addText(getBetween(e.doc,o.from,o.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return;var u=/^(pre|div|p)$/i.test(t.nodeName);u&&close();for(var d=0;d1&&p.length>1;)if(lst(d)==lst(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),s++}for(var h=0,f=0,g=d[0],m=p[0],v=Math.min(g.length,m.length);hr.ch&&y.charCodeAt(y.length-f-1)==b.charCodeAt(b.length-f-1);)h--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var x=Pos(s,h),w=Pos(l,p.length?lst(p).length-f:0);return d.length>1||d[0]||cmp(x,w)?(replaceRange(e.doc,d,x,w,"+input"),!0):void 0},Ue.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ue.prototype.reset=function(){this.forceCompositionEnd()},Ue.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ue.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ue.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,function(){return regChange(e.cm)})},Ue.prototype.setUneditable=function(e){e.contentEditable="false"},Ue.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ue.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ue.prototype.onContextMenu=function(){},Ue.prototype.resetPosition=function(){},Ue.prototype.needsContentAttribute=!0;var je=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new T,this.hasSelection=!1,this.composing=null};je.prototype.init=function(e){function prepareCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,D):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}var t=this,n=this,r=this.cm,i=this.wrapper=hiddenTextarea(),o=this.textarea=i.firstChild;e.wrapper.insertBefore(i,e.wrapper.firstChild),g&&(o.style.width="0px"),j(o,"input",function(){s&&a>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),j(o,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),j(o,"cut",prepareCopyCut),j(o,"copy",prepareCopyCut),j(e.scroller,"paste",function(t){eventInWidget(e,t)||signalDOMEvent(r,t)||(r.state.pasteIncoming=!0,n.focus())}),j(e.lineSpace,"selectstart",function(t){eventInWidget(e,t)||e_preventDefault(t)}),j(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),j(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},je.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=prepareSelection(e);if(e.options.moveInputWithCursor){var i=cursorCoords(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),s=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+s.left-o.left))}return r},je.prototype.showSelection=function(e){var t=this.cm.display;removeChildrenAndAdd(t.cursorDiv,e.cursors),removeChildrenAndAdd(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},je.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),s&&a>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",s&&a>=9&&(this.hasSelection=null))}},je.prototype.getField=function(){return this.textarea},je.prototype.supportsTouch=function(){return!1},je.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},je.prototype.blur=function(){this.textarea.blur()},je.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},je.prototype.receivedFocus=function(){this.slowPoll()},je.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},je.prototype.fastPoll=function(){function p(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))}var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,p)},je.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||_(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(s&&a>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},je.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},je.prototype.onKeyPress=function(){s&&a>=9&&(this.hasSelection=null),this.fastPoll()},je.prototype.onContextMenu=function(e){function prepareSelectAllHack(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=u,s&&a<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart){(!s||s&&a<9)&&prepareSelectAllHack();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}var t=this,n=t.cm,r=n.display,i=t.textarea,o=posFromMouse(n,e),c=r.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&operation(n,setSelection)(n.doc,simpleSelection(o),D);var u=i.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var h=t.wrapper.getBoundingClientRect();i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var f;if(l&&(f=window.scrollY),r.input.focus(),l&&window.scrollTo(null,f),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),s&&a>=9&&prepareSelectAllHack(),k){e_stop(e);var g=function(){off(window,"mouseup",g),setTimeout(rehide,20)};j(window,"mouseup",g)}else setTimeout(rehide,50)}},je.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},je.prototype.setUneditable=function(){},je.prototype.needsContentAttribute=!1,function defineOptions(e){function option(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Fe&&i(e,t,n)}:i)}var t=e.optionHandlers;e.defineOption=option,e.Init=Fe,option("value","",function(e,t){return e.setValue(t)},!0),option("mode",null,function(e,t){e.doc.modeOption=t,loadMode(e)},!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,function(e){resetModeState(e),clearCaches(e),regChange(e)},!0),option("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Pos(r,o))}r++});for(var i=n.length-1;i>=0;i--)replaceRange(e.doc,t,n[i],Pos(n[i].line,n[i].ch+t.length))}}),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Fe&&e.refresh()}),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,function(e){return e.refresh()},!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),option("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),option("rtlMoveVisually",!C),option("wholeLineUpdateBefore",!0),option("theme","default",function(e){themeChanged(e),guttersChanged(e)},!0),option("keyMap","default",function(e,t,n){var r=getKeyMap(t),i=n!=Fe&&getKeyMap(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()},!0),option("coverGutterNextToScrollbar",!1,function(e){return updateScrollbars(e)},!0),option("scrollbarStyle","native",function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),option("lineNumbers",!1,function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("firstLineNumber",1,guttersChanged,!0),option("lineNumberFormatter",function(e){return e},guttersChanged,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("readOnly",!1,function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),option("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),option("historyEventDelay",1250),option("viewportMargin",10,function(e){return e.refresh()},!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),option("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),option("autofocus",null),option("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(CodeMirror$1),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,i),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(indentLine(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var o=i.from(),s=i.to(),a=Math.max(n,o.line);n=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l0&&replaceOneSelection(this.doc,r,new ve(o,c[r].to()),D)}}}),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var s=r+i>>1;if((s?n[2*s-1]:0)>=o)i=s;else{if(!(n[2*s+1]o&&(e=o,i=!0),r=getLine(this.doc,e)}else r=e;return intoCoordSystem(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-heightAtLine(r):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,s=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,a=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)s=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?s=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(s=e.bottom),a+t.offsetWidth>c&&(a=c-t.offsetWidth)}t.style.top=s+"px",t.style.left=t.style.right="","right"==i?(a=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?a=0:"middle"==i&&(a=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=a+"px"),n&&function scrollIntoView(e,t){var n=calculateScrollPos(e,t);null!=n.scrollTop&&updateScrollTop(e,n.scrollTop),null!=n.scrollLeft&&setScrollLeft(e,n.scrollLeft)}(this,{left:a,top:s,right:a+t.offsetWidth,bottom:s+t.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(Ne.hasOwnProperty(e))return Ne[e].call(null,this)},triggerElectric:methodOp(function(e){triggerElectric(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=clipPos(this.doc,e),s=0;s0&&s(t.charAt(n-1));)--n;for(;r.5)&&estimateLineHeights(this),signal(this,"refresh",this)}),swapDoc:methodOp(function(e){var t=this.doc;return t.cm=null,attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(CodeMirror$1);var Ge="iter insert remove copy getEditor constructor".split(" ");for(var Ke in Se.prototype)Se.prototype.hasOwnProperty(Ke)&&indexOf(Ge,Ke)<0&&(CodeMirror$1.prototype[Ke]=function(e){return function(){return e.apply(this.doc,arguments)}}(Se.prototype[Ke]));return eventMixin(Se),CodeMirror$1.inputStyles={textarea:je,contenteditable:Ue},CodeMirror$1.defineMode=function(e){CodeMirror$1.defaults.mode||"null"==e||(CodeMirror$1.defaults.mode=e),function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),X[e]=t}.apply(this,arguments)},CodeMirror$1.defineMIME=function defineMIME(e,t){Y[e]=t},CodeMirror$1.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror$1.defineMIME("text/plain","null"),CodeMirror$1.defineExtension=function(e,t){CodeMirror$1.prototype[e]=t},CodeMirror$1.defineDocExtension=function(e,t){Se.prototype[e]=t},CodeMirror$1.fromTextArea=function fromTextArea(e,t){function save(){e.value=s.getValue()}if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}var r;if(e.form&&(j(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var i=e.form;r=i.submit;try{var o=i.submit=function(){save(),i.submit=r,i.submit(),i.submit=o}}catch(e){}}t.finishInit=function(t){t.save=save,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,save(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var s=CodeMirror$1(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},function addLegacyProps(e){e.off=off,e.on=j,e.wheelEventPixels=wheelEventPixels,e.Doc=Se,e.splitLines=K,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=N,e.signal=signal,e.Line=ne,e.changeEnd=changeEnd,e.scrollbarModel=de,e.Pos=Pos,e.cmpPos=cmp,e.modes=X,e.mimeModes=Y,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=Z,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=Ne,e.keyMap=Ae,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=Q,e.SharedTextMarker=xe,e.TextMarker=Ce,e.LineWidget=ye,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=L,e.keyNames=Me}(CodeMirror$1),CodeMirror$1.version="5.34.0",CodeMirror$1})},908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,i=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,i=!1;if(a&&"@"==t.peek()&&t.match(h))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(p.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(r)){var i=d[r];return ret(i.type,i.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,s=n-1;s>=0;--s){var a=e.string.charAt(s),l=f.indexOf(a);if(l>=0&&l<3){if(!i){++s;break}if(0==--i){"("==a&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(u.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!i){++s;break}}}o&&!i&&(t.fatArrowAt=s)}}function JSLexical(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)m.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=m.state;if(m.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){m.state.context={prev:m.state.context,vars:m.state.localVars},m.state.localVars=v}function popcontext(){m.state.localVars=m.state.context.vars,m.state.context=m.state.context.prev}function pushlex(e,t){var n=function(){var n=m.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new JSLexical(r,m.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=m.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?m.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==m.state.lexical.info&&m.state.cc[m.state.cc.length-1]==poplex&&m.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(m.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&m.stream.match(/^\s*\w/,!1)?(m.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(m.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(m.state.fatArrowAt==m.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var i=n?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(i):"function"==e?cont(functiondef,i):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,i):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,i):"{"==e?contCommasep(objprop,"}",null,i):"quasi"==e?pass(quasi,i):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,i=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&m.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),i):cont(i):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(m.marked="keyword",cont(typeexpr,r)):"regexp"==e?(m.state.lastType=m.marked="operator",m.stream.backUp(m.stream.pos-m.stream.start-1),cont(i)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return m.marked="string-2",m.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return m.marked="property",cont()}function objprop(e,t){if("async"==e)return m.marked="property",cont(objprop);if("variable"==e||"keyword"==m.style){if(m.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&m.state.fatArrowAt==m.stream.start&&(n=m.stream.match(/^\s*:\s*/,!1))&&(m.state.fatArrowAt=m.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(m.marked=a?"property":m.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(m.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(m.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(m.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,i){if(n?n.indexOf(r)>-1:","==r){var o=m.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||i==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==m.style?(m.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(m.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(m.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(m.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||m.stream.match(/^\s*:/,!1)?("variable"==e&&(m.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(m.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(m.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(m.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(m.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(m.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&m.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(m.marked="keyword",cont(classBody)):"variable"==e||"keyword"==m.style?(m.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(m.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(m.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(m.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(m.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&®ister(t),"*"==t&&(m.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return m.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return m.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,i,o=t.indentUnit,s=n.statementIndent,a=n.jsonld,l=n.json||a,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),i=kw("operator"),o={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},m={state:null,column:null,marked:null,cc:null},v={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",function parseJS(e,t,n,r,i){var o=e.cc;for(m.state=e,m.stream=i,m.marked=null,m.cc=o,m.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():l?expression:statement)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return m.marked?m.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var i,a=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==maybeoperatorComma||i==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;s&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,h=a==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==d&&"{"==a?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?s||o:0):"switch"!=l.info||h||0==n.doubleIndentSwitch?l.align?l.column+(h?0:1):l.indented+(h?0:o):l.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:a,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,i){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!s.contextGrabbers.hasOwnProperty(n)||!s.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),u="tag",attrState):s.allowMissingTagName&&"endTag"==e?(u="tag bracket",attrState(e,t,n)):(u="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&s.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===s.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return s.allowMissingTagName&&"endTag"==e?(u="tag bracket",closeState(e,t,n)):(u="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return u="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return u="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||s.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(s.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,i==n.indented)),baseState}return u="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(s.allowMissing||(u="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&s.allowUnquoted?(u="string",attrState):(u="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var o=r.indentUnit,s={},a=i.htmlMode?t:n;for(var l in a)s[l]=a[l];for(var l in i)s[l]=i[l];var c,u;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(u=null,t.state=t.state(c||n,e,t),u&&(n="error"==u?n+" error":u)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+o;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==s.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+o*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},922:function(e,t,n){!function(e){e(n(907),n(909),n(908))}(function(e){"use strict";function Context(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function copyContext(t){return new Context(e.copyState(t.mode,t.state),t.mode,t.depth,t.prev&©Context(t.prev))}e.defineMode("jsx",function(t,n){function flatXMLIndent(e){var t=e.tagName;e.tagName=null;var n=r.indent(e,"");return e.tagName=t,n}function token(n,o){return o.context.mode==r?function xmlToken(n,o,s){if(2==s.depth)return n.match(/^.*?\*\//)?s.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){r.skipAttribute(s.state);var a=flatXMLIndent(s.state),l=s.state.context;if(l&&n.match(/^[^>]*>\s*$/,!1)){for(;l.prev&&!l.startOfLine;)l=l.prev;l.startOfLine?a-=t.indentUnit:s.prev.state.lexical&&(a=s.prev.state.lexical.indented)}else 1==s.depth&&(a+=t.indentUnit);return o.context=new Context(e.startState(i,a),i,0,o.context),null}if(1==s.depth){if("<"==n.peek())return r.skipAttribute(s.state),o.context=new Context(e.startState(r,flatXMLIndent(s.state)),r,0,o.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return s.depth=2,token(n,o)}var c,u=r.token(n,s.state),d=n.current();/\btag\b/.test(u)?/>$/.test(d)?s.state.context?s.depth=0:o.context=o.context.prev:/^-1&&n.backUp(d.length-c);return u}(n,o,o.context):function jsToken(t,n,o){if("<"==t.peek()&&i.expressionAllowed(t,o.state))return i.skipExpression(o.state),n.context=new Context(e.startState(r,i.indent(o.state,"")),r,0,n.context),null;var s=i.token(t,o.state);if(!s&&null!=o.depth){var a=t.current();"{"==a?o.depth++:"}"==a&&0==--o.depth&&(n.context=n.context.prev)}return s}(n,o,o.context)}var r=e.getMode(t,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),i=e.getMode(t,n&&n.base||"javascript");return{startState:function(){return{context:new Context(e.startState(i),i)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})}}); \ No newline at end of file diff --git a/build/1.d59fc978.js b/build/1.d59fc978.js deleted file mode 100644 index 46c8e7e..0000000 --- a/build/1.d59fc978.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1],{1059:function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: -20px;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n",""])},1060:function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/*\n\n Name: Base16 Default Light\n Author: Chris Kempson (http://chriskempson.com)\n\n CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)\n Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)\n\n*/\n\n.cm-s-base16-light.CodeMirror { background: #f5f5f5; color: #202020; }\n.cm-s-base16-light div.CodeMirror-selected { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::selection, .cm-s-base16-light .CodeMirror-line > span::selection, .cm-s-base16-light .CodeMirror-line > span > span::selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-line::-moz-selection, .cm-s-base16-light .CodeMirror-line > span::-moz-selection, .cm-s-base16-light .CodeMirror-line > span > span::-moz-selection { background: #e0e0e0; }\n.cm-s-base16-light .CodeMirror-gutters { background: #f5f5f5; border-right: 0px; }\n.cm-s-base16-light .CodeMirror-guttermarker { color: #ac4142; }\n.cm-s-base16-light .CodeMirror-guttermarker-subtle { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-linenumber { color: #b0b0b0; }\n.cm-s-base16-light .CodeMirror-cursor { border-left: 1px solid #505050; }\n\n.cm-s-base16-light span.cm-comment { color: #8f5536; }\n.cm-s-base16-light span.cm-atom { color: #aa759f; }\n.cm-s-base16-light span.cm-number { color: #aa759f; }\n\n.cm-s-base16-light span.cm-property, .cm-s-base16-light span.cm-attribute { color: #90a959; }\n.cm-s-base16-light span.cm-keyword { color: #ac4142; }\n.cm-s-base16-light span.cm-string { color: #f4bf75; }\n\n.cm-s-base16-light span.cm-variable { color: #90a959; }\n.cm-s-base16-light span.cm-variable-2 { color: #6a9fb5; }\n.cm-s-base16-light span.cm-def { color: #d28445; }\n.cm-s-base16-light span.cm-bracket { color: #202020; }\n.cm-s-base16-light span.cm-tag { color: #ac4142; }\n.cm-s-base16-light span.cm-link { color: #aa759f; }\n.cm-s-base16-light span.cm-error { background: #ac4142; color: #505050; }\n\n.cm-s-base16-light .CodeMirror-activeline-background { background: #DDDCDC; }\n.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; }\n",""])},1061:function(e,t,n){var r=n(1059);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0};i.transform=void 0;n(217)(r,i);r.locals&&(e.exports=r.locals)},1062:function(e,t,n){var r=n(1060);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0};i.transform=void 0;n(217)(r,i);r.locals&&(e.exports=r.locals)},1063:function(e,t,n){!function(e){e(n(919))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,i=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,i=!1;if(a&&"@"==t.peek()&&t.match(h))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(p.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(d.propertyIsEnumerable(r)){var i=d[r];return ret(i.type,i.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var i=0,o=!1,s=n-1;s>=0;--s){var a=e.string.charAt(s),l=f.indexOf(a);if(l>=0&&l<3){if(!i){++s;break}if(0==--i){"("==a&&(o=!0);break}}else if(l>=3&&l<6)++i;else if(u.test(a))o=!0;else{if(/["'\/]/.test(a))return;if(o&&!i){++s;break}}}o&&!i&&(t.fatArrowAt=s)}}function JSLexical(e,t,n,r,i,o){this.indented=e,this.column=t,this.type=n,this.prev=i,this.info=o,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)m.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=m.state;if(m.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){m.state.context={prev:m.state.context,vars:m.state.localVars},m.state.localVars=v}function popcontext(){m.state.localVars=m.state.context.vars,m.state.context=m.state.context.prev}function pushlex(e,t){var n=function(){var n=m.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var i=n.lexical;i&&")"==i.type&&i.align;i=i.prev)r=i.indented;n.lexical=new JSLexical(r,m.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=m.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?m.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==m.state.lexical.info&&m.state.cc[m.state.cc.length-1]==poplex&&m.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(m.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&m.stream.match(/^\s*\w/,!1)?(m.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(m.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(m.state.fatArrowAt==m.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var i=n?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(i):"function"==e?cont(functiondef,i):"class"==e||c&&"interface"==t?(m.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,i):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,i):"{"==e?contCommasep(objprop,"}",null,i):"quasi"==e?pass(quasi,i):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,i=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&m.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),i):cont(i):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(m.marked="keyword",cont(typeexpr,r)):"regexp"==e?(m.state.lastType=m.marked="operator",m.stream.backUp(m.stream.pos-m.stream.start-1),cont(i)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return m.marked="string-2",m.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(m.stream,m.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return m.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return m.marked="property",cont()}function objprop(e,t){if("async"==e)return m.marked="property",cont(objprop);if("variable"==e||"keyword"==m.style){if(m.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&m.state.fatArrowAt==m.stream.start&&(n=m.stream.match(/^\s*:\s*/,!1))&&(m.state.fatArrowAt=m.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(m.marked=a?"property":m.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(m.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(m.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(m.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,i){if(n?n.indexOf(r)>-1:","==r){var o=m.state.lexical;return"call"==o.info&&(o.pos=(o.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||i==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==m.style?(m.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(m.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(m.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(m.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||m.stream.match(/^\s*:/,!1)?("variable"==e&&(m.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(m.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(m.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(m.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(m.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(m.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&m.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(m.marked="keyword",cont(classBody)):"variable"==e||"keyword"==m.style?(m.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(m.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(m.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(m.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(m.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&®ister(t),"*"==t&&(m.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return m.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return m.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,i,o=t.indentUnit,s=n.statementIndent,a=n.jsonld,l=n.json||a,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,d=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),i=kw("operator"),o={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:i,typeof:i,instanceof:i,true:o,false:o,null:o,undefined:o,NaN:o,Infinity:o,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),p=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},m={state:null,column:null,marked:null,cc:null},v={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-o,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=i&&"--"!=i?r:"incdec",function parseJS(e,t,n,r,i){var o=e.cc;for(m.state=e,m.stream=i,m.marked=null,m.cc=o,m.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((o.length?o.pop():l?expression:statement)(n,r)){for(;o.length&&o[o.length-1].lex;)o.pop()();return m.marked?m.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,i,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var i,a=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==a||(i=t.cc[t.cc.length-1])&&(i==maybeoperatorComma||i==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;s&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var d=l.type,h=a==d;return"vardef"==d?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==d&&"{"==a?l.indented:"form"==d?l.indented+o:"stat"==d?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||p.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?s||o:0):"switch"!=l.info||h||0==n.doubleIndentSwitch?l.align?l.column+(h?0:1):l.indented+(h?0:o):l.indented+(/^(?:case|default)\b/.test(r)?o:2*o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:a,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},1064:function(e,t,n){!function(e){e(n(919),n(1065),n(1063))}(function(e){"use strict";function Context(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function copyContext(t){return new Context(e.copyState(t.mode,t.state),t.mode,t.depth,t.prev&©Context(t.prev))}e.defineMode("jsx",function(t,n){function flatXMLIndent(e){var t=e.tagName;e.tagName=null;var n=r.indent(e,"");return e.tagName=t,n}function token(n,o){return o.context.mode==r?function xmlToken(n,o,s){if(2==s.depth)return n.match(/^.*?\*\//)?s.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){r.skipAttribute(s.state);var a=flatXMLIndent(s.state),l=s.state.context;if(l&&n.match(/^[^>]*>\s*$/,!1)){for(;l.prev&&!l.startOfLine;)l=l.prev;l.startOfLine?a-=t.indentUnit:s.prev.state.lexical&&(a=s.prev.state.lexical.indented)}else 1==s.depth&&(a+=t.indentUnit);return o.context=new Context(e.startState(i,a),i,0,o.context),null}if(1==s.depth){if("<"==n.peek())return r.skipAttribute(s.state),o.context=new Context(e.startState(r,flatXMLIndent(s.state)),r,0,o.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return s.depth=2,token(n,o)}var c,u=r.token(n,s.state),d=n.current();/\btag\b/.test(u)?/>$/.test(d)?s.state.context?s.depth=0:o.context=o.context.prev:/^-1&&n.backUp(d.length-c);return u}(n,o,o.context):function jsToken(t,n,o){if("<"==t.peek()&&i.expressionAllowed(t,o.state))return i.skipExpression(o.state),n.context=new Context(e.startState(r,i.indent(o.state,"")),r,0,n.context),null;var s=i.token(t,o.state);if(!s&&null!=o.depth){var a=t.current();"{"==a?o.depth++:"}"==a&&0==--o.depth&&(n.context=n.context.prev)}return s}(n,o,o.context)}var r=e.getMode(t,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),i=e.getMode(t,n&&n.base||"javascript");return{startState:function(){return{context:new Context(e.startState(i),i)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})},1065:function(e,t,n){!function(e){e(n(919))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,i){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!s.contextGrabbers.hasOwnProperty(n)||!s.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),u="tag",attrState):s.allowMissingTagName&&"endTag"==e?(u="tag bracket",attrState(e,t,n)):(u="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&s.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===s.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return s.allowMissingTagName&&"endTag"==e?(u="tag bracket",closeState(e,t,n)):(u="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return u="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return u="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,i=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||s.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(s.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,i==n.indented)),baseState}return u="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(s.allowMissing||(u="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&s.allowUnquoted?(u="string",attrState):(u="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var o=r.indentUnit,s={},a=i.htmlMode?t:n;for(var l in a)s[l]=a[l];for(var l in i)s[l]=i[l];var c,u;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(u=null,t.state=t.state(c||n,e,t),u&&(n="error"==u?n+" error":u)),n},indent:function(t,n,r){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+o;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==s.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+o*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},1066:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var 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])};return function(t,n){function __(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}();Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(1),s="undefined"==typeof navigator;s||(i=n(919));var a=function(){function Shared(e,t){this.editor=e,this.props=t,this.notifyOfDeprecation()}return Shared.prototype.notifyOfDeprecation=function(){void 0!==this.props.autoScrollCursorOnSet&&console.warn("`autoScrollCursorOnSet` has been deprecated. Use `autoScroll` instead\n\nSee https://github.com/scniro/react-codemirror2#props"),void 0!==this.props.resetCursorOnSet&&console.warn("`resetCursorOnSet` has been deprecated. Use `autoCursor` instead\n\nSee https://github.com/scniro/react-codemirror2#props"),void 0!==this.props.onSet&&console.warn("`onSet` has been deprecated. User `editorDidMount` instead. See https://github.com/scniro/react-codemirror2#events"),void 0!==this.props.onBeforeSet&&console.warn("`onBeforeSet` has been deprecated. User `onBeforeChange` for `Controlled`. instead. See https://github.com/scniro/react-codemirror2#events")},Shared.prototype.wire=function(e){var t=this;switch(e){case"onBlur":this.editor.on("blur",function(e,n){t.props.onBlur(t.editor,n)});break;case"onCursor":this.editor.on("cursorActivity",function(e){t.props.onCursor(t.editor,t.editor.getCursor())});break;case"onCursorActivity":this.editor.on("cursorActivity",function(e){t.props.onCursorActivity(t.editor)});break;case"onDragEnter":this.editor.on("dragenter",function(e,n){t.props.onDragEnter(t.editor,n)});break;case"onDragOver":this.editor.on("dragover",function(e,n){t.props.onDragOver(t.editor,n)});break;case"onDrop":this.editor.on("drop",function(e,n){t.props.onDrop(t.editor,n)});break;case"onFocus":this.editor.on("focus",function(e,n){t.props.onFocus(t.editor,n)});break;case"onGutterClick":this.editor.on("gutterClick",function(e,n,r,i){t.props.onGutterClick(t.editor,n,r,i)});break;case"onKeyDown":this.editor.on("keydown",function(e,n){t.props.onKeyDown(t.editor,n)});break;case"onKeyPress":this.editor.on("keypress",function(e,n){t.props.onKeyPress(t.editor,n)});break;case"onKeyUp":this.editor.on("keyup",function(e,n){t.props.onKeyUp(t.editor,n)});break;case"onScroll":this.editor.on("scroll",function(e){t.props.onScroll(t.editor,t.editor.getScrollInfo())});break;case"onSelection":this.editor.on("beforeSelectionChange",function(e,n){t.props.onSelection(t.editor,n)});break;case"onUpdate":this.editor.on("update",function(e){t.props.onUpdate(t.editor)});break;case"onViewportChange":this.editor.on("viewportChange",function(e,n,r){t.props.onViewportChange(t.editor,n,r)})}},Shared}(),l=function(e){function Controlled(t){var n=e.call(this,t)||this;return s?n:(n.deferred=null,n.emulating=!1,n.hydrated=!1,n.initCb=function(){n.props.editorDidConfigure&&n.props.editorDidConfigure(n.editor)},n.mounted=!1,n)}return r(Controlled,e),Controlled.prototype.setCursor=function(e,t,n){var r=this.editor.getDoc();n&&this.editor.focus(),t?r.setCursor(e):r.setCursor(e,null,{scroll:!1})},Controlled.prototype.moveCursor=function(e,t){var n=this.editor.getDoc();t?n.setCursor(e):n.setCursor(e,null,{scroll:!1})},Controlled.prototype.hydrate=function(e){var t=this;Object.keys(e.options||{}).forEach(function(n){t.editor.setOption(n,e.options[n]),t.mirror.setOption(n,e.options[n])}),this.hydrated||(this.mounted&&this.deferred?this.resolveChange():this.initChange(e.value||"")),this.hydrated=!0},Controlled.prototype.initChange=function(e){this.emulating=!0;var t=this.editor.lastLine(),n=this.editor.getLine(this.editor.lastLine()).length;this.editor.replaceRange(e||"",{line:0,ch:0},{line:t,ch:n}),this.mirror.setValue(e),this.editor.clearHistory(),this.mirror.clearHistory(),this.emulating=!1},Controlled.prototype.resolveChange=function(){this.emulating=!0,"undo"===this.deferred.origin?this.editor.undo():"redo"===this.deferred.origin?this.editor.redo():this.editor.replaceRange(this.deferred.text,this.deferred.from,this.deferred.to,this.deferred.origin),this.emulating=!1,this.deferred=null},Controlled.prototype.mirrorChange=function(e){return"undo"===e.origin?(this.editor.setHistory(this.mirror.getHistory()),this.mirror.undo()):"redo"===e.origin?(this.editor.setHistory(this.mirror.getHistory()),this.mirror.redo()):this.mirror.replaceRange(e.text,e.from,e.to,e.origin),this.mirror.getValue()},Controlled.prototype.componentWillMount=function(){s||this.props.editorWillMount&&this.props.editorWillMount()},Controlled.prototype.componentDidMount=function(){var e=this;if(!s){if(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&i.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=i(this.ref),this.shared=new a(this.editor,this.props),this.mirror=i(function(){}),this.editor.on("electricInput",function(){e.mirror.setHistory(e.editor.getHistory())}),this.editor.on("cursorActivity",function(){e.mirror.setCursor(e.editor.getCursor())}),this.editor.on("beforeChange",function(t,n){if(!e.emulating){n.cancel(),e.deferred=n;var r=e.mirrorChange(e.deferred);e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,e.deferred,r)}}),this.editor.on("change",function(t,n){e.mounted&&e.props.onChange&&e.props.onChange(e.editor,n,e.editor.getValue())}),this.props.onBlur&&this.shared.wire("onBlur"),this.props.onCursor&&this.shared.wire("onCursor"),this.props.onCursorActivity&&this.shared.wire("onCursorActivity"),this.props.onDragEnter&&this.shared.wire("onDragEnter"),this.props.onDragOver&&this.shared.wire("onDragOver"),this.props.onDrop&&this.shared.wire("onDrop"),this.props.onFocus&&this.shared.wire("onFocus"),this.props.onGutterClick&&this.shared.wire("onGutterClick"),this.props.onKeyDown&&this.shared.wire("onKeyDown"),this.props.onKeyPress&&this.shared.wire("onKeyPress"),this.props.onKeyUp&&this.shared.wire("onKeyUp"),this.props.onScroll&&this.shared.wire("onScroll"),this.props.onSelection&&this.shared.wire("onSelection"),this.props.onUpdate&&this.shared.wire("onUpdate"),this.props.onViewportChange&&this.shared.wire("onViewportChange"),this.hydrate(this.props),this.props.selection){this.editor.getDoc().setSelections(this.props.selection)}this.props.cursor&&this.setCursor(this.props.cursor,this.props.autoScroll||!1,this.props.autoFocus||!1),this.props.scroll&&this.editor.scrollTo(this.props.scroll.x,this.props.scroll.y),this.mounted=!0,this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb)}},Controlled.prototype.componentWillReceiveProps=function(e){if(!s){var t;e.value!==this.props.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t=this.editor.getCursor()),this.hydrate(e),this.props.autoCursor||void 0===this.props.autoCursor||this.moveCursor(t,this.props.autoScroll||!1)}},Controlled.prototype.componentWillUnmount=function(){s||this.props.editorWillUnmount&&this.props.editorWillUnmount(i)},Controlled.prototype.shouldComponentUpdate=function(e,t){return!s},Controlled.prototype.render=function(){var e=this;if(s)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return o.createElement("div",{className:t,ref:function(t){return e.ref=t}})},Controlled}(o.Component);t.Controlled=l;var c=function(e){function UnControlled(t){var n=e.call(this,t)||this;return s?n:(n.continueChange=!1,n.hydrated=!1,n.initCb=function(){n.props.editorDidConfigure&&n.props.editorDidConfigure(n.editor)},n.mounted=!1,n.onBeforeChangeCb=function(){n.continueChange=!0},n)}return r(UnControlled,e),UnControlled.prototype.setCursor=function(e,t,n){var r=this.editor.getDoc();n&&this.editor.focus(),t?r.setCursor(e):r.setCursor(e,null,{scroll:!1})},UnControlled.prototype.moveCursor=function(e,t){var n=this.editor.getDoc();t?n.setCursor(e):n.setCursor(e,null,{scroll:!1})},UnControlled.prototype.hydrate=function(e){var t=this;if(Object.keys(e.options||{}).forEach(function(n){return t.editor.setOption(n,e.options[n])}),!this.hydrated){var n=this.editor.lastLine(),r=this.editor.getLine(this.editor.lastLine()).length;this.editor.replaceRange(e.value||"",{line:0,ch:0},{line:n,ch:r})}this.hydrated=!0},UnControlled.prototype.componentWillMount=function(){s||this.props.editorWillMount&&this.props.editorWillMount()},UnControlled.prototype.componentDidMount=function(){var e=this;if(!s){if(this.props.defineMode&&this.props.defineMode.name&&this.props.defineMode.fn&&i.defineMode(this.props.defineMode.name,this.props.defineMode.fn),this.editor=i(this.ref),this.shared=new a(this.editor,this.props),this.editor.on("beforeChange",function(t,n){e.props.onBeforeChange&&e.props.onBeforeChange(e.editor,n,null,e.onBeforeChangeCb)}),this.editor.on("change",function(t,n){if(e.mounted)if(e.props.onBeforeChange){if(!e.continueChange)return;e.props.onChange(e.editor,n,e.editor.getValue())}else e.props.onChange(e.editor,n,e.editor.getValue())}),this.props.onBlur&&this.shared.wire("onBlur"),this.props.onCursor&&this.shared.wire("onCursor"),this.props.onCursorActivity&&this.shared.wire("onCursorActivity"),this.props.onDragEnter&&this.shared.wire("onDragEnter"),this.props.onDragOver&&this.shared.wire("onDragOver"),this.props.onDrop&&this.shared.wire("onDrop"),this.props.onFocus&&this.shared.wire("onFocus"),this.props.onGutterClick&&this.shared.wire("onGutterClick"),this.props.onKeyDown&&this.shared.wire("onKeyDown"),this.props.onKeyPress&&this.shared.wire("onKeyPress"),this.props.onKeyUp&&this.shared.wire("onKeyUp"),this.props.onScroll&&this.shared.wire("onScroll"),this.props.onSelection&&this.shared.wire("onSelection"),this.props.onUpdate&&this.shared.wire("onUpdate"),this.props.onViewportChange&&this.shared.wire("onViewportChange"),this.hydrate(this.props),this.props.selection){this.editor.getDoc().setSelections(this.props.selection)}this.props.cursor&&this.setCursor(this.props.cursor,this.props.autoScroll||!1,this.props.autoFocus||!1),this.props.scroll&&this.editor.scrollTo(this.props.scroll.x,this.props.scroll.y),this.mounted=!0,this.editor.clearHistory(),this.props.editorDidMount&&this.props.editorDidMount(this.editor,this.editor.getValue(),this.initCb)}},UnControlled.prototype.componentWillReceiveProps=function(e){if(!s){var t;e.value!==this.props.value&&(this.hydrated=!1),this.props.autoCursor||void 0===this.props.autoCursor||(t=this.editor.getCursor()),this.hydrate(e),this.props.autoCursor||void 0===this.props.autoCursor||this.moveCursor(t,this.props.autoScroll||!1)}},UnControlled.prototype.componentWillUnmount=function(){s||this.props.editorWillUnmount&&this.props.editorWillUnmount(i)},UnControlled.prototype.shouldComponentUpdate=function(e,t){return!s},UnControlled.prototype.render=function(){var e=this;if(s)return null;var t=this.props.className?"react-codemirror2 "+this.props.className:"react-codemirror2";return o.createElement("div",{className:t,ref:function(t){return e.ref=t}})},UnControlled}(o.Component);t.UnControlled=c},906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n.n(r),o=n(0),s=n.n(o),a=n(223),l=n.n(a),c=n(1066),u=(n.n(c),n(1064)),d=(n.n(u),function(){function defineProperties(e,t){for(var n=0;n0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return s+(t-o);s+=a-o,s+=n-s%n,o=a+1}}function indexOf(e,t){for(var n=0;n=t)return r+Math.min(s,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function spaceStr(e){for(;E.length<=e;)E.push(lst(E)+" ");return E[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||I.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function isExtendingChar(e){return e.charCodeAt(0)>=768&&F.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t=e.first&&tn?Pos(n,getLine(e,n).text.length):function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}(t,getLine(e,t.line).text.length)}function clipPosArray(e,t){for(var n=[],r=0;r=t:o.to>t);(r||(r=[])).push(new MarkedSpan(s,o.from,a?null:o.to))}}return r}(n,i,s),l=function markedSpansAfter(e,t,n){var r;if(e)for(var i=0;i=t:o.to>t)||o.from==t&&"bookmark"==s.type&&(!n||o.marker.insertLeft)){var a=null==o.from||(s.inclusiveLeft?o.from<=t:o.from0&&a)for(var b=0;b=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.from,r)<=0:cmp(c.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,r=getLine(e,t);if(!lineIsHidden(e,r))return t;for(;n=collapsedSpanAtEnd(r);)r=n.find(1,!0).line;return lineNo(r)+1}function lineIsHidden(e,t){var n=z&&t.markedSpans;if(n)for(var r=void 0,i=0;it.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function getBidiPartAt(e,t,n){var r;R=null;for(var i=0;it)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:R=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:R=i)}return null!=r?r:R}function getOrder(e,t){var n=e.order;return null==n&&(n=e.order=V(e.text,t)),n}function getHandlers(e,t){return e._handlers&&e._handlers[t]||U}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=indexOf(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i0}function eventMixin(e){e.prototype.on=function(e,t){j(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}function zeroWidthElement(e){if(null==O){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(O=t.offsetWidth<=1&&t.offsetHeight>2&&!(s&&a<8))}var n=O?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=P)return P;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=w(t,0,1).getBoundingClientRect(),r=w(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(P=r.right-n.right<3)}function resolveMode(e){if("string"==typeof e&&Y.hasOwnProperty(e))e=Y[e];else if(e&&"string"==typeof e.name&&Y.hasOwnProperty(e.name)){var t=Y[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=X[t.name];if(!n)return getMode(e,"text/plain");var r=n(e,t);if(Z.hasOwnProperty(t.name)){var i=Z[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var s in t.modeProps)r[s]=t.modeProps[s];return r}function extendMode(e,t){copyObj(t,Z.hasOwnProperty(e)?Z[e]:Z[e]={})}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}function highlightLine(e,t,n,r){var i=[e.state.modeGen],o={};runMode(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var s=n.state,a=function(r){n.baseTokens=i;var a=e.state.overlays[r],l=1,c=0;n.state=!0,runMode(e,t.text,a.mode,n,function(e,t){for(var n=l;ce&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(a.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;ne.options.maxHighlightLength&©State(e.doc.mode,r.state),o=highlightLine(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ee(r,!0,t);var o=function findStartLine(e,t,n){for(var r,i,o=e.doc,s=n?-1:t-(e.doc.mode.innerMode?1e3:100),a=t;a>s;--a){if(a<=o.first)return o.first;var l=getLine(o,a-1),c=l.stateAfter;if(c&&(!n||a+(c instanceof J?c.lookAhead:0)<=o.modeFrontier))return a;var u=countColumn(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=a-1,r=u)}return i}(e,t,n),s=o>r.first&&getLine(r,o-1).stateAfter,a=s?ee.fromSaved(r,s,o):new ee(r,startState(r.mode),o);return r.iter(o,t,function(n){processLine(e,n.text,a);var r=a.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&rt.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function takeToken(e,t,n,r){var i,o,s=e.doc,a=s.mode,l=getLine(s,(t=clipPos(s,t)).line),c=getContextBefore(e,t.line,n),u=new Q(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pose.options.maxHighlightLength?(a=!1,s&&processLine(e,t,r,d.pos),d.pos=t.length,l=null):l=extractLineClasses(readToken(n,d,r.state,p),o),p){var h=p[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!a||u!=l){for(;cc&&d.from<=c);p++);if(d.to>=u)return e(n,r,i,o,s,a,l);e(n,r.slice(0,d.to-c),i,o,null,a,l),o=null,r=r.slice(d.to-c),c=d.to}}}(r.addToken,a)),r.map=[];!function insertLineContent(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(!r){for(var s=1;sg||S.collapsed&&w.to==g&&w.from==g)?(null!=w.to&&w.to!=g&&y>w.to&&(y=w.to,u=""),S.className&&(c+=" "+S.className),S.css&&(l=(l?l+";":"")+S.css),S.startStyle&&w.from==g&&(d+=" "+S.startStyle),S.endStyle&&w.to==y&&(C||(C=[])).push(S.endStyle,w.to),S.title&&!p&&(p=S.title),S.collapsed&&(!h||compareCollapsedMarkers(h.marker,S)<0)&&(h=w)):w.from>g&&y>w.from&&(y=w.from)}if(C)for(var k=0;k=f)break;for(var M=Math.min(f,y);;){if(v){var T=g+v.length;if(!h){var O=T>M?v.slice(0,M-g):v;t.addToken(t,O,a?a+c:c,d,g+O.length==y?u:"",p,l)}if(T>=M){v=v.slice(M-g),g=M;break}g=T,d=""}v=i.slice(o,o=n[m++]),a=interpretTokenStyle(n[m++],t.cm.options)}}}(o,r,getLineStyles(e,o,t!=e.display.externalMeasured&&lineNo(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=joinClasses(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=joinClasses(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(zeroWidthElement(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return signal(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=joinClasses(r.pre.className,r.textClass||"")),r}function defaultSpecialCharPlaceholder(e){var t=elt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function buildToken(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function splitSpaces(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;in)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function measureChar(e,t,n,r){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,r)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&t2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function measureCharInner(e,t,n,r){var i,o=nodeAndOffsetInLineMap(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var p=0;p<4;p++){for(;c&&isExtendingChar(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{c>0&&(d=r="right");var h;i=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(s&&a<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:le}for(var g=i.top-t.rect.top,m=i.bottom-t.rect.top,v=(g+m)/2,y=t.view.measure.heights,b=0;bt)&&(i=(o=l-a)-1,t>=l&&(s="right")),null!=i){if(r=e[c+2],a==l&&n==(r.insertLeft?"left":"right")&&(s=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],s="left";if("right"==n&&i==l-a)for(;c=0&&(n=e[i]).left==n.right;i--);return n}function clearLineMeasurementCacheFor(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t=r.text.length?(a=r.text.length,l="before"):a<=0&&(a=0,l="after"),!s)return get("before"==l?a-1:a,"before"==l);var c=getBidiPartAt(s,a,l),u=R,d=getBidi(a,c,"before"==l);return null!=u&&(d.other=getBidi(a,u,"before"!=l)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var r=getLine(e.doc,t.line),i=heightAtLine(r)+paddingTop(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function PosWithInfo(e,t,n,r,i){var o=Pos(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function coordsChar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(r.first,0,null,!0,-1);var i=lineAtHeight(r,n),o=r.first+r.size-1;if(i>o)return PosWithInfo(r.first+r.size-1,getLine(r,o).text.length,null,!0,1);t<0&&(t=0);for(var s=getLine(r,i);;){var a=function coordsCharInner(e,t,n,r,i){i-=heightAtLine(t);var o=prepareMeasureForLine(e,t),s=widgetTopHeight(t),a=0,l=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?function coordsBidiPartWrapped(e,t,n,r,i,o,s){var a=wrappedLineExtent(e,t,r,s),l=a.begin,c=a.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,p=0;p=c||h.to<=l)){var f=1!=h.level,g=measureCharPrepared(e,r,f?Math.min(c,h.to)-1:Math.max(l,h.from)).right,m=gm)&&(u=h,d=m)}}u||(u=i[i.length-1]);u.fromc&&(u={from:u.from,to:c,level:u.level});return u}:function coordsBidiPart(e,t,n,r,i,o,s){var a=findFirst(function(a){var l=i[a],c=1!=l.level;return boxIsAfter(cursorCoords(e,Pos(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,s,!0)},0,i.length-1),l=i[a];if(a>0){var c=1!=l.level,u=cursorCoords(e,Pos(n,c?l.from:l.to,c?"after":"before"),"line",t,r);boxIsAfter(u,o,s,!0)&&u.top>s&&(l=i[a-1])}return l})(e,t,n,o,u,r,i);c=1!=d.level,a=c?d.from:d.to-1,l=c?d.to:d.from-1}var p,h,f=null,g=null,m=findFirst(function(t){var n=measureCharPrepared(e,o,t);return n.top+=s,n.bottom+=s,!!boxIsAfter(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(f=t,g=n),!0)},a,l),v=!1;if(g){var y=r-g.left=C.bottom}return m=skipExtendingChars(t.text,m,1),PosWithInfo(n,m,h,v,r-p)}(e,s,i,t,n),l=collapsedSpanAtEnd(s),c=l&&l.find(0,!0);if(!l||!(a.ch>c.from.ch||a.ch==c.from.ch&&a.xRel>0))return a;i=lineNo(s=c.to.line)}}function wrappedLineExtent(e,t,n,r){r-=widgetTopHeight(t);var i=t.text.length,o=findFirst(function(t){return measureCharPrepared(e,n,t-1).bottom<=r},i,0);return i=findFirst(function(t){return measureCharPrepared(e,n,t).top>r},o,i),{begin:o,end:i}}function wrappedLineExtentChar(e,t,n,r){n||(n=prepareMeasureForLine(e,t));return wrappedLineExtent(e,t,n,intoCoordSystem(e,t,measureCharPrepared(e,n,r),"line").top)}function boxIsAfter(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==re){re=elt("pre");for(var t=0;t<49;++t)re.appendChild(document.createTextNode("x")),re.appendChild(elt("br"));re.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,re);var n=re.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t]);removeChildrenAndAdd(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function getDimensions(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,s=0;o;o=o.nextSibling,++s)n[e.options.gutters[s]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[s]]=o.clientWidth;return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(i){if(lineIsHidden(e.doc,i))return 0;var o=0;if(i.widgets)for(var s=0;s=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r=e.display.viewTo||a.to().linet||t==n&&s.to==t)&&(r(Math.max(s.from,t),Math.min(s.to,n),1==s.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(p,n||0,null==r?d:r,function(e,t,i,u){var h="ltr"==i,f=coords(e,h?"left":"right"),g=coords(t-1,h?"right":"left"),m=null==n&&0==e,v=null==r&&t==d,y=0==u,b=!p||u==p.length-1;if(g.top-f.top<=3){var C=(c?m:v)&&y,x=(c?v:m)&&b,w=C?a:(h?f:g).left,S=x?l:(h?g:f).right;add(w,f.top,S-w,f.bottom)}else{var k,L,M,T;h?(k=c&&m&&y?a:f.left,L=c?l:wrapX(e,i,"before"),M=c?a:wrapX(t,i,"after"),T=c&&v&&b?l:g.right):(k=c?wrapX(e,i,"before"):a,L=!c&&m&&y?l:f.right,M=!c&&v&&b?a:g.left,T=c?wrapX(t,i,"after"):l),add(k,f.top,L-k,f.bottom),f.bottom0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))},100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,L(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r.005||u<-.005)&&(updateLineHeight(i.line,o),updateWidgetHeight(i.line),i.rest))for(var d=0;d=s&&(o=lineAtHeight(t,heightAtLine(getLine(t,l))-e.wrapper.clientHeight),s=l)}return{from:o,to:Math.max(s,o+1)}}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",s=0;so&&(t.bottom=t.top+o);var a=e.doc.height+paddingVert(n),l=t.topa-r;if(t.topi+o){var u=Math.min(t.top,(c?a:t.bottom)-o);u!=i&&(s.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,p=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?s.scrollLeft=0:t.leftp+d-3&&(s.scrollLeft=t.right+(h?0:10)-p),s}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;scrollToCoordsRange(e,estimateCoords(e,t.from),estimateCoords(e,t.to),t.margin)}}function scrollToCoordsRange(e,t,n,r){var i=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});scrollToCoords(e,i.scrollLeft,i.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,r=e.display.barHeight;updateScrollbarsInner(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,r=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&L(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new de[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),j(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)},e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}function startOperation(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++pe},function pushOperation(e){se?se.ops.push(e):e.ownsGroup=se={ops:[e],delayedCallbacks:[]}}(e.curOp)}function endOperation(e){!function finishOperation(e,t){var n=e.ownsGroup;if(n)try{!function fireCallbacksForOps(e){var t=e.delayedCallbacks,n=0;do{for(;n=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new he(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}(t[n]);for(var r=0;r1&&(s=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(s=!0)),!s)break}return i}(t,clipPos(r,e.scrollToPos.from),clipPos(r,e.scrollToPos.to),e.scrollToPos.margin);!function maybeScrollWindow(e,t){if(!signalDOMEvent(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!f){var o=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,i)}var o=e.maybeHiddenMarkers,s=e.maybeUnhiddenMarkers;if(o)for(var a=0;at)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)z&&visualLineNo(e.doc,t)i.viewFrom?resetView(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)resetView(e);else if(t<=i.viewFrom){var o=viewCuttingPoint(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):resetView(e)}else if(n>=i.viewTo){var s=viewCuttingPoint(e,t,t,-1);s?(i.view=i.view.slice(0,s.index),i.viewTo=s.lineN):resetView(e)}else{var a=viewCuttingPoint(e,t,t,-1),l=viewCuttingPoint(e,n,n+r,1);a&&l?(i.view=i.view.slice(0,a.index).concat(buildViewArray(e,a.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):resetView(e)}var c=i.externalMeasured;c&&(n=i.lineN&&t=r.viewTo)){var o=r.view[findViewIndex(e,t)];if(null!=o.node){var s=o.changes||(o.changes=[]);-1==indexOf(s,n)&&s.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,r){var i,o=findViewIndex(e,t),s=e.display.view;if(!z||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var a=e.display.viewFrom,l=0;l0){if(o==s.length-1)return null;i=a+s[o].size-t,o++}else i=a-t;t+=i,n+=i}for(;visualLineNo(e.doc,n)!=n;){if(o==(r<0?0:s.length-1))return null;n+=r*s[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function countDirtyView(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo)){var n=+new Date+e.options.workTime,r=getContextBefore(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var s=o.styles,a=o.text.length>e.options.maxHighlightLength?copyState(t.mode,r.state):null,l=highlightLine(e,o,r,!0);a&&(r.state=a),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!s||s.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),p=0;!d&&pn)return startWorker(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&runInOp(e,function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),s=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFroms&&n.viewTo-s<20&&(s=Math.min(i,n.viewTo)),z&&(o=visualLineNo(e.doc,o),s=visualLineEndNo(e.doc,s));var a=o!=n.viewFrom||s!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function adjustView(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=buildViewArray(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=buildViewArray(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,findViewIndex(e,n)))),r.viewTo=n}(e,o,s),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=countDirtyView(e);if(!a&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function selectionSnapshot(e){if(e.hasFocus())return null;var t=activeElt();if(!t||!contains(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&contains(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function patchDisplay(e,t,n){function rm(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,s=o.firstChild;for(var a=r.view,c=r.viewFrom,u=0;u-1&&(p=!1),updateLineForChanges(e,d,c,n)),p&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),s=d.node.nextSibling}else{var h=buildLineElement(e,d,c,n);o.insertBefore(h,s)}c+=d.size}for(;s;)s=rm(s)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function restoreSelection(e){if(e&&e.activeElt&&e.activeElt!=activeElt()&&(e.activeElt.focus(),e.anchorNode&&contains(document.body,e.anchorNode)&&contains(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,a&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);r=!1){updateHeightsInViewport(e);var i=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,i),setDocumentHeight(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new he(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),n.finish()}}function updateGutterSpace(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function updateGutters(e){var t=e.display.gutters,n=e.options.gutters;removeChildren(t);for(var r=0;r-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function wheelEventDelta(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function wheelEventPixels(e){var t=wheelEventDelta(e);return t.x*=ge,t.y*=ge,t}function onScrollWheel(e,t){var r=wheelEventDelta(t),i=r.x,o=r.y,s=e.display,a=s.scroller,c=a.scrollWidth>a.clientWidth,u=a.scrollHeight>a.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var p=t.target,h=s.view;p!=a;p=p.parentNode)for(var f=0;f=0){var s=minPos(o.from(),i.from()),a=maxPos(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new ve(l?a:s,l?s:a))}}return new me(e,t)}function simpleSelection(e,t){return new me([new ve(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=changeEnd(t).ch-t.to.ch),Pos(n,r)}function computeSelAfterChange(e,t){for(var n=[],r=0;r1&&e.remove(i.line+1,d-1),e.insert(i.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){function propagate(e,r,i){if(e.linked)for(var o=0;oa-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function lastChangeEvent(e,t){return t?(clearSelectionEvents(e.done),lst(e.done)):e.done.length&&!lst(e.done).ranges?lst(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}(i,i.lastOp==r)))s=lst(o.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,s.to)?s.to=changeEnd(t):o.changes.push(historyChangeFromChange(e,t));else{var l=lst(i.done);for(l&&l.ranges||pushSelectionToHistory(e.sel,i.done),o={changes:[historyChangeFromChange(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=a,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,s||signal(e,"historyAdded")}function addSelectionToHistory(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function selectionEventCanBeMerged(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,lst(i.done),t))?i.done[i.done.length-1]=t:pushSelectionToHistory(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&clearSelectionEvents(i.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n-1&&(lst(a)[d]=c[d],delete c[d])}}}return r}function extendRange(e,t,n,r){if(r){var i=e.anchor;if(n){var o=cmp(t,i)<0;o!=cmp(n,i)<0?(i=t,t=n):o!=cmp(t,n)<0&&(t=n)}return new ve(i,t)}return new ve(n||t,t)}function extendSelection(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new me([extendRange(e.sel.primary(),t,n,i)],0),r)}function extendSelections(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o=t.ch:a.to>t.ch))){if(i&&(signal(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--s;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=movePos(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=cmp(c,n))&&(r<0?u<0:u>0))return skipAtomicInner(e,c,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=movePos(e,d,r,d.line==t.line?o:null)),d?skipAtomicInner(e,d,t,r,i):null}}return t}function skipAtomic(e,t,n,r,i){var o=r||1,s=skipAtomicInner(e,t,n,o,i)||!i&&skipAtomicInner(e,t,n,o,!0)||skipAtomicInner(e,t,n,-o,i)||!i&&skipAtomicInner(e,t,n,-o,!0);return s||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(r||getLine(e,t.line)).text.length?t.line0)){var u=[l,1],d=cmp(c.from,a.from),p=cmp(c.to,a.to);(d<0||!s.inclusiveLeft&&!d)&&u.push({from:c.from,to:a.from}),(p>0||!s.inclusiveRight&&!p)&&u.push({from:a.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)makeChangeInner(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var r=[];linkedDocs(e,function(e,n){n||-1!=indexOf(r,e.history)||(rebaseHist(e.history,t),r.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))})}}function makeChangeFromHistory(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,s="undo"==t?i.done:i.undone,a="undo"==t?i.undone:i.done,l=0;l=0;--p){var h=d(p);if(h)return h.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new me(map(e.sel.ranges,function(e){return new ve(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.lineo&&(t={from:t.from,to:Pos(o,getLine(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?function makeChangeSingleDocInEditor(e,t,n){var r=e.doc,i=e.display,o=t.from,s=t.to,a=!1,l=o.line;e.options.lineWrapping||(l=lineNo(visualLine(getLine(r,o.line))),r.iter(l,s.line+1,function(e){if(e==i.maxLine)return a=!0,!0}));r.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e);updateDoc(r,t,n,estimateHeight(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=lineLength(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,a=!1)}),a&&(e.curOp.updateMaxLine=!0));(function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var i=getLine(e,r).stateAfter;if(i&&(!(i instanceof J)||r+i.lookAhead0||0==s&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=eltP("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,o)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){z=!0}()}o.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var a,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(a=!0),o.collapsed&&l!=t.line&&updateLineHeight(e,0),function addMarkedSpan(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new MarkedSpan(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)}),o.clearOnEnter&&j(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(!function seeReadOnlySpans(){B=!0}(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++be,o.atomic=!0),c){if(a&&(c.curOp.updateMaxLine=!0),o.collapsed)regChange(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");o.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,o)}return o}function findSharedMarkers(e){return e.findMarks(Pos(e.first,0),e.clipPos(Pos(e.lastLine())),function(e){return e.parent})}function detachSharedMarkers(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];linkedDocs(n.primary.doc,function(e){return r.push(e)});for(var i=0;i-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),d)for(var p=0;p=0;t--)replaceRange(e.doc,"",r[t].from,r[t].to,"+delete");ensureCursorVisible(e)})}function moveCharLogically(e,t,n){var r=skipExtendingChars(e.text,t+n,n);return r<0||r>e.text.length?null:r}function moveLogically(e,t,n){var r=moveCharLogically(e,t.ch,n);return null==r?null:new Pos(t.line,r,n<0?"after":"before")}function endOfLine(e,t,n,r,i){if(e){var o=getOrder(n,t.doc.direction);if(o){var s,a=i<0?lst(o):o[0],l=i<0==(1==a.level)?"after":"before";if(a.level>0||"rtl"==t.doc.direction){var c=prepareMeasureForLine(t,n);s=i<0?n.text.length-1:0;var u=measureCharPrepared(t,c,s).top;s=findFirst(function(e){return measureCharPrepared(t,c,e).top==u},i<0==(1==a.level)?a.from:a.to-1,s),"before"==l&&(s=moveCharLogically(n,s,1))}else s=i<0?a.to:a.from;return new Pos(r,s,l)}}return new Pos(r,i<0?n.text.length:0,i<0?"before":"after")}function lineStart(e,t){var n=getLine(e.doc,t),r=visualLine(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,r,t,1)}function lineEnd(e,t){var n=getLine(e.doc,t),r=function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,n,t,-1)}function lineStartSmart(e,t){var n=lineStart(e,t.line),r=getLine(e.doc,n.line),i=getOrder(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),s=t.line==n.line&&t.ch<=o&&t.ch;return Pos(n.line,s?0:o,n.sticky)}return n}function doHandleBinding(e,t,n){if("string"==typeof t&&!(t=Ne[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=N}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function dispatchKey(e,t,n,r){var i=e.state.keySeq;if(i){if(isModifierKey(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:De.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),dispatchKeyInner(e,i+" "+t,n,r))return!0}return dispatchKeyInner(e,t,n,r)}function dispatchKeyInner(e,t,n,r){var i=function lookupKeyForEditor(e,t,n){for(var r=0;r-1&&(cmp((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(cmp(i.to(),t)>0||t.xRel<0)?function leftButtonStartDrag(e,t,n,r){var i=e.display,o=!1,c=operation(e,function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,off(document,"mouseup",c),off(document,"mousemove",u),off(i.scroller,"dragstart",d),off(i.scroller,"drop",c),o||(e_preventDefault(t),r.addNew||extendSelection(e.doc,n,null,null,r.extend),l||s&&9==a?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0);e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop();j(document,"mouseup",c),j(document,"mousemove",u),j(i.scroller,"dragstart",d),j(i.scroller,"drop",c),delayBlurEvent(e),setTimeout(function(){return i.input.focus()},20)}(e,r,t,o):function leftButtonSelect(e,t,n,r){function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,u=countColumn(getLine(o,n.line).text,n.ch,c),p=countColumn(getLine(o,t.line).text,t.ch,c),h=Math.min(u,p),f=Math.max(u,p),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=getLine(o,g).text,y=findColumn(v,h,c);h==f?i.push(new ve(Pos(g,y),Pos(g,y))):v.length>y&&i.push(new ve(Pos(g,y),Pos(g,findColumn(v,f,c))))}i.length||i.push(new ve(n,n)),setSelection(o,normalizeSelection(l.ranges.slice(0,a).concat(i),a),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,C=s,x=rangeForUnit(e,t,r.unit),w=C.anchor;cmp(x.anchor,w)>0?(b=x.head,w=minPos(C.from(),x.anchor)):(b=x.anchor,w=maxPos(C.to(),x.head));var S=l.ranges.slice(0);S[a]=function bidiSimplify(e,t){var n=t.anchor,r=t.head,i=getLine(e.doc,n.line);if(0==cmp(n,r)&&n.sticky==r.sticky)return t;var o=getOrder(i);if(!o)return t;var s=getBidiPartAt(o,n.ch,n.sticky),a=o[s];if(a.from!=n.ch&&a.to!=n.ch)return t;var l=s+(a.from==n.ch==(1!=a.level)?0:1);if(0==l||l==o.length)return t;var c;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(o,r.ch,r.sticky),d=u-s||(r.ch-n.ch)*(1==a.level?-1:1);c=u==l-1||u==l?d<0:d>0}var p=o[l+(c?-1:0)],h=c==(1==p.level),f=h?p.from:p.to,g=h?"after":"before";return n.ch==f&&n.sticky==g?t:new ve(new Pos(n.line,f,g),r)}(e,new ve(clipPos(o,w),b)),setSelection(o,normalizeSelection(S,a),H)}}function extend(t){var n=++h,s=posFromMouse(e,t,!0,"rectangle"==r.unit);if(s)if(0!=cmp(s,d)){e.curOp.focus=activeElt(),extendTo(s);var a=visibleLines(i,o);(s.line>=a.to||s.linep.bottom?20:0;l&&setTimeout(operation(e,function(){h==n&&(i.scroller.scrollTop+=l,extend(t))}),50)}}function done(t){e.state.selectingText=!1,h=1/0,e_preventDefault(t),i.input.focus(),off(document,"mousemove",f),off(document,"mouseup",g),o.history.lastSelOrigin=null}var i=e.display,o=e.doc;e_preventDefault(t);var s,a,l=o.sel,c=l.ranges;r.addNew&&!r.extend?(a=o.sel.contains(n),s=a>-1?c[a]:new ve(n,n)):(s=o.sel.primary(),a=o.sel.primIndex);if("rectangle"==r.unit)r.addNew||(s=new ve(n,n)),n=posFromMouse(e,t,!0,!0),a=-1;else{var u=rangeForUnit(e,n,r.unit);s=r.extend?extendRange(s,u.anchor,u.head,r.extend):u}r.addNew?-1==a?(a=c.length,setSelection(o,normalizeSelection(c.concat([s]),a),{scroll:!1,origin:"*mouse"})):c.length>1&&c[a].empty()&&"char"==r.unit&&!r.extend?(setSelection(o,normalizeSelection(c.slice(0,a).concat(c.slice(a+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):replaceOneSelection(o,a,s,H):(a=0,setSelection(o,new me([s],0),H),l=o.sel);var d=n;var p=i.wrapper.getBoundingClientRect(),h=0;var f=operation(e,function(e){e_button(e)?extend(e):done(e)}),g=operation(e,done);e.state.selectingText=g,j(document,"mousemove",f),j(document,"mouseup",g)}(e,r,t,o)}(this,n,i,e):e_target(e)==t.scroller&&e_preventDefault(e):2==r?(n&&extendSelection(this.doc,n),setTimeout(function(){return t.input.focus()},20)):3==r&&(k?onContextMenu(this,e):delayBlurEvent(this)))}}function rangeForUnit(e,t,n){if("char"==n)return new ve(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ve(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var r=n(e,t);return new ve(r.from,r.to)}function gutterEvent(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&e_preventDefault(t);var s=e.display,a=s.lineDiv.getBoundingClientRect();if(o>a.bottom||!hasHandler(e,n))return e_defaultPrevented(t);o-=a.top-s.viewOffset;for(var l=0;l=i){return signal(e,n,e,lineAtHeight(e.doc,o),e.options.gutters[l],t),e_defaultPrevented(t)}}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||function contextMenuInGutter(e,t){if(!hasHandler(e,"gutterContextMenu"))return!1;return gutterEvent(e,t,"gutterContextMenu",!1)}(e,t)||signalDOMEvent(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}function guttersChanged(e){updateGutters(e),regChange(e),alignHorizontally(e)}function dragDropChanged(e,t,n){if(!t!=!(n&&n!=Fe)){var r=e.display.dragFunctions,i=t?j:off;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(L(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout(function(){return updateScrollbars(e)},100)}function CodeMirror$1(e,t){var r=this;if(!(this instanceof CodeMirror$1))return new CodeMirror$1(e,t);this.options=t=t?copyObj(t):{},copyObj(Be,t,!1),setGuttersForLineNumbers(t);var i=t.value;"string"==typeof i&&(i=new Se(i,t.mode,null,t.lineSeparator,t.direction)),this.doc=i;var o=new CodeMirror$1.inputStyles[t.inputStyle](this),c=this.display=new function Display(e,t,r){this.input=r,this.scrollbarFiller=elt("div",null,"CodeMirror-scrollbar-filler"),this.scrollbarFiller.setAttribute("cm-not-content","true"),this.gutterFiller=elt("div",null,"CodeMirror-gutter-filler"),this.gutterFiller.setAttribute("cm-not-content","true"),this.lineDiv=eltP("div",null,"CodeMirror-code"),this.selectionDiv=elt("div",null,null,"position: relative; z-index: 1"),this.cursorDiv=elt("div",null,"CodeMirror-cursors"),this.measure=elt("div",null,"CodeMirror-measure"),this.lineMeasure=elt("div",null,"CodeMirror-measure"),this.lineSpace=eltP("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");var i=eltP("div",[this.lineSpace],"CodeMirror-lines");this.mover=elt("div",[i],null,"position: relative"),this.sizer=elt("div",[this.mover],"CodeMirror-sizer"),this.sizerWidth=null,this.heightForcer=elt("div",null,null,"position: absolute; height: "+A+"px; width: 1px;"),this.gutters=elt("div",null,"CodeMirror-gutters"),this.lineGutter=null,this.scroller=elt("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll"),this.scroller.setAttribute("tabIndex","-1"),this.wrapper=elt("div",[this.scrollbarFiller,this.gutterFiller,this.scroller],"CodeMirror"),s&&a<8&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0),l||n&&v||(this.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(this.wrapper):e(this.wrapper)),this.viewFrom=this.viewTo=t.first,this.reportedViewFrom=this.reportedViewTo=t.first,this.view=[],this.renderedView=null,this.externalMeasured=null,this.viewOffset=0,this.lastWrapHeight=this.lastWrapWidth=0,this.updateLineNumbers=null,this.nativeBarWidth=this.barHeight=this.barWidth=0,this.scrollbarsClipped=!1,this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null,this.alignWidgets=!1,this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null,this.maxLine=null,this.maxLineLength=0,this.maxLineChanged=!1,this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null,this.shift=!1,this.selForContextMenu=null,this.activeTouch=null,r.init(this)}(e,i,o);c.wrapper.CodeMirror=this,updateGutters(this),themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new T,keySeq:null,specialChars:null},t.autofocus&&!v&&c.input.focus(),s&&a<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function registerEventHandlers(e){function finishTouch(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function farAway(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var t=e.display;j(t.scroller,"mousedown",operation(e,onMouseDown)),j(t.scroller,"dblclick",s&&a<11?operation(e,function(t){if(!signalDOMEvent(e,t)){var n=posFromMouse(e,t);if(n&&!clickInGutter(e,t)&&!eventInWidget(e.display,t)){e_preventDefault(t);var r=e.findWordAt(n);extendSelection(e.doc,r.anchor,r.head)}}}):function(t){return signalDOMEvent(e,t)||e_preventDefault(t)});k||j(t.scroller,"contextmenu",function(t){return onContextMenu(e,t)});var n,r={end:0};j(t.scroller,"touchstart",function(i){if(!signalDOMEvent(e,i)&&!function isMouseLikeTouchEvent(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!clickInGutter(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),j(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),j(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!eventInWidget(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var i,o=e.coordsChar(t.activeTouch,"page");i=!r.prev||farAway(r,r.prev)?new ve(o,o):!r.prev.prev||farAway(r,r.prev.prev)?e.findWordAt(o):new ve(Pos(o.line,0),clipPos(e.doc,Pos(o.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),e_preventDefault(n)}finishTouch()}),j(t.scroller,"touchcancel",finishTouch),j(t.scroller,"scroll",function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))}),j(t.scroller,"mousewheel",function(t){return onScrollWheel(e,t)}),j(t.scroller,"DOMMouseScroll",function(t){return onScrollWheel(e,t)}),j(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(!function onDragOver(e,t){var n=posFromMouse(e,t);if(n){var r=document.createDocumentFragment();drawSelectionCursor(e,n,r),e.display.dragCursor||(e.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),removeChildrenAndAdd(e.display.dragCursor,r)}}(e,t),e_stop(t))},start:function(t){return function onDragStart(e,t){if(s&&(!e.state.draggingText||+new Date-ke<100))e_stop(t);else if(!signalDOMEvent(e,t)&&!eventInWidget(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!p)){var n=elt("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var i=t.input.getField();j(i,"keyup",function(t){return onKeyUp.call(e,t)}),j(i,"keydown",operation(e,onKeyDown)),j(i,"keypress",operation(e,onKeyPress)),j(i,"focus",function(t){return onFocus(e,t)}),j(i,"blur",function(t){return onBlur(e,t)})}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,i),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this);for(var u in ze)ze.hasOwnProperty(u)&&ze[u](r,t[u],Fe);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var h=0;h150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?countColumn(getLine(o,t-1).text,null,s):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",p=0;if(e.options.indentWithTabs)for(var h=Math.floor(c/s);h;--h)p+=s,d+="\t";if(p1)if(Ve&&Ve.text.join("\n")==t){if(r.ranges.length%Ve.text.length==0){l=[];for(var c=0;c=0;d--){var p=r.ranges[d],h=p.from(),f=p.to();p.empty()&&(n&&n>0?h=Pos(h.line,h.ch-n):e.state.overwrite&&!s?f=Pos(f.line,Math.min(getLine(o,f.line).text.length,f.ch+lst(a).length)):Ve&&Ve.lineWise&&Ve.text.join("\n")==t&&(h=f=Pos(h.line,0))),u=e.curOp.updateInput;var g={from:h,to:f,text:l?l[d%l.length]:a,origin:i||(s?"paste":e.state.cutIncoming?"cut":"+input")};makeChange(e.doc,g),signalLater(e,"inputRead",e,g)}t&&!s&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,function(){return applyTextInput(t,n,0,null,"paste")}),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),s=!1;if(o.electricChars){for(var a=0;a-1){s=indentLine(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(getLine(e.doc,i.head.line).text.slice(0,i.head.ch))&&(s=indentLine(e,i.head.line,"smart"));s&&signalLater(e,"electricInput",e,i.head.line)}}}function copyableRanges(e){for(var t=[],n=[],r=0;r=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=getBidiPartAt(i,n.ch,n.sticky),s=i[o];if("ltr"==e.doc.direction&&s.level%2==0&&(r>0?s.to>n.ch:s.from=s.from&&p>=u.begin)){var h=d?"before":"after";return new Pos(n.line,p,h)}}var f=function(e,t,r){for(var o=function(e,t){return t?new Pos(n.line,l(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e0==(1!=s.level),c=a?r.begin:l(r.end,-1);if(s.from<=c&&c0?u.end:l(u.begin,-1);return null==m||r>0&&m==t.text.length||!(g=f(r>0?0:i.length-1,r,c(m)))?null:g}(e.cm,a,t,n):moveLogically(a,t,n))){if(r||!function findNextLine(){var r=t.line+n;return!(r=e.first+e.size)&&(t=new Pos(r,t.ch,t.sticky),a=getLine(e,r))}())return!1;t=endOfLine(i,e.cm,a,t.line,n)}else t=o;return!0}var o=t,s=n,a=getLine(e,t.line);if("char"==r)moveOnce();else if("column"==r)moveOnce(!0);else if("word"==r||"group"==r)for(var l=null,c="group"==r,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var p=a.text.charAt(t.ch)||"\n",h=isWordChar(p,u)?"w":c&&"\n"==p?"n":!c||/\s/.test(p)?null:"p";if(!c||d||h||(h="s"),l&&l!=h){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(h&&(l=h),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,o,s,!0);return equalCursorPos(o,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,r){var i,o=e.doc,s=t.left;if("page"==r){var a=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(a-.5*textHeight(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var c;(c=coordsChar(e,s,i)).outside;){if(n<0?i<=0:i>=o.height){c.hitSide=!0;break}i+=5*n}return c}function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var r=getLine(e.doc,t.line),i=mapFromLineView(n,r,t.line),o=getOrder(r,e.doc.direction),s="left";if(o){s=getBidiPartAt(o,t.ch)%2?"right":"left"}var a=nodeAndOffsetInLineMap(i.map,t.ch,s);return a.offset="right"==a.collapse?a.end:a.start,a}function badPos(e,t){return t&&(e.bad=!0),e}function domToPos(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return badPos(e.clipPos(Pos(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i=15&&(d=!1,l=!0);var w,S=y&&(c||d&&(null==x||x<12.11)),k=n||s&&a>=9,L=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};w=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var M=function(e){e.select()};g?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:s&&(M=function(e){try{e.select()}catch(e){}});var T=function(){this.id=null};T.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var O,P,A=30,N={toString:function(){return"CodeMirror.Pass"}},D={scroll:!1},H={origin:"*mouse"},W={origin:"+move"},E=[""],I=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,F=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,B=!1,z=!1,R=null,V=function(){function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,i=/[LRr]/,o=/[Lb1n]/,s=/[1n]/;return function(e,t){var a="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var l=e.length,c=[],u=0;u=this.string.length},Q.prototype.sol=function(){return this.pos==this.lineStart},Q.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Q.prototype.next=function(){if(this.post},Q.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Q.prototype.skipToEnd=function(){this.pos=this.string.length},Q.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Q.prototype.backUp=function(e){this.pos-=e},Q.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Q.prototype.current=function(){return this.string.slice(this.start,this.pos)},Q.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Q.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Q.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var J=function(e,t){this.state=e,this.lookAhead=t},ee=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};ee.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ee.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ee.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ee.fromSaved=function(e,t,n){return t instanceof J?new ee(e,copyState(e.mode,t.state),n,t.lookAhead):new ee(e,copyState(e.mode,t),n)},ee.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new J(t,this.maxLookAhead):t};var te=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},ne=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};ne.prototype.lineNo=function(){return lineNo(this)},eventMixin(ne);var re,ie={},oe={},se=null,ae=null,le={left:0,right:0,top:0,bottom:0},ce=function(e,t,n){this.cm=n;var r=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),j(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),j(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,s&&a<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ce.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},ce.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ce.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ce.prototype.zeroWidthHack=function(){var e=y&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new T,this.disableVert=new T},ce.prototype.enableZeroWidthBar=function(e,t,n){function maybeDisable(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)}e.style.pointerEvents="auto",t.set(1e3,maybeDisable)},ce.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ue=function(){};ue.prototype.update=function(){return{bottom:0,right:0}},ue.prototype.setScrollLeft=function(){},ue.prototype.setScrollTop=function(){},ue.prototype.clear=function(){};var de={native:ce,null:ue},pe=0,he=function(e,t,n){var r=e.display;this.viewport=t,this.visible=visibleLines(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=displayWidth(e),this.force=n,this.dims=getDimensions(e),this.events=[]};he.prototype.signal=function(e,t){hasHandler(e,t)&&this.events.push(arguments)},he.prototype.finish=function(){for(var e=0;e=0&&cmp(e,r.to())<=0)return n}return-1};var ve=function(e,t){this.anchor=e,this.head=t};ve.prototype.from=function(){return minPos(this.anchor,this.head)},ve.prototype.to=function(){return maxPos(this.anchor,this.head)},ve.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},LeafChunk.prototype={chunkSize:function chunkSize(){return this.lines.length},removeInner:function removeInner(e,t){for(var n=e,r=e+t;n1||!(this.children[0]instanceof LeafChunk))){var a=[];this.collapse(a),this.children=[new LeafChunk(a)],this.children[0].parent=this}},collapse:function collapse(e){for(var t=0;t50){for(var s=i.lines.length%25+25,a=s;a10);e.parent.maybeSpill()}},iterN:function iterN(e,t,n){for(var r=0;re.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&®Change(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,r,i),t&&endOperation(e),this.parent&&this.parent.clear()}},Ce.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;i=0;l--)makeChange(this,r[l]);a?setSelectionReplaceHistory(this,a):this.cm&&ensureCursorVisible(this.cm)}),undo:docMethodOp(function(){makeChangeFromHistory(this,"undo")}),redo:docMethodOp(function(){makeChangeFromHistory(this,"redo")}),undoSelection:docMethodOp(function(){makeChangeFromHistory(this,"undo",!0)}),redoSelection:docMethodOp(function(){makeChangeFromHistory(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var s=o.markedSpans;if(s)for(var a=0;a=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=o,++n}),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to0)i=new Pos(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Pos(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var s=getLine(e.doc,i.line-1).text;s&&(i=new Pos(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+s.charAt(s.length-1),Pos(i.line-1,s.length-1),i,"+transpose"))}n.push(new ve(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;re&&0==cmp(t,this.pos)&&n==this.button};var Ee,Ie,Fe={toString:function(){return"CodeMirror.Init"}},Be={},ze={};CodeMirror$1.defaults=Be,CodeMirror$1.optionHandlers=ze;var Re=[];CodeMirror$1.defineInitHook=function(e){return Re.push(e)};var Ve=null,Ue=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new T,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ue.prototype.init=function(e){function onCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,D),r.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var o=Ve.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var s=hiddenTextarea(),a=s.firstChild;r.display.lineSpace.insertBefore(s,r.display.lineSpace.firstChild),a.value=Ve.text.join("\n");var l=document.activeElement;M(a),setTimeout(function(){r.display.lineSpace.removeChild(s),l.focus(),l==i&&n.showPrimarySelection()},50)}}var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;disableBrowserMagic(i,r.options.spellcheck),j(i,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||a<=11&&setTimeout(operation(r,function(){return t.updateFromDOM()}),20)}),j(i,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),j(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),j(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),j(i,"touchstart",function(){return n.forceCompositionEnd()}),j(i,"input",function(){t.composing||t.readFromDOMSoon()}),j(i,"copy",onCopyCut),j(i,"cut",onCopyCut)},Ue.prototype.prepareSelection=function(){var e=prepareSelection(this.cm,!1);return e.focus=this.cm.state.focused,e},Ue.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ue.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line=t.display.viewFrom&&posToDOM(t,i)||{node:l[0].measure.map[2],offset:0},u=o.linee.firstLine()&&(r=Pos(r.line-1,getLine(e.doc,r.line-1).length)),i.ch==getLine(e.doc,i.line).text.length&&i.linet.viewTo-1)return!1;var o,s,a;r.line==t.viewFrom||0==(o=findViewIndex(e,r.line))?(s=lineNo(t.view[0].line),a=t.view[0].node):(s=lineNo(t.view[o].line),a=t.view[o-1].node.nextSibling);var l,c,u=findViewIndex(e,i.line);if(u==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=lineNo(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!a)return!1;for(var d=e.doc.splitLines(function domTextBetween(e,t,n,r,i){function close(){s&&(o+=a,s=!1)}function addText(e){e&&(close(),o+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void addText(n||t.textContent.replace(/\u200b/g,""));var o,l=t.getAttribute("cm-marker");if(l){var c=e.findMarks(Pos(r,0),Pos(i+1,0),function recognizeMarker(e){return function(t){return t.id==e}}(+l));return void(c.length&&(o=c[0].find(0))&&addText(getBetween(e.doc,o.from,o.to).join(a)))}if("false"==t.getAttribute("contenteditable"))return;var u=/^(pre|div|p)$/i.test(t.nodeName);u&&close();for(var d=0;d1&&p.length>1;)if(lst(d)==lst(p))d.pop(),p.pop(),l--;else{if(d[0]!=p[0])break;d.shift(),p.shift(),s++}for(var h=0,f=0,g=d[0],m=p[0],v=Math.min(g.length,m.length);hr.ch&&y.charCodeAt(y.length-f-1)==b.charCodeAt(b.length-f-1);)h--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(h).replace(/\u200b+$/,"");var x=Pos(s,h),w=Pos(l,p.length?lst(p).length-f:0);return d.length>1||d[0]||cmp(x,w)?(replaceRange(e.doc,d,x,w,"+input"),!0):void 0},Ue.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ue.prototype.reset=function(){this.forceCompositionEnd()},Ue.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ue.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ue.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,function(){return regChange(e.cm)})},Ue.prototype.setUneditable=function(e){e.contentEditable="false"},Ue.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ue.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ue.prototype.onContextMenu=function(){},Ue.prototype.resetPosition=function(){},Ue.prototype.needsContentAttribute=!0;var je=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new T,this.hasSelection=!1,this.composing=null};je.prototype.init=function(e){function prepareCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,D):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}var t=this,n=this,r=this.cm,i=this.wrapper=hiddenTextarea(),o=this.textarea=i.firstChild;e.wrapper.insertBefore(i,e.wrapper.firstChild),g&&(o.style.width="0px"),j(o,"input",function(){s&&a>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),j(o,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),j(o,"cut",prepareCopyCut),j(o,"copy",prepareCopyCut),j(e.scroller,"paste",function(t){eventInWidget(e,t)||signalDOMEvent(r,t)||(r.state.pasteIncoming=!0,n.focus())}),j(e.lineSpace,"selectstart",function(t){eventInWidget(e,t)||e_preventDefault(t)}),j(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),j(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},je.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=prepareSelection(e);if(e.options.moveInputWithCursor){var i=cursorCoords(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),s=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+s.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+s.left-o.left))}return r},je.prototype.showSelection=function(e){var t=this.cm.display;removeChildrenAndAdd(t.cursorDiv,e.cursors),removeChildrenAndAdd(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},je.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),s&&a>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",s&&a>=9&&(this.hasSelection=null))}},je.prototype.getField=function(){return this.textarea},je.prototype.supportsTouch=function(){return!1},je.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},je.prototype.blur=function(){this.textarea.blur()},je.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},je.prototype.receivedFocus=function(){this.slowPoll()},je.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},je.prototype.fastPoll=function(){function p(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))}var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,p)},je.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||_(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(s&&a>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},je.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},je.prototype.onKeyPress=function(){s&&a>=9&&(this.hasSelection=null),this.fastPoll()},je.prototype.onContextMenu=function(e){function prepareSelectAllHack(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=p,i.style.cssText=u,s&&a<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart){(!s||s&&a<9)&&prepareSelectAllHack();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}var t=this,n=t.cm,r=n.display,i=t.textarea,o=posFromMouse(n,e),c=r.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&operation(n,setSelection)(n.doc,simpleSelection(o),D);var u=i.style.cssText,p=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var h=t.wrapper.getBoundingClientRect();i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(s?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var f;if(l&&(f=window.scrollY),r.input.focus(),l&&window.scrollTo(null,f),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),s&&a>=9&&prepareSelectAllHack(),k){e_stop(e);var g=function(){off(window,"mouseup",g),setTimeout(rehide,20)};j(window,"mouseup",g)}else setTimeout(rehide,50)}},je.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},je.prototype.setUneditable=function(){},je.prototype.needsContentAttribute=!1,function defineOptions(e){function option(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Fe&&i(e,t,n)}:i)}var t=e.optionHandlers;e.defineOption=option,e.Init=Fe,option("value","",function(e,t){return e.setValue(t)},!0),option("mode",null,function(e,t){e.doc.modeOption=t,loadMode(e)},!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,function(e){resetModeState(e),clearCaches(e),regChange(e)},!0),option("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Pos(r,o))}r++});for(var i=n.length-1;i>=0;i--)replaceRange(e.doc,t,n[i],Pos(n[i].line,n[i].ch+t.length))}}),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Fe&&e.refresh()}),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,function(e){return e.refresh()},!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),option("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),option("rtlMoveVisually",!C),option("wholeLineUpdateBefore",!0),option("theme","default",function(e){themeChanged(e),guttersChanged(e)},!0),option("keyMap","default",function(e,t,n){var r=getKeyMap(t),i=n!=Fe&&getKeyMap(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()},!0),option("coverGutterNextToScrollbar",!1,function(e){return updateScrollbars(e)},!0),option("scrollbarStyle","native",function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),option("lineNumbers",!1,function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("firstLineNumber",1,guttersChanged,!0),option("lineNumberFormatter",function(e){return e},guttersChanged,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("readOnly",!1,function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),option("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),option("historyEventDelay",1250),option("viewportMargin",10,function(e){return e.refresh()},!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),option("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),option("autofocus",null),option("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(CodeMirror$1),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,i),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;nn&&(indentLine(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var o=i.from(),s=i.to(),a=Math.max(n,o.line);n=Math.min(this.lastLine(),s.line-(s.ch?0:1))+1;for(var l=a;l0&&replaceOneSelection(this.doc,r,new ve(o,c[r].to()),D)}}}),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var s=r+i>>1;if((s?n[2*s-1]:0)>=o)i=s;else{if(!(n[2*s+1]o&&(e=o,i=!0),r=getLine(this.doc,e)}else r=e;return intoCoordSystem(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-heightAtLine(r):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,s=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,a=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)s=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?s=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(s=e.bottom),a+t.offsetWidth>c&&(a=c-t.offsetWidth)}t.style.top=s+"px",t.style.left=t.style.right="","right"==i?(a=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?a=0:"middle"==i&&(a=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=a+"px"),n&&function scrollIntoView(e,t){var n=calculateScrollPos(e,t);null!=n.scrollTop&&updateScrollTop(e,n.scrollTop),null!=n.scrollLeft&&setScrollLeft(e,n.scrollLeft)}(this,{left:a,top:s,right:a+t.offsetWidth,bottom:s+t.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(Ne.hasOwnProperty(e))return Ne[e].call(null,this)},triggerElectric:methodOp(function(e){triggerElectric(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=clipPos(this.doc,e),s=0;s0&&s(t.charAt(n-1));)--n;for(;r.5)&&estimateLineHeights(this),signal(this,"refresh",this)}),swapDoc:methodOp(function(e){var t=this.doc;return t.cm=null,attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(CodeMirror$1);var Ge="iter insert remove copy getEditor constructor".split(" ");for(var Ke in Se.prototype)Se.prototype.hasOwnProperty(Ke)&&indexOf(Ge,Ke)<0&&(CodeMirror$1.prototype[Ke]=function(e){return function(){return e.apply(this.doc,arguments)}}(Se.prototype[Ke]));return eventMixin(Se),CodeMirror$1.inputStyles={textarea:je,contenteditable:Ue},CodeMirror$1.defineMode=function(e){CodeMirror$1.defaults.mode||"null"==e||(CodeMirror$1.defaults.mode=e),function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),X[e]=t}.apply(this,arguments)},CodeMirror$1.defineMIME=function defineMIME(e,t){Y[e]=t},CodeMirror$1.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror$1.defineMIME("text/plain","null"),CodeMirror$1.defineExtension=function(e,t){CodeMirror$1.prototype[e]=t},CodeMirror$1.defineDocExtension=function(e,t){Se.prototype[e]=t},CodeMirror$1.fromTextArea=function fromTextArea(e,t){function save(){e.value=s.getValue()}if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}var r;if(e.form&&(j(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var i=e.form;r=i.submit;try{var o=i.submit=function(){save(),i.submit=r,i.submit(),i.submit=o}}catch(e){}}t.finishInit=function(t){t.save=save,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,save(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var s=CodeMirror$1(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},function addLegacyProps(e){e.off=off,e.on=j,e.wheelEventPixels=wheelEventPixels,e.Doc=Se,e.splitLines=K,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=N,e.signal=signal,e.Line=ne,e.changeEnd=changeEnd,e.scrollbarModel=de,e.Pos=Pos,e.cmpPos=cmp,e.modes=X,e.mimeModes=Y,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=Z,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=Ne,e.keyMap=Ae,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=Q,e.SharedTextMarker=xe,e.TextMarker=Ce,e.LineWidget=ye,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=L,e.keyNames=Me}(CodeMirror$1),CodeMirror$1.version="5.34.0",CodeMirror$1})}}); \ No newline at end of file diff --git a/build/bundle.13566d48.js b/build/bundle.13566d48.js deleted file mode 100644 index dda8d30..0000000 --- a/build/bundle.13566d48.js +++ /dev/null @@ -1 +0,0 @@ -!function(e){function __webpack_require__(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,__webpack_require__),o.l=!0,o.exports}var t=window.webpackJsonp;window.webpackJsonp=function webpackJsonpCallback(n,r,i){for(var a,s,l=0,u=[];l=0&&l.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");return e.attrs.type="text/css",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function addStyle(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var l=s++;n=a||(a=createStyleElement(t)),o=applyToSingletonTag.bind(null,n,l,!1),r=applyToSingletonTag.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function createLinkElement(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}(t),o=function updateLink(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=u(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),r=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),o=function applyToTag(e,t){var n=t.css,o=t.media;o&&e.setAttribute("media",o);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){removeStyleElement(n)});return o(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function applyToSingletonTag(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=c(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var o={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),i=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),a=null,s=0,l=[],u=n(896);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i1?t-1:0),o=1;o=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onClick","active","disabled","icon","label"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(n,i,(t={},_defineProperty(t,n+"--active",c),_defineProperty(t,n+"--disabled",p),t)),onClick:function onClick(e){u&&!p&&u(e)},tabIndex:"0",icon:d,label:f},m),s)};u.propTypes={active:i.default.bool,disabled:i.default.bool,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),label:i.default.node,children:i.default.node,className:i.default.string,baseClassName:i.default.string,onClick:i.default.func},u.defaultProps={active:!1,disabled:!1,icon:null,label:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__item",onClick:null},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(148);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(149);Object.defineProperty(t,"SectionItem",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(166);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function makeEmptyFunction(e){return function(){return e}}var o=function emptyFunction(){};o.thatReturns=makeEmptyFunction,o.thatReturnsFalse=makeEmptyFunction(!1),o.thatReturnsTrue=makeEmptyFunction(!0),o.thatReturnsNull=makeEmptyFunction(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function createRule(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],a=n.jss,s=(0,i.default)(t),l=a.plugins.onCreateRule(e,s,n);return l||("@"===e[0]&&(0,o.default)(!1,"[JSS] Unknown at-rule %s",e),new r.default(e,s,n))};var o=_interopRequireDefault(n(21)),r=_interopRequireDefault(n(29)),i=_interopRequireDefault(n(478))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r584?t.previousView:g;n!==g||t.previousView?n!==g&&(t.previousView=null):t.previousView=t.state.view,n&&n!==t.state.view&&t.changeView(n)},t.state={page:1,totalItems:e.totalItems||e.items.length,pageSize:10,items:e.items,view:e.view},t}return function _inherits(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)}(CardList,i.Component),r(CardList,[{key:"componentDidMount",value:function componentDidMount(){this.fetchItems()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.view,n=e.items,o=e.totalItems;this.setState({items:n,totalItems:o||n.length}),e.view!==this.props.view&&this.state.view!==g&&this.fetchItems({page:1,view:t})}},{key:"totalPages",value:function totalPages(){var e=this.state,t=e.totalItems,n=e.pageSize;return Math.ceil(t/n)}},{key:"fetchItems",value:function fetchItems(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,n=void 0===t?this.state.page:t,o=e.view,r=void 0===o?this.state.view:o,i=this.props.onItemsFetch,s=r===v?40:10;this.setState({view:r,page:n,pageSize:s}),(0,a.safeInvoke)(i,{page:n,pageSize:s})}},{key:"loadMore",value:function loadMore(){var e=this.props.onItemsFetch,t=this.state.page+1;this.setState({page:t,pageSize:10}),(0,a.safeInvoke)(e,{page:t,pageSize:10})}},{key:"isTile",value:function isTile(){var e=this.state.view;return e===A||e===g}},{key:"renderPagination",value:function renderPagination(){var e=this,t=this.props.baseClassName,n=this.state,o=n.page,r=n.view,a=this.totalPages();return a<2?null:r===g&&o-1,onSelectionChange:function onSelectionChange(e){var r=e.isSelected?[].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","items","onItemsFetch","view","itemKey","itemRender","onViewChange","selection","onSelectionChange","selectionButton","viewSwitcher","toolbarGroups","totalItems","loading"]),C=this.state.items.map(this.renderItem);return this.isTile()&&(C=(0,i.createElement)(d.default,{minColumnWidth:400,gap:"md"},i.Children.map(C,function(e){return(0,i.createElement)(f.default,{key:e.props.key},e)}))),(0,i.createElement)(u.default,{onResize:this.handleResize},function(t){var u=t.measureRef;return(0,i.createElement)("div",o({ref:u,className:(0,l.default)(n,r)},g),(0,i.createElement)(b.default,{selection:s?o({},c,{total:e.state.totalItems,onSelectAll:e.selectAll,onSelectNone:e.selectNone,checked:e.state.items.length===a.length}):null,onViewChange:p?function(t){return e.changeView(t)}:null,currentView:e.state.view,groups:m}),e.state.items.length>0&&(0,i.createElement)("div",{className:n+"__list "+n+"__list--"+e.state.view},C),0===e.state.items.length&&!A&&(0,i.createElement)(h.default,{content:"CardList.notFound",fallback:"No items found."}),e.renderPagination(),A&&(0,i.createElement)("div",{className:n+"__content-blocker"}),A&&(0,i.createElement)("div",{className:n+"__loader"}))})}}]),CardList}();y.propTypes={items:s.default.array.isRequired,onItemsFetch:s.default.func,totalItems:s.default.number,view:s.default.oneOf([C,A,v,g]),onViewChange:s.default.func,viewSwitcher:s.default.bool,selection:s.default.array,onSelectionChange:s.default.func,selectionButton:s.default.shape({badge:s.default.oneOfType([s.default.string,s.default.object]),menuItems:s.default.arrayOf(s.default.element)}),toolbarGroups:s.default.arrayOf(s.default.element),itemKey:s.default.string.isRequired,itemRender:s.default.func.isRequired,loading:s.default.bool,className:s.default.string,baseClassName:s.default.string},y.defaultProps={onItemsFetch:null,totalItems:null,view:C,onViewChange:null,viewSwitcher:!1,selection:[],onSelectionChange:null,selectionButton:{badge:null,menuItems:[]},toolbarGroups:[],loading:!1,className:null,baseClassName:c.CLS_PREFIX+"card-list"},t.default=y},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["html","background","image","padding","alt","children","className","baseClassName"]),f=this.state.loaded,m=null,h=r,b={};if(r||n||t||(h="./images/fail.png"),h){var A={};a&&(A.style={padding:(a instanceof Array?a.join("px "):a)+"px"}),m=(0,i.createElement)("img",o({className:p+"__image",src:r,alt:l},A))}else n?b.style={backgroundImage:'url("'+n+'")'}:t&&(m=(0,i.createElement)("div",{className:(0,s.default)(p+"__html",_defineProperty({},p+"__html--loading",!f))},this.renderIFrame()));return(0,i.createElement)("div",o({className:(0,s.default)(p,_defineProperty({},p+"--background",n),c)},b,d),m,(0,i.createElement)("div",{className:(0,s.default)(p+"__content",_defineProperty({},p+"__content--empty",!u))},(0,i.createElement)("div",{className:p+"__content-inner"},u)))}}]),PreviewPanel}();u.propTypes={html:a.default.string,background:a.default.string,image:a.default.string,padding:a.default.oneOfType([a.default.number,a.default.arrayOf(a.default.number)]),alt:a.default.string,children:a.default.any,className:a.default.string,baseClassName:a.default.string},u.defaultProps={html:null,background:null,image:null,padding:0,alt:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"preview-panel"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(123);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(124);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(125);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(126);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.SVG_NAMES=void 0;var o="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},r=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if((0,i.isValidElement)(e)){var n=e.props,a=n.className,l=_objectWithoutProperties(n,["className"]),u=r({},t);return Object.keys(l).forEach(function(e){null!==l[e]&&void 0!==l[e]&&(u[e]=l[e])}),(t.className||a)&&(u.className=(0,s.default)(t.className,a)),(0,i.cloneElement)(e,u)}if("object"===(void 0===e?"undefined":o(e))){var p=e.className,d=_objectWithoutProperties(e,["className"]);return(0,i.createElement)(c,r({},t,{className:t.className||p?(0,s.default)(t.className,p):null},d))}return(0,i.createElement)(c,r({},t,{name:e}))},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(131);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(250);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","icon","label"]);return(0,r.createElement)("li",o({className:(0,a.default)(t,n)},c),(0,r.createElement)("div",{className:t+"-icon"},l.default.create(s,{size:"sm"})),(0,r.createElement)("div",{className:t+"-content"},i),(0,r.createElement)("div",{className:t+"-label"},u))};u.propTypes={icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),label:i.default.node,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={icon:null,label:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__base-item"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","selected"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n),icon:s?"i-check-mark":null},u),i)};u.propTypes={selected:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={selected:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__item"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(257);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(145);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(150);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=function Tab(e){var t=e.children;return(0,o.createElement)("div",null,t)};i.propTypes={title:r.default.node.isRequired,label:r.default.oneOfType([r.default.string,r.default.element]),icon:r.default.oneOfType([r.default.string,r.default.object,r.default.element]),onActivate:r.default.func,onClose:r.default.func,children:r.default.node},i.defaultProps={label:null,icon:null,onActivate:null,onClose:null,children:null},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(173));t.default=new o.default},function(e,t,n){"use strict";function indentStr(e,t){for(var n="",o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r="";if(!t)return r;var i=n.indent,a=void 0===i?0:i,s=t.fallbacks;if(a++,s)if(Array.isArray(s))for(var l=0;l-1&&e%1==0&&e-1&&e%1==0&&e<=n}},function(e,t,n){var o=n(501),r=n(221),i=n(554),a=i&&i.isTypedArray,s=a?r(a):o;e.exports=s},function(e,t,n){function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(memoize.Cache||o),n}var o=n(74),r="Expected a function";memoize.Cache=o,e.exports=memoize},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["children","color","size","style","width","height"]),p=t.reactIconBase,d=void 0===p?{}:p,f=a||d.size||"1em";return r.default.createElement("svg",o({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:u||f,width:l||f},d,c,{style:o({verticalAlign:"middle",color:i||d.color},d.style||{},s)}))};a.propTypes={color:i.default.string,size:i.default.oneOfType([i.default.string,i.default.number]),width:i.default.oneOfType([i.default.string,i.default.number]),height:i.default.oneOfType([i.default.string,i.default.number]),style:i.default.object},a.contextTypes={reactIconBase:i.default.shape(a.propTypes)},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var o=n(599);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(601);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(614);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(615);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(626);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(650);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"b",function(){return u});var o=n(609),r=n(664),i=n(670),a=n(669),s=n(671),l="rsg-code-editor",u="rsg-usage",c=[i.a];t.a={sectionToolbar:c,componentToolbar:c,exampleToolbar:c,exampleTabButtons:[{id:l,render:a.a}],exampleTabs:[{id:l,render:o.a}],docsTabButtons:[{id:u,render:s.a}],docsTabs:[{id:u,render:r.a}]}},function(e,t,n){"use strict";var o=n(175),r=(n.n(o),n(462)),i=n.n(r),a=n(463),s=n.n(a),l=n(464),u=n.n(l),c=n(458),p=n.n(c),d=n(461),f=n.n(d),m=n(459),h=n.n(m),b=n(674),A=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","intent","children","onClose"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--"+i,i),n)},u),l&&(0,r.createElement)("span",{className:"close",onClick:l}),s)};l.propTypes={intent:i.default.oneOf(["info","success","warning","danger"]),children:i.default.node,onClose:i.default.func,className:i.default.string,baseClassName:i.default.string},l.defaultProps={intent:null,children:null,onClose:null,className:null,baseClassName:s.CLS_PREFIX+"alert"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","separator","children"]),u=null===i?(0,r.createElement)("span",{className:t+"__separator"}," | "):i;return(0,r.createElement)("span",o({className:(0,a.default)(t,n)},l),r.Children.toArray(s).reduce(function(e,t,n){return null===e?[t]:[].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","label","hidden"]);return i&&!u?((0,r.isValidElement)(s)||(s=(0,r.createElement)(l.default,{intent:"danger"},s)),s=(0,r.cloneElement)(s,{className:(0,a.default)(t+"__value",s.props.className)})):s=null,(0,r.createElement)("div",o({className:(0,a.default)(t,n)},c),i,s)};u.propTypes={label:i.default.oneOfType([i.default.string,i.default.element]).isRequired,hidden:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={hidden:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"badge"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(103);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","innerRef"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n),ref:s},l),i)};l.propTypes={baseClassName:i.default.string,className:i.default.string,children:i.default.node,innerRef:i.default.func},l.defaultProps={baseClassName:s.CLS_PREFIX+"button-group",className:null,children:null,innerRef:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","component","intent","selected","onToggle","state","icon","caret","tooltip","children"]),A=this.state,g=A.toggle,C=A.selected,v=this.isResponsive(),y={};"button"===l?y.type="button":"a"===l&&(y.role="button",y.tabIndex=0,b.onClick&&b.disabled&&(b.onClick=function(e){e.preventDefault()}));var _=h,w=m;v&&f&&h&&(_=null,m||(w=h)),!b.onClick&&p&&(b.onClick=function(e){e.preventDefault(),p(t.handleToggle())}),g&&(y["aria-pressed"]=String(C));var x=(0,i.createElement)(l,o({className:(0,s.default)(r,(e={},_defineProperty(e,r+"--"+u,u),_defineProperty(e,r+"--"+d,d),_defineProperty(e,r+"--selected",C),_defineProperty(e,r+"--disabled",b.disabled),_defineProperty(e,r+"--empty",!_),e),a)},y,b),this.renderIcon(),_,this.renderCaret());return w&&(x=(0,i.createElement)(c.default,{title:w},x)),x}}]),Button}();p.propTypes={intent:a.default.oneOf(["primary","secondary","success","warning","danger","info"]),selected:a.default.bool,onToggle:a.default.func,state:a.default.oneOf(["active","loading","hovered"]),disabled:a.default.bool,tooltip:a.default.node,icon:a.default.oneOfType([a.default.oneOf(["archive","arrow-right","backup","clean","clock","copy","customize-order","download","edit","folder","globe","globe-alt","import","invisible","link","list","lock","ok-app","ok-circle","plugins","plus","power","question-circle","refresh","reload","remove","remove-app","remove-circle","search","security-scan","settings","share","shopping-cart","start","stop","suspend","themes","unarchive","unlock","upload","upload-alt","user","user-alt","visible"]),a.default.element]),caret:a.default.oneOfType([a.default.bool,a.default.element]),children:a.default.node,component:a.default.oneOfType([a.default.string,a.default.func]),className:a.default.string,baseClassName:a.default.string},p.defaultProps={intent:null,selected:null,onToggle:null,state:null,disabled:!1,tooltip:null,icon:null,caret:null,children:null,component:"button",className:null,baseClassName:l.CLS_PREFIX+"button"},p.contextTypes={responsive:a.default.bool},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","view","intent","title","subtitle","titleLink","selection","rowContent","sideHeader","sideContent","buttons","menu","labels","progress"]);return(0,i.createElement)(u.CSSTransition,{classNames:n+"-",in:this.isExtended(),timeout:300},(0,i.createElement)("div",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--extended",this.isExtended()),_defineProperty(e,n+"--tile",this.isTile()),_defineProperty(e,n+"--row",this.isRow()),_defineProperty(e,n+"--"+a,a),_defineProperty(e,n+"--progress",l),e),r)},c),this.isExtended()&&this.renderExtended(),this.isTile()&&this.renderTile(),this.isRow()&&this.renderRow(),this.renderLoader()))}}]),Card}();A.propTypes={children:a.default.node,view:a.default.oneOf([h,"tile",b]),intent:a.default.oneOf(["warning","danger","inactive"]),title:a.default.node.isRequired,titleLink:a.default.string,subtitle:a.default.node,labels:a.default.arrayOf(a.default.element),buttons:a.default.arrayOf(a.default.shape({icon:a.default.oneOfType([a.default.string,a.default.object,a.default.element]).isRequired,onClick:a.default.func.isRequired,tooltip:a.default.node})),menu:a.default.element,selection:a.default.shape({isSelected:a.default.bool.isRequired,onSelectionChange:a.default.func.isRequired}),sideHeader:a.default.element,sideContent:a.default.element,rowContent:a.default.any,progress:a.default.oneOfType([a.default.bool,a.default.node]),className:a.default.string,baseClassName:a.default.string},A.defaultProps={children:null,view:h,intent:null,subtitle:"",titleLink:"",labels:[],buttons:[],menu:null,selection:null,sideHeader:null,sideContent:null,rowContent:null,progress:!1,className:null,baseClassName:l.CLS_PREFIX+"card"},t.default=A},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=this.slideWidths.length&&(n=0),this.setState({current:n,next:e,moving:!0}),this.movingCallback=setTimeout(function(){t.movingCallback=null,t.setState({moving:!1})},this.speed)}}},{key:"handleResize",value:function handleResize(e){this.setState({width:e.bounds.width})}},{key:"listStyle",value:function listStyle(){var e=this.state,t=e.current,n=e.next,o=e.moving,r=o?n:t,i=26-this.totalWidth;if(r<0)for(var a=r;a<0;a++)i+=this.slideWidths[a+this.slideWidths.length];else for(var s=0;s=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","children"]);return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(n){var l=n.measureRef;return(0,i.createElement)("section",o({ref:l,className:(0,s.default)(r,a)},p),(0,i.createElement)("div",{className:r+"__slides",style:t?e.listStyle():null},t&&u,u,t&&u),t&&(0,i.createElement)("div",{className:r+"__controls"},(0,i.createElement)("button",{className:(0,s.default)(r+"__control",r+"__control--previous"),onClick:e.handlePrevClick},(0,i.createElement)(c.default,{name:"i-arrow-"+(e.isRtl?"right":"left")+"-07",className:r+"__control-icon"})),(0,i.createElement)("button",{className:(0,s.default)(r+"__control",r+"__control--next"),onClick:e.handleNextClick},(0,i.createElement)(c.default,{name:"i-arrow-"+(e.isRtl?"left":"right")+"-07",className:r+"__control-icon"}))))})}}]),Carousel}();p.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"carousel"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onChange","tooltip","checked","defaultChecked","disabled","inputProps"]),m=(0,i.createElement)("label",o({className:(0,s.default)(t,n)},f),(0,i.createElement)("input",o({className:t+"__input",type:"checkbox",onChange:this.handleChange,checked:l,defaultChecked:c,disabled:p},d)),(0,i.createElement)("span",{className:t+"__indicator"}),r?(0,i.createElement)("span",{className:t+"__text"},r):null);return a&&(m=(0,i.createElement)(u.default,{title:a},m)),m}}]),Checkbox}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,tooltip:a.default.node,disabled:a.default.bool,children:a.default.any,inputProps:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,tooltip:void 0,disabled:!1,children:void 0,inputProps:{},className:void 0,baseClassName:l.CLS_PREFIX+"checkbox"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",t=/^.*?(\r\n?|\n)/.exec(e);return t&&t[1]?t[1]:"\n"}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=(t.mode,t.fileName,t.readOnly,t.autofocus,t.children,t.onInit,t.onChange,t.onSave,t.options,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","mode","fileName","readOnly","autofocus","children","onInit","onChange","onSave","options"])),s=this.state.content;return(0,i.createElement)("textarea",o({style:{display:"none"},ref:function ref(t){return e.textareaNode=t},className:(0,l.default)(n,r),defaultValue:s},a))}}]),CodeEditor}();c.propTypes={mode:s.default.oneOfType([s.default.string,s.default.object]),fileName:s.default.string,children:s.default.string,readOnly:s.default.bool,autofocus:s.default.bool,onInit:s.default.func,onChange:s.default.func,onSave:s.default.func,options:s.default.object,className:s.default.string,baseClassName:s.default.string},c.defaultProps={mode:"",fileName:"",children:"",readOnly:!1,autofocus:!1,onInit:null,onChange:null,onSave:null,options:null,className:null,baseClassName:u.CLS_PREFIX+"code-editor"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","wide","cursor","children"]);return(0,r.createElement)("pre",o({className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--wide",i),n)},u),l,s?(0,r.createElement)("span",{className:(0,a.default)(t+"__cursor","animation-blink")}):null)};l.propTypes={baseClassName:i.default.string,className:i.default.string,children:i.default.node,wide:i.default.bool,cursor:i.default.bool},l.defaultProps={baseClassName:s.CLS_PREFIX+"console-output",className:null,children:null,wide:!1,cursor:!1},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;te.clientHeight&&this.setState({collapsed:this.props.collapsed})}},{key:"handleToggle",value:function handleToggle(){this.setState({collapsed:!this.state.collapsed})}},{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=(t.collapsed,t.maxHeight),c=t.locale,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","collapsed","maxHeight","locale"]),d=this.state.collapsed?"showMore":"showLess";return(0,i.createElement)("div",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--collapse",!0===this.state.collapsed),_defineProperty(e,n+"--expand",!1===this.state.collapsed),e),r)},p),(0,i.createElement)("div",{className:n+"__content",style:{maxHeight:l}},a),null!==this.state.collapsed&&(0,i.createElement)("div",{className:n+"__action"},(0,i.createElement)("a",{onClick:this.handleToggle},(0,i.createElement)(u.default,{content:"Cuttable."+d,fallback:c[d]}))))}}]),Cuttable}();c.propTypes={children:a.default.node,collapsed:a.default.bool,maxHeight:a.default.string,locale:a.default.shape({showMore:a.default.any,showLess:a.default.any}),className:a.default.string,baseClassName:a.default.string},c.defaultProps={children:null,collapsed:!0,maxHeight:"7rem",locale:{showMore:"Show more",showLess:"Show less"},className:null,baseClassName:l.CLS_PREFIX+"cuttable"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","isOpen","banner","image","title","cancelTitle","buttons","form","size","onClose"])),C=this.state.show,v=m||(0,i.createElement)(f.default,{content:"Dialog.cancelButton",fallback:"Cancel"}),y=void 0;return b?(b.cancelButton=o({onClick:this.handleClose},b.cancelButton),b.footerClassName=(0,l.default)(b.footerClassName,t+"__form-footer"),b.applyButton=b.applyButton||!1,!b.cancelButton.children&&v&&(b.cancelButton.children=v),y=(0,i.createElement)(p.default,b,r)):y=r,(0,i.createElement)(c.default,o({className:(0,l.default)(t,n),isOpen:C,onClose:this.handleClose,canCloseOnBackdropClick:!1,size:A},g),u&&(0,i.createElement)("div",{className:t+"__heading"},(0,i.createElement)("h2",{className:t+"__heading-title"},u)),a&&this.renderImage(a,"banner"),(0,i.createElement)("div",{className:t+"__content"},s&&this.renderImage(s,"image"),y,!b&&(0,i.createElement)("div",{className:t+"__buttons"},h,(0,i.createElement)(d.default,{onClick:this.handleClose},v))))}}]),Dialog}();m.propTypes={isOpen:s.default.bool,banner:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),image:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),title:s.default.node,cancelTitle:s.default.node,buttons:s.default.node,form:s.default.object,size:s.default.oneOf(["sm","md","lg"]),onClose:s.default.func,children:s.default.node,className:s.default.string,baseClassName:s.default.string},m.defaultProps={isOpen:!1,banner:null,image:null,title:null,cancelTitle:null,buttons:null,form:null,size:"md",onClose:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"dialog"},t.default=m},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","subtitle","backButton","onClose","form"]);return h?(h.footerClassName=(0,a.default)(h.footerClassName,t+"__form-footer"),h.className=(0,a.default)(t+"__form",h.className),h.cancelButton=o({onClick:m},h.cancelButton),i=(0,r.createElement)(u.default,h,i)):i=(0,r.createElement)("div",{className:t+"__inner-body"},i),(0,r.createElement)(l.default,o({className:(0,a.default)(t,_defineProperty({},t+"--form",h),n),onClose:m,canCloseOnBackdropClick:!1},b),(0,r.createElement)(c.default,{backButton:f,onClose:m},s),(0,r.createElement)(p.default,null,function(e){var n=e.direction,o=e.handleScroll;return(0,r.createElement)("div",{className:t+"__body",onScroll:o},(0,r.createElement)("div",null,d&&(0,r.createElement)("div",{className:(0,a.default)(t+"__subheader",_defineProperty({},t+"__subheader--hidden","down"===n))},(0,r.createElement)("h4",{className:t+"__subheader-title"},d)),i))}))};d.propTypes={isOpen:i.default.bool,title:i.default.node.isRequired,subtitle:i.default.node,backButton:i.default.bool,placement:i.default.oneOf(["left","right"]),size:i.default.oneOf(["sm","md","lg"]),onClose:i.default.func,form:i.default.object,children:i.default.node,className:i.default.string,baseClassName:i.default.string},d.defaultProps={isOpen:!1,subtitle:"",backButton:!1,placement:"left",size:"md",onClose:null,form:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"drawer"},t.default=d},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","menu","menuPlacement"]),b=this.state.opened,A=null,g=(0,a.cloneElement)(i,{onItemClick:(0,s.wrapFunction)(i.props.onItemClick,this.handleClose),className:(0,u.default)(t+"__menu",i.props.className)});return A=!r||"string"==typeof r||(0,a.isValidElement)(r)&&r.type===m.default?(0,a.createElement)(p.default,{caret:!0,onClick:this.handleOpen},r):(0,a.cloneElement)(r,{onClick:this.handleOpen}),(0,a.createElement)("div",o({className:(0,u.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--opened",b),n)},h),(0,a.createElement)(f.default,{target:A,placement:this.computePlacement(l),show:b,className:t+"__popper",zIndex:c.Z_INDEX_DROPDOWN},(0,a.createElement)(d.default,{onClose:this.handleClose},g)))}}]),Dropdown}();h.propTypes={menu:l.default.element.isRequired,menuPlacement:l.default.string,children:l.default.node,className:l.default.string,baseClassName:l.default.string},h.defaultProps={menuPlacement:"bottom-start",children:null,className:null,baseClassName:c.CLS_PREFIX+"dropdown"},t.default=h},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedStatusMessageSeparator=t.ExtendedStatusMessageActions=t.ExtendedStatusMessageDescription=t.ExtendedStatusMessageTitle=void 0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","disabled","label","required","checkedValue","uncheckedValue"]);return(0,r.createElement)(u.default,o({className:(0,a.default)(t,n),label:null},f),function(e){var t=e.getId,n=e.getName,o=e.getValue,a=e.setValue,u=e.getRequiredMark;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{type:"hidden",name:n(),value:d}),(0,r.createElement)(l.default,{checked:o()===p,onChange:function onChange(e){return a(e?p:d)},inputProps:{id:t(),name:n(),value:p},disabled:i},s," ",c?u():null))})};c.propTypes={disabled:i.default.bool,checkedValue:i.default.oneOfType([i.default.bool,i.default.string]),uncheckedValue:i.default.oneOfType([i.default.bool,i.default.string]),label:i.default.any,required:i.default.bool,className:i.default.string,baseClassName:i.default.string},c.defaultProps={disabled:!1,checkedValue:!0,uncheckedValue:!1,label:void 0,required:!1,className:void 0,baseClassName:s.CLS_PREFIX+"form-field-checkbox"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","hideShowButton","hideGenerateButton","hidePasswordMeter"]);return(0,i.createElement)(c.default,o({className:(0,s.default)(n,r)},m),function(t){var n=t.getId,o=t.getName,r=t.getValue,s=t.setValue,c=(0,i.createElement)(p.default,{id:n(),key:"input",name:o(),type:e.state.visible?"text":"password",value:r(""),onChange:function onChange(t){s(t.target.value),e.setState({passwordMeterVisible:!d&&e.state.focus})},onFocus:e.handleFocus,onBlur:e.handleBlur});return[d?c:e.renderPasswordMeter(r(),c),a?null:(0,i.createElement)(u.default,{key:"toggleButton",onClick:e.handleToggleClick,icon:e.state.visible?"visible":"invisible",tooltip:e.state.visible?(0,i.createElement)(f.default,{content:"FormFieldPassword.hidePassword",fallback:h.default.hidePassword}):(0,i.createElement)(f.default,{content:"FormFieldPassword.showPassword",fallback:h.default.showPassword})}),l?null:" ",l?null:(0,i.createElement)(u.default,{key:"generateButton",onClick:function onClick(){return s(e.generatePassword())},tooltip:(0,i.createElement)(f.default,{content:"FormFieldPassword.generateButtonHint",fallback:h.default.generateButtonHint})},(0,i.createElement)(f.default,{content:"FormFieldPassword.generateButton",fallback:h.default.generateButton}))]})}}]),FormFieldPassword}();A.propTypes={hideShowButton:a.default.bool,hideGenerateButton:a.default.bool,hidePasswordMeter:a.default.bool,className:a.default.string,baseClassName:a.default.string},A.defaultProps={hideShowButton:!1,hideGenerateButton:!1,hidePasswordMeter:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-password"},t.default=A},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","options","disabled"]);return(0,i.createElement)(u.default,o({className:(0,s.default)(t,n)},l),function(e){var t=e.getId,n=e.getName,o=e.getValue,s=e.setValue;return r.map(function(e){var r=e.value,l=e.label,d=e.description,f=e.disabled,m=e.indentFields,h=void 0===m?[]:m;return(0,i.createElement)(p.default,{key:r,name:n(),label:l||r,checked:o()===r,onChange:function onChange(e){e&&s(r)},disabled:a||f,inputProps:{id:t()?t()+"-"+r:null,name:n(),value:r}},d?(0,i.createElement)(c.default,{className:u.default.defaultProps.baseClassName+"__description"},d):null,h.map(function(e){return a||f||o()!==r?(0,i.cloneElement)(e,{disabled:!0}):e}))})})}}]),FormFieldRadioButtons}();d.propTypes={options:a.default.arrayOf(a.default.shape({value:a.default.string.isRequired,label:a.default.node.isRequired,description:a.default.node,disabled:a.default.bool,indentFields:a.default.array})).isRequired,value:a.default.string.isRequired,disabled:a.default.bool,className:a.default.string,baseClassName:a.default.string},d.defaultProps={disabled:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-radio-buttons"},t.default=d},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","size","placeholder","disabled"]);return(0,i.createElement)(u.default,o({className:(0,s.default)(t,n)},p),function(e){var n=e.getId,o=e.getName,s=e.getValue,u=e.setValue;return(0,i.createElement)(c.default,{id:n(),name:o(),className:t+"__input",value:s(""),onChange:function onChange(e){return u(e.target.value)},disabled:l,size:r,placeholder:a})})}}]),FormFieldText}();p.propTypes={size:a.default.oneOf(["sm","md","lg","xl","fill"]),placeholder:a.default.string,disabled:a.default.bool,className:a.default.string,baseClassName:a.default.string},p.defaultProps={size:void 0,placeholder:void 0,disabled:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-text"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:this.props).value}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=(e.id,e.name,e.value,e.onChange,e.label),a=e.description,l=(e.errors,e.required),p=e.children,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","id","name","value","onChange","label","description","errors","required","children"]),f=this.fieldApi.getErrors();return(0,i.createElement)(u.SectionItem,o({className:(0,s.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--error",Object.keys(this.fieldApi.getErrors()).length),n),title:null===r?null:(0,i.createElement)("label",{htmlFor:this.fieldApi.getId()},r," ",l?this.fieldApi.getRequiredMark():null)},d),"function"==typeof p?p(this.fieldApi):p,Object.keys(f).map(function(e){return(0,i.createElement)("span",{key:e,className:t+"__error"},f[e])}),a?(0,i.createElement)(c.default,{className:t+"__description"},a):null)}}]),FormField}();p.propTypes={id:a.default.string,name:a.default.string,value:a.default.any,onChange:a.default.func,label:a.default.any,description:a.default.any,errors:a.default.object,required:a.default.bool,children:a.default.oneOfType([a.default.node,a.default.func]),className:a.default.string,baseClassName:a.default.string},p.defaultProps={id:void 0,name:void 0,value:void 0,onChange:null,label:void 0,description:void 0,errors:{},required:!1,children:void 0,className:void 0,baseClassName:l.CLS_PREFIX+"form-field"},p.contextTypes={form:a.default.object},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","requiredMark","hideRequiredLegend","values","errors","submitButton","applyButton","cancelButton","onSubmit","additionalButtons","footerClassName"]);return(0,i.createElement)(u.default,{onResize:this.handleResize,bounds:!0},function(t){var u=t.measureRef;return(0,i.createElement)("form",o({ref:u,className:(0,l.default)(n,r),onSubmit:e.handleSubmit},p),a,(0,i.createElement)(f.default,{className:(0,l.default)(n+"__footer",c),title:" "},(0,i.createElement)(d.default,{label:e.renderRequiredLegend()},e.renderSubmitButton(),e.renderApplyButton(),s,e.renderCancelButton())))})}}]),Form}();h.propTypes={requiredMark:s.default.any,hideRequiredLegend:s.default.bool,values:s.default.object,errors:s.default.object,state:s.default.oneOf(["submit","apply","cancel"]),children:s.default.node,submitButton:s.default.oneOfType([s.default.bool,s.default.object]),applyButton:s.default.oneOfType([s.default.bool,s.default.object]),cancelButton:s.default.oneOfType([s.default.bool,s.default.object]),additionalButtons:s.default.array,onSubmit:s.default.func,footerClassName:s.default.string,vertical:s.default.bool,className:s.default.string,baseClassName:s.default.string},h.defaultProps={children:null,requiredMark:(0,i.createElement)("span",{className:c.CLS_PREFIX+"form__required"},"*"),hideRequiredLegend:!1,values:{},errors:{},state:null,submitButton:!0,applyButton:!0,cancelButton:!0,additionalButtons:[],onSubmit:null,className:null,footerClassName:null,vertical:null,baseClassName:c.CLS_PREFIX+"form"},h.childContextTypes={form:s.default.object,verticalSection:s.default.bool},t.default=h},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=_interopRequireDefault(n(2)),a=n(4),s=function GridCol(e){var t,n=e.baseClassName,r=e.className,a=e.children,s=e.xs,l=e.sm,u=e.md,c=e.lg,p=e.xl,d=(0,i.default)(n,(t={},_defineProperty(t,n+"--xs-"+s,s),_defineProperty(t,n+"--sm-"+l,l),_defineProperty(t,n+"--md-"+u,u),_defineProperty(t,n+"--lg-"+c,c),_defineProperty(t,n+"--xl-"+p,p),t),r);return(0,o.createElement)("div",{className:d},a)};s.propTypes={children:r.default.node,className:r.default.string,baseClassName:r.default.string,xs:r.default.number,sm:r.default.number,md:r.default.number,lg:r.default.number,xl:r.default.number},s.defaultProps={children:null,className:null,baseClassName:a.CLS_PREFIX+"grid__col",xs:null,sm:null,md:null,lg:null,xl:null},t.default=s},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","minColumnWidth","onColumnsChange","maxColumnsNumber","xs","sm","md","lg","xl","gap","children"]),b=(0,s.default)(n,(e={},_defineProperty(e,n+"--xs-"+this.state.xs,this.state.xs),_defineProperty(e,n+"--sm-"+u,u),_defineProperty(e,n+"--md-"+c,c),_defineProperty(e,n+"--lg-"+p,p),_defineProperty(e,n+"--xl-"+d,d),_defineProperty(e,n+"--gap-xs","xs"===f),_defineProperty(e,n+"--gap-sm","sm"===f),_defineProperty(e,n+"--gap-md","md"===f),_defineProperty(e,n+"--gap-lg","lg"===f),_defineProperty(e,n+"--gap-xl","xl"===f),e),r),A=(0,i.createElement)("div",o({className:b},h),a>0&&!this.state.xs?null:m);return a>0?(0,i.createElement)(l.default,{onResize:this.handleResize},function(e){var t=e.measureRef;return(0,i.cloneElement)(A,{ref:t})}):A}}]),Grid}();c.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string,minColumnWidth:a.default.number,maxColumnsNumber:a.default.oneOfType([a.default.number,a.default.func]),xs:a.default.PropTypes.oneOf([1,2,3,4,5,6,"auto"]),sm:a.default.oneOf([1,2,3,4,5,6,"auto"]),md:a.default.oneOf([1,2,3,4,5,6,"auto"]),lg:a.default.oneOf([1,2,3,4,5,6,"auto"]),xl:a.default.oneOf([1,2,3,4,5,6,"auto"]),gap:a.default.oneOf(["xs","sm","md","lg","xl"]),onColumnsChange:a.default.func},c.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"grid",minColumnWidth:null,maxColumnsNumber:6,xs:null,sm:null,md:null,lg:null,xl:null,gap:null,onColumnsChange:null},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("span",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"hint"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","className","baseClassName","innerRef"]),u=-1!==["sm","md","lg","xl","fill"].indexOf(t);return(0,r.createElement)("input",o({ref:s,className:(0,a.default)(i,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},i+"--size-"+t,u),n),size:u?null:t},l))};l.propTypes={type:i.default.string,size:i.default.oneOfType([i.default.number,i.default.oneOf(["sm","md","lg","xl","fill"])]),className:i.default.string,baseClassName:i.default.string,innerRef:i.default.func},l.defaultProps={type:"text",size:"md",className:void 0,baseClassName:s.CLS_PREFIX+"input",innerRef:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["className","baseClassName","reorderable","onReorderEnd"]));return(0,i.createElement)("div",{className:(0,s.default)(n,t)},o?this.renderReorderable(r):this.renderNormal(r))}}]),ItemList}();p.propTypes={reorderable:a.default.bool,onReorderEnd:a.default.func,children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={reorderable:!1,onReorderEnd:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"item-list"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["children","baseClassName","component","className","icon","title"]),p=this.renderIcon(s),d=p.props.size||this.defaultSize;return(0,a.createElement)(r,o({className:(0,l.default)(n,n+"--size-"+d,i)},c),(0,a.createElement)("div",{className:n+"__icon"},p),(0,a.createElement)("div",{className:n+"__content"},this.renderTitle(u),t&&(0,a.createElement)("div",{className:n+"__body"},t)))}}]),Item}();p.propTypes={component:s.default.oneOfType([s.default.string,s.default.func]),icon:s.default.oneOfType([s.default.string,s.default.object,s.default.element]).isRequired,title:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),children:s.default.node,className:s.default.string,baseClassName:s.default.string},p.defaultProps={component:"div",title:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"item"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(129);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","intent","children"]);return(0,r.createElement)("span",o({className:(0,a.default)(t,i&&t+"--"+i,n)},l),s)};l.propTypes={children:i.default.any,intent:i.default.oneOf(["inactive","success","warning","danger","info"]),className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,intent:null,className:null,baseClassName:s.CLS_PREFIX+"label"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tt?1:e1&&void 0!==arguments[1]?arguments[1]:{},n=[],o=!1,r=void 0;r=e.match(/%%(\w+)%%/);)r.index>0&&n.push(e.substr(0,r.index)),void 0===t[r[1]]?n.push(r[0]):(0,i.isValidElement)(t[r[1]])?(n.push((0,i.cloneElement)(t[r[1]],{key:r[1]})),o=!0):n.push(t[r[1]]),e=e.substr(r.index+r[0].length);return""!==e&&n.push(e),o?n:n.join("")},l=function(e){function LocaleProvider(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,LocaleProvider);var t=function _possibleConstructorReturn(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}(this,(LocaleProvider.__proto__||Object.getPrototypeOf(LocaleProvider)).call(this,e));return t.lmsg=t.lmsg.bind(t),t}return function _inherits(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)}(LocaleProvider,i.Component),r(LocaleProvider,[{key:"getChildContext",value:function getChildContext(){return{locale:{lmsg:this.lmsg}}}},{key:"lmsg",value:function lmsg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("string"!=typeof e)return"";var o=this.getMessage(e,this.props.messages);return"string"!=typeof o&&(o=null===n?"["+e+"]":n),s(o,t)}},{key:"getMessage",value:function getMessage(e,t){var n=function _toArray(e){return Array.isArray(e)?e:Array.from(e)}(e.split(".")),r=n[0],i=n.slice(1);return"object"===o(t[r])&&i.length?this.getMessage(i.join("."),t[r]):t[e]}},{key:"render",value:function render(){return this.props.children}}]),LocaleProvider}();l.propTypes={messages:a.default.object.isRequired,children:a.default.node},l.defaultProps={children:null},l.childContextTypes={locale:a.default.object},t.default=l,t.applyParams=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(133);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}}),Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return o[e]}})})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=_interopRequireDefault(n(2)),a=_interopRequireDefault(n(586)),s=n(4);n(872);var l=function Markdown(e){var t=e.baseClassName,n=e.className,r=e.compact,s=void 0!==r&&r,l=e.children;return(0,o.createElement)("div",{className:(0,i.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--compact",s),n),dangerouslySetInnerHTML:{__html:(0,a.default)(l,{sanitize:!0})}})};l.propTypes={children:r.default.string.isRequired,compact:r.default.bool,className:r.default.string,baseClassName:r.default.string},l.defaultProps={compact:!1,className:null,baseClassName:s.CLS_PREFIX+"markdown"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","titleAddon","titleSize","image","imageSpacing"]);return!d&&(0,r.isValidElement)(p)&&p.type===l.default&&(d="icon-"+p.props.size),(0,r.createElement)("div",o({className:(0,a.default)(t,n)},f),p&&(0,r.createElement)("figure",{className:(0,a.default)(t+"__figure",_defineProperty({},t+"__figure--"+d,d))},p),(0,r.createElement)("div",{className:t+"__body"},s||u?(0,r.createElement)("div",{className:(0,a.default)(t+"__header",_defineProperty({},t+"__header--"+c,c))},s&&(0,r.createElement)("h4",{className:t+"__title"},s),u&&(0,r.createElement)("div",{className:t+"__title-addon"},u)):null,(0,r.createElement)("div",{className:t+"__content"},i)))};u.propTypes={title:i.default.node,titleAddon:i.default.node,titleSize:i.default.oneOf(["md","lg","xl"]),image:i.default.any,imageSpacing:i.default.oneOf(["sm","md","lg","xl","xxl"]),children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={title:null,titleAddon:null,titleSize:null,image:null,imageSpacing:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"media"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"media-section"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onItemClick"]);return(0,r.createElement)("ul",o({className:(0,s.default)(t,n,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--icons",function hasIconItem(e){var t=!1;return r.Children.forEach(e,function(e){(e.type===u.default&&e.props.icon||e.type===c.default)&&(t=!0)}),t}(a)))},p),r.Children.map(a,function(e,t){return l&&e&&(e.type===u.default||e.type===c.default)?(0,r.cloneElement)(e,{onClick:(0,i.wrapFunction)(e.props.onClick,l.bind(null,e,t))}):e}))};p.propTypes={onItemClick:a.default.func,children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={onItemClick:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"menu"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className"]);return(0,r.createElement)("li",o({className:(0,a.default)(t,n)},i))};l.propTypes={className:i.default.string,baseClassName:i.default.string},l.defaultProps={className:null,baseClassName:s.CLS_PREFIX+"menu__divider"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n)},s),i)};u.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__header"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","current","total","onSelect","maxPageButtons","isShowPageButtons","isShowNavigationButtons"]);return A=null===A?!(g&&s<3):A,(0,r.createElement)("div",o({className:(0,a.default)(t,n)},C),A&&(0,r.createElement)(u.default,{className:t+"__page-buttons",buttons:function pageRange(e,t,n){var o=n>e,r=o&&e-3=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","visible","defaultVisible","title","placement","canCloseOnOutsideClick","canCloseOnEscapePress","target","intent","onClose","children"]),_=this.state,w=_.controlled,x=_.show,B=_.arrowInHeader,k=void 0;if("auto"!==h){var E=h.split("-"),S=r(E,1)[0];"top"===S?k=["top","bottom","right","left"]:"right"===S?k=["right","left","bottom","top"]:"bottom"===S?k=["bottom","top","left","right"]:"left"===S&&(k=["left","right","top","bottom"])}var P=(0,a.createElement)(d.default,{className:(0,l.default)(i+"__close",m&&i+"__close--heading"),onClick:this.handleClose,icon:"i-cross-mark"}),D=m&&(0,a.createElement)(u.default,{onResize:this.handleHeaderResize,bounds:!0},function(e){var t=e.measureRef;return(0,a.createElement)("div",{ref:t,className:i+"__heading"},P,(0,a.createElement)("h4",{className:i+"__title"},m))}),O=void 0;O=w?g:(0,a.cloneElement)(g,{onClick:function onClick(){t.setState({show:!0}),A&&setTimeout(function(){return t.focus()},0)}});var R=f[h]||h,T=(0,a.createElement)("div",{ref:function ref(e){return t.popover=e},onKeyUp:A&&x?this.hotkeyHandler:null,tabIndex:A?0:null,className:i+"__inner"},D||P,(0,a.createElement)("div",{className:i+"__content"},v));return(0,a.createElement)(p.default,o({target:O,arrow:(0,a.createElement)("span",{className:(0,l.default)(i+"__arrow",B&&i+"__arrow--heading")}),placement:R,onUpdate:this.handlePopperUpdate,className:(0,l.default)((e={},_defineProperty(e,i+"--hidden",!x),_defineProperty(e,i+"--heading",m),_defineProperty(e,i+"--intent-"+C,C),e),s),baseClassName:i,behavior:k,zIndex:c.Z_INDEX_POPOVER},y),b?(0,a.createElement)(a.AutoClosable,{onClose:this.handleClose},T):T)}}]),Popover}();h.propTypes={target:s.default.element.isRequired,visible:s.default.bool,defaultVisible:s.default.bool,title:s.default.node,onClose:s.default.func,placement:s.default.oneOf(["auto","top-left","top","top-right","right-top","right","right-bottom","bottom-right","bottom","bottom-left","left-bottom","left","left-top"]),canCloseOnOutsideClick:s.default.bool,canCloseOnEscapePress:s.default.bool,children:s.default.node,intent:s.default.oneOf(["info","success","warning","danger"]),className:s.default.string,baseClassName:s.default.string},h.defaultProps={visible:null,defaultVisible:!1,title:null,onClose:null,placement:"auto",canCloseOnOutsideClick:!0,canCloseOnEscapePress:!0,children:null,intent:null,className:null,baseClassName:c.CLS_PREFIX+"popover"},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(260);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","value","small"]);return(0,r.createElement)("div",o({className:(0,a.default)((t={},_defineProperty(t,n,!0),_defineProperty(t,n+"--static",!0),_defineProperty(t,n+"--small",l),_defineProperty(t,i,!0),t))},u),(0,r.createElement)("div",{className:n+"__rates",style:{width:function width(e){var t=5*Math.ceil(20*e/5);return t%20==5?t+=2:t%20==15&&(t-=2),t}(s)+"%"}}))};l.propTypes={value:i.default.number,small:i.default.bool,className:i.default.string,baseClassName:i.default.string},l.defaultProps={value:0,small:!1,className:null,baseClassName:s.CLS_PREFIX+"rating"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","intent","collapsible","title","collapsed","onTitleChange","onClose","buttons","vertical","children"]));return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var l,d=t.measureRef;return(0,i.createElement)("div",o({ref:d,className:(0,s.default)(n,(l={},_defineProperty(l,n+"--"+a,a),_defineProperty(l,n+"--collapsible",u),_defineProperty(l,n+"--vertical",e.state.vertical),l),r)},p),c&&(0,i.createElement)("div",{className:n+"__header"},e.renderCollapseButton(),e.renderTitle(),e.renderCloseButton()),e.renderContent())})}}]),Section}();f.propTypes={title:a.default.node,intent:a.default.oneOf(["danger","warning","success","inactive"]),collapsible:a.default.bool,collapsed:a.default.bool,onTitleChange:a.default.func,onClose:a.default.func,buttons:a.default.arrayOf(a.default.element),vertical:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={title:null,intent:null,collapsible:!1,collapsed:!1,onTitleChange:null,onClose:null,buttons:null,vertical:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"section"},f.childContextTypes={verticalSection:a.default.bool},f.contextTypes={verticalSection:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","actions","vertical"]);return(0,r.createElement)("div",o({className:(0,a.default)(s,(n={},_defineProperty(n,s+"--actions",p),_defineProperty(n,s+"--vertical",null===d?i:d),n),l)},f),null===c?null:(0,r.createElement)("div",{className:s+"__title"},c),(0,r.createElement)("div",{className:s+"__value"},u))};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string,title:i.default.node,actions:i.default.bool,vertical:i.default.bool},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"section-item",title:null,actions:!1,vertical:null},l.contextTypes={verticalSection:i.default.bool},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tt?1:-1},f=function(e){function SegmentedControl(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SegmentedControl);var t=function _possibleConstructorReturn(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}(this,(SegmentedControl.__proto__||Object.getPrototypeOf(SegmentedControl)).call(this,e));m.call(t);var n=e.selected;return t.state={selected:n,collapsed:!1,monoWidth:0,monoWidthButton:null},t.items={},t.maxWidth=null,t.minWidth=null,t}return function _inherits(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)}(SegmentedControl,i.Component),r(SegmentedControl,[{key:"getChildContext",value:function getChildContext(){return{responsive:this.isResponsive()}}},{key:"componentDidMount",value:function componentDidMount(){this.loadItems()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.selected,n=e.multiple,o={};o.selected=this.state.selected,t!==this.props.selected&&(o.selected=t),!n||!o.selected||o.selected instanceof Array||(o.selected=[o.selected]),o.selected!==this.state.selected&&this.setState(o)}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.loadItems()}},{key:"isResponsive",value:function isResponsive(){return void 0===this.context.responsive?this.state.collapsed:this.context.responsive}},{key:"loadItems",value:function loadItems(){var e=this;setTimeout(function(){if(e.groupRef){var t=e.props,n=t.baseClassName,o=t.buttons,r=Array.prototype.map.call(e.groupRef.querySelectorAll("."+n+"__button"),function(e){return e.getBoundingClientRect().width});e.items=r.reduce(function(e,t,n){return e[o[n].value]=t,e},{}),e.itemsWidth=r.reduce(function(e,t){return e+t},0),e.checkAdaptive()}},0)}},{key:"renderButtonGroup",value:function renderButtonGroup(){var e=this,t=this.props,n=t.buttons,r=t.monospaced,a=t.multiple,l=t.onChange,u=t.baseClassName,d=this.state,f=d.selected,m=d.monoWidth,h=d.monoWidthButton,b=this.isResponsive();return(0,i.createElement)(c.default,{innerRef:function innerRef(t){return e.groupRef=t},className:u+"__button-group"},n.map(function(t){var n=t.value,c=t.title,d=_objectWithoutProperties(t,["value","title"]),A={};null!==l&&(A.onClick=e.handleChange(n));var g=!1;return a&&f&&f instanceof Array&&-1!==f.indexOf(n)?g=!0:a||f!==n||(g=!0),d.className=(0,s.default)(d.className,u+"__button"),!b&&r&&m&&h!==n&&(d.style=o({width:m},d.style)),(0,i.createElement)(p.default,o({key:n,selected:g},A,d),c)}))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.label,r=t.labelPlacement,a=(t.buttons,t.monospaced,t.multiple,t.selected,t.onChange,t.inline),u=(t.children,t.className),c=t.baseClassName,p=_objectWithoutProperties(t,["label","labelPlacement","buttons","monospaced","multiple","selected","onChange","inline","children","className","baseClassName"]),d=this.isResponsive();return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var l,f=t.measureRef;return(0,i.createElement)("div",o({ref:f,className:(0,s.default)(c,(l={},_defineProperty(l,c+"--inline",a),_defineProperty(l,c+"--collapsed",d),_defineProperty(l,c+"--vertical",n&&"top"===r),l),u)},p),n&&(0,i.createElement)("div",{className:c+"__label"},n),e.renderButtonGroup())})}}]),SegmentedControl}(),m=function _initialiseProps(){var e=this;this.checkAdaptive=function(){if(e.group&&e.items&&Object.keys(e.items).length===e.props.buttons.length){var t=e.props,n=t.buttons,o=t.monospaced,r=e.state,i=r.collapsed,a=r.monoWidth,s=r.monoWidthButton,l={};if((!e.maxWidth||e.itemsWidth>e.maxWidth)&&(e.maxWidth=e.itemsWidth),(!e.minWidth||e.itemsWidtha&&f>u&&(u=f,c=d)}u&&u!==a&&(l.monoWidth=u),c&&c!==s&&(l.monoWidthButton=c)}var m=e.groupRef.getBoundingClientRect().left-e.group.left;!i&&e.group.width=e.maxWidth+m&&(l.collapsed=!1),Object.keys(l).length&&e.setState(l,function(){setTimeout(e.checkAdaptive,0)})}},this.handleChange=function(t){return function(){var n=e.props,o=n.multiple,r=n.onChange,i=e.state.selected,a=void 0;o?(a=i?i.slice():[],i&&i instanceof Array&&-1!==i.indexOf(t)?a.splice(i.indexOf(t),1):a.push(t),a.sort(d)):a=t,i instanceof Array&&i.sort(d),JSON.stringify(a)!==JSON.stringify(i)&&(e.setState({selected:a}),r(a))}},this.handleResize=function(t){e.group=t.bounds,e.checkAdaptive()}};f.propTypes={label:a.default.node,labelPlacement:a.default.oneOf(["top","left"]),buttons:a.default.arrayOf(a.default.shape({value:a.default.any.isRequired,title:a.default.node})).isRequired,monospaced:a.default.bool,multiple:a.default.bool,selected:a.default.oneOfType([a.default.any,a.default.arrayOf(a.default.any)]).isRequired,onChange:a.default.func,inline:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={label:null,labelPlacement:"top",monospaced:!1,multiple:!1,onChange:null,inline:!1,children:null,className:null,baseClassName:u.CLS_PREFIX+"segmented-control"},f.contextTypes={responsive:a.default.bool},f.childContextTypes={responsive:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","menu","children","opened"]));return(0,r.createElement)(u.default,o({className:(0,a.default)(t,n)},p),(0,r.createElement)(l.default,null,s),(0,r.createElement)(c.default,{className:t+"__dropdown-trigger",menu:i,menuPlacement:"bottom-end"}))};p.propTypes={menu:i.default.any,opened:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},p.defaultProps={menu:null,opened:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"split-button"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","icon","intent"]);return(0,r.createElement)(l.default,o({component:"span",icon:u.default.create(s||c[p],{name:c[p]}),className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--"+p,p),n)},d),i)};p.propTypes={children:i.default.node,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),intent:i.default.oneOf(["danger","warning","success","info","inactive"]),rightAddon:i.default.node,bottomAddon:i.default.node,className:i.default.string,baseClassName:i.default.string},p.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"status",icon:null,intent:null,rightAddon:null,bottomAddon:null},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.SubnavItem=void 0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","onChange","tooltip","intent","checked","defaultChecked","disabled","loading"]),b=(0,i.createElement)("label",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--"+c,c),_defineProperty(e,n+"--loading",m),e),r)},h),a?(0,i.createElement)("span",{className:n+"__label"},a):null,(0,i.createElement)("input",{type:"checkbox",onChange:this.handleChange,checked:p,defaultChecked:d,disabled:f||m}),(0,i.createElement)("span",{className:n+"__indicator"}));return l&&(b=(0,i.createElement)(u.default,{title:l},b)),b}}]),Switch}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,tooltip:a.default.any,intent:a.default.oneOf(["warning","danger"]),disabled:a.default.bool,loading:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,tooltip:void 0,intent:void 0,disabled:!1,loading:!1,children:void 0,className:void 0,baseClassName:l.CLS_PREFIX+"switch"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(155);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["onChange","defaultChecked","intent","title","description","fullDescription","baseClassName","className","children"]),A=this.state.checked;return(0,i.createElement)("div",o({className:(0,s.default)(f,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},f+"--"+n,n&&A),m)},b),(0,i.createElement)("h5",{className:f+"__title"},r),a&&(0,i.createElement)("p",{className:f+"__description"},a),(0,i.createElement)("div",{className:f+"__actions"},(0,i.createElement)(u.default,{className:f+"__switch",intent:n,onChange:this.handleChange,defaultChecked:t}),(l||h)&&(0,i.createElement)("div",{className:f+"__controls"},h&&i.Children.map(h,function(e){return e.type===c.default?(0,i.cloneElement)(e,{className:(0,s.default)(e.props.className,f+"__controls-button")}):e}),l&&(0,i.createElement)(d.default,{target:(0,i.createElement)(p.default,{className:f+"__controls-button",icon:"i-circle-question-mark"}),placement:"bottom"},l))))}}]),SwitchesPanelItem}();f.propTypes={onChange:a.default.func.isRequired,defaultChecked:a.default.bool,intent:a.default.oneOf(["warning","danger"]),title:a.default.string.isRequired,description:a.default.string,fullDescription:a.default.node,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={defaultChecked:!1,intent:null,description:null,fullDescription:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"switches-panel-item"},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n)},s),(0,r.createElement)("div",{className:t+"__items"},i&&r.Children.map(i,function(e){return(0,r.cloneElement)(e,{className:(0,a.default)(e.props.className,t+"__item")})})))};u.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"switches-panel"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],t=this.props.results;if(!t)return[];if(t.type===h.default||e){for(var n=[],o=e||t.props.children,r=0;r=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","maxWidth","minWidth","leftAddon","loading","responsive","onSearch","onTyping","onItemSelect","results","inputProps"]),v=this.state,y=v.focused,_=v.value,w=this.isResponsive();return(0,i.createElement)("div",o({className:(0,s.default)(n,_defineProperty({},n+"--focused",y),r),style:w?null:{maxWidth:a,minWidth:l}},C),(0,i.createElement)(u.default,{className:n+"__group"},m,!w&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.default,o({innerRef:function innerRef(t){return e.search=t},className:n+"__input",size:"fill",value:_,onChange:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},g)),_&&(0,i.createElement)(f.default,{className:n+"__reset-button",icon:"i-trashcan",onClick:this.handleReset})),(0,i.createElement)(p.default,{className:n+"__search-button",intent:y?"primary":null,icon:(0,i.createElement)(d.default,{name:"i-magnifying-glass",thin:!0}),onClick:this.handleSearch,state:b?"loading":null})),A&&A.type===h.default?this.renderResultsMenu():this.renderResults())}}]),SearchBar}();b.propTypes={className:a.default.string,baseClassName:a.default.string,maxWidth:a.default.number,minWidth:a.default.number,leftAddon:a.default.element,loading:a.default.bool,responsive:a.default.bool,onSearch:a.default.func,onTyping:a.default.func,onItemSelect:a.default.func,results:a.default.oneOfType([a.default.arrayOf(a.default.shape({value:a.default.string.isRequired,title:a.default.string.isRequired})),a.default.element]),inputProps:a.default.object},b.defaultProps={className:null,baseClassName:l.CLS_PREFIX+"search-bar",maxWidth:500,minWidth:270,leftAddon:null,loading:!1,responsive:null,onSearch:null,onTyping:null,onItemSelect:null,results:null,inputProps:{}},b.contextTypes={responsive:a.default.bool},t.default=b},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;te?t.width:e},0);for(var x=0;x<=_;x++)f[x].width=w}var B=null;if(_>=0){B=y;for(var k=0;k<=_;++k)B+=f[k].width}c&&!d.length&&!n&&h-B-v<=m+A&&(n=!0);var E=h-b;if(d.length&&t.moreTabsRef)E-=t.moreTabsRef.offsetLeft+t.moreTabsRef.offsetWidth;else{if(!B)return;E-=B}if(E-v<0)for(var S=function _loop(e){if(E-v>0)return"break";var t=f[e],n=t.index,o=t.width;E+=o,d.some(function(e){return e.index===n})||(--_,d.push({index:n,width:o}))},P=_;P>=0;--P){if("break"===S(P))break}else{t.moreTabsRef&&1===d.length&&(E+=t.moreTabsRef.offsetWidth);for(var D=d.length-1;D>=0;--D){var O=d[D].width;if(l&&O>w&&(O+=(O-w)*(_+1)),E-v=m+A&&(n=!1,o=!1));for(var R={compact:n,searching:o,collapsedTabs:d},T=Object.keys(R),j=0;je?t.width:e},0)),(0,i.createElement)("ul",{className:n+"__tab-list",role:"tablist"},i.Children.map(r,function(t,r){if(!t||t.type!==b.default)return null;var a=t.props,l=a.title,u=a.label,p=a.icon,f=(a.onActivate,a.onClose),h=_objectWithoutProperties(a,["title","label","icon","onActivate","onClose"]),g=r+1===e.state.active,y=c.default.create(p,{size:"sm",className:n+"__tab-icon"});if(r>C)return g&&(A=!0),(d=d||[]).push((0,i.createElement)(m.MenuItem,{key:d.length,icon:y,label:[e.renderTabLabel("menu-item",u),e.renderTabClose("menu-item",f)],active:g,onClick:function onClick(){return e.onClick(r+1)}},l)),null;var _=e.renderTabClose("tab",f);return(0,i.createElement)("li",{key:r,className:(0,s.default)(n+"__tab",g&&n+"__tab--selected",_&&n+"__tab--closable"),style:{width:v},role:"presentation"},(0,i.createElement)("a",o({className:n+"__link",onClick:function onClick(){return e.onClick(r+1)},role:"tab",tabIndex:"0","aria-selected":g||null},h),y,(0,i.createElement)("span",{className:n+"__tab-title"},l),e.renderTabLabel("tab",u)),_)}),d&&(0,i.createElement)("li",{ref:function ref(t){return e.moreTabsRef=t},key:g,className:(0,s.default)(n+"__tab",A&&n+"__tab--selected",n+"__tab--more"),role:"presentation","aria-selected":A||null},(0,i.createElement)(f.default,{className:n+"__dropdown",menu:(0,i.createElement)(h.default,null,d),menuPlacement:"bottom-end"},(0,i.createElement)("a",{className:n+"__link",role:"tab",tabIndex:"0","aria-selected":A||null},(0,i.createElement)(c.default,{name:"i-three-dots"})))))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.addon,u=t.placeholder,p=t.children,f=(t.active,t.addonMinWidth,t.monospaced,t.search),m=_objectWithoutProperties(t,["baseClassName","className","addon","placeholder","children","active","addonMinWidth","monospaced","search"]),h=this.state,b=h.compact,A=h.searching;if(!i.Children.count(p))return null;var g=a||u,C={},v=null;if(f){var y={className:(0,s.default)(n+"__search",f.props.className)};b?(A?(y.maxWidth=null,y.autoFocus=!0,y.responsive=!1,y.leftAddon=(0,i.createElement)(d.default,{icon:(0,i.createElement)(c.default,{name:"i-arrow-right-07",thin:!0}),onClick:this.handleCancelSearching})):(y.leftAddon=(0,i.createElement)(d.default,{icon:(0,i.createElement)(c.default,{name:"i-arrow-left-07",thin:!0}),onClick:this.handleStartSearching}),y.onSearch=this.handleStartSearching),v=(0,i.cloneElement)(f,y)):g?(y.key=1,g=[(0,i.cloneElement)(f,y),(0,i.cloneElement)(g,{key:2})]):(C.style={maxWidth:f.props.maxWidth},g=(0,i.cloneElement)(f,y))}return(0,i.createElement)("div",o({className:(0,s.default)(n,r)},m),(0,i.createElement)("div",{className:(0,s.default)(n+"__nav",b&&n+"__nav--compact",A&&n+"__nav--searching"),ref:function ref(t){return e.tabsnavRef=t}},(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var n=t.measureRef;return(0,i.cloneElement)(e.renderTablist(),{ref:n})}),v,g&&(0,i.createElement)(l.default,{onResize:this.handleAddonResize,bounds:!0},function(e){var t=e.measureRef;return(0,i.createElement)("div",o({className:n+"__addon",ref:t},C),g)})),(0,i.createElement)("div",{className:n+"__tab-panel",role:"tabpanel"},i.Children.map(p,function(t,n){return n+1===e.state.active?t:null})))}}]),Tabs}();y.propTypes={active:a.default.number,addon:a.default.element,placeholder:a.default.element,addonMinWidth:a.default.number,monospaced:a.default.bool,search:a.default.element,children:a.default.oneOfType([a.default.arrayOf(a.default.element),a.default.element]),className:a.default.string,baseClassName:a.default.string},y.defaultProps={active:1,addon:null,placeholder:null,addonMinWidth:null,monospaced:null,search:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"tabs"},y.childContextTypes={responsive:a.default.bool},t.default=y},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","toasts","position"]);return(0,i.createElement)(p.default,{level:u.Z_INDEX_TOASTER},(0,i.createElement)("div",o({className:(0,l.default)(n,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n+"--"+s,s),r)},d),(0,i.createElement)(a.TransitionGroup,{component:"span"},this.state.toasts.map(function(t){return(0,i.createElement)(a.CSSTransition,{key:t.key,classNames:c.default.defaultProps.baseClassName+"-",timeout:{enter:300,exit:300}},(0,i.createElement)(c.default,o({},t,{onClose:function onClose(){return e.remove(t.key)}})))}))))}}]),Toaster}();f.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=document.createElement("div");return t.appendChild(n),(0,i.render)((0,i.createElement)(f,e),n)},f.propTypes={position:s.default.oneOf(["top"]),toasts:s.default.array,className:s.default.string,baseClassName:s.default.string},f.defaultProps={position:"top",toasts:null,className:null,baseClassName:u.CLS_PREFIX+"toaster"},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tt.width?o.width:n.state.minWidth;n.setState({minWidth:r,responsive:r>0&&t.width=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,i.createElement)(l.default,{onResize:this.handleResize,scroll:!0},function(e){var l=e.measureRef;return(0,i.createElement)("div",o({ref:l,className:(0,s.default)(t,n)},a),r)})}}]),Toolbar}();c.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string},c.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"toolbar"},c.childContextTypes={responsive:a.default.bool},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"toolbar__expander"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1}},{key:"convertToMenu",value:function convertToMenu(e,t){return e.type===d.default?(0,i.createElement)(u.MenuItem,{disabled:e.props.disabled,icon:"string"==typeof e.props.icon?null:e.props.icon},e.props.children):e.type===p.default?[e.props.children?(0,i.createElement)(u.MenuHeader,null,e.props.children):null,e.props.menu.props.children,t?null:(0,i.createElement)(u.MenuDivider,null)]:(0,i.createElement)(u.MenuBaseItem,null,e)}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=t.title,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","title"]),d=i.Children.count(a),f=this.isResponsive(),m=i.Children.map(a,function(t,o){return(0,i.isValidElement)(t)?f?e.convertToMenu(t,o===d-1):(0,i.cloneElement)(t,{className:(0,s.default)(n+"-item",t.props.className)}):t});return f&&(m=(0,i.createElement)(p.default,{menu:(0,i.createElement)(c.default,null,m)},l)),(0,i.createElement)("div",o({className:(0,s.default)(n,r)},u),m)}}]),ToolbarGroup}();f.propTypes={title:a.default.node.isRequired,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={children:null,className:null,baseClassName:l.CLS_PREFIX+"toolbar__group"},f.contextTypes={responsive:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(162);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(164);Object.defineProperty(t,"ToolbarGroup",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(163);Object.defineProperty(t,"ToolbarExpander",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","style"]),u=this.state,c=u.left,p=u.top;return(0,i.createElement)("span",o({className:(0,l.default)(t,n),style:o({},a,{left:c+"px",top:p+"px"}),role:"tooltip"},s),r)}},{key:"render",value:function render(){return(0,i.cloneElement)(this.props.children,{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave})}}]),Tooltip}();c.propTypes={title:a.default.node.isRequired,delay:a.default.number,children:a.default.element.isRequired,style:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={delay:550,style:void 0,className:void 0,baseClassName:u.CLS_PREFIX+"tooltip"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=n(134),a=function Translate(e,t){var n=t.locale,r=e.component,a=e.content,s=e.children,l=e.params,u=e.unsafe,c=e.fallback,p=void 0===c?null:c,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["component","content","children","params","unsafe","fallback"]),f=a||s,m=n&&n.lmsg(f,l,p);return void 0===m&&(m=null===p?"["+f+"]":(0,i.applyParams)(p,l)),u?d.dangerouslySetInnerHTML={__html:m}:d.children=m,(0,o.createElement)(r,d)};a.contextTypes={locale:r.default.object},a.propTypes={content:r.default.string,params:r.default.object,fallback:r.default.string,component:r.default.string,unsafe:r.default.bool,children:r.default.string},a.defaultProps={content:null,params:null,component:"span",unsafe:null,fallback:null,children:null},t.default=a},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(98);Object.defineProperty(t,"Action",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(225);Object.defineProperty(t,"Alert",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(101);Object.defineProperty(t,"AutoClosable",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(226);Object.defineProperty(t,"AuxiliaryActions",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var s=n(104);Object.defineProperty(t,"Badge",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var l=n(11);Object.defineProperty(t,"Button",{enumerable:!0,get:function get(){return _interopRequireDefault(l).default}});var u=n(32);Object.defineProperty(t,"ButtonGroup",{enumerable:!0,get:function get(){return _interopRequireDefault(u).default}});var c=n(230);Object.defineProperty(t,"Card",{enumerable:!0,get:function get(){return _interopRequireDefault(c).default}}),Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return c[e]}})});var p=n(228);Object.defineProperty(t,"CardList",{enumerable:!0,get:function get(){return _interopRequireDefault(p).default}});var d=n(231);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function get(){return _interopRequireDefault(d).default}});var f=n(38);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function get(){return _interopRequireDefault(f).default}});var m=n(232);Object.defineProperty(t,"CodeEditor",{enumerable:!0,get:function get(){return _interopRequireDefault(m).default}});var h=n(233);Object.defineProperty(t,"ConsoleOutput",{enumerable:!0,get:function get(){return _interopRequireDefault(h).default}});var b=n(234);Object.defineProperty(t,"Cuttable",{enumerable:!0,get:function get(){return _interopRequireDefault(b).default}});var A=n(235);Object.defineProperty(t,"Dialog",{enumerable:!0,get:function get(){return _interopRequireDefault(A).default}});var g=n(238);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function get(){return _interopRequireDefault(g).default}});var C=n(25);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function get(){return _interopRequireDefault(C).default}});var v=n(117);Object.defineProperty(t,"ExtendedStatusMessage",{enumerable:!0,get:function get(){return _interopRequireDefault(v).default}}),Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return v[e]}})});var y=n(240);Object.defineProperty(t,"Figure",{enumerable:!0,get:function get(){return _interopRequireDefault(y).default}});var _=n(58);Object.defineProperty(t,"Form",{enumerable:!0,get:function get(){return _interopRequireDefault(_).default}});var w=n(26);Object.defineProperty(t,"FormField",{enumerable:!0,get:function get(){return _interopRequireDefault(w).default}});var x=n(241);Object.defineProperty(t,"FormFieldCheckbox",{enumerable:!0,get:function get(){return _interopRequireDefault(x).default}});var B=n(242);Object.defineProperty(t,"FormFieldPassword",{enumerable:!0,get:function get(){return _interopRequireDefault(B).default}});var k=n(245);Object.defineProperty(t,"FormFieldRadioButtons",{enumerable:!0,get:function get(){return _interopRequireDefault(k).default}});var E=n(246);Object.defineProperty(t,"FormFieldText",{enumerable:!0,get:function get(){return _interopRequireDefault(E).default}});var S=n(60);Object.defineProperty(t,"Grid",{enumerable:!0,get:function get(){return _interopRequireDefault(S).default}});var P=n(59);Object.defineProperty(t,"GridCol",{enumerable:!0,get:function get(){return _interopRequireDefault(P).default}});var D=n(61);Object.defineProperty(t,"Hint",{enumerable:!0,get:function get(){return _interopRequireDefault(D).default}});var O=n(12);Object.defineProperty(t,"Icon",{enumerable:!0,get:function get(){return _interopRequireDefault(O).default}});var R=n(39);Object.defineProperty(t,"Input",{enumerable:!0,get:function get(){return _interopRequireDefault(R).default}});var T=n(130);Object.defineProperty(t,"Item",{enumerable:!0,get:function get(){return _interopRequireDefault(T).default}});var j=n(249);Object.defineProperty(t,"ItemList",{enumerable:!0,get:function get(){return _interopRequireDefault(j).default}});var I=n(63);Object.defineProperty(t,"Label",{enumerable:!0,get:function get(){return _interopRequireDefault(I).default}});var N=n(251);Object.defineProperty(t,"List",{enumerable:!0,get:function get(){return _interopRequireDefault(N).default}});var q=n(134);Object.defineProperty(t,"LocaleProvider",{enumerable:!0,get:function get(){return _interopRequireDefault(q).default}});var M=n(252);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function get(){return _interopRequireDefault(M).default}});var z=n(253);Object.defineProperty(t,"Media",{enumerable:!0,get:function get(){return _interopRequireDefault(z).default}}),Object.keys(z).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return z[e]}})});var L=n(33);Object.defineProperty(t,"Menu",{enumerable:!0,get:function get(){return _interopRequireDefault(L).default}}),Object.keys(L).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return L[e]}})});var F=n(255);Object.defineProperty(t,"Modal",{enumerable:!0,get:function get(){return _interopRequireDefault(F).default}});var W=n(67);Object.defineProperty(t,"Overlay",{enumerable:!0,get:function get(){return _interopRequireDefault(W).default}});var U=n(142);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function get(){return _interopRequireDefault(U).default}});var V=n(258);Object.defineProperty(t,"Panel",{enumerable:!0,get:function get(){return _interopRequireDefault(V).default}});var G=n(259);Object.defineProperty(t,"Plaintext",{enumerable:!0,get:function get(){return _interopRequireDefault(G).default}});var Y=n(68);Object.defineProperty(t,"Popover",{enumerable:!0,get:function get(){return _interopRequireDefault(Y).default}});var X=n(263);Object.defineProperty(t,"Rating",{enumerable:!0,get:function get(){return _interopRequireDefault(X).default}});var H=n(41);Object.defineProperty(t,"Section",{enumerable:!0,get:function get(){return _interopRequireDefault(H).default}}),Object.keys(H).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return H[e]}})});var K=n(69);Object.defineProperty(t,"SegmentedControl",{enumerable:!0,get:function get(){return _interopRequireDefault(K).default}});var $=n(264);Object.defineProperty(t,"SplitButton",{enumerable:!0,get:function get(){return _interopRequireDefault($).default}});var Z=n(265);Object.defineProperty(t,"Status",{enumerable:!0,get:function get(){return _interopRequireDefault(Z).default}});var J=n(154);Object.defineProperty(t,"Subnav",{enumerable:!0,get:function get(){return _interopRequireDefault(J).default}}),Object.keys(J).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return J[e]}})});var Q=n(156);Object.defineProperty(t,"Switch",{enumerable:!0,get:function get(){return _interopRequireDefault(Q).default}});var ee=n(267);Object.defineProperty(t,"SwitchesPanel",{enumerable:!0,get:function get(){return _interopRequireDefault(ee).default}});var te=n(266);Object.defineProperty(t,"SwitchesPanelItem",{enumerable:!0,get:function get(){return _interopRequireDefault(te).default}});var ne=n(268);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function get(){return _interopRequireDefault(ne).default}}),Object.keys(ne).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return ne[e]}})});var oe=n(271);Object.defineProperty(t,"Toaster",{enumerable:!0,get:function get(){return _interopRequireDefault(oe).default}});var re=n(165);Object.defineProperty(t,"Toolbar",{enumerable:!0,get:function get(){return _interopRequireDefault(re).default}}),Object.keys(re).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return re[e]}})});var ie=n(42);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function get(){return _interopRequireDefault(ie).default}});var ae=n(15);Object.defineProperty(t,"Translate",{enumerable:!0,get:function get(){return _interopRequireDefault(ae).default}})},function(e,t,n){"use strict";(function(e){function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(o)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),o=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return function hexSlice(e,t,n){var o=e.length;(!t||t<0)&&(t=0);(!n||n<0||n>o)&&(n=o);for(var r="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,o)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,o,r);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,o,r){function read(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,a=e.length,s=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;i=2,a/=2,s/=2,n/=2}var l;if(r){var u=-1;for(l=n;la&&(n=a-s),l=n;l>=0;l--){for(var c=!0,p=0;pr&&(o=r):o=r;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var a=0;a>8,r=n%256,i.push(r),i.push(o);return i}(t,e.length-n),e,n,o)}function utf8Slice(e,t,n){n=Math.min(e.length,n);for(var o=[],r=t;r239?4:i>223?3:i>191?2:1;if(r+l<=n){var u,c,p,d;switch(l){case 1:i<128&&(s=i);break;case 2:128==(192&(u=e[r+1]))&&(d=(31&i)<<6|63&u)>127&&(s=d);break;case 3:u=e[r+1],c=e[r+2],128==(192&u)&&128==(192&c)&&(d=(15&i)<<12|(63&u)<<6|63&c)>2047&&(d<55296||d>57343)&&(s=d);break;case 4:u=e[r+1],c=e[r+2],p=e[r+3],128==(192&u)&&128==(192&c)&&128==(192&p)&&(d=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&p)>65535&&d<1114112&&(s=d)}}null===s?(s=65533,l=1):s>65535&&(s-=65536,o.push(s>>>10&1023|55296),s=56320|1023&s),o.push(s),r+=l}return function decodeCodePointsArray(e){var t=e.length;if(t<=a)return String.fromCharCode.apply(String,e);var n="",o=0;for(;on)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,o,r,i){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-n,2);r>>8*(o?r:1-r)}function objectWriteUInt32(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-n,4);r>>8*(o?r:3-r)&255}function checkIEEE754(e,t,n,o,r,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,o,i){return i||checkIEEE754(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function writeDouble(e,t,n,o,i){return i||checkIEEE754(e,0,n,8),r.write(e,t,n,o,52,8),n+8}function utf8ToBytes(e,t){t=t||1/0;for(var n,o=e.length,r=null,i=[],a=0;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function base64ToBytes(e){return o.toByteArray(function base64clean(e){if((e=function stringtrim(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(s,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function blitBuffer(e,t,n,o){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}var o=n(273),r=n(453),i=n(455);t.Buffer=Buffer,t.SlowBuffer=function SlowBuffer(e){return+e!=e&&(e=0),Buffer.alloc(+e)},t.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(e){return e.__proto__=Buffer.prototype,e},Buffer.from=function(e,t,n){return from(null,e,t,n)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(e,t,n){return function alloc(e,t,n,o){return assertSize(t),t<=0?createBuffer(e,t):void 0!==n?"string"==typeof o?createBuffer(e,t).fill(n,o):createBuffer(e,t).fill(n):createBuffer(e,t)}(null,e,t,n)},Buffer.allocUnsafe=function(e){return allocUnsafe(null,e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(null,e)},Buffer.isBuffer=function isBuffer(e){return!(null==e||!e._isBuffer)},Buffer.compare=function compare(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},Buffer.prototype.compare=function compare(e,t,n,o,r){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,o>>>=0,r>>>=0,this===e)return 0;for(var i=r-o,a=n-t,s=Math.min(i,a),l=this.slice(o,r),u=e.slice(t,n),c=0;cr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var a=4096;Buffer.prototype.slice=function slice(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(r*=256);)o+=this[e+--t]*r;return o},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=this[e],r=1,i=0;++i=r&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=t,r=1,i=this[e+--o];o>0&&(r*=256);)i+=this[e+--o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),r.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),r.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),r.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),r.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,o){if(e=+e,t|=0,n|=0,!o){checkInt(this,e,t,n,Math.pow(2,8*n)-1,0)}var r=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+r]=e/i&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);checkInt(this,e,t,n,r-1,-r)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);checkInt(this,e,t,n,r-1,-r)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(i<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i1%"],jest:{rootDir:"src",setupFiles:["/test/shim.js","/test/setup.js"],moduleNameMapper:{"\\.(png|jpg|gif|svg|woff|woff2)$":"/test/fileMock.js","\\.(css|less)$":"/test/styleMock.js"}},author:"Plesk Developers (https://www.plesk.com/)",license:"Apache-2.0"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n=this.index)t.push(e);else for(var o=0;on)return void t.splice(o,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=r},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t1e10&&(0,o.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var i="c",a="";return n&&(i=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(a+=n.options.jss.id)),""+i+r.default+a+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(898));t.default=function(e){return e&&e[o.default]&&e===e[o.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){var o=n(13).Uint8Array;e.exports=o},function(e,t,n){var o=n(511),r=n(54),i=n(14),a=n(79),s=n(76),l=n(82),u=Object.prototype.hasOwnProperty;e.exports=function arrayLikeKeys(e,t){var n=i(e),c=!n&&r(e),p=!n&&!c&&a(e),d=!n&&!c&&!p&&l(e),f=n||c||p||d,m=f?o(e.length,String):[],h=m.length;for(var b in e)!t&&!u.call(e,b)||f&&("length"==b||p&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||m.push(b);return m}},function(e,t,n){var o=n(48),r=n(35);e.exports=function assignMergeValue(e,t,n){(void 0===n||r(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}},function(e,t,n){var o=n(522)();e.exports=o},function(e,t,n){var o=n(182),r=n(55);e.exports=function baseForOwn(e,t){return e&&o(e,t,r)}},function(e,t,n){var o=n(186),r=n(51);e.exports=function baseGet(e,t){for(var n=0,i=(t=o(t,e)).length;null!=e&&nd))return!1;var m=c.get(e);if(m&&c.get(t))return m==t;var h=-1,b=!0,A=n&s?new o:void 0;for(c.set(e,t),c.set(t,e);++h1&&(n=[t.shift()],t.forEach(function(e,t){if(i){var a="separator-"+(e.key||t);r=o.cloneElement(r,{key:a})}return n.push(r,e)})),o.createElement(e.inline?"span":"div",{className:e.className},n)}var o=n(1),r=n(0);Group.propTypes={children:r.node,inline:r.bool,separator:r.node,className:r.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["innerRef","onResize"]));return(0,i.createElement)(t,o({},n,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))}}]),_class}(),n.propTypes={client:a.default.bool,offset:a.default.bool,scroll:a.default.bool,bounds:a.default.bool,margin:a.default.bool,innerRef:a.default.func,onResize:a.default.func,children:a.default.func},c}},e.exports=t.default},function(e,t,n){"use strict";var o=n(600);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(612);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(616);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(643);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(648);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(655);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(659);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(660);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(661);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(662);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";t.a=function getFilterRegExp(e){return e=e.replace(/[^a-z0-9]/gi,"").split("").join(".*"),new RegExp(e,"i")}},function(e,t,n){"use strict";t.a=function getUrl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.slug,o=e.example,r=e.anchor,i=e.isolated,a=e.nochrome,s=e.absolute,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location,u=l.origin,c=l.pathname;return a&&(c+="?nochrome"),r?c+="#"+n:(i||a)&&(c+="#!/"+t),void 0!==o&&(c+="/"+o),s?u+c:c}},function(e,t,n){"use strict";e.exports={HOMEPAGE:"https://react-styleguidist.js.org/",BUGS:"https://github.com/styleguidist/react-styleguidist/issues",DOCS_CONFIG:"https://react-styleguidist.js.org/docs/configuration.html",DOCS_COMPONENTS:"https://react-styleguidist.js.org/docs/components.html",DOCS_WEBPACK:"https://react-styleguidist.js.org/docs/webpack.html",DOCS_DOCUMENTING:"https://react-styleguidist.js.org/docs/documenting.html",DOCS_THIRDPARTIES:"https://react-styleguidist.js.org/docs/thirdparties.html"}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function noop(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var o=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(31)),a=(n(214),t.UNMOUNTED="unmounted"),s=t.EXITED="exited",l=t.ENTERING="entering",u=t.ENTERED="entered",c=t.EXITING="exiting",p=function(e){function Transition(t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Transition);var o=function _possibleConstructorReturn(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}(this,e.call(this,t,n)),r=n.transitionGroup,i=r&&!r.isMounting?t.enter:t.appear,c=void 0;return o.nextStatus=null,t.in?i?(c=s,o.nextStatus=l):c=u:c=t.unmountOnExit||t.mountOnEnter?a:s,o.state={status:c},o.nextCallback=null,o}return function _inherits(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)}(Transition,e),Transition.prototype.getChildContext=function getChildContext(){return{transitionGroup:null}},Transition.prototype.componentDidMount=function componentDidMount(){this.updateStatus(!0)},Transition.prototype.componentWillReceiveProps=function componentWillReceiveProps(e){var t=(this.pendingState||this.state).status;e.in?(t===a&&this.setState({status:s}),t!==l&&t!==u&&(this.nextStatus=l)):t!==l&&t!==u||(this.nextStatus=c)},Transition.prototype.componentDidUpdate=function componentDidUpdate(){this.updateStatus()},Transition.prototype.componentWillUnmount=function componentWillUnmount(){this.cancelNextCallback()},Transition.prototype.getTimeouts=function getTimeouts(){var e=this.props.timeout,t=void 0,n=void 0,o=void 0;return t=n=o=e,null!=e&&"number"!=typeof e&&(t=e.exit,n=e.enter,o=e.appear),{exit:t,enter:n,appear:o}},Transition.prototype.updateStatus=function updateStatus(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nextStatus;if(null!==t){this.nextStatus=null,this.cancelNextCallback();var n=i.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===s&&this.setState({status:a})},Transition.prototype.performEnter=function performEnter(e,t){var n=this,o=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts();t||o?(this.props.onEnter(e,r),this.safeSetState({status:l},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,i.enter,function(){n.safeSetState({status:u},function(){n.props.onEntered(e,r)})})})):this.safeSetState({status:u},function(){n.props.onEntered(e)})},Transition.prototype.performExit=function performExit(e){var t=this,n=this.props.exit,o=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:c},function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,function(){t.safeSetState({status:s},function(){t.props.onExited(e)})})})):this.safeSetState({status:s},function(){t.props.onExited(e)})},Transition.prototype.cancelNextCallback=function cancelNextCallback(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},Transition.prototype.safeSetState=function safeSetState(e,t){var n=this;this.pendingState=e,t=this.setNextCallback(t),this.setState(e,function(){n.pendingState=null,t()})},Transition.prototype.setNextCallback=function setNextCallback(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},Transition.prototype.onTransitionEnd=function onTransitionEnd(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},Transition.prototype.render=function render(){var e=this.state.status;if(e===a)return null;var t=this.props,n=t.children,o=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return n(e,o);var i=r.default.Children.only(n);return r.default.cloneElement(i,o)},Transition}(r.default.Component);p.contextTypes={transitionGroup:o.object},p.childContextTypes={transitionGroup:function transitionGroup(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop,onEntering:noop,onEntered:noop,onExit:noop,onExiting:noop,onExited:noop},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4,t.default=p},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=function transitionTimeout(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0));t.timeoutsShape=o.default.oneOfType([o.default.number,o.default.shape({enter:o.default.number,exit:o.default.number}).isRequired]),t.classNamesShape=o.default.oneOfType([o.default.string,o.default.shape({enter:o.default.string,exit:o.default.string,active:o.default.string}),o.default.shape({enter:o.default.string,enterActive:o.default.string,exit:o.default.string,exitActive:o.default.string})])},function(e,t,n){var o=n(315);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(598),n(673);var o=n(31),r=n.n(o),i=n(691),a=0,s=function render(){var e=n(830);r.a.render(n.i(i.a)(e,a),document.getElementById("app"))};window.addEventListener("hashchange",s),s()},function(e,t,n){function addStylesToDom(e,t){for(var n=0;n=0&&l.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");return e.attrs.type="text/css",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function addStyle(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var l=s++;n=a||(a=createStyleElement(t)),o=applyToSingletonTag.bind(null,n,l,!1),r=applyToSingletonTag.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function createLinkElement(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}(t),o=function updateLink(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=u(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),r=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),o=function applyToTag(e,t){var n=t.css,o=t.media;o&&e.setAttribute("media",o);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){removeStyleElement(n)});return o(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function applyToSingletonTag(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=c(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var o={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),i=function(e){var t={};return function(e){if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,s=0,l=[],u=n(831);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i=t||n<0||A&&e-h>=p}function timerExpired(){var e=r();if(shouldInvoke(e))return trailingEdge(e);f=setTimeout(timerExpired,function remainingWait(e){var n=t-(e-m);return A?l(n,p-(e-h)):n}(e))}function trailingEdge(e){return f=void 0,g&&u?invokeFunc(e):(u=c=void 0,d)}function debounced(){var e=r(),n=shouldInvoke(e);if(u=arguments,c=this,m=e,n){if(void 0===f)return function leadingEdge(e){return h=e,f=setTimeout(timerExpired,t),b?invokeFunc(e):d}(m);if(A)return f=setTimeout(timerExpired,t),invokeFunc(m)}return void 0===f&&(f=setTimeout(timerExpired,t)),d}var u,c,p,d,f,m,h=0,b=!1,A=!1,g=!0;if("function"!=typeof e)throw new TypeError(a);return t=i(t)||0,o(n)&&(b=!!n.leading,p=(A="maxWait"in n)?s(i(n.maxWait)||0,t):p,g="trailing"in n?!!n.trailing:g),debounced.cancel=function cancel(){void 0!==f&&clearTimeout(f),h=0,u=m=c=f=void 0},debounced.flush=function flush(){return void 0===f?d:trailingEdge(r())},debounced}},function(e,t,n){var o=n(16),r=n(37),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(r(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?i:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(99);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(102));t.default=o.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=n(4),a=_interopRequireDefault(n(15)),s=_interopRequireDefault(n(11)),l=_interopRequireDefault(n(12)),u=n(165),c=_interopRequireDefault(u),p=_interopRequireDefault(n(25)),d=_interopRequireDefault(n(69)),f=n(33),m=_interopRequireDefault(f),h=_interopRequireDefault(n(38)),b=_interopRequireDefault(n(104)),A=n(56),g=function isToolbarExpander(e){return(0,o.isValidElement)(e)&&e.type===u.ToolbarExpander},C=function CardListToolbar(e){var t=e.baseClassName,n=e.selection,r=e.onViewChange,i=e.currentView,C=e.groups,v=[];if(n&&v.push(function renderSelection(e){var t=e.onSelectAll,n=e.onSelectNone,r=e.checked,i=e.badge,l=e.total,c=e.menuItems,d=void 0===c?[]:c,A=(0,o.createElement)(s.default,{caret:!0},(0,o.createElement)(h.default,{checked:r,onChange:function onChange(e){e?t():n()},onClick:function onClick(e){return e.stopPropagation()}}));return i&&("string"==typeof i&&(i={label:i}),A=(0,o.createElement)(b.default,i,A)),d=[(0,o.createElement)(f.MenuItem,{key:"selectAll",onClick:t,label:l},(0,o.createElement)(a.default,{content:"Card.selectAll",fallback:"Select all"})),(0,o.createElement)(f.MenuItem,{key:"selectNone",onClick:n},(0,o.createElement)(a.default,{content:"Card.selectNone",fallback:"Select none"}))].concat(d),(0,o.createElement)(u.ToolbarGroup,{key:"selection",title:(0,o.createElement)(a.default,{content:"CardList.toolbarSelect",fallback:"Select"})},(0,o.createElement)(p.default,{menu:(0,o.createElement)(m.default,null,d)},A))}(n)),v=v.concat(C),r&&i!==A.VIEW_RESPONSIVE){C.filter(g).length>0||v.push((0,o.createElement)(u.ToolbarExpander,{key:"expander"})),v.push(function renderView(e,t){var n=[{value:A.VIEW_EXTENDED,title:(0,o.createElement)(a.default,{content:"CardList.viewCards",fallback:"Cards"}),icon:(0,o.createElement)(l.default,{name:"i-www-site-picture-text",thin:!0})},{value:A.VIEW_TILE,title:(0,o.createElement)(a.default,{content:"CardList.viewTiles",fallback:"Tiles"}),icon:(0,o.createElement)(l.default,{name:"i-four-squares",thin:!0})},{value:A.VIEW_ROW,title:(0,o.createElement)(a.default,{content:"CardList.viewList",fallback:"List"}),icon:(0,o.createElement)(l.default,{name:"i-list",thin:!0})}];return(0,o.createElement)(u.ToolbarGroup,{key:"view",title:(0,o.createElement)(a.default,{content:"CardList.toolbarView",fallback:"View"})},(0,o.createElement)(d.default,{buttons:n,selected:t,onChange:function onChange(t){return e(t)}}))}(r,i))}return 0===v.length?null:(0,o.createElement)(c.default,{className:t},v)};C.propTypes={selection:r.default.object,groups:r.default.arrayOf(r.default.element).isRequired,onViewChange:r.default.func,currentView:r.default.string.isRequired,baseClassName:r.default.string},C.defaultProps={selection:null,onViewChange:null,baseClassName:i.CLS_PREFIX+"card-list__toolbar"},t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(56);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["icon"]);return(0,r.createElement)(s.default,o({icon:l.default.create(t)},n))};u.propTypes={baseClassName:i.default.string,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]).isRequired},u.defaultProps={baseClassName:a.CLS_PREFIX+"card-button"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(107);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(57);Object.defineProperty(t,"PreviewPanel",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(108);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(110);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(111);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(112);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(113);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","onClose","children","backButton"]);return(0,r.createElement)("div",o({className:t},u),a&&n&&(0,r.createElement)(s.default,{className:t+"__back-button",icon:(0,r.createElement)(l.default,{name:"i-arrow-left-07",className:t+"__icon"}),onClick:n}),(0,r.createElement)("h4",{className:t+"__title"},i),n&&!a&&(0,r.createElement)(s.default,{icon:(0,r.createElement)(l.default,{name:"i-cross-mark",className:t+"__icon"}),onClick:n}))};u.propTypes={baseClassName:i.default.string,onClose:i.default.func,children:i.default.node.isRequired,backButton:i.default.bool},u.defaultProps={onClose:null,baseClassName:a.CLS_PREFIX+"drawer-header",backButton:!1},t.default=u},function(e,t,n){"use strict";function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;nn.prevScrollTop?"down":"up";n.prevScrollTop=t,n.setState({direction:o})},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(ScrollDirection,r.Component),o(ScrollDirection,[{key:"render",value:function render(){return(0,this.props.children)({direction:this.state.direction,handleScroll:this.handleScroll})}}]),ScrollDirection}();a.propTypes={children:i.default.func.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(114);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","href","caption","children"]);return(0,r.createElement)("figure",o({className:(0,a.default)(t,n)},u),l,i&&(0,r.createElement)("a",{href:i,className:(0,a.default)(t+"__overlay",t+"__overlay--cover",t+"__action")}),s&&(0,r.createElement)("figcaption",{className:(0,a.default)(t+"__overlay",t+"__overlay--bottom")},s))};l.propTypes={href:i.default.string,caption:i.default.any,children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={href:null,caption:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"figure"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(239);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(118);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(119);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={improvePassword:"To improve your password:",passwordTooShort:"Make the password longer.",lettersLowerCase:"Use at least one lower-case character.",lettersUpperCase:"Use at least one upper-case character.",numbers1:"Use at least one number.",numbers3:"Use at least three numbers.",specialChar1:"Use at least one special character (for example: !, @, #, $, % ,^, &, *, ?, _, ~).",specialChar2:"Use at least two special characters (for example: !, @, #, $, %, ^, &, *, ?, _, ~).",comboUpperAndLower:"Use both upper and lower-case characters.",comboLettersAndNumbers:"Use both numbers and characters.",comboLettersNumbersSpecial:"Use numbers, characters and special characters.",yourPasswordIsStrong:"You can make it even stronger by increasing its length.",passwordStrength:"The password strength is %%strength%%.",strengthStrong:"STRONG",strengthWeak:"WEAK",strengthMedium:"MEDIUM",hidePassword:"Hide password",showPassword:"Show password",generateButton:"Generate",generateButtonHint:"Generate strength password"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={passwordTooShort:function passwordTooShort(e){return e.length<5?-1:0},passwordLength:function passwordLength(e){return e.length<5?3:e.length>4&&e.length<8?6:e.length>7&&e.length<16?12:18},lettersLowerCase:function lettersLowerCase(e){return e.match(/[a-z]/)?1:-1},lettersUpperCase:function lettersUpperCase(e){return e.match(/[A-Z]/)?5:-1},numbers1:function numbers1(e){return e.match(/\d+/)?5:-1},numbers3:function numbers3(e){return e.match(/(.*[0-9].*[0-9].*[0-9])/)?5:-1},specialChar1:function specialChar1(e){return e.match(/[!@#$%^&*?_~]/)?5:-1},specialChar2:function specialChar2(e){return e.match(/(.*[!@#$%^&*?_~].*[!@#$%^&*?_~])/)?5:-1},comboUpperAndLower:function comboUpperAndLower(e){return e.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)?2:-1},comboLettersAndNumbers:function comboLettersAndNumbers(e){return e.match(/([a-zA-Z])/)&&e.match(/([0-9])/)?2:-1},comboLettersNumbersSpecial:function comboLettersNumbersSpecial(e){return e.match(/([a-zA-Z0-9].*[!@#$%^&*?_~])|([!@#$%^&*?_~].*[a-zA-Z0-9])/)?2:-1}};t.default=function passwordScore(e){var t=[],n=0;return Object.keys(o).forEach(function(r){var i=o[r](e);i<0?t.push({rule:r,value:-i}):n+=i}),{score:n,unusedRules:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(120);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(121);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function nameToPath(e){return e.replace(/]/g,"").split("[")},i=function fixObj(e,t){return isNaN(t)&&(Array.isArray(e)||"object"!==(void 0===e?"undefined":o(e))||null===e)?{}:isNaN(t)||Array.isArray(e)?e:[]};t.get=function get(e,t,n){var o=r(t),i=void 0;try{i=o.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0===i?n:i},t.set=function set(e,t,n){for(var o=r(t),a=void 0,s=e=i(e,o[0]);(a=o.shift())&&o.length;)s[a]=i(s[a],o[0]),s=s[a];return s[a]=n,e}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","icon"]);return(0,r.createElement)("button",o({className:(0,a.default)(t,n)},s),l.default.create(i))};u.propTypes={icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]).isRequired,className:i.default.string,baseClassName:i.default.string},u.defaultProps={className:null,baseClassName:s.CLS_PREFIX+"icon-button"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(128);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","innerRef","level","style"]));return(0,i.createPortal)((0,i.createElement)("div",o({className:(0,s.default)(t,n),ref:r},a),this.renderChildren()),document.body)}}]),Layer}();u.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string,innerRef:a.default.func,style:a.default.object,level:a.default.oneOfType([a.default.number,a.default.string])},u.defaultProps={children:null,className:null,baseClassName:l.CLS_PREFIX+"layer",innerRef:null,style:null,level:null},u.childContextTypes={parentLayer:a.default.shape({level:a.default.number})},u.contextTypes={parentLayer:a.default.shape({level:a.default.number})},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(132);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(135);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(136);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(137);Object.defineProperty(t,"MediaSection",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","innerRef"]);return(0,r.createElement)("div",o({ref:i,className:(0,a.default)(t,n)},s))};l.propTypes={innerRef:i.default.func,className:i.default.string,baseClassName:i.default.string},l.defaultProps={innerRef:null,baseClassName:s.CLS_PREFIX+"overlay__backdrop",className:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","isOpen","placement","size","onClose","canCloseOnBackdropClick","canCloseOnEscapePress"]));return(0,i.createElement)(d.default,{innerRef:function innerRef(t){return e.containerElement=t},level:u.Z_INDEX_OVERLAY},(0,i.createElement)(c.TransitionGroup,o({style:{display:a?"":"none"},className:(0,l.default)(n,n+"--"+s,n+"--"+p,r),role:"dialog","aria-modal":"true"},f),a?this.renderBackdrop():null,a?this.renderContent():null))}}]),Overlay}();f.propTypes={isOpen:s.default.bool,placement:s.default.oneOf(["center","left","right"]),size:s.default.oneOf(["sm","md","lg"]),onClose:s.default.func,canCloseOnBackdropClick:s.default.bool,canCloseOnEscapePress:s.default.bool,children:s.default.node,className:s.default.string,baseClassName:s.default.string},f.defaultProps={isOpen:!1,placement:"center",size:"md",onClose:null,canCloseOnBackdropClick:!0,canCloseOnEscapePress:!0,children:null,className:null,baseClassName:u.CLS_PREFIX+"overlay"},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(143);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(144);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","target","arrow","placement","behavior","offset","onUpdate","zIndex","show"]),m=this.state,h=m.popperStyle,b=m.arrowStyle,A=m.actualPlacement,g=u&&(0,i.cloneElement)(u,{ref:function ref(t){return e.arrowRef=t},style:b});return(0,i.createElement)(i.Fragment,null,l,d?(0,i.createElement)(c.default,{level:p},(0,i.createElement)("div",o({ref:function ref(t){return e.contentRef=t},className:(0,s.default)(n,r,n+"--placement-"+A),style:o({position:"absolute"},h)},f),a,g)):null)}}]),Popper}();p.propTypes={show:a.default.bool,children:a.default.node,target:a.default.any.isRequired,arrow:a.default.element,placement:a.default.oneOf(["auto","auto-start","auto-end","auto-top","auto-right","auto-bottom","auto-left","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"]),behavior:a.default.oneOfType([a.default.oneOf(["flip","clockwise","counterclockwise"]),a.default.arrayOf(a.default.string)]),offset:a.default.oneOfType([a.default.string,a.default.number]),onUpdate:a.default.func,className:a.default.string,baseClassName:a.default.string,zIndex:a.default.oneOfType([a.default.number,a.default.string])},p.defaultProps={show:!0,children:null,arrow:null,placement:"bottom-start",behavior:"flip",offset:"0, 0",onUpdate:null,className:null,baseClassName:l.CLS_PREFIX+"popper",zIndex:null},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onChange","checked","defaultChecked","disabled","inputProps","label"]);return p.id||(p.id="radio-"+u++),(0,i.createElement)("div",o({className:(0,s.default)(t,n)},f),(0,i.createElement)("input",o({className:t+"__input",type:"radio",onChange:this.handleChange,checked:a,defaultChecked:l,disabled:c},p)),d?(0,i.createElement)("label",{htmlFor:p.id},d):null,r)}}]),Radio}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,disabled:a.default.bool,label:a.default.node,children:a.default.node,inputProps:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,disabled:!1,label:void 0,children:void 0,inputProps:{},className:void 0,baseClassName:l.CLS_PREFIX+"radio"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(261);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(147);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(151);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(152);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(157));t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(158));t.default=o.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(160);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(70);Object.defineProperty(t,"Tab",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(159);Object.defineProperty(t,"SearchBar",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o,r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","message","intent","onClose"]);return(0,i.createElement)("div",r({tabIndex:"0",className:(0,s.default)(t,t+"--"+a,n)},p),(0,i.createElement)("span",{className:t+"__icon"},(0,i.createElement)(u.default,{name:c[a]})),(0,i.createElement)("span",{className:t+"__content"},o),(0,i.createElement)("span",{className:t+"__action"},(0,i.createElement)("button",{className:t+"__close",type:"button",onClick:l},(0,i.createElement)(u.default,{name:"i-cross-mark",className:t+"__close-x",thin:!0}))))};p.propTypes={intent:a.default.oneOf(["info","success","warning","danger"]).isRequired,message:a.default.any,onClose:a.default.func,className:a.default.string,baseClassName:a.default.string},p.defaultProps={message:null,onClose:null,className:null,baseClassName:l.CLS_PREFIX+"toast"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(269);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(161);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var o="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},r=n(172);Object.defineProperty(t,"version",{enumerable:!0,get:function get(){return r.version}});var i=n(3);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return i[e]}})});var a=n(168);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return a[e]}})});(0,function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(897)).default)();var s="";"object"===("undefined"==typeof window?"undefined":o(window))&&"function"==typeof window.require&&"function"==typeof window.require.toUrl&&(s=(s=window.require.toUrl("plesk-ui-library")).substr(0,s.lastIndexOf("/")+1)),n.p=s},function(e,t,n){"use strict";function placeHoldersCount(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function tripletToBase64(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function encodeChunk(e,t,n){for(var o,r=[],i=t;i0?l-4:l;var u=0;for(t=0;t>16&255,s[u++]=o>>8&255,s[u++]=255&o;return 2===a?(o=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,s[u++]=255&o):1===a&&(o=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s},t.fromByteArray=function fromByteArray(e){for(var t,n=e.length,r=n%3,i="",a=[],s=0,l=n-r;sl?l:s+16383));return 1===r?(t=e[n-1],i+=o[t>>2],i+=o[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=o[t>>10],i+=o[t>>4&63],i+=o[t<<2&63],i+="="),a.push(i),a.join("")};for(var o=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s1){var c=t.createIdentifier(r);a.push(function(t,i,a){e.insertRight(o.start,i+"var "+c+" = "),e.overwrite(o.start,n=o.start+1,r),e.insertLeft(n,a),e.move(o.start,n,t)}),o.properties.forEach(function(o){var r=o.computed||"Identifier"!==o.key.type?c+"["+e.slice(o.key.start,o.key.end)+"]":c+"."+o.key.name;handleProperty(e,t,n,o.value,r,i,a),n=o.end})}else{var p=o.properties[0],d=p.computed||"Identifier"!==p.key.type?"["+e.slice(p.key.start,p.key.end)+"]":"."+p.key.name;handleProperty(e,t,n,p.value,""+r+d,i,a),n=p.end}e.remove(n,o.end);break;case"ArrayPattern":if(e.remove(n,n=o.start),o.elements.filter(Boolean).length>1){var f=t.createIdentifier(r);a.push(function(t,i,a){e.insertRight(o.start,i+"var "+f+" = "),e.overwrite(o.start,n=o.start+1,r),e.insertLeft(n,a),e.move(o.start,n,t)}),o.elements.forEach(function(o,r){o&&("RestElement"===o.type?handleProperty(e,t,n,o.argument,f+".slice("+r+")",i,a):handleProperty(e,t,n,o,f+"["+r+"]",i,a),n=o.end)})}else{var m=findIndex(o.elements,Boolean),h=o.elements[m];"RestElement"===h.type?handleProperty(e,t,n,h.argument,r+".slice("+m+")",i,a):handleProperty(e,t,n,h,r+"["+m+"]",i,a),n=h.end}e.remove(n,o.end);break;default:throw new Error("Unexpected node type in destructuring ("+o.type+")")}}function isReference(e,t){return"MemberExpression"===e.type?!e.computed&&isReference(e.object,e):"Identifier"===e.type?!t||!/(Function|Class)Expression/.test(t.type)&&("VariableDeclarator"===t.type?e===t.init:"MemberExpression"===t.type||"MethodDefinition"===t.type?t.computed||e===t.object:"ArrayPattern"!==t.type&&("Property"===t.type?"ObjectPattern"!==t.parent.type&&(t.computed||e===t.value):"MethodDefinition"!==t.type&&("ExportSpecifier"!==t.type||e===t.local))):void 0}function normalise(e,t){return t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,v[e.type]||(v[e.type]=Object.keys(e).filter(function(t){return"object"==typeof e[t]}));var o=me[e.type];if(o&&"BlockStatement"!==e[o].type){var r=e[o];e[o]={start:r.start,end:r.end,type:"BlockStatement",body:[r],synthetic:!0}}new y(e,t);var i=("BlockStatement"===e.type?be:fe[e.type])||y;e.__proto__=i.prototype}}function Scope(e){e=e||{},this.parent=e.parent,this.isBlockScope=!!e.block;for(var t=this;t.isBlockScope;)t=t.parent;this.functionScope=t,this.identifiers=[],this.declarations=Object.create(null),this.references=Object.create(null),this.blockScopedDeclarations=this.isBlockScope?null:Object.create(null),this.aliases=this.isBlockScope?null:Object.create(null)}function Program(e,t,n,o){this.type="Root",this.jsx=o.jsx||"React.createElement",this.options=o,this.source=e,this.magicString=new C(e),this.ast=t,this.depth=0,wrap(this.body=t,this),this.body.__proto__=be.prototype,this.indentExclusionElements=[],this.body.initialise(n),this.indentExclusions=Object.create(null);for(var r=0,i=this.indentExclusionElements;re)return!1;if((n+=t[o+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,l)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,l)||isInAstralSet(e,u)))))}function binop(e,t){return new c(e,{beforeExpr:!0,binop:t})}function kw(e,t){return void 0===t&&(t={}),t.keyword=e,f[e]=new c(e,t)}function isNewLine(e){return 10===e||13===e||8232===e||8233==e}function isArray(e){return"[object Array]"===Object.prototype.toString.call(e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getLineInfo(e,t){for(var n=1,o=0;;){b.lastIndex=o;var r=b.exec(e);if(!(r&&r.index>10),56320+(1023&e)))}var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",7:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:n,6:n+" const class extends export import super"},r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",a=new RegExp("["+r+"]"),s=new RegExp("["+r+i+"]");r=i=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],c=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},p={beforeExpr:!0},d={startsExpr:!0},f={},m={num:new c("num",d),regexp:new c("regexp",d),string:new c("string",d),name:new c("name",d),eof:new c("eof"),bracketL:new c("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new c("]"),braceL:new c("{",{beforeExpr:!0,startsExpr:!0}),braceR:new c("}"),parenL:new c("(",{beforeExpr:!0,startsExpr:!0}),parenR:new c(")"),comma:new c(",",p),semi:new c(";",p),colon:new c(":",p),dot:new c("."),question:new c("?",p),arrow:new c("=>",p),template:new c("template"),ellipsis:new c("...",p),backQuote:new c("`",d),dollarBraceL:new c("${",{beforeExpr:!0,startsExpr:!0}),eq:new c("=",{beforeExpr:!0,isAssign:!0}),assign:new c("_=",{beforeExpr:!0,isAssign:!0}),incDec:new c("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new c("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=",6),relational:binop("",7),bitShift:binop("<>",8),plusMin:new c("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new c("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",d),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",d),_super:kw("super",d),_class:kw("class"),_extends:kw("extends",p),_export:kw("export"),_import:kw("import"),_null:kw("null",d),_true:kw("true",d),_false:kw("false",d),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},h=/\r\n?|\n|\u2028|\u2029/,b=new RegExp(h.source,"g"),A=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,g=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,C=function Position(e,t){this.line=e,this.column=t};C.prototype.offset=function offset(e){return new C(this.line,this.column+e)};var v=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)},y={ecmaVersion:6,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},_={},w=function Parser(e,n,r){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(o[e.ecmaVersion>=6?6:5]);var i=e.allowReserved?"":t[e.ecmaVersion]+("module"==e.sourceType?" await":"");this.reservedWords=keywordRegexp(i);var a=(i?i+" ":"")+t.strict;this.reservedWordsStrict=keywordRegexp(a),this.reservedWordsStrictBind=keywordRegexp(a+" "+t.strictBind),this.input=String(n),this.containsEsc=!1,this.loadPlugins(e.plugins),r?(this.pos=r,this.lineStart=Math.max(0,this.input.lastIndexOf("\n",r)),this.curLine=this.input.slice(0,this.lineStart).split(h).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=m.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.strict=this.inModule="module"===e.sourceType,this.potentialArrowAt=-1,this.inFunction=this.inGenerator=!1,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2)};w.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},w.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},w.prototype.extend=function extend(e,t){this[e]=t(this[e])},w.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=_[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},w.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var x=w.prototype;x.isUseStrict=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"use strict"===e.expression.raw.slice(1,-1)},x.eat=function(e){return this.type===e&&(this.next(),!0)},x.isContextual=function(e){return this.type===m.name&&this.value===e},x.eatContextual=function(e){return this.value===e&&this.eat(m.name)},x.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},x.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||h.test(this.input.slice(this.lastTokEnd,this.start))},x.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},x.semicolon=function(){this.eat(m.semi)||this.insertSemicolon()||this.unexpected()},x.afterTrailingComma=function(e){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),this.next(),!0},x.expect=function(e){this.eat(e)||this.unexpected()},x.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var B=function DestructuringErrors(){this.shorthandAssign=0,this.trailingComma=0};x.checkPatternErrors=function(e,t){var n=e&&e.trailingComma;if(!t)return!!n;n&&this.raise(n,"Comma is not permitted after the rest element")},x.checkExpressionErrors=function(e,t){var n=e&&e.shorthandAssign;if(!t)return!!n;n&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")};var k=w.prototype;k.parseTopLevel=function(e){var t=!0;for(e.body||(e.body=[]);this.type!==m.eof;){var n=this.parseStatement(!0,!0);e.body.push(n),t&&(this.isUseStrict(n)&&this.setStrict(!0),t=!1)}return this.next(),this.options.ecmaVersion>=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var E={kind:"loop"},S={kind:"switch"};k.isLet=function(){if(this.type!==m.name||this.options.ecmaVersion<6||"let"!=this.value)return!1;g.lastIndex=this.pos;var e=g.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(isIdentifierStart(n,!0)){for(var o=t+1;isIdentifierChar(this.input.charCodeAt(o),!0);++o);var r=this.input.slice(t,o);if(!this.isKeyword(r))return!0}return!1},k.parseStatement=function(e,t){var n,o=this.type,r=this.startNode();switch(this.isLet()&&(o=m._var,n="let"),o){case m._break:case m._continue:return this.parseBreakContinueStatement(r,o.keyword);case m._debugger:return this.parseDebuggerStatement(r);case m._do:return this.parseDoStatement(r);case m._for:return this.parseForStatement(r);case m._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r);case m._class:return e||this.unexpected(),this.parseClass(r,!0);case m._if:return this.parseIfStatement(r);case m._return:return this.parseReturnStatement(r);case m._switch:return this.parseSwitchStatement(r);case m._throw:return this.parseThrowStatement(r);case m._try:return this.parseTryStatement(r);case m._const:case m._var:return n=n||this.value,e||"var"==n||this.unexpected(),this.parseVarStatement(r,n);case m._while:return this.parseWhileStatement(r);case m._with:return this.parseWithStatement(r);case m.braceL:return this.parseBlock();case m.semi:return this.parseEmptyStatement(r);case m._export:case m._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),o===m._import?this.parseImport(r):this.parseExport(r);default:var i=this.value,a=this.parseExpression();return o===m.name&&"Identifier"===a.type&&this.eat(m.colon)?this.parseLabeledStatement(r,i,a):this.parseExpressionStatement(r,a)}},k.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(m.semi)||this.insertSemicolon()?e.label=null:this.type!==m.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var o=0;o=6?this.eat(m.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},k.parseForStatement=function(e){if(this.next(),this.labels.push(E),this.expect(m.parenL),this.type===m.semi)return this.parseFor(e,null);var t=this.isLet();if(this.type===m._var||this.type===m._const||t){var n=this.startNode(),o=t?"let":this.value;return this.next(),this.parseVar(n,!0,o),this.finishNode(n,"VariableDeclaration"),!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==o&&n.declarations[0].init?this.parseFor(e,n):this.parseForIn(e,n)}var r=new B,i=this.parseExpression(!0,r);return this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.checkPatternErrors(r,!0),this.toAssignable(i),this.checkLVal(i),this.parseForIn(e,i)):(this.checkExpressionErrors(r,!0),this.parseFor(e,i))},k.parseFunctionStatement=function(e){return this.next(),this.parseFunction(e,!0)},k.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!1),e.alternate=this.eat(m._else)?this.parseStatement(!1):null,this.finishNode(e,"IfStatement")},k.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(m.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},k.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(m.braceL),this.labels.push(S);for(var t,n=!1;this.type!=m.braceR;)if(this.type===m._case||this.type===m._default){var o=this.type===m._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),o?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(m.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},k.parseThrowStatement=function(e){return this.next(),h.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var P=[];k.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===m._catch){var t=this.startNode();this.next(),this.expect(m.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0),this.expect(m.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(m._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},k.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},k.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(E),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},k.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},k.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},k.parseLabeledStatement=function(e,t,n){for(var o=0;o=0;i--){var a=this.labels[i];if(a.statementStart!=e.start)break;a.statementStart=this.start,a.kind=r}return this.labels.push({name:t,kind:r,statementStart:this.start}),e.body=this.parseStatement(!0),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},k.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},k.parseBlock=function(e){var t,n=this.startNode(),o=!0;for(n.body=[],this.expect(m.braceL);!this.eat(m.braceR);){var r=this.parseStatement(!0);n.body.push(r),o&&e&&this.isUseStrict(r)&&(t=this.strict,this.setStrict(this.strict=!0)),o=!1}return!1===t&&this.setStrict(!1),this.finishNode(n,"BlockStatement")},k.parseFor=function(e,t){return e.init=t,this.expect(m.semi),e.test=this.type===m.semi?null:this.parseExpression(),this.expect(m.semi),e.update=this.type===m.parenR?null:this.parseExpression(),this.expect(m.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},k.parseForIn=function(e,t){var n=this.type===m._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=t,e.right=this.parseExpression(),this.expect(m.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},k.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var o=this.startNode();if(this.parseVarId(o),this.eat(m.eq)?o.init=this.parseMaybeAssign(t):"const"!==n||this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==o.id.type||t&&(this.type===m._in||this.isContextual("of"))?o.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(m.comma))break}return e},k.parseVarId=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0)},k.parseFunction=function(e,t,n){this.initFunction(e),this.options.ecmaVersion>=6&&(e.generator=this.eat(m.star));var o=this.inGenerator;return this.inGenerator=e.generator,(t||this.type===m.name)&&(e.id=this.parseIdent()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=o,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},k.parseFunctionParams=function(e){this.expect(m.parenL),e.params=this.parseBindingList(m.parenR,!1,!1,!0)},k.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),o=!1;for(n.body=[],this.expect(m.braceL);!this.eat(m.braceR);)if(!this.eat(m.semi)){var r=this.startNode(),i=this.eat(m.star),a=this.type===m.name&&"static"===this.value;this.parsePropertyName(r),r.static=a&&this.type!==m.parenL,r.static&&(i&&this.unexpected(),i=this.eat(m.star),this.parsePropertyName(r)),r.kind="method";var s=!1;if(!r.computed){var l=r.key;i||"Identifier"!==l.type||this.type===m.parenL||"get"!==l.name&&"set"!==l.name||(s=!0,r.kind=l.name,l=this.parsePropertyName(r)),!r.static&&("Identifier"===l.type&&"constructor"===l.name||"Literal"===l.type&&"constructor"===l.value)&&(o&&this.raise(l.start,"Duplicate constructor in the same class"),s&&this.raise(l.start,"Constructor can't have get/set modifier"),i&&this.raise(l.start,"Constructor can't be a generator"),r.kind="constructor",o=!0)}if(this.parseClassMethod(n,r,i),s){var u="get"===r.kind?0:1;if(r.value.params.length!==u){var c=r.value.start;"get"===r.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raise(r.value.params[0].start,"Setter cannot use rest params")}}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},k.parseClassMethod=function(e,t,n){t.value=this.parseMethod(n),e.body.push(this.finishNode(t,"MethodDefinition"))},k.parseClassId=function(e,t){e.id=this.type===m.name?this.parseIdent():t?this.unexpected():null},k.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null},k.parseExport=function(e){if(this.next(),this.eat(m.star))return this.expectContextual("from"),e.source=this.type===m.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(m._default)){var t=this.type==m.parenL,n=this.parseMaybeAssign(),o=!0;return t||"FunctionExpression"!=n.type&&"ClassExpression"!=n.type||(o=!1,n.id&&(n.type="FunctionExpression"==n.type?"FunctionDeclaration":"ClassDeclaration")),e.declaration=n,o&&this.semicolon(),this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.eatContextual("from"))e.source=this.type===m.string?this.parseExprAtom():this.unexpected();else{for(var r=0;r=6&&e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var n=0;n=6){this.next();for(var r,i,a=this.start,s=this.startLoc,l=[],u=!0,c=new B;this.type!==m.parenR;){if(u?u=!1:this.expect(m.comma),this.type===m.ellipsis){r=this.start,l.push(this.parseParenItem(this.parseRest()));break}this.type!==m.parenL||i||(i=this.start),l.push(this.parseMaybeAssign(!1,c,this.parseParenItem))}var p=this.start,d=this.startLoc;if(this.expect(m.parenR),e&&!this.canInsertSemicolon()&&this.eat(m.arrow))return this.checkPatternErrors(c,!0),i&&this.unexpected(i),this.parseParenArrowList(n,o,l);l.length||this.unexpected(this.lastTokStart),r&&this.unexpected(r),this.checkExpressionErrors(c,!0),l.length>1?((t=this.startNodeAt(a,s)).expressions=l,this.finishNodeAt(t,"SequenceExpression",p,d)):t=l[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var f=this.startNodeAt(n,o);return f.expression=t,this.finishNode(f,"ParenthesizedExpression")}return t},O.parseParenItem=function(e){return e},O.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var R=[];O.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(m.dot))return e.meta=t,e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty");var n=this.start,o=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,o,!0),this.eat(m.parenL)?e.arguments=this.parseExprList(m.parenR,!1):e.arguments=R,this.finishNode(e,"NewExpression")},O.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),e.tail=this.type===m.backQuote,this.finishNode(e,"TemplateElement")},O.parseTemplate=function(){var e=this.startNode();this.next(),e.expressions=[];var t=this.parseTemplateElement();for(e.quasis=[t];!t.tail;)this.expect(m.dollarBraceL),e.expressions.push(this.parseExpression()),this.expect(m.braceR),e.quasis.push(t=this.parseTemplateElement());return this.next(),this.finishNode(e,"TemplateLiteral")},O.parseObj=function(e,t){var n=this.startNode(),o=!0,r={};for(n.properties=[],this.next();!this.eat(m.braceR);){if(o)o=!1;else if(this.expect(m.comma),this.afterTrailingComma(m.braceR))break;var i,a,s,l=this.startNode();this.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(i=this.eat(m.star))),this.parsePropertyName(l),this.parsePropertyValue(l,e,i,a,s,t),this.checkPropClash(l,r),n.properties.push(this.finishNode(l,"Property"))}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},O.parsePropertyValue=function(e,t,n,o,r,i){if(this.eat(m.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===m.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n);else if(this.options.ecmaVersion>=5&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.type!=m.comma&&this.type!=m.braceR){(n||t)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var a="get"===e.kind?0:1;if(e.value.params.length!==a){var s=e.value.start;"get"===e.kind?this.raiseRecoverable(s,"getter should have no params"):this.raiseRecoverable(s,"setter should have exactly one param")}"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((this.keywords.test(e.key.name)||(this.strict?this.reservedWordsStrictBind:this.reservedWords).test(e.key.name)||this.inGenerator&&"yield"==e.key.name)&&this.raiseRecoverable(e.key.start,"'"+e.key.name+"' can not be used as shorthand property"),e.kind="init",t?e.value=this.parseMaybeDefault(o,r,e.key):this.type===m.eq&&i?(i.shorthandAssign||(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,r,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},O.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(m.bracketR),e.key;e.computed=!1}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(!0)},O.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1)},O.parseMethod=function(e){var t=this.startNode(),n=this.inGenerator;return this.inGenerator=e,this.initFunction(t),this.expect(m.parenL),t.params=this.parseBindingList(m.parenR,!1,!1),this.options.ecmaVersion>=6&&(t.generator=e),this.parseFunctionBody(t,!1),this.inGenerator=n,this.finishNode(t,"FunctionExpression")},O.parseArrowExpression=function(e,t){var n=this.inGenerator;return this.inGenerator=!1,this.initFunction(e),e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=n,this.finishNode(e,"ArrowFunctionExpression")},O.parseFunctionBody=function(e,t){var n=t&&this.type!==m.braceL;if(n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var o=this.inFunction,r=this.labels;this.inFunction=!0,this.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.inFunction=o,this.labels=r}var i=!n&&e.body.body.length&&this.isUseStrict(e.body.body[0])?e.body.body[0]:null;if(this.strict||i){var a=this.strict;this.strict=!0,e.id&&this.checkLVal(e.id,!0),this.checkParams(e,i),this.strict=a}else t&&this.checkParams(e,i)},O.checkParams=function(e,t){for(var n={},o=0;o=7&&"Identifier"!==e.params[o].type&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list"),this.checkLVal(e.params[o],!0,n)},O.parseExprList=function(e,t,n,o){for(var r=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(m.comma),t&&this.afterTrailingComma(e))break;var a;n&&this.type===m.comma?a=null:this.type===m.ellipsis?(a=this.parseSpread(o),this.type===m.comma&&o&&!o.trailingComma&&(o.trailingComma=this.lastTokStart)):a=this.parseMaybeAssign(!1,o),r.push(a)}return r},O.parseIdent=function(e){var t=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===m.name?(!e&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(this.value)&&(this.options.ecmaVersion>=6||-1==this.input.slice(this.start,this.end).indexOf("\\"))&&this.raiseRecoverable(this.start,"The keyword '"+this.value+"' is reserved"),!e&&this.inGenerator&&"yield"===this.value&&this.raiseRecoverable(this.start,"Can not use 'yield' as identifier inside a generator"),t.name=this.value):e&&this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"Identifier")},O.parseYield=function(){var e=this.startNode();return this.next(),this.type==m.semi||this.canInsertSemicolon()||this.type!=m.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(m.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")};var T=w.prototype;T.raise=function(e,t){var n=getLineInfo(this.input,e);t+=" ("+n.line+":"+n.column+")";var o=new SyntaxError(t);throw o.pos=e,o.loc=n,o.raisedAt=this.pos,o},T.raiseRecoverable=T.raise,T.curPosition=function(){if(this.options.locations)return new C(this.curLine,this.pos-this.lineStart)};var j=function Node(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new v(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},I=w.prototype;I.startNode=function(){return new j(this,this.start,this.startLoc)},I.startNodeAt=function(e,t){return new j(this,e,t)},I.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},I.finishNodeAt=function(e,t,n,o){return finishNodeAt.call(this,e,t,n,o)};var N=function TokContext(e,t,n,o){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=o},q={b_stat:new N("{",!1),b_expr:new N("{",!0),b_tmpl:new N("${",!0),p_stat:new N("(",!1),p_expr:new N("(",!0),q_tmpl:new N("`",!0,!0,function(e){return e.readTmplToken()}),f_expr:new N("function",!0)},M=w.prototype;M.initialContext=function(){return[q.b_stat]},M.braceIsBlock=function(e){if(e===m.colon){var t=this.curContext();if(t===q.b_stat||t===q.b_expr)return!t.isExpr}return e===m._return?h.test(this.input.slice(this.lastTokEnd,this.start)):e===m._else||e===m.semi||e===m.eof||e===m.parenR||(e==m.braceL?this.curContext()===q.b_stat:!this.exprAllowed)},M.updateContext=function(e){var t,n=this.type;n.keyword&&e==m.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},m.parenR.updateContext=m.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===q.b_stat&&this.curContext()===q.f_expr?(this.context.pop(),this.exprAllowed=!1):this.exprAllowed=e===q.b_tmpl||!e.isExpr}else this.exprAllowed=!0},m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?q.b_stat:q.b_expr),this.exprAllowed=!0},m.dollarBraceL.updateContext=function(){this.context.push(q.b_tmpl),this.exprAllowed=!0},m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?q.p_stat:q.p_expr),this.exprAllowed=!0},m.incDec.updateContext=function(){},m._function.updateContext=function(e){e.beforeExpr&&e!==m.semi&&e!==m._else&&(e!==m.colon&&e!==m.braceL||this.curContext()!==q.b_stat)&&this.context.push(q.f_expr),this.exprAllowed=!1},m.backQuote.updateContext=function(){this.curContext()===q.q_tmpl?this.context.pop():this.context.push(q.q_tmpl),this.exprAllowed=!1};var z=function Token(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new v(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},L=w.prototype,F="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);L.next=function(){this.options.onToken&&this.options.onToken(new z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},L.getToken=function(){return this.next(),new z(this)},"undefined"!=typeof Symbol&&(L[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===m.eof,value:t}}}}),L.setStrict=function(e){if(this.strict=e,this.type===m.num||this.type===m.string){if(this.pos=this.start,this.options.locations)for(;this.pos=this.input.length?this.finishToken(m.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},L.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},L.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;return(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},L.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){b.lastIndex=t;for(var o;(o=b.exec(this.input))&&o.index8&&e<14||e>=5760&&A.test(String.fromCharCode(e))))break e;++this.pos}}},L.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},L.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(m.ellipsis)):(++this.pos,this.finishToken(m.dot))},L.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(m.assign,2):this.finishOp(m.slash,1)},L.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,o=42===e?m.star:m.modulo;return this.options.ecmaVersion>=7&&42===t&&(++n,o=m.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(m.assign,n+1):this.finishOp(o,n)},L.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?m.logicalOR:m.logicalAND,2):61===t?this.finishOp(m.assign,2):this.finishOp(124===e?m.bitwiseOR:m.bitwiseAND,1)},L.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(m.assign,2):this.finishOp(m.bitwiseXOR,1)},L.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45==t&&62==this.input.charCodeAt(this.pos+2)&&h.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(m.incDec,2):61===t?this.finishOp(m.assign,2):this.finishOp(m.plusMin,1)},L.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(m.assign,n+1):this.finishOp(m.bitShift,n)):33==t&&60==e&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(m.relational,n))},L.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(m.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(m.arrow)):this.finishOp(61===e?m.eq:m.prefix,1)},L.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(m.parenL);case 41:return++this.pos,this.finishToken(m.parenR);case 59:return++this.pos,this.finishToken(m.semi);case 44:return++this.pos,this.finishToken(m.comma);case 91:return++this.pos,this.finishToken(m.bracketL);case 93:return++this.pos,this.finishToken(m.bracketR);case 123:return++this.pos,this.finishToken(m.braceL);case 125:return++this.pos,this.finishToken(m.braceR);case 58:return++this.pos,this.finishToken(m.colon);case 63:return++this.pos,this.finishToken(m.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},L.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var W=!!tryCreateRegexp("￿","u");L.readRegexp=function(){for(var e,t,n=this,o=this.pos;;){n.pos>=n.input.length&&n.raise(o,"Unterminated regular expression");var r=n.input.charAt(n.pos);if(h.test(r)&&n.raise(o,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++n.pos}var i=this.input.slice(o,this.pos);++this.pos;var a=this.readWord1(),s=i,l="";if(a){var u=/^[gim]*$/;this.options.ecmaVersion>=6&&(u=/^[gimuy]*$/),u.test(a)||this.raise(o,"Invalid regular expression flag"),a.indexOf("u")>=0&&(W?l="u":(s=(s=s.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,r){return(t=Number("0x"+t))>1114111&&n.raise(o+r+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var c=null;return F||(tryCreateRegexp(s,l,o,this),c=tryCreateRegexp(i,a)),this.finishToken(m.regexp,{pattern:i,flags:a,value:c})},L.readInt=function(e,t){for(var n=this.pos,o=0,r=0,i=null==t?1/0:t;r=97?s-97+10:s>=65?s-65+10:s>=48&&s<=57?s-48:1/0)>=e)break;++this.pos,o=o*e+a}return this.pos===n||null!=t&&this.pos-n!==t?null:o},L.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(m.num,t)},L.readNumber=function(e){var t=this.pos,n=!1,o=48===this.input.charCodeAt(this.pos);e||null!==this.readInt(10)||this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);46===r&&(++this.pos,this.readInt(10),n=!0,r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),n=!0),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i,a=this.input.slice(t,this.pos);return n?i=parseFloat(a):o&&1!==a.length?/[89]/.test(a)||this.strict?this.raise(t,"Invalid number"):i=parseInt(a,8):i=parseInt(a,10),this.finishToken(m.num,i)},L.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.raise(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},L.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var o=this.input.charCodeAt(this.pos);if(o===e)break;92===o?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(o)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(m.string,t)},L.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos===this.start&&this.type===m.template?36===n?(this.pos+=2,this.finishToken(m.dollarBraceL)):(++this.pos,this.finishToken(m.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(m.template,e));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},L.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(n,8);return o>255&&(n=n.slice(0,-1),o=parseInt(n,8)),"0"!==n&&(this.strict||e)&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=n.length-1,String.fromCharCode(o)}return String.fromCharCode(t)}},L.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.raise(t,"Bad character escape sequence"),n},L.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,o=this.options.ecmaVersion>=6;this.pos=6||!this.containsEsc)&&this.keywords.test(e)&&(t=f[e]),this.finishToken(t,e)};e.version="3.3.0",e.parse=function parse(e,t){return new w(t,e).parse()},e.parseExpressionAt=function parseExpressionAt(e,t,n){var o=new w(n,e,t);return o.nextToken(),o.parseExpression()},e.tokenizer=function tokenizer(e,t){return new w(t,e)},e.Parser=w,e.plugins=_,e.defaultOptions=y,e.Position=C,e.SourceLocation=v,e.getLineInfo=getLineInfo,e.Node=j,e.TokenType=c,e.tokTypes=m,e.TokContext=N,e.tokContexts=q,e.isIdentifierChar=isIdentifierChar,e.isIdentifierStart=isIdentifierStart,e.Token=z,e.isNewLine=isNewLine,e.lineBreak=h,e.lineBreakG=b,Object.defineProperty(e,"__esModule",{value:!0})})}),u=l&&"object"==typeof l&&"default"in l?l.default:l,c=__commonjs(function(e){e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}),p=c&&"object"==typeof c&&"default"in c?c.default:c,d=__commonjs(function(e){var t=p,n=/^[\da-fA-F]+$/,o=/^\d+$/;e.exports=function(e){function getQualifiedJSXName(e){return"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0}var r=e.tokTypes,i=e.tokContexts;i.j_oTag=new e.TokContext("...",!0,!0),r.jsxName=new e.TokenType("jsxName"),r.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),r.jsxTagStart=new e.TokenType("jsxTagStart"),r.jsxTagEnd=new e.TokenType("jsxTagEnd"),r.jsxTagStart.updateContext=function(){this.context.push(i.j_expr),this.context.push(i.j_oTag),this.exprAllowed=!1},r.jsxTagEnd.updateContext=function(e){var t=this.context.pop();t===i.j_oTag&&e===r.slash||t===i.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===i.j_expr):this.exprAllowed=!0};var a=e.Parser.prototype;return a.jsx_readToken=function(){for(var t="",n=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var o=this.input.charCodeAt(this.pos);switch(o){case 60:case 123:return this.pos===this.start?60===o&&this.exprAllowed?(++this.pos,this.finishToken(r.jsxTagStart)):this.getTokenFromCode(o):(t+=this.input.slice(n,this.pos),this.finishToken(r.jsxText,t));case 38:t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos;break;default:e.isNewLine(o)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!0),n=this.pos):++this.pos}}},a.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},a.jsx_readString=function(t){for(var n="",o=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===t)break;38===i?(n+=this.input.slice(o,this.pos),n+=this.jsx_readEntity(),o=this.pos):e.isNewLine(i)?(n+=this.input.slice(o,this.pos),n+=this.jsx_readNewLine(!1),o=this.pos):++this.pos}return n+=this.input.slice(o,this.pos++),this.finishToken(r.string,n)},a.jsx_readEntity=function(){var e,r="",i=0,a=this.input[this.pos];"&"!==a&&this.raise(this.pos,"Entity must start with an ampersand");for(var s=++this.pos;this.pos")}return n.openingElement=i,n.closingElement=a,n.children=o,this.type===r.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSXElement")},a.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(t,n){n&&("object"!=typeof n&&(n={}),t.options.plugins.jsx={allowNamespaces:!1!==n.allowNamespaces,allowNamespacedObjects:!!n.allowNamespacedObjects},t.extend("parseExprAtom",function(e){return function(t){return this.type===r.jsxText?this.parseLiteral(this.value):this.type===r.jsxTagStart?this.jsx_parseElement():e.call(this,t)}}),t.extend("readToken",function(t){return function(n){var o=this.curContext();if(o===i.j_expr)return this.jsx_readToken();if(o===i.j_oTag||o===i.j_cTag){if(e.isIdentifierStart(n))return this.jsx_readWord();if(62==n)return++this.pos,this.finishToken(r.jsxTagEnd);if((34===n||39===n)&&o==i.j_oTag)return this.jsx_readString(n)}return 60===n&&this.exprAllowed?(++this.pos,this.finishToken(r.jsxTagStart)):t.call(this,n)}}),t.extend("updateContext",function(e){return function(t){if(this.type==r.braceL){var n=this.curContext();n==i.j_oTag?this.context.push(i.b_expr):n==i.j_expr?this.context.push(i.b_tmpl):e.call(this,t),this.exprAllowed=!0}else{if(this.type!==r.slash||t!==r.jsxTagStart)return e.call(this,t);this.context.length-=2,this.context.push(i.j_cTag),this.exprAllowed=!1}}}))},e}}),f=d&&"object"==typeof d&&"default"in d?d.default:d,m=__commonjs(function(e){e.exports=function(e){function parseObj(e,n){var o=this.startNode(),r=!0,i={};for(o.properties=[],this.next();!this.eat(t.braceR);){if(r)r=!1;else if(this.expect(t.comma),this.afterTrailingComma(t.braceR))break;var a,s,l,u=this.startNode();if(this.options.ecmaVersion>=6){if(this.type===t.ellipsis){(u=this.parseSpread()).type=e?"RestProperty":"SpreadProperty",o.properties.push(u);continue}u.method=!1,u.shorthand=!1,(e||n)&&(s=this.start,l=this.startLoc),e||(a=this.eat(t.star))}this.parsePropertyName(u),this.parsePropertyValue(u,e,a,s,l,n),this.checkPropClash(u,i),o.properties.push(this.finishNode(u,"Property"))}return this.finishNode(o,e?"ObjectPattern":"ObjectExpression")}var t=e.tokTypes,n=e.Parser.prototype;return e.plugins.objectSpread=function objectSpreadPlugin(e){n.parseObj=parseObj},e}}),h=m&&"object"==typeof m&&"default"in m?m.default:m,b=__commonjs(function(e,t,n){!function(n,o){"object"==typeof t&&void 0!==e?o(t):(i=[t],r=o,void 0===(a="function"==typeof r?r.apply(t,i):r)||(e.exports=a))}(0,function(e){function encodeInteger(e){var t="";e<0?e=-e<<1|1:e<<=1;do{var o=31&e;(e>>=5)>0&&(o|=32),t+=n[o]}while(e>0);return t}var t={},n={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,o){t[e]=o,n[o]=e}),e.decode=function decode(e){for(var n=[],o=0,r=0,i=0;i>=1,n.push(l?-r:r),r=o=0}}return n},e.encode=function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=n[o+=r]}}}function getRelativePath(e,t){var n=e.split(/[\/\\]/),o=t.split(/[\/\\]/);for(n.pop();n[0]===o[0];)n.shift(),o.shift();if(n.length)for(var r=n.length;r--;)n[r]="..";return n.concat(o).join("/")}function isObject(e){return"[object Object]"===r.call(e)}function MagicString(e,t){void 0===t&&(t={});var n=new Chunk(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:{}},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:function guessIndent(e){var t=e.split("\n"),n=t.filter(function(e){return/^\t+/.test(e)}),o=t.filter(function(e){return/^ {2,}/.test(e)});if(0===n.length&&0===o.length)return null;if(n.length>=o.length)return"\t";var r=o.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(r+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}function getSemis(e){return new Array(e.split("\n").length).join(";")}var t=A;Chunk.prototype={append:function append(e){this.outro+=e},clone:function clone(){var e=new Chunk(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function contains(e){return this.start=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var o=this.byStart[e],r=this.byEnd[t],i=o.previous,a=r.next,s=this.byStart[n];if(!s&&r===this.lastChunk)return this;var l=s?s.previous:this.lastChunk;return i&&(i.next=a),a&&(a.previous=i),l&&(l.next=o),s&&(s.previous=r),o.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,r.next=s,l||(this.firstChunk=o),s||(this.lastChunk=r),this},overwrite:function overwrite(e,t,n,o){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use insertLeft or insertRight instead");if(this._split(e),this._split(t),o){var r=this.original.slice(e,t);this.storedNames[r]=!0}var i=this.byStart[e],a=this.byEnd[t];if(i){if(i.edit(n,o),i!==a){i.outro="";for(var s=i.next;s!==a;)s.edit("",!1),s.intro=s.outro="",s=s.next;s.edit("",!1),s.intro=""}}else{var l=new Chunk(e,t,"").edit(n,o);a.next=l,l.previous=a}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");return this.overwrite(e,t,"",!1)},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",o=this.firstChunk;o&&(o.start>e||o.end<=e);){if(o.start=t)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var r=o;o;){!o.intro||r===o&&o.start!==e||(n+=o.intro);var i=o.start=t;if(i&&o.edited&&o.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var a=r===o?e-o.start:0,s=i?o.content.length+t-o.end:o.content.length;if(n+=o.content.slice(a,s),!o.outro||i&&o.end!==t||(n+=o.outro),i)break;o=o.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var o=e.split(t);return this.byEnd[t]=e,this.byStart[t]=o,this.byEnd[o.end]=o,e===this.lastChunk&&(this.lastChunk=o),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var o=n.end,r=n.trimEnd(t);if(n.end!==o&&(this.lastChunk=n.next,this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next),r)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var o=n.end,r=n.trimStart(t);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next),r)return this;n=n.next}while(n);return this}};var i=Object.prototype.hasOwnProperty;Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){i.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(i.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function generateMap(e){var t=this,n={},o=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~o.indexOf(e)||o.push(e)})});var r=getSemis(this.intro)+this.sources.map(function(r,i){var a,s=i>0?getSemis(r.separator)||",":"";if(r.filename){var l=t.uniqueSourceIndexByFilename[r.filename];a=r.content.getMappings(e.hires,l,n,o)}else a=getSemis(r.content.toString());return s+a}).join("");return new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?getRelativePath(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:o,mappings:r})},getIndentString:function getIndentString(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(o,r){var i=void 0!==o.separator?o.separator:t.separator,a=n||r>0&&/\r?\n$/.test(i);o.content.indent(e,{exclude:o.indentExclusionRanges,indentStart:a}),n="\n"===o.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map(function(t,n){var o=void 0!==t.separator?t.separator:e.separator;return(n>0?o:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,o=0;do{if(!(n=this.sources[o]))break;n.content.trimStart(e),o+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),o=this.sources.length-1;do{if(!(t=this.sources[o])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),o-=1}while(""===t.content.toString());return this}},MagicString.Bundle=Bundle,e.exports=MagicString}),C=g&&"object"==typeof g&&"default"in g?g.default:g,v={Program:["body"],Literal:[]},y=function Node(e,t){e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=v[e.type],e.indentation=void 0;for(var n=0,o=v[e.type];nt)return{line:n+1,column:t-i,char:n};i=a}throw new Error("Could not determine location of character")}(o,t.start);this.name="CompileError",this.message=n+" ("+r.line+":"+r.column+")",this.stack=(new e).stack.replace(new RegExp(".+new "+this.name+".+\\n","m"),""),this.loc=r,this.snippet=getSnippet(o,r,t.end-t.start)}return e&&(CompileError.__proto__=e),CompileError.prototype=Object.create(e&&e.prototype),CompileError.prototype.constructor=CompileError,CompileError.prototype.toString=function toString(){return this.name+": "+this.message+"\n"+this.snippet},CompileError}(Error),B=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name);if(n&&"const"===n.kind)throw new x(this.left,this.left.name+" is read-only");var o=n&&n.node.ancestor(3);o&&"ForStatement"===o.type&&o.body.contains(this)&&(o.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){function use(t){e.insertRight(t.start,i),e.move(t.start,t.end,r),i=""}function write(e){i+=e}function destructure(n,r,i){if("Identifier"===n.type||"MemberExpression"===n.type)write(", "),use(n),write(" = "+r);else if("AssignmentPattern"===n.type)if("Identifier"===n.left.type){var a=n.left.name,s=r;i||(write(", "+a+" = "+r),s=a),write(", "+a+" = "+s+" === void 0 ? "),use(n.right),write(" : "+s)}else{var l=t.createIdentifier("temp"),u=r;o.push(l),i||(write(", "+l+" = "+r),u=l),write(", "+l+" = "+u+" === void 0 ? "),use(n.right),write(" : "+u),destructure(n.left,l,!0)}else if("ArrayPattern"===n.type){var c=n.elements;if(1===c.length)destructure(c[0],r+"[0]",!1);else{if(!i){var p=t.createIdentifier("array");o.push(p),write(", "+p+" = "+r),r=p}c.forEach(function(e,t){e&&("RestElement"===e.type?destructure(e.argument,r+".slice("+t+")",!1):destructure(e,r+"["+t+"]",!1))})}}else{if("ObjectPattern"!==n.type)throw new Error("Unexpected node type in destructuring assignment ("+n.type+")");var d=n.properties;if(1==d.length){var f=d[0],m=f.computed||"Identifier"!==f.key.type?r+"["+e.slice(f.key.start,f.key.end)+"]":r+"."+f.key.name;destructure(f.value,m,!1)}else{if(!i){var h=t.createIdentifier("obj");o.push(h),write(", "+h+" = "+r),r=h}d.forEach(function(t){var n=t.computed||"Identifier"!==t.key.type?r+"["+e.slice(t.key.start,t.key.end)+"]":r+"."+t.key.name;destructure(t.value,n,!1)})}}}var t=this.findScope(!0),n=t.createIdentifier("assign"),o=[n],r=this.start,i="";write("("+n+" = "),use(this.right),destructure(this.left,n,!0),"ExpressionStatement"===this.unparenthesizedParent().type?e.insertRight(r,i+")"):e.insertRight(r,i+", "+n+")"),e.remove(r,this.right.start);var a=this.findNearest(/(?:Statement|Declaration)$/);e.insertLeft(a.start,"var "+o.join(", ")+";\n"+a.getIndentation())},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t=this.findScope(!1),n=function(e){var n=t.findDeclaration(e);return n?n.name:e},o=this.left.end;"*"!==e.original[o];)o+=1;e.remove(o,o+2);var r,i=this.left.unparenthesize();if("Identifier"===i.type)r=n(i.name);else if("MemberExpression"===i.type){var a,s,l=!1,u=!1,c=this.findNearest(/(?:Statement|Declaration)$/),p=c.getIndentation();if("Identifier"===i.property.type?s=i.computed?n(i.property.name):i.property.name:(s=t.createIdentifier("property"),u=!0),"Identifier"===i.object.type?a=n(i.object.name):(a=t.createIdentifier("object"),l=!0),i.start===c.start)l&&u?(e.insertRight(c.start,"var "+a+" = "),e.overwrite(i.object.end,i.property.start,";\n"+p+"var "+s+" = "),e.overwrite(i.property.end,i.end,";\n"+p+a+"["+s+"]")):l?(e.insertRight(c.start,"var "+a+" = "),e.insertLeft(i.object.end,";\n"+p),e.insertLeft(i.object.end,a)):u&&(e.insertRight(i.property.start,"var "+s+" = "),e.insertLeft(i.property.end,";\n"+p),e.move(i.property.start,i.property.end,this.start),e.insertLeft(i.object.end,"["+s+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end));else{var d=[];l&&d.push(a),u&&d.push(s),d.length&&e.insertRight(c.start,"var "+d.join(", ")+";\n"+p),l&&u?(e.insertRight(i.start,"( "+a+" = "),e.overwrite(i.object.end,i.property.start,", "+s+" = "),e.overwrite(i.property.end,i.end,", "+a+"["+s+"]")):l?(e.insertRight(i.start,"( "+a+" = "),e.insertLeft(i.object.end,", "+a)):u&&(e.insertRight(i.property.start,"( "+s+" = "),e.insertLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+s+"]"),e.remove(i.property.end,i.end)),u&&e.insertLeft(this.end," )")}r=a+(i.computed||u?"["+s+"]":"."+s)}e.insertRight(this.right.start,"Math.pow( "+r+", "),e.insertLeft(this.right.end," )")},AssignmentExpression}(y),k=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.insertRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.insertLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(y),E=/(?:For(?:In|Of)?|While)Statement/,S=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(E),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new x(this,"Labels are not currently supported in a loop with locally-scoped variables");e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(y),P=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),o=this.arguments.length;o--;){var r=this.arguments[o];"SpreadElement"===r.type&&isArguments(r.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var o,r=!1,i=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===i.type&&(t.remove(i.start,i.argument.start),r=!0):r=spread(t,this.arguments,i.start,this.argumentsArrayAlias),r){var a=null;if("Super"===this.callee.type?a=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(a=this.callee.object),a||"MemberExpression"!==this.callee.type)o="void 0";else if("Identifier"===this.callee.object.type)o=this.callee.object.name;else{o=this.findScope(!0).createIdentifier("ref");var s=this.callee.object,l=s.findNearest(/Function/),u=l?l.body.body:s.findNearest(/^Program$/).body,c=u[u.length-1],p=c.getIndentation();t.insertRight(s.start,"("+o+" = "),t.insertLeft(s.end,")"),t.insertLeft(c.end,"\n"+p+"var "+o+";")}t.insertLeft(this.callee.end,".apply"),a?(a.noCall=!0,this.arguments.length>1&&("SpreadElement"!==i.type&&t.insertRight(i.start,"[ "),t.insertLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.insertRight(i.start,o+", "):("SpreadElement"===i.type?t.insertLeft(i.start,o+", "):t.insertLeft(i.start,o+", [ "),t.insertLeft(this.arguments[this.arguments.length-1].end," )"))}}e.prototype.transpile.call(this,t,n)},CallExpression}(y),D=Object.create(null);"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach(function(e){return D[e]=!0});var O=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,o,r){var i=this;if(n.classes){var a=this.parent.name,s=t.getIndentString(),l=this.getIndentation()+(o?s:""),u=l+s,c=findIndex(this.body,function(e){return"constructor"===e.kind}),p=this.body[c],d="",f="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var m=this.body[c-1],h=this.body[c+1];c>0&&(t.remove(m.end,p.start),t.move(p.start,h?h.start:this.end-1,this.body[0].start)),o||t.insertLeft(p.end,";")}var b=!1!==this.program.options.namedFunctionExpressions,A=b||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var g="if ( "+r+" ) "+a+".__proto__ = "+r+";\n"+l+a+".prototype = Object.create( "+r+" && "+r+".prototype );\n"+l+a+".prototype.constructor = "+a+";";if(p)d+="\n\n"+l+g;else{d+=(g="function "+a+" () {"+(r?"\n"+u+r+".apply(this, arguments);\n"+l+"}":"}")+(o?"":";")+(this.body.length?"\n\n"+l:"")+g)+"\n\n"+l}}else if(!p){var C="function "+(A?a+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(C+=";"),this.body.length&&(C+="\n\n"+l),d+=C}var v,y,_=this.findScope(!1),w=[],x=[];if(this.body.forEach(function(e,n){if("constructor"!==e.kind){if(e.static){var o=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+o)}var r,s="method"!==e.kind,u=e.key.name;(D[u]||e.value.body.scope.references[u])&&(u=_.createIdentifier(u));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~x.indexOf(e.key.name)||x.push(e.key.name),y||(y=_.createIdentifier("staticAccessors")),r=""+y):(~w.indexOf(e.key.name)||w.push(e.key.name),v||(v=_.createIdentifier("prototypeAccessors")),r=""+v)}else r=e.static?""+a:a+".prototype";e.computed||(r+=".");(c>0&&n===c+1||0===n&&c===i.body.length-1)&&(r="\n\n"+l+r);var d=e.key.end;if(e.computed)if(p)t.insertRight(e.key.start,"["),t.insertLeft(e.key.end,"]");else{for(;"]"!==t.original[d];)d+=1;d+=1}t.insertRight(e.start,r);var f=e.computed||s||!b?"":u+" ",m=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+f;t.remove(d,e.value.start),t.insertRight(e.value.start,m),t.insertLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start)}else{var h=A?" "+a:"";t.overwrite(e.key.start,e.key.end,"function"+h)}}),w.length||x.length){var B=[],k=[];w.length&&(B.push("var "+v+" = { "+w.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),k.push("Object.defineProperties( "+a+".prototype, "+v+" );")),x.length&&(B.push("var "+y+" = { "+x.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),k.push("Object.defineProperties( "+a+", "+y+" );")),p&&(d+="\n\n"+l),d+=B.join("\n"+l),p||(d+="\n\n"+l),f+="\n\n"+l+k.join("\n"+l)}p?t.insertLeft(p.end,d):t.insertRight(this.start,d),t.insertLeft(this.end,f)}e.prototype.transpile.call(this,t,n)},ClassBody}(y),R=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||function deindent(e,t){var n=e.start,o=e.end,r=t.getIndentString(),i=r.length,a=n-i;e.program.indentExclusions[a]||t.original.slice(a,n)!==r||t.remove(a,n);for(var s,l=new RegExp(r+"\\S","g"),u=t.original.slice(n,o);s=l.exec(u);){var c=n+s.index;e.program.indentExclusions[c]||t.remove(c,c+i)}}(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),o=this.getIndentation(),r=o+e.getIndentString(),i="ExportDefaultDeclaration"===this.parent.type?"\n\n"+o+"export default "+this.id.name+";":"";i&&e.remove(this.parent.start,this.start),e.overwrite(this.start,this.id.start,"var "),this.superClass?this.superClass.end===this.body.start?(e.remove(this.id.end,this.superClass.start),e.insertLeft(this.id.end," = (function ("+n+") {\n"+r)):(e.overwrite(this.id.end,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+r)):this.id.end===this.body.start?e.insertLeft(this.id.end," = "):e.overwrite(this.id.end,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n),this.superClass?(e.insertLeft(this.end,"\n\n"+r+"return "+this.name+";\n"+o+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.insertRight(this.end,"));"+i)):i&&e.insertRight(this.end,i)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(y),T=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"===this.parent.type?this.parent.left.name:this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),o=this.getIndentation(),r=o+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.insertLeft(this.start,"(function ("+n+") {\n"+r)):e.overwrite(this.start,this.body.start,"(function () {\n"+r),this.body.transpile(e,t,!0,n);var i="\n\n"+r+"return "+this.name+";\n"+o+"}(";this.superClass?(e.insertLeft(this.end,i),e.move(this.superClass.start,this.superClass.end,this.end),e.insertRight(this.end,"))")):e.insertLeft(this.end,"\n\n"+r+"return "+this.name+";\n"+o+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(y),j=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(E).shouldRewriteAsFunction){if(this.label)throw new x(this,"Labels are not currently supported in a loop with locally-scoped variables");e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(y),I=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new x(this,"export is not supported");e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(y),N=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new x(this,"export is not supported");e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(y),q=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),o=n.length;o--;){for(var r=n[o],i=this.body.scope.declarations[r],a=i.instances.length;a--;){var s=i.instances[a].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var o="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var r=this.getIndentation(),i=r+t.getIndentString(),a=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",l=this.findScope(!0),u=l.createIdentifier("loop"),c="var "+u+" = function ("+s+") "+(this.body.synthetic?"{\n"+r+t.getIndentString():""),p=(this.body.synthetic?"\n"+r+"}":"")+";\n\n"+r;if(t.insertRight(this.body.start,c),t.insertLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var d=l.createIdentifier("returned"),f="{\n"+i+"var "+d+" = "+u+"("+a+");\n";this.canBreak&&(f+="\n"+i+"if ( "+d+" === 'break' ) break;"),this.canReturn&&(f+="\n"+i+"if ( "+d+" ) return "+d+".v;"),f+="\n"+r+"}",t.insertRight(this.body.end,f)}else{var m=u+"("+a+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+i+m+"\n"+r+"}"):t.insertRight(this.body.end,m)}}else o&&(t.insertLeft(this.body.start,"{ "),t.insertRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(y),M={Identifier:function Identifier(e,t){e.push(t)},ObjectPattern:function ObjectPattern(e,t){for(var n=0,o=t.properties;nt.depth&&(this.alias=t.getArgumentsAlias()),o&&o.body.contains(this)&&o.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,!0)},Identifier}(y),Y=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.insertLeft(this.consequent.start,"{ "),t.insertRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.insertLeft(this.alternate.start,"{ "),t.insertRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(y),X=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new x(this,"import is not supported");e.prototype.initialise.call(this,t)},ImportDeclaration}(y),H=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(y),K=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(y),$=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var o=this.name,r=o.start,i=o.name,a=this.value?this.value.start:this.name.end;t.overwrite(r,a,function(e){return function(e){return/-/.test(e)}(e)?"'"+e+"'":e}(i)+": "+function(e){return e?"":"true"}(this.value)),e.prototype.transpile.call(this,t,n)},JSXAttribute}(y),Z=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t=!0,n=this.parent.children[this.parent.children.length-1];(n&&function containsNewLine(e){return"Literal"===e.type&&!/\S/.test(e.value)&&/\n/.test(e.value)}(n)||this.parent.openingElement.attributes.length)&&(t=!1),e.overwrite(this.start,this.end,t?" )":")")},JSXClosingElement}(y),J=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var o=this.children.filter(function(e){return"Literal"!==e.type||(/\S/.test(e.value)||!/\n/.test(e.value))});if(o.length){var r,i=this.openingElement.end;for(r=0;r0&&(l.start===i?t.insertRight(i,", "):t.overwrite(i,l.start,", ")),s&&"JSXSpreadAttribute"!==l.type){var u=this.attributes[a-1],c=this.attributes[a+1];u&&"JSXSpreadAttribute"!==u.type||t.insertRight(l.start,"{ "),c&&"JSXSpreadAttribute"!==c.type||t.insertLeft(l.end," }")}i=l.end}var p,d;if(s)if(1===r)d=o?"',":",";else{if(!this.program.options.objectAssign)throw new x(this,"Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.");d=o?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",p=")"}else d=o?"', {":", {",p=" }";t.insertRight(this.name.end,d),p&&t.insertLeft(this.attributes[r-1].end,p)}else t.insertLeft(this.name.end,o?"', null":", null"),i=this.name.end;e.prototype.transpile.call(this,t,n),this.selfClosing?t.overwrite(i,this.end,this.attributes.length?")":" )"):t.remove(i,this.end)},JSXOpeningElement}(y),te=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(y),ne=__commonjs(function(e,t,o){!function(r){var i="object"==typeof t&&t,s=("object"==typeof e&&e&&e.exports,"object"==typeof o&&o);var l="A range’s `stop` value must be greater than or equal to the `start` value.",u="Invalid code point value. Code points range from U+000000 to U+10FFFF.",c=/\\x00([^0123456789]|$)/g,p={},d=p.hasOwnProperty,f=function(e,t){for(var n=-1,o=e.length;++n=n&&tn)return e;if(t<=o&&n>=r)e.splice(i,2);else{if(t>=o&&n=o&&t<=r)e[i+1]=t;else if(n>=o&&n<=r)return e[i]=n+1,e;i+=2}}return e},_=function(e,t){var n,o,r=0,i=null,a=e.length;if(t<0||t>1114111)throw RangeError(u);for(;r=n&&tt)return e.splice(null!=i?i+2:0,0,t,t+1),e;if(t==o)return t+1==e[r+2]?(e.splice(r,4,n,e[r+3]),e):(e[r+1]=t+1,e);i=r,r+=2}return e.push(t,t+1),e},w=function(e,t){for(var n,o,r=0,i=e.slice(),a=t.length;r1114111||n<0||n>1114111)throw RangeError(u);for(var o,r,i=0,a=!1,s=e.length;in)return e;o>=t&&o<=n&&(r>t&&r-1<=n?(e.splice(i,2),i-=2):(e.splice(i-1,2),i-=2))}else{if(o==n+1)return e[i]=t,e;if(o>n)return e.splice(i,0,t,n+1),e;if(t>=o&&t=o&&t=r&&(e[i]=t,e[i+1]=n+1,a=!0)}i+=2}return a||e.push(t,n+1),e},B=function(e,t){var n=0,o=e.length,r=e[n],i=e[o-1];if(o>=2&&(ti))return!1;for(;n=r&&t=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+R(e):e>=32&&e<=126?R(e):e<=255?"\\x"+A(g(e),2):"\\u"+A(g(e),4)},j=function(e){return e<=65535?T(e):"\\u{"+e.toString(16).toUpperCase()+"}"},I=function(e){var t,n=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&n>1?(t=e.charCodeAt(1),1024*(o-55296)+t-56320+65536):o},N=function(e){var t,n,o="",r=0,i=e.length;if(E(e))return T(e[0]);for(;r=55296&&n<=56319&&(i.push(t,55296),o.push(55296,n+1)),n>=56320&&n<=57343&&(i.push(t,55296),o.push(55296,56320),r.push(56320,n+1)),n>57343&&(i.push(t,55296),o.push(55296,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&o.push(t,n+1),n>=56320&&n<=57343&&(o.push(t,56320),r.push(56320,n+1)),n>57343&&(o.push(t,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&r.push(t,n+1),n>57343&&(r.push(t,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?i.push(t,n+1):(i.push(t,65536),a.push(65536,n+1)):a.push(t,n+1),s+=2;return{loneHighSurrogates:o,loneLowSurrogates:r,bmp:i,astral:a}}(e),i=r.loneHighSurrogates,a=r.loneLowSurrogates,s=r.bmp,l=r.astral,u=!k(i),c=!k(a),p=M(l);return t&&(s=w(s,i),u=!1,s=w(s,a),c=!1),k(s)||o.push(N(s)),p.length&&o.push(function(e){var t=[];return f(e,function(e){var n=e[0],o=e[1];t.push(N(n)+N(o))}),t.join("|")}(p)),u&&o.push(N(i)+"(?![\\uDC00-\\uDFFF])"),c&&o.push("(?:[^\\uD800-\\uDBFF]|^)"+N(a)),o.join("|")},L=function(e){return arguments.length>1&&(e=C.call(arguments)),this instanceof L?(this.data=[],e?this.add(e):this):(new L).add(e)};L.version="1.3.3";var F=L.prototype;!function(e,t){var n;for(n in t)d.call(t,n)&&(e[n]=t[n])}(F,{add:function(e){var t=this;return null==e?t:e instanceof L?(t.data=w(t.data,e.data),t):(arguments.length>1&&(e=C.call(arguments)),h(e)?(f(e,function(e){t.add(e)}),t):(t.data=_(t.data,b(e)?e:I(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof L?(t.data=function(e,t){for(var n,o,r=0,i=e.slice(),a=t.length;r1&&(e=C.call(arguments)),h(e)?(f(e,function(e){t.remove(e)}),t):(t.data=v(t.data,b(e)?e:I(e)),t))},addRange:function(e,t){return this.data=x(this.data,b(e)?e:I(e),b(t)?t:I(t)),this},removeRange:function(e,t){var n=b(e)?e:I(e),o=b(t)?t:I(t);return this.data=y(this.data,n,o),this},intersection:function(e){var t=e instanceof L?S(e.data):e;return this.data=function(e,t){for(var n,o=0,r=t.length,i=[];o=55296&&n<=56319&&(o=lookahead().charCodeAt(0))>=56320&&o<=57343)return a++,createValue("symbol",1024*(n-55296)+o-56320+65536,a-2,a)}return createValue("symbol",n,a-1,a)}function createQuantifier(e,t,n,o){return null==o&&(n=a-1,o=a),addRaw({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,o]})}function createCharacterClass(e,t,n,o){return addRaw({type:"characterClass",body:e,negative:t,range:[n,o]})}function createClassRange(e,t,n,o){return e.codePoint>t.codePoint&&bail("invalid range in character class",e.raw+"-"+t.raw,n,o),addRaw({type:"characterClassRange",min:e,max:t,range:[n,o]})}function flattenBody(e){return"alternative"===e.type?e.body:[e]}function incr(t){t=t||1;var n=e.substring(a,a+t);return a+=t||1,n}function skip(e){match(e)||bail("character",e)}function match(t){if(e.indexOf(t,a)===a)return incr(t.length)}function lookahead(){return e[a]}function current(t){return e.indexOf(t,a)===a}function next(t){return e[a+1]===t}function matchReg(t){var n=e.substring(a).match(t);return n&&(n.range=[],n.range[0]=a,incr(n[0].length),n.range[1]=a),n}function parseDisjunction(){var e=[],t=a;for(e.push(parseAlternative());match("|");)e.push(parseAlternative());return 1===e.length?e[0]:function createDisjunction(e,t,n){return addRaw({type:"disjunction",body:e,range:[t,n]})}(e,t,a)}function parseAlternative(){for(var t,n=[],o=a;t=function parseTerm(){if(a>=e.length||current("|")||current(")"))return null;var t=function parseAnchor(){return match("^")?createAnchor("start",1):match("$")?createAnchor("end",1):match("\\b")?createAnchor("boundary",2):match("\\B")?createAnchor("not-boundary",2):parseGroup("(?=","lookahead","(?!","negativeLookahead")}();if(t)return t;var n=function parseAtom(){var e;return(e=matchReg(/^[^^$\\.*+?(){[|]/))?createCharacter(e):match(".")?function createDot(){return addRaw({type:"dot",range:[a-1,a]})}():match("\\")?((e=parseAtomEscape())||bail("atomEscape"),e):(e=function parseCharacterClass(){var e,t=a;return(e=matchReg(/^\[\^/))?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!0,t,a)):match("[")?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!1,t,a)):null}())?e:parseGroup("(?:","ignore","(","normal")}();n||bail("Expected atom");var o=function parseQuantifier(){var e,t,n,o,r=a;return match("*")?t=createQuantifier(0):match("+")?t=createQuantifier(1):match("?")?t=createQuantifier(0,1):(e=matchReg(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,n,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,void 0,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),o=parseInt(e[2],10),n>o&&bail("numbers out of order in {} quantifier","",r,a),t=createQuantifier(n,o,e.range[0],e.range[1])),t&&match("?")&&(t.greedy=!1,t.range[1]+=1),t}()||!1;return o?(o.body=flattenBody(n),updateRawStart(o,n.range[0]),o):n}();)n.push(t);return 1===n.length?n[0]:function createAlternative(e,t,n){return addRaw({type:"alternative",body:e,range:[t,n]})}(n,o,a)}function parseGroup(e,t,n,i){var s=null,l=a;if(match(e))s=t;else{if(!match(n))return!1;s=i}var u=parseDisjunction();u||bail("Expected disjunction"),skip(")");var c=function createGroup(e,t,n,o){return addRaw({type:"group",behavior:e,body:t,range:[n,o]})}(s,flattenBody(u),l,a);return"normal"==s&&r&&o++,c}function parseUnicodeSurrogatePairEscape(e){if(i){var t,n;if("unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&¤t("\\")&&next("u")){var o=a;a++;var r=parseClassEscape();"unicodeEscape"==r.kind&&(n=r.codePoint)>=56320&&n<=57343?(e.range[1]=r.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",addRaw(e)):a=o}}return e}function parseClassEscape(){return parseAtomEscape(!0)}function parseAtomEscape(e){var t,r=a;if(t=function parseDecimalEscape(){var e,t;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var r=parseInt(e[0],10);return r<=o?function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[a-1-e.length,a]})}(e[0]):(n.push(r),incr(-e[0].length),(e=matchReg(/^[0-7]{1,3}/))?createEscaped("octal",parseInt(e[0],8),e[0],1):(e=createCharacter(matchReg(/^[89]/)),updateRawStart(e,e.range[0]-1)))}return(e=matchReg(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?createEscaped("null",0,"0",t.length+1):createEscaped("octal",parseInt(t,8),t,1)):!!(e=matchReg(/^[dDsSwW]/))&&function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[a-2,a]})}(e[0])}())return t;if(e){if(match("b"))return createEscaped("singleEscape",8,"\\b");match("B")&&bail("\\B not possible inside of CharacterClass","",r)}return t=function parseCharacterEscape(){var e;if(e=matchReg(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return createEscaped("singleEscape",t,"\\"+e[0])}return(e=matchReg(/^c([a-zA-Z])/))?createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=matchReg(/^x([0-9a-fA-F]{2})/))?createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=matchReg(/^u([0-9a-fA-F]{4})/))?parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2)):i&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))?createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):function parseIdentityEscape(){var e;return function isIdentifierPart(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&t.test(String.fromCharCode(e))}(lookahead())?match("‌")?createEscaped("identifier",8204,"‌"):match("‍")?createEscaped("identifier",8205,"‍"):null:(e=incr(),createEscaped("identifier",e.charCodeAt(0),e,1))}()}()}function parseClassRanges(){var e;return current("]")?[]:((e=function parseNonemptyClassRanges(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?[e]:parseHelperClassRanges(e)}())||bail("nonEmptyClassRanges"),e)}function parseHelperClassRanges(e){var t,n,o;if(current("-")&&!next("]")){skip("-"),(o=parseClassAtom())||bail("classAtom"),n=a;var r=parseClassRanges();return r||bail("classRanges"),t=e.range[0],"empty"===r.type?[createClassRange(e,o,t,n)]:[createClassRange(e,o,t,n)].concat(r)}return(o=function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?e:parseHelperClassRanges(e)}())||bail("nonEmptyClassRangesNoDash"),[e].concat(o)}function parseClassAtom(){return match("-")?createCharacter("-"):function parseClassAtomNoDash(){var e;return(e=matchReg(/^[^\\\]-]/))?createCharacter(e[0]):match("\\")?((e=parseClassEscape())||bail("classEscape"),parseUnicodeSurrogatePairEscape(e)):void 0}()}function bail(t,n,o,r){o=null==o?a:o,r=null==r?o:r;var i=Math.max(0,o-10),s=Math.min(r+10,e.length),l=" "+e.substring(i,s),u=" "+new Array(o-i+1).join(" ")+"^";throw SyntaxError(t+" at position "+o+(n?": "+n:"")+"\n"+l+"\n"+u)}var n=[],o=0,r=!0,i=-1!==(t||"").indexOf("u"),a=0;""===(e=String(e))&&(e="(?:)");var s=parseDisjunction();s.range[1]!==e.length&&bail("Could not parse entire input - got stuck","",s.range[1]);for(var l=0;l1114111||c(a)!=a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,n.push(e,t)),(o+1==r||n.length>16384)&&(i+=u.apply(null,n),n.length=0)}return i}function assertType(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e)}if(!(t=assertType.hasOwnProperty(t)?assertType[t]:assertType[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e)}function generate(e){var t=e.type;if(generate.hasOwnProperty(t)&&"function"==typeof generate[t])return generate[t](e);throw Error("Invalid node type: "+t)}function generateClassAtom(e){return assertType(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),generate(e)}function generateTerm(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|value"),generate(e)}var r={function:!0,object:!0},i=(r[typeof window]&&window,r[typeof t]&&t),s=r[typeof e]&&e&&!e.nodeType&&e,l=i&&s&&"object"==typeof o&&o;!l||l.global!==l&&l.window!==l&&l.self;var u=String.fromCharCode,c=Math.floor;generate.alternative=function generateAlternative(e){assertType(e.type,"alternative");var t=e.body,n=t?t.length:0;if(1==n)return generateTerm(t[0]);for(var o=-1,r="";++o-1,d=!!o&&o.indexOf("u")>-1,assign(r,processTerm(r)),t(r)}}),de=pe&&"object"==typeof pe&&"default"in pe?pe.default:pe,fe={ArrayExpression:_,ArrowFunctionExpression:w,AssignmentExpression:B,BinaryExpression:k,BreakStatement:S,CallExpression:P,ClassBody:O,ClassDeclaration:R,ClassExpression:T,ContinueStatement:j,DoWhileStatement:q,ExportNamedDeclaration:N,ExportDefaultDeclaration:I,ForStatement:z,ForInStatement:L,ForOfStatement:W,FunctionDeclaration:U,FunctionExpression:V,Identifier:G,IfStatement:Y,ImportDeclaration:X,ImportDefaultSpecifier:H,ImportSpecifier:K,JSXAttribute:$,JSXClosingElement:Z,JSXElement:J,JSXExpressionContainer:Q,JSXOpeningElement:ee,JSXSpreadAttribute:te,Literal:function(e){function Literal(){e.apply(this,arguments)}return e&&(Literal.__proto__=e),Literal.prototype=Object.create(e&&e.prototype),Literal.prototype.constructor=Literal,Literal.prototype.initialise=function initialise(){"string"==typeof this.value&&this.program.indentExclusionElements.push(this)},Literal.prototype.transpile=function transpile(e,t){if(t.numericLiteral){var n=this.raw.slice(0,2);"0b"!==n&&"0o"!==n||e.overwrite(this.start,this.end,String(this.value),!0)}if(this.regex){var o=this.regex,r=o.pattern,i=o.flags;if(t.stickyRegExp&&/y/.test(i))throw new x(this,"Regular expression sticky flag is not supported");t.unicodeRegExp&&/u/.test(i)&&e.overwrite(this.start,this.end,"/"+de(r,i)+"/"+i.replace("u",""))}},Literal}(y),MemberExpression:function(e){function MemberExpression(){e.apply(this,arguments)}return e&&(MemberExpression.__proto__=e),MemberExpression.prototype=Object.create(e&&e.prototype),MemberExpression.prototype.constructor=MemberExpression,MemberExpression.prototype.transpile=function transpile(t,n){n.reservedProperties&&D[this.property.name]&&(t.overwrite(this.object.end,this.property.start,"['"),t.insertLeft(this.property.end,"']")),e.prototype.transpile.call(this,t,n)},MemberExpression}(y),NewExpression:function(e){function NewExpression(){e.apply(this,arguments)}return e&&(NewExpression.__proto__=e),NewExpression.prototype=Object.create(e&&e.prototype),NewExpression.prototype.constructor=NewExpression,NewExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length)for(var n=this.findLexicalBoundary(),o=this.arguments.length;o--;){var r=this.arguments[o];if("SpreadElement"===r.type&&isArguments(r.argument)){this.argumentsArrayAlias=n.getArgumentsArrayAlias();break}}e.prototype.initialise.call(this,t)},NewExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var o=this.arguments[0];spread(t,this.arguments,o.start,this.argumentsArrayAlias,!0)&&(t.insertRight(this.start+"new".length," (Function.prototype.bind.apply("),t.overwrite(this.callee.end,o.start,", [ null ].concat( "),t.insertLeft(this.end," ))"))}e.prototype.transpile.call(this,t,n)},NewExpression}(y),ObjectExpression:function(e){function ObjectExpression(){e.apply(this,arguments)}return e&&(ObjectExpression.__proto__=e),ObjectExpression.prototype=Object.create(e&&e.prototype),ObjectExpression.prototype.constructor=ObjectExpression,ObjectExpression.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);for(var o=this.start+1,r=0,i=0,a=0,s=0,l=this.properties;sP&&t.remove(P,k.value.start),t.insertLeft(P," = "),t.move(E,k.end,C),B<_-1&&!w){for(P=k.end;","!==t.original[P];)P+=1;t.remove(k.end,P+1)}k.method&&n.conciseMethodProperty&&t.insertRight(k.value.start,"function ")}else w=!0}a===_&&t.remove(this.properties[_-1].end,this.end-1),m||t.insertLeft(y.end,", "+h+" )")}},ObjectExpression}(y),Property:function(e){function Property(){e.apply(this,arguments)}return e&&(Property.__proto__=e),Property.prototype=Object.create(e&&e.prototype),Property.prototype.constructor=Property,Property.prototype.transpile=function transpile(t,n){if(n.conciseMethodProperty&&!this.computed&&"ObjectPattern"!==this.parent.type)if(this.shorthand)t.insertRight(this.start,this.key.name+": ");else if(this.method){var o="";!1!==this.program.options.namedFunctionExpressions&&(o=" "+(o="Literal"===this.key.type&&"number"==typeof this.key.value?"":"Identifier"===this.key.type?D[this.key.name]||!/^[a-z_$][a-z0-9_$]*$/i.test(this.key.name)||this.value.body.scope.references[this.key.name]?this.findScope(!0).createIdentifier(this.key.name):this.key.name:this.findScope(!0).createIdentifier(this.key.value))),this.value.generator&&t.remove(this.start,this.key.start),t.insertLeft(this.key.end,": function"+(this.value.generator?"*":"")+o)}n.reservedProperties&&D[this.key.name]&&(t.insertRight(this.key.start,"'"),t.insertLeft(this.key.end,"'")),e.prototype.transpile.call(this,t,n)},Property}(y),ReturnStatement:function(e){function ReturnStatement(){e.apply(this,arguments)}return e&&(ReturnStatement.__proto__=e),ReturnStatement.prototype=Object.create(e&&e.prototype),ReturnStatement.prototype.constructor=ReturnStatement,ReturnStatement.prototype.initialise=function initialise(e){this.loop=this.findNearest(E),this.nearestFunction=this.findNearest(/Function/),this.loop&&(!this.nearestFunction||this.loop.depth>this.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.insertRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.insertLeft(this.argument.end," }")):n&&e.insertLeft(this.start+6," {}")},ReturnStatement}(y),SpreadProperty:function(e){function SpreadProperty(){e.apply(this,arguments)}return e&&(SpreadProperty.__proto__=e),SpreadProperty.prototype=Object.create(e&&e.prototype),SpreadProperty.prototype.constructor=SpreadProperty,SpreadProperty.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},SpreadProperty}(y),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new x(this,"use of super outside class method");var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new x(this,"super used in base class");if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new x(this,"super() not allowed outside class constructor");if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new x(this,"Unexpected use of `super` (expected `super(...)` or `super.*`)")}if(e.arrow){var n=this.findLexicalBoundary(),o=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(E);o&&o.depth>n.depth&&(this.thisAlias=n.getThisAlias()),r&&r.body.contains(this)&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,!0);var o=this.isCalled?this.parent:this.parent.parent;if(o&&"CallExpression"===o.type){this.noCall||e.insertLeft(o.callee.end,".call");var r=this.thisAlias||"this";o.arguments.length?e.insertLeft(o.arguments[0].start,r+", "):e.insertLeft(o.end-1,""+r)}}},Super}(y),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new x(this,"Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing");e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var o=this.quasi.expressions.concat(this.quasi.quasis).sort(function(e,t){return e.start-t.start}),r=this.quasi.quasis.map(function(e){return JSON.stringify(e.value.cooked)});t.overwrite(this.tag.end,o[0].start,"(["+r.join(", ")+"]");var i=o[0].start;o.forEach(function(e){"TemplateElement"===e.type?t.remove(i,e.end):t.overwrite(i,e.start,", "),i=e.end}),t.overwrite(i,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(y),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(y),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var o=this.expressions.concat(this.quasis).sort(function(e,t){return e.start-t.start||e.end-t.end}).filter(function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)});if(o.length>=3){var r=o[0],i=o[2];"TemplateElement"===r.type&&""===r.value.raw&&"TemplateElement"===i.type&&o.shift()}var a=!(1===this.quasis.length&&0===this.expressions.length||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);a&&t.insertRight(this.start,"(");var s=this.start;o.forEach(function(e,n){if("TemplateElement"===e.type){var o="";n&&(o+=" + "),o+=JSON.stringify(e.value.cooked),t.overwrite(s,e.end,o)}else{var r="Identifier"!==e.type,i="";n&&(i+=" + "),r&&(i+="("),t.overwrite(s,e.start,i),r&&t.insertLeft(e.end,")")}s=e.end});var l="";a&&(l+=")"),t.overwrite(s,this.end,l)}e.prototype.transpile.call(this,t,n)},TemplateLiteral}(y),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),o=this.findNearest(E);(n&&n.depth>t.depth||o&&o.body.contains(this)&&o.depth>t.depth||o&&o.right&&o.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,!0)},ThisExpression}(y),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name);if(n&&"const"===n.kind)throw new x(this,this.argument.name+" is read-only");var o=n&&n.node.ancestor(3);o&&"ForStatement"===o.type&&o.body.contains(this)&&(o.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression}(y),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,o=this.getIndentation(),r=this.kind;if(t.letConst&&"var"!==r&&(r="var",e.overwrite(this.start,this.start+this.kind.length,r,!0)),t.destructuring&&"ForOfStatement"!==this.parent.type){var i,a=this.start;this.declarations.forEach(function(r,s){if("Identifier"===r.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(a,r.id.start,"var ");else{var l=E.test(n.parent.type);0===s?e.remove(a,r.id.start):e.overwrite(a,r.id.start,";\n"+o);var u="Identifier"===r.init.type&&!r.init.rewritten,c=u?r.init.name:r.findScope(!0).createIdentifier("ref"),p=[];u?e.remove(r.id.end,r.end):p.push(function(t,n,o){e.insertRight(r.id.end,"var "+c),e.insertLeft(r.init.end,""+o),e.move(r.id.end,r.end,t)}),destructure(e,r.findScope(!1),r.id,c,l,p);var d=l?"var ":"",f=l?", ":";\n"+o;p.forEach(function(e,t){s===n.declarations.length-1&&t===p.length-1&&(f=l?"":";"),e(r.start,0===t?d:"",f)})}r.transpile(e,t),a=r.end,i="Identifier"!==r.id.type}),i&&e.remove(a,this.end)}else this.declarations.forEach(function(n){n.transpile(e,t)})},VariableDeclaration}(y),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.insertLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(y),WhileStatement:q},me={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"},he=/^(?:let|const)$/;Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,o=extractNames(e);n 0 ) "+p+"[ "+d+" ] = arguments[ "+d+" + "+f+" ]"+s):e.insertLeft(t,o+"var "+p+" = [], "+d+" = arguments.length;\n"+n+"while ( "+d+"-- ) "+p+"[ "+d+" ] = arguments[ "+d+" ]"+s)});else if("Identifier"!==a.type&&t.parameterDestructuring){var s=r.scope.createIdentifier("ref");destructure(e,r.scope,a,s,!1,o),e.insertLeft(a.start,s)}})},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var o=0,r=t.scope.blockScopedDeclarations[n];op,.pul-alert .b-indent>ul,.pul-alert>p,.pul-alert>ul{margin-bottom:0}.pul-alert .b-indent+.b-indent,.pul-alert .b-indent+p,.pul-alert .b-indent>p+.b-indent,.pul-alert .b-indent>p+p,.pul-alert>p+.b-indent,.pul-alert>p+p{margin-top:8px}.pul-alert--success{background-color:#bcdf94}.pul-alert--success hr{border-top-color:#a3d36d}.pul-alert--info{background-color:#c6e5fa}.pul-alert--info hr{border-top-color:#97d0f6}.pul-alert--warning{background-color:#fdd896}.pul-alert--warning hr{border-top-color:#fcc564}.pul-alert--danger{background-color:#f4b3b3}.pul-alert--danger hr{border-top-color:#ee8686}.panel .pul-alert{padding:10px 9px;margin-left:-10px;margin-right:-10px}.panel .pul-alert .close:before{font-size:11px}.panel .pul-alert .btn{min-height:0;padding:3px 5px;font-size:inherit}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Alert/Alert.less"],names:[],mappings:"AAcA,WACE,aAAc,AACd,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,aACE,eAAiB,CAClB,AACD,kBACE,iBAAkB,AAClB,YAAa,AACb,iBAAkB,AAClB,iBAAkB,AAClB,kBAAmB,AACnB,cAAgB,CACjB,AACD,wBACE,UAAa,CACd,AACD,yBACE,gBAAiB,AACjB,gBAAiB,AACjB,cAAgB,CACjB,AACD,gBACE,SAAU,AACV,sBAAwB,CACzB,AACD,0EAIE,eAAiB,CAClB,AAOD,sJAEE,cAAgB,CACjB,AACD,oBACE,wBAA0B,CAC3B,AACD,uBACE,wBAA0B,CAC3B,AACD,iBACE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,uBACE,wBAA0B,CAC3B,AACD,mBACE,wBAA0B,CAC3B,AACD,sBACE,wBAA0B,CAC3B,AACD,kBACE,iBAAkB,AAClB,kBAAmB,AACnB,kBAAoB,CACrB,AACD,gCACE,cAAgB,CACjB,AACD,uBACE,aAAc,AACd,gBAAiB,AACjB,iBAAmB,CACpB",file:"Alert.less",sourcesContent:['/*\nAlert\n\nMarkup:\n
\n {{children}}\n
\n\nModifiers:\n.alert--success\n.alert--warning\n.alert--danger\n.alert--info\n*/\n.pul-alert {\n padding: 10px;\n margin-bottom: 12px;\n background-color: #f0f0f0;\n}\n* + .pul-alert {\n margin-top: 12px;\n}\n.pul-alert .close {\n text-shadow: none;\n float: right;\n line-height: 16px;\n margin-left: 10px;\n text-align: center;\n cursor: pointer;\n}\n.pul-alert .close:hover {\n opacity: 0.8;\n}\n.pul-alert .close::before {\n content: "\\2715";\n font-weight: 700;\n font-size: 13px;\n}\n.pul-alert .btn {\n margin: 0;\n vertical-align: inherit;\n}\n.pul-alert > p,\n.pul-alert .b-indent > p,\n.pul-alert > ul,\n.pul-alert .b-indent > ul {\n margin-bottom: 0;\n}\n.pul-alert > p + p,\n.pul-alert .b-indent > p + p,\n.pul-alert > p + .b-indent,\n.pul-alert .b-indent > p + .b-indent {\n margin-top: 8px;\n}\n.pul-alert .b-indent + .b-indent,\n.pul-alert .b-indent + p {\n margin-top: 8px;\n}\n.pul-alert--success {\n background-color: #bcdf94;\n}\n.pul-alert--success hr {\n border-top-color: #a3d36d;\n}\n.pul-alert--info {\n background-color: #c6e5fa;\n}\n.pul-alert--info hr {\n border-top-color: #97d0f6;\n}\n.pul-alert--warning {\n background-color: #fdd896;\n}\n.pul-alert--warning hr {\n border-top-color: #fcc564;\n}\n.pul-alert--danger {\n background-color: #f4b3b3;\n}\n.pul-alert--danger hr {\n border-top-color: #ee8686;\n}\n.panel .pul-alert {\n padding: 10px 9px;\n margin-left: -10px;\n margin-right: -10px;\n}\n.panel .pul-alert .close::before {\n font-size: 11px;\n}\n.panel .pul-alert .btn {\n min-height: 0;\n padding: 3px 5px;\n font-size: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-auxiliary-actions,.pul-auxiliary-actions a{color:#7aa9bf}.pul-auxiliary-actions a:hover{color:#94c2d8}.pul-auxiliary-actions:before{content:"["}.pul-auxiliary-actions:after{content:"]"}.pul-auxiliary-actions__separator{font-size:10px;vertical-align:1px}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/AuxiliaryActions/AuxiliaryActions.less"],names:[],mappings:"AAAA,gDAEE,aAAe,CAChB,AACD,+BACE,aAAe,CAChB,AACD,8BACE,WAAa,CACd,AACD,6BACE,WAAa,CACd,AACD,kCACE,eAAgB,AAChB,kBAAoB,CACrB",file:"AuxiliaryActions.less",sourcesContent:['.pul-auxiliary-actions,\n.pul-auxiliary-actions a {\n color: #7aa9bf;\n}\n.pul-auxiliary-actions a:hover {\n color: #94c2d8;\n}\n.pul-auxiliary-actions::before {\n content: "[";\n}\n.pul-auxiliary-actions::after {\n content: "]";\n}\n.pul-auxiliary-actions__separator {\n font-size: 10px;\n vertical-align: 1px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-badge{position:relative;display:inline-block}.pul-badge__value{position:absolute;top:0;right:10px;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%);padding:1px 6px;z-index:1}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Badge/Badge.less"],names:[],mappings:"AAAA,WACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,kBACE,kBAAmB,AACnB,MAAO,AACP,WAAY,AACZ,oDAAqD,AAC7C,4CAA6C,AACrD,gBAAiB,AACjB,SAAW,CACZ",file:"Badge.less",sourcesContent:[".pul-badge {\n position: relative;\n display: inline-block;\n}\n.pul-badge__value {\n position: absolute;\n top: 0;\n right: 10px;\n -webkit-transform: translateY(-50%) translateX(100%);\n transform: translateY(-50%) translateX(100%);\n padding: 1px 6px;\n z-index: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-button-group{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.pul-button-group>.pul-button{position:relative;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-bottom:0}.pul-button-group>.pul-button--active,.pul-button-group>.pul-button--hovered,.pul-button-group>.pul-button:active,.pul-button-group>.pul-button:focus,.pul-button-group>.pul-button:hover{z-index:2}.pul-button-group .pul-button+.pul-button,.pul-button-group .pul-button+.pul-button-group,.pul-button-group .pul-button-group+.pul-button,.pul-button-group .pul-button-group+.pul-button-group{margin-left:1px}.pul-button-group>.pul-button:not(:first-child):not(:last-child){border-radius:0}.pul-button-group>.pul-button:first-child{margin-left:0}.pul-button-group>.pul-button-group:first-child:not(:last-child)>.pul-button:last-child,.pul-button-group>.pul-button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.pul-button-group>.pul-button-group:last-child:not(:first-child)>.pul-button:first-child,.pul-button-group>.pul-button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.pul-button-group>.pul-button-group:not(:first-child):not(:last-child)>.pul-button{border-radius:0}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/ButtonGroup/ButtonGroup.less"],names:[],mappings:"AAaA,kBACE,kBAAmB,AACnB,2BAA4B,AAC5B,2BAA4B,AAC5B,oBAAqB,AACrB,qBAAuB,CACxB,AACD,8BACE,kBAAmB,AACnB,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,eAAiB,CAClB,AACD,0LAKE,SAAW,CACZ,AACD,gMAIE,eAAiB,CAClB,AACD,iEACE,eAAiB,CAClB,AACD,0CACE,aAAe,CAChB,AACD,mJAEE,0BAA2B,AAC3B,4BAA8B,CAC/B,AACD,oJAEE,yBAA0B,AAC1B,2BAA6B,CAC9B,AACD,mFACE,eAAiB,CAClB",file:"ButtonGroup.less",sourcesContent:['/*\nButton Group\n\nMarkup:\n
\n
\n\n*/\n.pul-button-group {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n vertical-align: middle;\n}\n.pul-button-group > .pul-button {\n position: relative;\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n margin-bottom: 0;\n}\n.pul-button-group > .pul-button:hover,\n.pul-button-group > .pul-button:active,\n.pul-button-group > .pul-button:focus,\n.pul-button-group > .pul-button--active,\n.pul-button-group > .pul-button--hovered {\n z-index: 2;\n}\n.pul-button-group .pul-button + .pul-button,\n.pul-button-group .pul-button + .pul-button-group,\n.pul-button-group .pul-button-group + .pul-button,\n.pul-button-group .pul-button-group + .pul-button-group {\n margin-left: 1px;\n}\n.pul-button-group > .pul-button:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.pul-button-group > .pul-button:first-child {\n margin-left: 0;\n}\n.pul-button-group > .pul-button:first-child:not(:last-child),\n.pul-button-group > .pul-button-group:first-child:not(:last-child) > .pul-button:last-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.pul-button-group > .pul-button:last-child:not(:first-child),\n.pul-button-group > .pul-button-group:last-child:not(:first-child) > .pul-button:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.pul-button-group > .pul-button-group:not(:first-child):not(:last-child) > .pul-button {\n border-radius: 0;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:30px;min-width:30px;margin:0;padding:5px 8px;cursor:pointer;text-align:center;vertical-align:middle;white-space:nowrap;text-decoration:none;text-transform:none;color:#373737;border:1px solid transparent;border-radius:0;background-color:#dedede;font:inherit;font-size:13px;line-height:18px}.pul-button::-moz-focus-inner{border:0;padding:0}.pul-button.pul-button--hovered,.pul-button:focus,.pul-button:hover{text-decoration:none;color:#fff;outline:none;background-color:#1e96c9}.pul-button.pul-button--hovered .pul-button__icon,.pul-button:focus .pul-button__icon,.pul-button:hover .pul-button__icon{color:currentColor}.pul-button.pul-button--active,.pul-button:active{color:#fff;background-color:#0e78a6}.pul-button.pul-button--active .pul-button__icon,.pul-button:active .pul-button__icon{color:currentColor}.pul-button--primary{background-color:#0f7faf;color:#fff}.pul-button--primary .pul-button__icon{color:currentColor}.pul-button--primary.pul-button--hovered,.pul-button--primary:focus,.pul-button--primary:hover{color:#fff;background-color:#1e96c9}.pul-button--primary.pul-button--active,.pul-button--primary:active{color:#fff;background-color:#0e78a6}.pul-button--secondary{border-color:#2498e3;background-color:#fff;color:#2498e3}.pul-button--secondary .pul-button__icon{color:currentColor}.pul-button--secondary.pul-button--hovered,.pul-button--secondary:focus,.pul-button--secondary:hover{color:#2498e3;background-color:#ecf5f9}.pul-button--secondary.pul-button--active,.pul-button--secondary:active{color:#2498e3;background-color:#d9ebf3}.pul-button--secondary.pul-button--disabled,.pul-button--secondary.pul-button--loading,.pul-button--secondary[disabled]{border-color:#b9b9b9}.pul-button--success{background-color:#bcdf94;color:#373737}.pul-button--success .pul-button__icon{color:#71a832}.pul-button--success.pul-button--hovered,.pul-button--success:focus,.pul-button--success:hover{color:#373737;background-color:#a3d36d}.pul-button--success.pul-button--hovered .pul-button__icon,.pul-button--success:focus .pul-button__icon,.pul-button--success:hover .pul-button__icon{color:#578126}.pul-button--success.pul-button--active,.pul-button--success:active{color:#373737;background-color:#97cd59}.pul-button--warning{background-color:#fdd896;color:#373737}.pul-button--warning .pul-button__icon{color:#f59f05}.pul-button--warning.pul-button--hovered,.pul-button--warning:focus,.pul-button--warning:hover{color:#373737;background-color:#fcc564}.pul-button--warning.pul-button--hovered .pul-button__icon,.pul-button--warning:focus .pul-button__icon,.pul-button--warning:hover .pul-button__icon{color:#c37e04}.pul-button--warning.pul-button--active,.pul-button--warning:active{color:#373737;background-color:#fcbc4b}.pul-button--danger{background-color:#f4b3b3;color:#373737}.pul-button--danger .pul-button__icon{color:#e12d2d}.pul-button--danger.pul-button--hovered,.pul-button--danger:focus,.pul-button--danger:hover{color:#373737;background-color:#ee8686}.pul-button--danger.pul-button--hovered .pul-button__icon,.pul-button--danger:focus .pul-button__icon,.pul-button--danger:hover .pul-button__icon{color:#bf1c1c}.pul-button--danger.pul-button--active,.pul-button--danger:active{color:#373737;background-color:#ea7070}.pul-button--info{background-color:#c6e5fa;color:#373737}.pul-button--info .pul-button__icon{color:#39a5ee}.pul-button--info.pul-button--hovered,.pul-button--info:focus,.pul-button--info:hover{color:#373737;background-color:#97d0f6}.pul-button--info.pul-button--hovered .pul-button__icon,.pul-button--info:focus .pul-button__icon,.pul-button--info:hover .pul-button__icon{color:#148ee0}.pul-button--info.pul-button--active,.pul-button--info:active{color:#373737;background-color:#80c5f4}.pul-button--selected{border-color:gray;color:#fff;background-color:gray}.pul-button--selected .pul-button__icon{color:currentColor}.pul-button--selected.pul-button--hovered,.pul-button--selected:focus,.pul-button--selected:hover{border-color:#909090;color:#fff;background-color:#909090}.pul-button--selected.pul-button--active,.pul-button--selected:active{border-color:#707070;color:#fff;background-color:#707070}.pul-button--disabled,.pul-button--disabled:active,.pul-button--disabled:focus,.pul-button--disabled:hover,.pul-button--loading,.pul-button--loading:active,.pul-button--loading:focus,.pul-button--loading:hover,.pul-button[disabled],.pul-button[disabled]:active,.pul-button[disabled]:focus,.pul-button[disabled]:hover{color:#b9b9b9;background-color:#e8e8e8;cursor:not-allowed}.pul-button--disabled .pul-button__icon,.pul-button--disabled .pul-icon,.pul-button[disabled] .pul-button__icon,.pul-button[disabled] .pul-icon{opacity:.7;-webkit-filter:grayscale(100%);filter:grayscale(100%)}.pul-button--loading{position:relative;cursor:default;pointer-events:none}.pul-button--loading:before{display:inline-block;content:"";box-sizing:border-box;width:16px;height:16px;margin-right:6px;vertical-align:-3px;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-button--spin .7s linear;animation:pul-button--spin .7s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;box-shadow:0 0 0 1px transparent}.pul-button--loading .pul-button__icon{display:none}.pul-button__icon{margin-right:6px;color:#969696}.pul-button__caret{display:inline-block;width:0;height:0;margin-left:6px;vertical-align:2px;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.pul-button--empty{padding:5px}.pul-button--empty .pul-button__icon,.pul-button--empty .pul-icon{margin:0}.pul-button--empty.pul-button--loading:before{margin-right:0}.pul-button--empty .pul-button__caret{margin-left:0}.pul-button--empty .pul-button__icon+.pul-button__caret{margin-left:6px}.pul-button__icon--archive{background-image:url('+n(356)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--archive{background-image:url("+n(355)+")}.pul-button__icon--arrow-right{background-image:url("+n(358)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--arrow-right{background-image:url("+n(357)+")}.pul-button__icon--backup{background-image:url("+n(360)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--backup{background-image:url("+n(359)+")}.pul-button__icon--clean{background-image:url("+n(362)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clean{background-image:url("+n(361)+")}.pul-button__icon--clock{background-image:url("+n(364)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clock{background-image:url("+n(363)+")}.pul-button__icon--copy{background-image:url("+n(366)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--copy{background-image:url("+n(365)+")}.pul-button__icon--customize-order{background-image:url("+n(368)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--customize-order{background-image:url("+n(367)+")}.pul-button__icon--download{background-image:url("+n(370)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--download{background-image:url("+n(369)+")}.pul-button__icon--edit{background-image:url("+n(372)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--edit{background-image:url("+n(371)+")}.pul-button__icon--folder{background-image:url("+n(374)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--folder{background-image:url("+n(373)+")}.pul-button__icon--globe{background-image:url("+n(378)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe{background-image:url("+n(375)+")}.pul-button__icon--globe-alt{background-image:url("+n(377)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe-alt{background-image:url("+n(376)+")}.pul-button__icon--import{background-image:url("+n(380)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--import{background-image:url("+n(379)+")}.pul-button__icon--invisible{background-image:url("+n(382)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--invisible{background-image:url("+n(381)+")}.pul-button__icon--link{background-image:url("+n(384)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--link{background-image:url("+n(383)+")}.pul-button__icon--list{background-image:url("+n(386)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--list{background-image:url("+n(385)+")}.pul-button__icon--lock{background-image:url("+n(388)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--lock{background-image:url("+n(387)+")}.pul-button__icon--ok-app{background-image:url("+n(390)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-app{background-image:url("+n(389)+")}.pul-button__icon--ok-circle{background-image:url("+n(392)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-circle{background-image:url("+n(391)+")}.pul-button__icon--plugins{background-image:url("+n(394)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plugins{background-image:url("+n(393)+")}.pul-button__icon--plus{background-image:url("+n(396)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plus{background-image:url("+n(395)+")}.pul-button__icon--power{background-image:url("+n(398)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--power{background-image:url("+n(397)+")}.pul-button__icon--question-circle{background-image:url("+n(400)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--question-circle{background-image:url("+n(399)+")}.pul-button__icon--refresh{background-image:url("+n(402)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--refresh{background-image:url("+n(401)+")}.pul-button__icon--reload{background-image:url("+n(404)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--reload{background-image:url("+n(403)+")}.pul-button__icon--remove{background-image:url("+n(410)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove{background-image:url("+n(405)+")}.pul-button__icon--remove-app{background-image:url("+n(407)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-app{background-image:url("+n(406)+")}.pul-button__icon--remove-circle{background-image:url("+n(409)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-circle{background-image:url("+n(408)+")}.pul-button__icon--search{background-image:url("+n(412)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--search{background-image:url("+n(411)+")}.pul-button__icon--security-scan{background-image:url("+n(414)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--security-scan{background-image:url("+n(413)+")}.pul-button__icon--settings{background-image:url("+n(416)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--settings{background-image:url("+n(415)+")}.pul-button__icon--share{background-image:url("+n(418)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--share{background-image:url("+n(417)+")}.pul-button__icon--shopping-cart{background-image:url("+n(420)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--shopping-cart{background-image:url("+n(419)+")}.pul-button__icon--start{background-image:url("+n(422)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--start{background-image:url("+n(421)+")}.pul-button__icon--stop{background-image:url("+n(424)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--stop{background-image:url("+n(423)+")}.pul-button__icon--suspend{background-image:url("+n(426)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--suspend{background-image:url("+n(425)+")}.pul-button__icon--themes{background-image:url("+n(428)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--themes{background-image:url("+n(427)+")}.pul-button__icon--unarchive{background-image:url("+n(430)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unarchive{background-image:url("+n(429)+")}.pul-button__icon--unlock{background-image:url("+n(432)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unlock{background-image:url("+n(431)+")}.pul-button__icon--upload{background-image:url("+n(436)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload{background-image:url("+n(433)+")}.pul-button__icon--upload-alt{background-image:url("+n(435)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload-alt{background-image:url("+n(434)+")}.pul-button__icon--user{background-image:url("+n(440)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user{background-image:url("+n(437)+")}.pul-button__icon--user-alt{background-image:url("+n(439)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user-alt{background-image:url("+n(438)+")}.pul-button__icon--visible{background-image:url("+n(442)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--visible{background-image:url("+n(441)+")}@-webkit-keyframes pul-button--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-button--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Button/Button.less"],names:[],mappings:"AAoBA,YACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,gBAAiB,AACjB,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,mBAAoB,AACpB,qBAAsB,AACtB,oBAAqB,AACrB,cAAe,AACf,6BAA8B,AAC9B,gBAAiB,AACjB,yBAA0B,AAC1B,aAAc,AACd,eAAgB,AAChB,gBAAkB,CACnB,AACD,8BACE,SAAU,AACV,SAAW,CACZ,AACD,oEAGE,qBAAsB,AACtB,WAAY,AACZ,aAAc,AACd,wBAA0B,CAC3B,AACD,0HAGE,kBAAoB,CACrB,AACD,kDAEE,WAAY,AACZ,wBAA0B,CAC3B,AACD,sFAEE,kBAAoB,CACrB,AACD,qBACE,yBAA0B,AAC1B,UAAY,CACb,AACD,uCACE,kBAAoB,CACrB,AACD,+FAGE,WAAY,AACZ,wBAA0B,CAC3B,AACD,oEAEE,WAAY,AACZ,wBAA0B,CAC3B,AACD,uBACE,qBAAsB,AACtB,sBAAuB,AACvB,aAAe,CAChB,AACD,yCACE,kBAAoB,CACrB,AACD,qGAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,wEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,wHAGE,oBAAsB,CACvB,AACD,qBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,uCACE,aAAe,CAChB,AACD,+FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,qJAGE,aAAe,CAChB,AACD,oEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,qBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,uCACE,aAAe,CAChB,AACD,+FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,qJAGE,aAAe,CAChB,AACD,oEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,oBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,sCACE,aAAe,CAChB,AACD,4FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,kJAGE,aAAe,CAChB,AACD,kEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,kBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,oCACE,aAAe,CAChB,AACD,sFAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,4IAGE,aAAe,CAChB,AACD,8DAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,sBACE,kBAAsB,AACtB,WAAY,AACZ,qBAA0B,CAC3B,AACD,wCACE,kBAAoB,CACrB,AACD,kGAGE,qBAAsB,AACtB,WAAY,AACZ,wBAA0B,CAC3B,AACD,sEAEE,qBAAsB,AACtB,WAAY,AACZ,wBAA0B,CAC3B,AACD,6TAYE,cAAe,AACf,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,gJAIE,WAAa,AACb,+BAAgC,AACxB,sBAAwB,CACjC,AACD,qBACE,kBAAmB,AACnB,eAAgB,AAChB,mBAAqB,CACtB,AACD,4BACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,oBAAqB,AACrB,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,8CAAgD,AACxC,sCAAwC,AAChD,2CAA4C,AACpC,mCAAoC,AAC5C,gCAAkC,CACnC,AACD,uCACE,YAAc,CACf,AACD,kBACE,iBAAkB,AAClB,aAAe,CAChB,AACD,mBACE,qBAAsB,AACtB,QAAS,AACT,SAAU,AACV,gBAAiB,AACjB,mBAAoB,AACpB,qBAAsB,AACtB,mCAAoC,AACpC,iCAAmC,CACpC,AACD,mBACE,WAAa,CACd,AACD,kEAEE,QAAU,CACX,AACD,8CACE,cAAgB,CACjB,AACD,sCACE,aAAe,CAChB,AACD,wDACE,eAAiB,CAClB,AACD,2BACE,8CAAmD,CACpD,AACD,qnBAOE,8CAA0D,CAC3D,AACD,+BACE,8CAAuD,CACxD,AACD,ipBAOE,8CAA8D,CAC/D,AACD,0BACE,8CAAkD,CACnD,AACD,8mBAOE,8CAAyD,CAC1D,AACD,yBACE,8CAAiD,CAClD,AACD,umBAOE,8CAAwD,CACzD,AACD,yBACE,8CAAiD,CAClD,AACD,umBAOE,8CAAwD,CACzD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,mCACE,+CAA2D,CAC5D,AACD,6qBAOE,+CAAkE,CACnE,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,mCACE,+CAA2D,CAC5D,AACD,6qBAOE,+CAAkE,CACnE,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,8BACE,+CAAsD,CACvD,AACD,0oBAOE,+CAA6D,CAC9D,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,8BACE,+CAAsD,CACvD,AACD,0oBAOE,+CAA6D,CAC9D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,oCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,4BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"Button.less",sourcesContent:['/*\nButton\n\nMarkup:\n\nButton\n\nModifiers:\n.button--primary\n.button--secondary\n.button--success\n.button--warning\n.button--danger\n.button--info\n\n.button--active\n.button--loading\n.button--hovered\n.button--disabled\n*/\n.pul-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 30px;\n min-width: 30px;\n margin: 0;\n padding: 5px 8px;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n text-decoration: none;\n text-transform: none;\n color: #373737;\n border: 1px solid transparent;\n border-radius: 0;\n background-color: #dedede;\n font: inherit;\n font-size: 13px;\n line-height: 18px;\n}\n.pul-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-button:hover,\n.pul-button:focus,\n.pul-button.pul-button--hovered {\n text-decoration: none;\n color: #fff;\n outline: none;\n background-color: #1e96c9;\n}\n.pul-button:hover .pul-button__icon,\n.pul-button:focus .pul-button__icon,\n.pul-button.pul-button--hovered .pul-button__icon {\n color: currentColor;\n}\n.pul-button:active,\n.pul-button.pul-button--active {\n color: #fff;\n background-color: #0e78a6;\n}\n.pul-button:active .pul-button__icon,\n.pul-button.pul-button--active .pul-button__icon {\n color: currentColor;\n}\n.pul-button--primary {\n background-color: #0f7faf;\n color: #fff;\n}\n.pul-button--primary .pul-button__icon {\n color: currentColor;\n}\n.pul-button--primary:hover,\n.pul-button--primary:focus,\n.pul-button--primary.pul-button--hovered {\n color: #fff;\n background-color: #1e96c9;\n}\n.pul-button--primary:active,\n.pul-button--primary.pul-button--active {\n color: #fff;\n background-color: #0e78a6;\n}\n.pul-button--secondary {\n border-color: #2498e3;\n background-color: #fff;\n color: #2498e3;\n}\n.pul-button--secondary .pul-button__icon {\n color: currentColor;\n}\n.pul-button--secondary:hover,\n.pul-button--secondary:focus,\n.pul-button--secondary.pul-button--hovered {\n color: #2498e3;\n background-color: #ecf5f9;\n}\n.pul-button--secondary:active,\n.pul-button--secondary.pul-button--active {\n color: #2498e3;\n background-color: #d9ebf3;\n}\n.pul-button--secondary[disabled],\n.pul-button--secondary.pul-button--disabled,\n.pul-button--secondary.pul-button--loading {\n border-color: #b9b9b9;\n}\n.pul-button--success {\n background-color: #bcdf94;\n color: #373737;\n}\n.pul-button--success .pul-button__icon {\n color: #71a832;\n}\n.pul-button--success:hover,\n.pul-button--success:focus,\n.pul-button--success.pul-button--hovered {\n color: #373737;\n background-color: #a3d36d;\n}\n.pul-button--success:hover .pul-button__icon,\n.pul-button--success:focus .pul-button__icon,\n.pul-button--success.pul-button--hovered .pul-button__icon {\n color: #578126;\n}\n.pul-button--success:active,\n.pul-button--success.pul-button--active {\n color: #373737;\n background-color: #97cd59;\n}\n.pul-button--warning {\n background-color: #fdd896;\n color: #373737;\n}\n.pul-button--warning .pul-button__icon {\n color: #f59f05;\n}\n.pul-button--warning:hover,\n.pul-button--warning:focus,\n.pul-button--warning.pul-button--hovered {\n color: #373737;\n background-color: #fcc564;\n}\n.pul-button--warning:hover .pul-button__icon,\n.pul-button--warning:focus .pul-button__icon,\n.pul-button--warning.pul-button--hovered .pul-button__icon {\n color: #c37e04;\n}\n.pul-button--warning:active,\n.pul-button--warning.pul-button--active {\n color: #373737;\n background-color: #fcbc4b;\n}\n.pul-button--danger {\n background-color: #f4b3b3;\n color: #373737;\n}\n.pul-button--danger .pul-button__icon {\n color: #e12d2d;\n}\n.pul-button--danger:hover,\n.pul-button--danger:focus,\n.pul-button--danger.pul-button--hovered {\n color: #373737;\n background-color: #ee8686;\n}\n.pul-button--danger:hover .pul-button__icon,\n.pul-button--danger:focus .pul-button__icon,\n.pul-button--danger.pul-button--hovered .pul-button__icon {\n color: #bf1c1c;\n}\n.pul-button--danger:active,\n.pul-button--danger.pul-button--active {\n color: #373737;\n background-color: #ea7070;\n}\n.pul-button--info {\n background-color: #c6e5fa;\n color: #373737;\n}\n.pul-button--info .pul-button__icon {\n color: #39a5ee;\n}\n.pul-button--info:hover,\n.pul-button--info:focus,\n.pul-button--info.pul-button--hovered {\n color: #373737;\n background-color: #97d0f6;\n}\n.pul-button--info:hover .pul-button__icon,\n.pul-button--info:focus .pul-button__icon,\n.pul-button--info.pul-button--hovered .pul-button__icon {\n color: #148ee0;\n}\n.pul-button--info:active,\n.pul-button--info.pul-button--active {\n color: #373737;\n background-color: #80c5f4;\n}\n.pul-button--selected {\n border-color: #808080;\n color: #fff;\n background-color: #808080;\n}\n.pul-button--selected .pul-button__icon {\n color: currentColor;\n}\n.pul-button--selected:hover,\n.pul-button--selected:focus,\n.pul-button--selected.pul-button--hovered {\n border-color: #909090;\n color: #fff;\n background-color: #909090;\n}\n.pul-button--selected:active,\n.pul-button--selected.pul-button--active {\n border-color: #707070;\n color: #fff;\n background-color: #707070;\n}\n.pul-button[disabled],\n.pul-button--disabled,\n.pul-button--loading,\n.pul-button[disabled]:hover,\n.pul-button--disabled:hover,\n.pul-button--loading:hover,\n.pul-button[disabled]:focus,\n.pul-button--disabled:focus,\n.pul-button--loading:focus,\n.pul-button[disabled]:active,\n.pul-button--disabled:active,\n.pul-button--loading:active {\n color: #b9b9b9;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-button[disabled] .pul-button__icon,\n.pul-button--disabled .pul-button__icon,\n.pul-button[disabled] .pul-icon,\n.pul-button--disabled .pul-icon {\n opacity: 0.7;\n -webkit-filter: grayscale(100%);\n filter: grayscale(100%);\n}\n.pul-button--loading {\n position: relative;\n cursor: default;\n pointer-events: none;\n}\n.pul-button--loading::before {\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n margin-right: 6px;\n vertical-align: -3px;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-button--spin 0.7s linear;\n animation: pul-button--spin 0.7s linear;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n box-shadow: 0 0 0 1px transparent;\n}\n.pul-button--loading .pul-button__icon {\n display: none;\n}\n.pul-button__icon {\n margin-right: 6px;\n color: #969696;\n}\n.pul-button__caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 6px;\n vertical-align: 2px;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.pul-button--empty {\n padding: 5px;\n}\n.pul-button--empty .pul-button__icon,\n.pul-button--empty .pul-icon {\n margin: 0;\n}\n.pul-button--empty.pul-button--loading::before {\n margin-right: 0;\n}\n.pul-button--empty .pul-button__caret {\n margin-left: 0;\n}\n.pul-button--empty .pul-button__icon + .pul-button__caret {\n margin-left: 6px;\n}\n.pul-button__icon--archive {\n background-image: url("images/button-archive.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--archive,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--archive,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--archive,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive {\n background-image: url("images/button-archive-active.png");\n}\n.pul-button__icon--arrow-right {\n background-image: url("images/button-arrow-right.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--arrow-right,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--arrow-right,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--arrow-right,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right {\n background-image: url("images/button-arrow-right-active.png");\n}\n.pul-button__icon--backup {\n background-image: url("images/button-backup.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--backup,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--backup,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--backup,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup {\n background-image: url("images/button-backup-active.png");\n}\n.pul-button__icon--clean {\n background-image: url("images/button-clean.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clean,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clean,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clean,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean {\n background-image: url("images/button-clean-active.png");\n}\n.pul-button__icon--clock {\n background-image: url("images/button-clock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock {\n background-image: url("images/button-clock-active.png");\n}\n.pul-button__icon--copy {\n background-image: url("images/button-copy.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--copy,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--copy,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--copy,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy {\n background-image: url("images/button-copy-active.png");\n}\n.pul-button__icon--customize-order {\n background-image: url("images/button-customize-order.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--customize-order,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--customize-order,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--customize-order,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order {\n background-image: url("images/button-customize-order-active.png");\n}\n.pul-button__icon--download {\n background-image: url("images/button-download.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--download,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--download,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--download,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download {\n background-image: url("images/button-download-active.png");\n}\n.pul-button__icon--edit {\n background-image: url("images/button-edit.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--edit,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--edit,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--edit,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit {\n background-image: url("images/button-edit-active.png");\n}\n.pul-button__icon--folder {\n background-image: url("images/button-folder.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--folder,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--folder,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--folder,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder {\n background-image: url("images/button-folder-active.png");\n}\n.pul-button__icon--globe {\n background-image: url("images/button-globe.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe {\n background-image: url("images/button-globe-active.png");\n}\n.pul-button__icon--globe-alt {\n background-image: url("images/button-globe-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt {\n background-image: url("images/button-globe-alt-active.png");\n}\n.pul-button__icon--import {\n background-image: url("images/button-import.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--import,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--import,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--import,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import {\n background-image: url("images/button-import-active.png");\n}\n.pul-button__icon--invisible {\n background-image: url("images/button-invisible.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--invisible,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--invisible,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--invisible,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible {\n background-image: url("images/button-invisible-active.png");\n}\n.pul-button__icon--link {\n background-image: url("images/button-link.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--link,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--link,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--link,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link {\n background-image: url("images/button-link-active.png");\n}\n.pul-button__icon--list {\n background-image: url("images/button-list.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--list,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--list,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--list,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list {\n background-image: url("images/button-list-active.png");\n}\n.pul-button__icon--lock {\n background-image: url("images/button-lock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--lock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--lock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--lock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock {\n background-image: url("images/button-lock-active.png");\n}\n.pul-button__icon--ok-app {\n background-image: url("images/button-ok-app.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-app,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-app,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-app,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app {\n background-image: url("images/button-ok-app-active.png");\n}\n.pul-button__icon--ok-circle {\n background-image: url("images/button-ok-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle {\n background-image: url("images/button-ok-circle-active.png");\n}\n.pul-button__icon--plugins {\n background-image: url("images/button-plugins.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plugins,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plugins,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plugins,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins {\n background-image: url("images/button-plugins-active.png");\n}\n.pul-button__icon--plus {\n background-image: url("images/button-plus.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plus,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plus,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plus,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus {\n background-image: url("images/button-plus-active.png");\n}\n.pul-button__icon--power {\n background-image: url("images/button-power.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--power,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--power,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--power,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power {\n background-image: url("images/button-power-active.png");\n}\n.pul-button__icon--question-circle {\n background-image: url("images/button-question-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--question-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--question-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--question-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle {\n background-image: url("images/button-question-circle-active.png");\n}\n.pul-button__icon--refresh {\n background-image: url("images/button-refresh.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--refresh,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--refresh,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--refresh,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh {\n background-image: url("images/button-refresh-active.png");\n}\n.pul-button__icon--reload {\n background-image: url("images/button-reload.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--reload,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--reload,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--reload,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload {\n background-image: url("images/button-reload-active.png");\n}\n.pul-button__icon--remove {\n background-image: url("images/button-remove.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove {\n background-image: url("images/button-remove-active.png");\n}\n.pul-button__icon--remove-app {\n background-image: url("images/button-remove-app.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-app,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-app,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-app,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app {\n background-image: url("images/button-remove-app-active.png");\n}\n.pul-button__icon--remove-circle {\n background-image: url("images/button-remove-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle {\n background-image: url("images/button-remove-circle-active.png");\n}\n.pul-button__icon--search {\n background-image: url("images/button-search.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--search,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--search,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--search,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search {\n background-image: url("images/button-search-active.png");\n}\n.pul-button__icon--security-scan {\n background-image: url("images/button-security-scan.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--security-scan,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--security-scan,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--security-scan,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan {\n background-image: url("images/button-security-scan-active.png");\n}\n.pul-button__icon--settings {\n background-image: url("images/button-settings.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--settings,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--settings,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--settings,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings {\n background-image: url("images/button-settings-active.png");\n}\n.pul-button__icon--share {\n background-image: url("images/button-share.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--share,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--share,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--share,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share {\n background-image: url("images/button-share-active.png");\n}\n.pul-button__icon--shopping-cart {\n background-image: url("images/button-shopping-cart.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--shopping-cart,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--shopping-cart,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--shopping-cart,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart {\n background-image: url("images/button-shopping-cart-active.png");\n}\n.pul-button__icon--start {\n background-image: url("images/button-start.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--start,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--start,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--start,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start {\n background-image: url("images/button-start-active.png");\n}\n.pul-button__icon--stop {\n background-image: url("images/button-stop.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--stop,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--stop,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--stop,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop {\n background-image: url("images/button-stop-active.png");\n}\n.pul-button__icon--suspend {\n background-image: url("images/button-suspend.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--suspend,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--suspend,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--suspend,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend {\n background-image: url("images/button-suspend-active.png");\n}\n.pul-button__icon--themes {\n background-image: url("images/button-themes.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--themes,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--themes,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--themes,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes {\n background-image: url("images/button-themes-active.png");\n}\n.pul-button__icon--unarchive {\n background-image: url("images/button-unarchive.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unarchive,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unarchive,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unarchive,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive {\n background-image: url("images/button-unarchive-active.png");\n}\n.pul-button__icon--unlock {\n background-image: url("images/button-unlock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unlock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unlock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unlock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock {\n background-image: url("images/button-unlock-active.png");\n}\n.pul-button__icon--upload {\n background-image: url("images/button-upload.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload {\n background-image: url("images/button-upload-active.png");\n}\n.pul-button__icon--upload-alt {\n background-image: url("images/button-upload-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt {\n background-image: url("images/button-upload-alt-active.png");\n}\n.pul-button__icon--user {\n background-image: url("images/button-user.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user {\n background-image: url("images/button-user-active.png");\n}\n.pul-button__icon--user-alt {\n background-image: url("images/button-user-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt {\n background-image: url("images/button-user-alt-active.png");\n}\n.pul-button__icon--visible {\n background-image: url("images/button-visible.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--visible,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--visible,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--visible,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible {\n background-image: url("images/button-visible-active.png");\n}\n@-webkit-keyframes pul-button--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-button--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-card-list{position:relative;min-height:50px}.pul-card-list__list--extended .pul-card-list__list-item{margin-bottom:20px}.pul-card-list__list--row .pul-card-list__list-item{margin-bottom:16px}.pul-card-list__list--tile .pul-card-list__list-item{margin-bottom:4px}.pul-card-list__content-blocker{position:absolute;background:hsla(0,0%,100%,.4);left:0;top:0;bottom:0;right:0;z-index:10}.pul-card-list__loader{position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;display:inline-block;content:"";box-sizing:border-box;width:24px;height:24px;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-card-list--spin .7s linear infinite;animation:pul-card-list--spin .7s linear infinite;box-shadow:0 0 0 1px transparent;z-index:10}.pul-card-list__toolbar{padding-bottom:20px}@-webkit-keyframes pul-card-list--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-card-list--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/CardList/CardList.less"],names:[],mappings:"AAAA,eACE,kBAAmB,AACnB,eAAiB,CAClB,AACD,yDACE,kBAAoB,CACrB,AACD,oDACE,kBAAoB,CACrB,AACD,qDACE,iBAAmB,CACpB,AACD,gCACE,kBAAmB,AACnB,8BAAqC,AACrC,OAAQ,AACR,MAAO,AACP,SAAU,AACV,QAAS,AACT,UAAY,CACb,AACD,uBACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,uBAAwB,AACxB,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,0DAA4D,AACpD,kDAAoD,AAC5D,iCAAkC,AAClC,UAAY,CACb,AACD,wBACE,mBAAqB,CACtB,AACD,uCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,+BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"CardList.less",sourcesContent:['.pul-card-list {\n position: relative;\n min-height: 50px;\n}\n.pul-card-list__list--extended .pul-card-list__list-item {\n margin-bottom: 20px;\n}\n.pul-card-list__list--row .pul-card-list__list-item {\n margin-bottom: 16px;\n}\n.pul-card-list__list--tile .pul-card-list__list-item {\n margin-bottom: 4px;\n}\n.pul-card-list__content-blocker {\n position: absolute;\n background: rgba(255, 255, 255, 0.4);\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 10;\n}\n.pul-card-list__loader {\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -12px 0 0 -12px;\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-card-list--spin 0.7s linear infinite;\n animation: pul-card-list--spin 0.7s linear infinite;\n box-shadow: 0 0 0 1px transparent;\n z-index: 10;\n}\n.pul-card-list__toolbar {\n padding-bottom: 20px;\n}\n@-webkit-keyframes pul-card-list--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-card-list--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-card{position:relative;border:1px solid #d8d8d8;background-color:#fafafa}.pul-card__selection{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:12px;color:#76c8f4}.pul-card__selection .pul-checkbox:hover{color:#fff}.pul-card--row .pul-card__selection{margin:-1px 0 -1px -1px;padding:16px;background-color:#354450}.pul-card:not(.pul-card--row) .pul-card__header{display:-webkit-box;display:-ms-flexbox;display:flex;margin:-1px -1px 0;padding:8px 16px;color:#fff;background-color:#354450}.pul-card--danger.pul-card--row .pul-card__selection,.pul-card--danger:not(.pul-card--row) .pul-card__header{background-color:#81083d}.pul-card--warning.pul-card--row .pul-card__selection,.pul-card--warning:not(.pul-card--row) .pul-card__header{background-color:#881e07}.pul-card--inactive.pul-card--row .pul-card__selection,.pul-card--inactive:not(.pul-card--row) .pul-card__header{background-color:rgba(0,0,0,.43)}.pul-card--row .pul-card__header{min-width:0;padding:12px 0 12px 24px}.pul-card__title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;min-width:0;font-size:20px;font-weight:600;line-height:1.6;color:inherit}.pul-card__subtitle{margin:6px 0;font-size:16px;font-weight:400;line-height:1.3;color:#4a4a4a}.pul-card:not(.pul-card--row) .pul-card__title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.pul-card__subtitle,.pul-card__title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pul-card__labels{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;padding:8px 0 8px 16px;-ms-flex-item-align:center;align-self:center}.pul-card__labels .pul-card__label{margin-left:8px;padding:1px 6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.4;border-radius:2px}.pul-card__buttons{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:auto;padding-left:16px}.pul-card--row .pul-card__buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:14px 16px;max-height:92px}.pul-card-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:32px;min-width:32px;margin:0 0 0 4px;padding:8px;cursor:pointer;text-align:center;vertical-align:middle;fill:currentColor;color:#0099eb;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-card-button::-moz-focus-inner{border:0;padding:0}.pul-card-button:focus,.pul-card-button:hover{text-decoration:none;color:#0099eb;outline:none;background-color:#f5f4f3}.pul-card-button:active{color:#0081cb;background-color:#e0ddda}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button{color:#76c8f4}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:focus,.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:hover{color:#fff;background-color:transparent}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:active{color:#fff;background-color:rgba(0,0,0,.4)}.pul-card--extended .pul-card__body,.pul-card--row .pul-card__body,.pul-card__side{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-card__side{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;max-width:400px;-webkit-box-flex:0;-ms-flex:0 0 40%;flex:0 0 40%;border-right:1px solid #d8d8d8}.pul-card__side>:last-child{height:100%}.pul-card__side-header{-webkit-box-flex:0;-ms-flex:none;flex:none;margin:0 -1px}.pul-card--extended .pul-card__main{-webkit-box-flex:1;-ms-flex:1 0 60%;flex:1 0 60%}.pul-card--row .pul-card__side-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:124px;margin:-1px;border-right:1px solid #d8d8d8;background-color:#d8d8d8}.pul-card__main-content,.pul-card__side-content{padding:16px}.pul-card--row .pul-card__main-content{padding:20px 0 20px 24px}.pul-card--enter,.pul-card--exit{opacity:0}.pul-card--enter-active,.pul-card--exit-active{opacity:1;transition:opacity .3s ease-in}.pul-card .pul-tabs__tab--selected .pul-tabs__link,.pul-card .pul-tabs__tab--selected .pul-tabs__link:hover,.pul-card .pul-tabs__tab--selected:hover .pul-tabs__link{border-bottom-color:#fafafa;background-color:#fafafa}.pul-card__content-blocker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;margin:-1px;background:hsla(0,0%,100%,.8) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTktMWwyIDJNMCAwbDEwIDEwTS0xIDlsMiAyIiBzdHJva2U9InJnYmEoMCwwLDAsMC4wNSkiLz48L3N2Zz4=");background-size:10px 10px}.pul-card--progress{overflow:hidden;border-color:rgba(0,0,0,.05)}.pul-card--progress .pul-card__inner{-webkit-filter:blur(2px);filter:blur(2px)}.pul-card__loader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-card__loader-text{margin-left:10px}.pul-card__spinner{width:24px;height:24px;-webkit-animation:pul-card--rotate 1.4s linear infinite;animation:pul-card--rotate 1.4s linear infinite}.pul-card__spinner-path{stroke-dasharray:80px,200px;stroke-dashoffset:0px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;stroke:#4285f4;-webkit-animation:pul-card--dash 1.4s ease-in-out infinite,pul-card--color 5.6s linear infinite;animation:pul-card--dash 1.4s ease-in-out infinite,pul-card--color 5.6s linear infinite}@-webkit-keyframes pul-card--rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-card--rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes pul-card--dash{0%{stroke-dasharray:1px,200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px}to{stroke-dasharray:100px,200px;stroke-dashoffset:-120px}}@keyframes pul-card--dash{0%{stroke-dasharray:1px,200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px}to{stroke-dasharray:100px,200px;stroke-dashoffset:-120px}}@-webkit-keyframes pul-card--color{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}@keyframes pul-card--color{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Card/Card.less"],names:[],mappings:"AAAA,UACE,kBAAmB,AACnB,yBAA0B,AAC1B,wBAA0B,CAC3B,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,mBAAoB,AACpB,aAAe,CAChB,AACD,yCACE,UAAY,CACb,AACD,oCACE,wBAAyB,AACzB,aAAc,AACd,wBAA0B,CAC3B,AACD,gDACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AACpB,iBAAkB,AAClB,WAAY,AACZ,wBAA0B,CAC3B,AACD,6GAEE,wBAA0B,CAC3B,AACD,+GAEE,wBAA0B,CAC3B,AACD,iHAEE,gCAAsC,CACvC,AACD,iCACE,YAAa,AACb,wBAA0B,CAC3B,AACD,iBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,aAAe,CAChB,AACD,oBACE,aAAc,AACd,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,aAAe,CAChB,AACD,+CACE,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACtB,AACD,0CAEE,mBAAoB,AACpB,gBAAiB,AACjB,sBAAwB,CACzB,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,YAAa,AACb,uBAAwB,AACxB,2BAA4B,AACxB,iBAAmB,CACxB,AACD,mCACE,gBAAiB,AACjB,gBAAiB,AACjB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAwB,AACxB,eAAgB,AAChB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,sBAAuB,AACvB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,iBAAkB,AAClB,iBAAmB,CACpB,AACD,kCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,8BAA+B,AAC3B,kCAAmC,AAC/B,8BAA+B,AACvC,qBAAsB,AAClB,kBAAmB,AACf,yBAA0B,AAClC,kBAAmB,AACnB,eAAiB,CAClB,AACD,iBACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,iBAAkB,AAClB,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,mCACE,SAAU,AACV,SAAW,CACZ,AACD,8CAEE,qBAAsB,AACtB,cAAe,AACf,aAAc,AACd,wBAA0B,CAC3B,AACD,wBACE,cAAe,AACf,wBAA0B,CAC3B,AACD,iEACE,aAAe,CAChB,AACD,8IAEE,WAAY,AACZ,4BAA8B,CAC/B,AACD,wEACE,WAAY,AACZ,+BAAqC,CACtC,AAOD,mFAJE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAef,AAbD,gBAIE,4BAA6B,AAC7B,6BAA8B,AAC1B,qBAAsB,AAClB,iBAAkB,AAC1B,gBAAiB,AACjB,mBAAoB,AAChB,iBAAkB,AACd,aAAc,AACtB,8BAAgC,CACjC,AACD,4BACE,WAAa,CACd,AACD,uBACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,aAAe,CAChB,AACD,oCACE,mBAAoB,AAChB,iBAAkB,AACd,YAAc,CACvB,AACD,sCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,gBAAiB,AACjB,YAAa,AACb,+BAAgC,AAChC,wBAA0B,CAC3B,AACD,gDAEE,YAAc,CACf,AACD,uCACE,wBAA0B,CAC3B,AACD,iCAEE,SAAW,CACZ,AACD,+CAEE,UAAW,AACX,8BAAiC,CAClC,AACD,qKAGE,4BAA6B,AAC7B,wBAA0B,CAC3B,AACD,2BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,YAAa,AACb,oPAA2P,AAC3P,yBAA2B,CAC5B,AACD,oBACE,gBAAiB,AACjB,4BAAkC,CACnC,AACD,qCACE,yBAA0B,AAClB,gBAAkB,CAC3B,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,uBACE,gBAAkB,CACnB,AACD,mBACE,WAAY,AACZ,YAAa,AACb,wDAAyD,AACjD,+CAAiD,CAC1D,AACD,wBACE,4BAA8B,AAC9B,sBAAuB,AAEvB,iCAAkC,AAC1B,yBAA0B,AAClC,eAAgB,AAChB,gGAAkG,AAC1F,uFAA0F,CACnG,AACD,oCACE,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,4BACE,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,kCACE,GACE,2BAA6B,AAC7B,qBAAuB,CAExB,AACD,IACE,6BAA+B,AAC/B,uBAAyB,CAC1B,AACD,GACE,6BAA+B,AAC/B,wBAA0B,CAC3B,CACF,AACD,0BACE,GACE,2BAA6B,AAC7B,qBAAuB,CAExB,AACD,IACE,6BAA+B,AAC/B,uBAAyB,CAC1B,AACD,GACE,6BAA+B,AAC/B,wBAA0B,CAC3B,CACF,AACD,mCACE,GACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,GACE,cAAgB,CACjB,CACF,AACD,2BACE,GACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,GACE,cAAgB,CACjB,CACF",file:"Card.less",sourcesContent:['.pul-card {\n position: relative;\n border: 1px solid #d8d8d8;\n background-color: #fafafa;\n}\n.pul-card__selection {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding-right: 12px;\n color: #76c8f4;\n}\n.pul-card__selection .pul-checkbox:hover {\n color: #fff;\n}\n.pul-card--row .pul-card__selection {\n margin: -1px 0 -1px -1px;\n padding: 16px;\n background-color: #354450;\n}\n.pul-card:not(.pul-card--row) .pul-card__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: -1px -1px 0;\n padding: 8px 16px;\n color: #fff;\n background-color: #354450;\n}\n.pul-card--danger:not(.pul-card--row) .pul-card__header,\n.pul-card--danger.pul-card--row .pul-card__selection {\n background-color: #81083d;\n}\n.pul-card--warning:not(.pul-card--row) .pul-card__header,\n.pul-card--warning.pul-card--row .pul-card__selection {\n background-color: #881e07;\n}\n.pul-card--inactive:not(.pul-card--row) .pul-card__header,\n.pul-card--inactive.pul-card--row .pul-card__selection {\n background-color: rgba(0, 0, 0, 0.43);\n}\n.pul-card--row .pul-card__header {\n min-width: 0;\n padding: 12px 0 12px 24px;\n}\n.pul-card__title {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin: 0;\n min-width: 0;\n font-size: 20px;\n font-weight: 600;\n line-height: 1.6;\n color: inherit;\n}\n.pul-card__subtitle {\n margin: 6px 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 1.3;\n color: #4a4a4a;\n}\n.pul-card:not(.pul-card--row) .pul-card__title {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n.pul-card__title-text,\n.pul-card__subtitle {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-card__labels {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n min-width: 0;\n padding: 8px 0 8px 16px;\n -ms-flex-item-align: center;\n align-self: center;\n}\n.pul-card__labels .pul-card__label {\n margin-left: 8px;\n padding: 1px 6px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 10px;\n line-height: 1.4;\n border-radius: 2px;\n}\n.pul-card__buttons {\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-left: auto;\n padding-left: 16px;\n}\n.pul-card--row .pul-card__buttons {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n padding: 14px 16px;\n max-height: 92px;\n}\n.pul-card-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 32px;\n min-width: 32px;\n margin: 0 0 0 4px;\n padding: 8px;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n fill: currentColor;\n color: #0099eb;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-card-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-card-button:hover,\n.pul-card-button:focus {\n text-decoration: none;\n color: #0099eb;\n outline: none;\n background-color: #f5f4f3;\n}\n.pul-card-button:active {\n color: #0081cb;\n background-color: #e0ddda;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button {\n color: #76c8f4;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:hover,\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:focus {\n color: #fff;\n background-color: transparent;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:active {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.4);\n}\n.pul-card--extended .pul-card__body,\n.pul-card--row .pul-card__body {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-card__side {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-flow: column;\n flex-flow: column;\n max-width: 400px;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 40%;\n flex: 0 0 40%;\n border-right: 1px solid #d8d8d8;\n}\n.pul-card__side > :last-child {\n height: 100%;\n}\n.pul-card__side-header {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n margin: 0 -1px;\n}\n.pul-card--extended .pul-card__main {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 60%;\n flex: 1 0 60%;\n}\n.pul-card--row .pul-card__side-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n max-width: 124px;\n margin: -1px;\n border-right: 1px solid #d8d8d8;\n background-color: #d8d8d8;\n}\n.pul-card__side-content,\n.pul-card__main-content {\n padding: 16px;\n}\n.pul-card--row .pul-card__main-content {\n padding: 20px 0 20px 24px;\n}\n.pul-card--enter,\n.pul-card--exit {\n opacity: 0;\n}\n.pul-card--enter-active,\n.pul-card--exit-active {\n opacity: 1;\n transition: opacity 0.3s ease-in;\n}\n.pul-card .pul-tabs__tab--selected .pul-tabs__link,\n.pul-card .pul-tabs__tab--selected:hover .pul-tabs__link,\n.pul-card .pul-tabs__tab--selected .pul-tabs__link:hover {\n border-bottom-color: #fafafa;\n background-color: #fafafa;\n}\n.pul-card__content-blocker {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: -1px;\n background: rgba(255, 255, 255, 0.8) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTktMWwyIDJNMCAwbDEwIDEwTS0xIDlsMiAyIiBzdHJva2U9InJnYmEoMCwwLDAsMC4wNSkiLz48L3N2Zz4=");\n background-size: 10px 10px;\n}\n.pul-card--progress {\n overflow: hidden;\n border-color: rgba(0, 0, 0, 0.05);\n}\n.pul-card--progress .pul-card__inner {\n -webkit-filter: blur(2px);\n filter: blur(2px);\n}\n.pul-card__loader {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-card__loader-text {\n margin-left: 10px;\n}\n.pul-card__spinner {\n width: 24px;\n height: 24px;\n -webkit-animation: pul-card--rotate 1.4s linear infinite;\n animation: pul-card--rotate 1.4s linear infinite;\n}\n.pul-card__spinner-path {\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n -webkit-transform-origin: 50% 50%;\n transform-origin: 50% 50%;\n stroke: #4285f4;\n -webkit-animation: pul-card--dash 1.4s ease-in-out infinite, pul-card--color 5.6s linear infinite;\n animation: pul-card--dash 1.4s ease-in-out infinite, pul-card--color 5.6s linear infinite;\n}\n@-webkit-keyframes pul-card--rotate {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-card--rotate {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@-webkit-keyframes pul-card--dash {\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -120px;\n }\n}\n@keyframes pul-card--dash {\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -120px;\n }\n}\n@-webkit-keyframes pul-card--color {\n from {\n stroke: #4285f4;\n }\n 25% {\n stroke: #de3e35;\n }\n 50% {\n stroke: #f7c223;\n }\n 75% {\n stroke: #1b9a59;\n }\n to {\n stroke: #4285f4;\n }\n}\n@keyframes pul-card--color {\n from {\n stroke: #4285f4;\n }\n 25% {\n stroke: #de3e35;\n }\n 50% {\n stroke: #f7c223;\n }\n 75% {\n stroke: #1b9a59;\n }\n to {\n stroke: #4285f4;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-preview-panel{position:relative;width:100%;text-align:center;background-color:#f5f4f3;overflow:hidden}.pul-preview-panel__image{max-width:100%;min-width:124px;height:auto;max-height:100%}.pul-preview-panel__html{min-width:124px;height:200px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.pul-preview-panel__html iframe{width:100%;height:100%}.pul-preview-panel__html--loading:before{display:inline-block;content:"";box-sizing:border-box;width:32px;height:32px;margin:auto;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-preview-panel--spin .7s linear;animation:pul-preview-panel--spin .7s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.pul-preview-panel__html--loading iframe{display:none}.pul-preview-panel__content{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;background-color:rgba(0,0,0,.7);transition:.3s;opacity:1}.pul-preview-panel__content--empty{background-color:transparent}.pul-preview-panel--background{background-repeat:no-repeat;background-position:50%;min-width:124px;min-height:200px}.pul-preview-panel:not(:hover)>.pul-preview-panel__content{visibility:hidden;opacity:0}@-webkit-keyframes pul-preview-panel--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-preview-panel--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Card/PreviewPanel.less"],names:[],mappings:"AAAA,mBACE,kBAAmB,AACnB,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,eAAiB,CAClB,AACD,0BACE,eAAgB,AAChB,gBAAiB,AACjB,YAAa,AACb,eAAiB,CAClB,AACD,yBACE,gBAAiB,AACjB,aAAc,AACd,WAAY,AACZ,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,eAAiB,CAClB,AACD,gCACE,WAAY,AACZ,WAAa,CACd,AACD,yCACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,YAAa,AACb,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,qDAAuD,AAC/C,6CAA+C,AACvD,2CAA4C,AACpC,kCAAoC,CAC7C,AACD,yCACE,YAAc,CACf,AACD,4BACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,WAAY,AACZ,gCAAqC,AACrC,eAAiB,AACjB,SAAW,CACZ,AACD,mCACE,4BAAmC,CACpC,AACD,+BACE,4BAA6B,AAC7B,wBAA4B,AAC5B,gBAAiB,AACjB,gBAAkB,CACnB,AACD,2DACE,kBAAmB,AACnB,SAAW,CACZ,AACD,2CACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,mCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"PreviewPanel.less",sourcesContent:['.pul-preview-panel {\n position: relative;\n width: 100%;\n text-align: center;\n background-color: #f5f4f3;\n overflow: hidden;\n}\n.pul-preview-panel__image {\n max-width: 100%;\n min-width: 124px;\n height: auto;\n max-height: 100%;\n}\n.pul-preview-panel__html {\n min-width: 124px;\n height: 200px;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n overflow: hidden;\n}\n.pul-preview-panel__html iframe {\n width: 100%;\n height: 100%;\n}\n.pul-preview-panel__html--loading::before {\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n margin: auto;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-preview-panel--spin 0.7s linear;\n animation: pul-preview-panel--spin 0.7s linear;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n.pul-preview-panel__html--loading iframe {\n display: none;\n}\n.pul-preview-panel__content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 20px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n transition: 0.3s;\n opacity: 1;\n}\n.pul-preview-panel__content--empty {\n background-color: rgba(0, 0, 0, 0);\n}\n.pul-preview-panel--background {\n background-repeat: no-repeat;\n background-position: center;\n min-width: 124px;\n min-height: 200px;\n}\n.pul-preview-panel:not(:hover) > .pul-preview-panel__content {\n visibility: hidden;\n opacity: 0;\n}\n@-webkit-keyframes pul-preview-panel--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-preview-panel--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-carousel{position:relative;overflow:hidden;margin-bottom:16px;text-align:center}.pul-carousel__slides{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.pul-carousel__control{position:absolute;top:0;height:100%;margin:0;padding:0 3px;border:none;background-color:rgba(0,0,0,.3);color:#fff;opacity:.3;cursor:pointer}.pul-carousel__control--previous{left:0}.pul-carousel__control--next{right:0}.pul-carousel__control:hover{opacity:1}.pul-carousel__control:focus{outline:none}.pul-carousel__control-icon{height:20px;width:20px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Carousel/Carousel.less"],names:[],mappings:"AAsBA,cACE,kBAAmB,AACnB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,sBACE,2BAA4B,AAC5B,2BAA4B,AAC5B,mBAAqB,CACtB,AACD,uBACE,kBAAmB,AACnB,MAAO,AACP,YAAa,AACb,SAAU,AACV,cAAe,AACf,YAAa,AACb,gCAAqC,AACrC,WAAY,AACZ,WAAa,AACb,cAAgB,CACjB,AACD,iCACE,MAAQ,CACT,AACD,6BACE,OAAS,CACV,AACD,6BACE,SAAW,CACZ,AACD,6BACE,YAAc,CACf,AACD,4BACE,YAAa,AACb,UAAY,CACb",file:"Carousel.less",sourcesContent:['/*\nCarousel\n\nMarkup:\n\n*/\n.pul-carousel {\n position: relative;\n overflow: hidden;\n margin-bottom: 16px;\n text-align: center;\n}\n.pul-carousel__slides {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.pul-carousel__control {\n position: absolute;\n top: 0;\n height: 100%;\n margin: 0;\n padding: 0 3px;\n border: none;\n background-color: rgba(0, 0, 0, 0.3);\n color: #fff;\n opacity: 0.3;\n cursor: pointer;\n}\n.pul-carousel__control--previous {\n left: 0;\n}\n.pul-carousel__control--next {\n right: 0;\n}\n.pul-carousel__control:hover {\n opacity: 1;\n}\n.pul-carousel__control:focus {\n outline: none;\n}\n.pul-carousel__control-icon {\n height: 20px;\n width: 20px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-checkbox{display:inline-block;white-space:nowrap}.pul-checkbox__input{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden}.pul-checkbox__indicator{position:relative;display:inline-block;width:16px;height:16px;vertical-align:top;border:1px solid #b9b9b9;border-radius:2px;background-color:#fff;transition:border .1s,background-color .1s;cursor:pointer}.pul-checkbox__text{margin-left:8px;line-height:16px;white-space:normal}.pul-checkbox:hover .pul-checkbox__input~.pul-checkbox__indicator,.pul-checkbox__input:focus~.pul-checkbox__indicator{border-color:#76c8f4}.pul-checkbox:hover .pul-checkbox__input:checked~.pul-checkbox__indicator,.pul-checkbox__input:checked~.pul-checkbox__indicator,.pul-checkbox__input:focus:checked~.pul-checkbox__indicator{border-color:#0099ea;background-color:#0099ea}.pul-checkbox__input:checked~.pul-checkbox__indicator:after{display:block;content:"";position:absolute;top:0;left:4px;width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.pul-checkbox:hover .pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator,.pul-checkbox:hover .pul-checkbox__input[disabled]~.pul-checkbox__indicator,.pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator,.pul-checkbox__input[disabled]~.pul-checkbox__indicator{border-color:#e2e2e2;background-color:#f4f4f4;cursor:not-allowed}.pul-checkbox:hover .pul-checkbox__input:checked[disabled]~.pul-checkbox__text,.pul-checkbox:hover .pul-checkbox__input[disabled]~.pul-checkbox__text,.pul-checkbox__input:checked[disabled]~.pul-checkbox__text,.pul-checkbox__input[disabled]~.pul-checkbox__text{color:#999;cursor:not-allowed}.pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator:after{border-color:#999}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Checkbox/Checkbox.less"],names:[],mappings:"AAAA,cACE,qBAAsB,AACtB,kBAAoB,CACrB,AACD,qBACE,kBAAmB,AACnB,mBAAoB,AACpB,UAAW,AACX,WAAY,AACZ,YAAa,AACb,UAAW,AACX,SAAU,AACV,eAAiB,CAClB,AACD,yBACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,mBAAoB,AACpB,yBAA0B,AAC1B,kBAAmB,AACnB,sBAAuB,AACvB,2CAA+C,AAC/C,cAAgB,CACjB,AACD,oBACE,gBAAiB,AACjB,iBAAkB,AAClB,kBAAoB,CACrB,AACD,sHAEE,oBAAsB,CACvB,AACD,4LAGE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4DACE,cAAe,AACf,WAAY,AACZ,kBAAmB,AACnB,MAAO,AACP,SAAU,AACV,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,yBAA0B,AAC1B,gCAAiC,AACzB,uBAAyB,CAClC,AACD,wRAIE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,oQAIE,WAAY,AACZ,kBAAoB,CACrB,AACD,sEACE,iBAAmB,CACpB",file:"Checkbox.less",sourcesContent:['.pul-checkbox {\n display: inline-block;\n white-space: nowrap;\n}\n.pul-checkbox__input {\n position: absolute;\n clip: rect(0 0 0 0);\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n overflow: hidden;\n}\n.pul-checkbox__indicator {\n position: relative;\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: top;\n border: 1px solid #b9b9b9;\n border-radius: 2px;\n background-color: #fff;\n transition: border 0.1s, background-color 0.1s;\n cursor: pointer;\n}\n.pul-checkbox__text {\n margin-left: 8px;\n line-height: 16px;\n white-space: normal;\n}\n.pul-checkbox:hover .pul-checkbox__input ~ .pul-checkbox__indicator,\n.pul-checkbox__input:focus ~ .pul-checkbox__indicator {\n border-color: #76c8f4;\n}\n.pul-checkbox__input:checked ~ .pul-checkbox__indicator,\n.pul-checkbox__input:focus:checked ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input:checked ~ .pul-checkbox__indicator {\n border-color: #0099ea;\n background-color: #0099ea;\n}\n.pul-checkbox__input:checked ~ .pul-checkbox__indicator::after {\n display: block;\n content: "";\n position: absolute;\n top: 0;\n left: 4px;\n width: 6px;\n height: 10px;\n border: solid #fff;\n border-width: 0 2px 2px 0;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.pul-checkbox__input[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n cursor: not-allowed;\n}\n.pul-checkbox__input[disabled] ~ .pul-checkbox__text,\n.pul-checkbox:hover .pul-checkbox__input[disabled] ~ .pul-checkbox__text,\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__text,\n.pul-checkbox:hover .pul-checkbox__input:checked[disabled] ~ .pul-checkbox__text {\n color: #999;\n cursor: not-allowed;\n}\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator::after {\n border-color: #999;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/CodeEditor/CodeEditor.less"],names:[],mappings:"AAEA,YAEE,sBAAuB,AACvB,aAAc,AACd,WAAa,AACb,aAAe,CAChB,AAID,kBACE,aAAe,CAChB,AACD,gBACE,aAAe,CAChB,AAED,uDACE,qBAAwB,CACzB,AAID,oBACE,4BAA6B,AAC7B,yBAA0B,AAC1B,kBAAoB,CACrB,AAED,uBACE,oBAAqB,AACrB,eAAgB,AAChB,iBAAkB,AAClB,WAAY,AACZ,kBAAoB,CACrB,AAED,yBAA2B,UAAa,CAAE,AAC1C,gCAAkC,UAAY,CAAE,AAIhD,mBACE,2BAA6B,AAC7B,kBAAmB,AACnB,OAAS,CACV,AAED,2CACE,4BAA8B,CAC/B,AACD,kCACE,WAAY,AACZ,mBAAqB,AACrB,eAAiB,CAClB,AACD,sCACE,SAAW,CACZ,AACD,oBACE,mCAAyC,CAG1C,AACD,2CAHE,gDAAiD,AACjD,uCAAyC,CAQ1C,AAND,uBACE,WAAY,AACZ,SAAU,AAGV,qBAAuB,CACxB,AACD,yBAEE,IAAM,4BAA8B,CAAE,CAEvC,AACD,iBAEE,IAAM,4BAA8B,CAAE,CAEvC,AAKD,QAAU,qBAAsB,AAAC,uBAAyB,CAAE,AAE5D,mBACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAAC,UAAW,AAAC,aAAc,AAC7C,eAAiB,CAClB,AACD,kBACE,2BAA4B,AAC5B,MAAO,AAAC,SAAU,AAClB,iBAAmB,CACpB,AAID,yBAA0B,UAAY,CAAC,AACvC,wBAAyB,UAAY,CAAC,AACtC,aAAc,UAAY,CAAC,AAC3B,aAAc,UAAY,CAAC,AAC3B,sBAAwB,eAAkB,CAAC,AAC3C,OAAQ,iBAAmB,CAAC,AAC5B,SAAU,yBAA2B,CAAC,AACtC,kBAAmB,4BAA8B,CAAC,AAElD,0BAA2B,UAAY,CAAC,AACxC,uBAAwB,UAAY,CAAC,AACrC,yBAA0B,UAAY,CAAC,AACvC,sBAAuB,UAAY,CAAC,AAKpC,6BAA8B,UAAY,CAAC,AAC3C,oDAAsD,UAAY,CAAC,AACnE,0BAA2B,UAAY,CAAC,AACxC,yBAA0B,UAAY,CAAC,AACvC,2BAA4B,UAAY,CAAC,AAEzC,mDAA6B,UAAY,CAAC,AAC1C,0BAA2B,UAAY,CAAC,AACxC,0BAA2B,UAAY,CAAC,AACxC,sBAAuB,UAAY,CAAC,AACpC,4BAA6B,UAAY,CAAC,AAC1C,qBAAsB,UAAY,CAAC,AACnC,uBAAwB,UAAY,CAAC,AAGrC,wCAAiB,SAAY,CAAC,AAE9B,sBAAwB,uBAAyB,CAAE,AAInD,+CAAgD,UAAY,CAAC,AAC7D,kDAAmD,UAAY,CAAC,AAChE,wBAA0B,6BAAkC,CAAE,AAC9D,kCAAmC,kBAAoB,CAAC,AAOxD,YACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAkB,CACnB,AAED,mBACE,0BAA4B,AAG5B,oBAAqB,AAAC,mBAAoB,AAC1C,oBAAqB,AACrB,YAAa,AACb,aAAc,AACd,iBAAmB,CACpB,AACD,kBACE,kBAAmB,AACnB,mCAAqC,CACtC,AAKD,qGACE,kBAAmB,AACnB,UAAW,AACX,YAAc,CACf,AACD,uBACE,QAAS,AAAC,MAAO,AACjB,kBAAmB,AACnB,iBAAmB,CACpB,AACD,uBACE,SAAU,AAAC,OAAQ,AACnB,kBAAmB,AACnB,iBAAmB,CACpB,AACD,6BACE,QAAS,AAAC,QAAU,CACrB,AACD,0BACE,OAAQ,AAAC,QAAU,CACpB,AAED,oBACE,kBAAmB,AAAC,OAAQ,AAAC,MAAO,AACpC,gBAAiB,AACjB,SAAW,CACZ,AACD,mBACE,mBAAoB,AACpB,YAAa,AACb,qBAAsB,AACtB,mBAAoB,AACpB,mBAAqB,CACtB,AACD,2BACE,kBAAmB,AACnB,UAAW,AACX,0BAA4B,AAC5B,qBAAwB,CACzB,AACD,8BACE,kBAAmB,AACnB,MAAO,AAAC,SAAU,AAClB,SAAW,CACZ,AACD,uBACE,kBAAmB,AACnB,eAAgB,AAChB,SAAW,CACZ,AAED,uCAAyC,4BAA6B,CAAE,AACxE,4CAA8C,4BAA6B,CAAE,AAE7E,kBACE,YAAa,AACb,cAAgB,CACjB,AACD,gBACmE,gBAAiB,AAClF,eAAgB,AAChB,uBAAwB,AACxB,oBAAqB,AACrB,kBAAmB,AACnB,SAAU,AACV,gBAAiB,AACjB,iBAAkB,AAClB,oBAAqB,AACrB,cAAe,AACf,UAAW,AACX,kBAAmB,AACnB,iBAAkB,AAClB,wCAAyC,AACzC,0CAA2C,AAC3C,iCAAmC,CACpC,AACD,qBACE,qBAAsB,AACtB,qBAAsB,AACtB,iBAAmB,CACpB,AAED,2BACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAAC,MAAO,AAAC,SAAU,AACrC,SAAW,CACZ,AAED,uBACE,kBAAmB,AACnB,UAAW,AACX,aAAe,CAChB,AAID,oBAAsB,aAAe,CAAE,AAEvC,iBACE,YAAc,CACf,AAGD,mGAKE,sBAAwB,CACzB,AAED,oBACE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,gBAAiB,AACjB,iBAAmB,CACpB,AAED,mBACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,wBAA0B,eAAiB,CAAE,AAE7C,uBACE,kBAAmB,AACnB,kBAAmB,AACnB,SAAW,CACZ,AAKD,sEACE,kBAAoB,CACrB,AAED,qBAAuB,kBAAoB,CAAE,AAC7C,yCAA2C,kBAAoB,CAAE,AACjE,sBAAwB,gBAAkB,CAAE,AAE5C,mGAA6G,kBAAoB,CAAE,AACnI,kHAA4H,kBAAoB,CAAE,AAElJ,cACE,sBAAuB,AACvB,mCAAwC,CACzC,AAGD,iBAAmB,kBAAoB,CAAE,AAEzC,aAEE,mCACE,iBAAmB,CACpB,CACF,AAGD,wBAA0B,UAAY,CAAE,AAGxC,6BAA+B,eAAiB,CAAE,AAElD,mBACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAClB,mBAAoB,AACpB,WAAY,AACZ,kBAAmB,AACnB,gBAAiB,AACjB,aAAe,CAChB,AAED,uBACE,6BAA8B,AAC9B,KAAO,CACR,AAED,0BACE,0BAA2B,AAC3B,QAAU,CACX,AAED,yBACE,YAAa,AACb,aAAc,AACd,uBAAwB,AACxB,WAAY,AACZ,cAAe,AACf,qBAAuB,CACxB,AAED,0BACE,aAAe,CAChB",file:"CodeEditor.less",sourcesContent:["/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: -20px;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n /* Reset some styles that the rest of the page might have set */ border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n overflow: auto;\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n\n.CodeMirror-dialog {\n position: absolute;\n left: 0; right: 0;\n background: inherit;\n z-index: 15;\n padding: .1em .8em;\n overflow: hidden;\n color: inherit;\n}\n\n.CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n}\n\n.CodeMirror-dialog input {\n border: none;\n outline: none;\n background: transparent;\n width: 20em;\n color: inherit;\n font-family: monospace;\n}\n\n.CodeMirror-dialog button {\n font-size: 70%;\n}\n\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".animation-blink{-webkit-animation:blink 1s infinite steps(2,start);animation:blink 1s infinite steps(2,start)}@-webkit-keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes fade{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-top{0%{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-top{0%{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fade-left{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-left{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fade-right{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-right{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2);transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2);transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8);transform:scale(1.8)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8);transform:scale(1.8)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes slide-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-right{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-right{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes scale-12{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes scale-12{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(-9px);transform:translateX(-9px)}20%{-webkit-transform:translateX(8px);transform:translateX(8px)}30%{-webkit-transform:translateX(-7px);transform:translateX(-7px)}40%{-webkit-transform:translateX(6px);transform:translateX(6px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}60%{-webkit-transform:translateX(4px);transform:translateX(4px)}70%{-webkit-transform:translateX(-3px);transform:translateX(-3px)}80%{-webkit-transform:translateX(2px);transform:translateX(2px)}90%{-webkit-transform:translateX(-1px);transform:translateX(-1px)}}@keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(-9px);transform:translateX(-9px)}20%{-webkit-transform:translateX(8px);transform:translateX(8px)}30%{-webkit-transform:translateX(-7px);transform:translateX(-7px)}40%{-webkit-transform:translateX(6px);transform:translateX(6px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}60%{-webkit-transform:translateX(4px);transform:translateX(4px)}70%{-webkit-transform:translateX(-3px);transform:translateX(-3px)}80%{-webkit-transform:translateX(2px);transform:translateX(2px)}90%{-webkit-transform:translateX(-1px);transform:translateX(-1px)}}@-webkit-keyframes blink{80%{visibility:hidden}}@keyframes blink{80%{visibility:hidden}}@-webkit-keyframes slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.pul-console-output{box-sizing:border-box;min-height:15.385em;max-height:25em;max-width:80em;padding:.7692em;border:1px solid #afbac1;background:#ededed;font:1em/1.231em Consolas,Liberation Mono,Menlo,Courier,monospace;color:#020202;-moz-tab-size:4;-o-tab-size:4;tab-size:4;overflow:auto;overflow-x:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word}.pul-console-output__cursor{display:inline-block;width:.4615em;height:1em;margin-left:.2308em;vertical-align:-1px;background-color:#666}.pul-console-output--wide{max-width:100%}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/ConsoleOutput/ConsoleOutput.less"],names:[],mappings:"AAGA,iBACE,mDAAqD,AAC7C,0CAA6C,CACtD,AAGD,wBACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,gBACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AAGD,4BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,oBACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,+BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,uBACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,6BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,qBACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,8BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sBACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AAGD,iCACE,GACE,UAAW,AACX,4BAA8B,AACtB,mBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,4BAA8B,AACtB,mBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,iCACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,iCACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AAGD,8BACE,GACE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sBACE,GACE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,+BACE,GACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,uBACE,GACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AAGD,4BACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,oBACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AAGD,0BACE,GACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,GACE,iCAAkC,AAC1B,wBAA0B,CACnC,CACF,AACD,kBACE,GACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,GACE,iCAAkC,AAC1B,wBAA0B,CACnC,CACF,AAGD,yBACE,MAEE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AACD,iBACE,MAEE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AAGD,yBACE,IACE,iBAAmB,CACpB,CACF,AACD,iBACE,IACE,iBAAmB,CACpB,CACF,AAGD,mCACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,2BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sCACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,8BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AA2BD,oBACE,sBAAuB,AACvB,oBAAqB,AACrB,gBAAiB,AACjB,eAAgB,AAChB,gBAAkB,AAClB,yBAA0B,AAC1B,mBAAoB,AACpB,kEAAyE,AACzE,cAAe,AACf,gBAAiB,AACf,cAAe,AACZ,WAAY,AACjB,cAAe,AACf,kBAAmB,AACnB,qBAAsB,AACtB,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4BACE,qBAAsB,AACtB,cAAgB,AAChB,WAAY,AACZ,oBAAsB,AACtB,oBAAqB,AACrB,qBAAuB,CACxB,AACD,0BACE,cAAgB,CACjB",file:"ConsoleOutput.less",sourcesContent:['/* ========================================================================\n Animation\n ========================================================================== */\n.animation-blink {\n -webkit-animation: blink 1s infinite steps(2, start);\n animation: blink 1s infinite steps(2, start);\n}\n/* Keyframes: Fade\n ========================================================================== */\n@-webkit-keyframes fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n/* Keyframes: Fade with slide\n ========================================================================== */\n@-webkit-keyframes fade-top {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes fade-top {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes fade-bottom {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(100%);\n transform: translateY(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes fade-bottom {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(100%);\n transform: translateY(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes fade-left {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes fade-left {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes fade-right {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes fade-right {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n/* Keyframes: Fade with scale\n ========================================================================== */\n@-webkit-keyframes fade-scale-02 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(0.2);\n transform: scale(0.2);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-02 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(0.2);\n transform: scale(0.2);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes fade-scale-15 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.5);\n transform: scale(1.5);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-15 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.5);\n transform: scale(1.5);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes fade-scale-18 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.8);\n transform: scale(1.8);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-18 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.8);\n transform: scale(1.8);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n/* Keyframes: Slide\n ========================================================================== */\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n/* Keyframes: Scale\n ========================================================================== */\n@-webkit-keyframes scale-12 {\n 0% {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n 100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes scale-12 {\n 0% {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n 100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n/* Keyframes: Rotate\n ========================================================================== */\n@-webkit-keyframes rotate {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n@keyframes rotate {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n/* Keyframes: Shake\n ========================================================================== */\n@-webkit-keyframes shake {\n 0%,\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 10% {\n -webkit-transform: translateX(-9px);\n transform: translateX(-9px);\n }\n 20% {\n -webkit-transform: translateX(8px);\n transform: translateX(8px);\n }\n 30% {\n -webkit-transform: translateX(-7px);\n transform: translateX(-7px);\n }\n 40% {\n -webkit-transform: translateX(6px);\n transform: translateX(6px);\n }\n 50% {\n -webkit-transform: translateX(-5px);\n transform: translateX(-5px);\n }\n 60% {\n -webkit-transform: translateX(4px);\n transform: translateX(4px);\n }\n 70% {\n -webkit-transform: translateX(-3px);\n transform: translateX(-3px);\n }\n 80% {\n -webkit-transform: translateX(2px);\n transform: translateX(2px);\n }\n 90% {\n -webkit-transform: translateX(-1px);\n transform: translateX(-1px);\n }\n}\n@keyframes shake {\n 0%,\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 10% {\n -webkit-transform: translateX(-9px);\n transform: translateX(-9px);\n }\n 20% {\n -webkit-transform: translateX(8px);\n transform: translateX(8px);\n }\n 30% {\n -webkit-transform: translateX(-7px);\n transform: translateX(-7px);\n }\n 40% {\n -webkit-transform: translateX(6px);\n transform: translateX(6px);\n }\n 50% {\n -webkit-transform: translateX(-5px);\n transform: translateX(-5px);\n }\n 60% {\n -webkit-transform: translateX(4px);\n transform: translateX(4px);\n }\n 70% {\n -webkit-transform: translateX(-3px);\n transform: translateX(-3px);\n }\n 80% {\n -webkit-transform: translateX(2px);\n transform: translateX(2px);\n }\n 90% {\n -webkit-transform: translateX(-1px);\n transform: translateX(-1px);\n }\n}\n/* Keyframes: Blink\n ========================================================================== */\n@-webkit-keyframes blink {\n 80% {\n visibility: hidden;\n }\n}\n@keyframes blink {\n 80% {\n visibility: hidden;\n }\n}\n/* Keyframes: Fade with slide fixed\n ========================================================================== */\n@-webkit-keyframes slide-top-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-10px);\n transform: translateY(-10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes slide-top-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-10px);\n transform: translateY(-10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-bottom-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px);\n transform: translateY(10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes slide-bottom-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px);\n transform: translateY(10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n/*doc\n---\ntitle: "Console Output"\nname: console-output\ncategory: "Components - Console Output"\n---\n\n- [console-output.less] (https://git.plesk.ru/projects/PLESK/repos/plesk/browse/common/theme/less/core/console-output.less)\n- [Description] (https://docs.plesk.ru/display/PPP/05+-+Widgets#id-05-Widgets-ConsoleOutput)\n\n```html_example\n
\nconsole-output\n...\n
\n```\n### Full Width Console Output\n```html_example\n
\nconsole-output-wide...\n
\n```\n*/\n/* ========================================================================\n Console Output\n ========================================================================== */\n.pul-console-output {\n box-sizing: border-box;\n min-height: 15.385em;\n max-height: 25em;\n max-width: 80em;\n padding: 0.7692em;\n border: 1px solid #afbac1;\n background: #ededed;\n font: 1em/1.231em Consolas, "Liberation Mono", Menlo, Courier, monospace;\n color: #020202;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n overflow: auto;\n overflow-x: hidden;\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n.pul-console-output__cursor {\n display: inline-block;\n width: 0.4615em;\n height: 1em;\n margin-left: 0.2308em;\n vertical-align: -1px;\n background-color: #666;\n}\n.pul-console-output--wide {\n max-width: 100%;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-cuttable__content{overflow:hidden}.pul-cuttable--expand .pul-cuttable__content{max-height:none!important}.pul-cuttable--collapse .pul-cuttable__content{position:relative}.pul-cuttable--collapse .pul-cuttable__content:after{content:"";position:absolute;width:100%;left:0;bottom:0;height:1.4em;box-shadow:inset 0 -30px 18px -18px #fff}.pul-list tr.is-selected>td .pul-cuttable--collapse .pul-cuttable__content:after{box-shadow:inset 0 -30px 18px -18px #ffdfba}.pul-list tr:not(.is-selected):hover>td .pul-cuttable--collapse .pul-cuttable__content:after{box-shadow:inset 0 -30px 18px -18px #ecf5f9}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Cuttable/Cuttable.less"],names:[],mappings:"AAaA,uBACE,eAAiB,CAClB,AACD,6CACE,yBAA4B,CAC7B,AACD,+CACE,iBAAmB,CACpB,AACD,qDACE,WAAY,AACZ,kBAAmB,AACnB,WAAY,AACZ,OAAQ,AACR,SAAU,AACV,aAAc,AACd,wCAA0C,CAC3C,AACD,iFACE,2CAA6C,CAC9C,AACD,6FACE,2CAA6C,CAC9C",file:"Cuttable.less",sourcesContent:['/*\nCarousel\n\nMarkup:\n
\n
{{children}}
\n
{{children}}
\n
\n\nModifiers:\n.cuttable--expand\n.cuttable--collapse\n*/\n.pul-cuttable__content {\n overflow: hidden;\n}\n.pul-cuttable--expand .pul-cuttable__content {\n max-height: none !important;\n}\n.pul-cuttable--collapse .pul-cuttable__content {\n position: relative;\n}\n.pul-cuttable--collapse .pul-cuttable__content::after {\n content: "";\n position: absolute;\n width: 100%;\n left: 0;\n bottom: 0;\n height: 1.4em;\n box-shadow: inset 0 -30px 18px -18px #fff;\n}\n.pul-list tr.is-selected > td .pul-cuttable--collapse .pul-cuttable__content::after {\n box-shadow: inset 0 -30px 18px -18px #ffdfba;\n}\n.pul-list tr:not(.is-selected):hover > td .pul-cuttable--collapse .pul-cuttable__content::after {\n box-shadow: inset 0 -30px 18px -18px #ecf5f9;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-dialog__heading{padding:10px 20px;line-height:26px;background-color:#219ed4}.pul-dialog__heading-title{margin:0;font-size:24px;color:#fff}.pul-dialog__banner,.pul-dialog__image{text-align:center}.pul-dialog__banner-inner{width:100%;height:auto}.pul-dialog__image{padding-bottom:10px}.pul-dialog__image-inner{max-width:100%;height:auto}.pul-dialog__content{padding:10px 20px;max-height:calc(100vh - 112px);overflow-y:auto}.pul-dialog__buttons{margin-top:12px;padding-top:10px;border-top:1px solid #ddd;text-align:center}.pul-dialog__buttons .pul-button{min-width:90px;margin-right:10px;padding:8px 12px;font-weight:600}@media (min-width:480px){.pul-dialog__content{padding-bottom:0}.pul-dialog__buttons,.pul-dialog__form-footer{position:-webkit-sticky;position:sticky;bottom:0;background-color:#fff;padding-bottom:10px}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Dialog/Dialog.less"],names:[],mappings:"AAAA,qBACE,kBAAmB,AACnB,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,2BACE,SAAU,AACV,eAAgB,AAChB,UAAY,CACb,AACD,uCAEE,iBAAmB,CACpB,AACD,0BACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,mBAAqB,CACtB,AACD,yBACE,eAAgB,AAChB,WAAa,CACd,AACD,qBACE,kBAAmB,AACnB,+BAAgC,AAChC,eAAiB,CAClB,AACD,qBACE,gBAAiB,AACjB,iBAAkB,AAClB,0BAA2B,AAC3B,iBAAmB,CACpB,AACD,iCACE,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAiB,CAClB,AACD,yBACE,qBACE,gBAAkB,CACnB,AACD,8CAEE,wBAAyB,AACzB,gBAAiB,AACjB,SAAU,AACV,sBAAwB,AACxB,mBAAqB,CACtB,CACF",file:"Dialog.less",sourcesContent:[".pul-dialog__heading {\n padding: 10px 20px;\n line-height: 26px;\n background-color: #219ed4;\n}\n.pul-dialog__heading-title {\n margin: 0;\n font-size: 24px;\n color: #fff;\n}\n.pul-dialog__banner,\n.pul-dialog__image {\n text-align: center;\n}\n.pul-dialog__banner-inner {\n width: 100%;\n height: auto;\n}\n.pul-dialog__image {\n padding-bottom: 10px;\n}\n.pul-dialog__image-inner {\n max-width: 100%;\n height: auto;\n}\n.pul-dialog__content {\n padding: 10px 20px;\n max-height: calc(100vh - 112px);\n overflow-y: auto;\n}\n.pul-dialog__buttons {\n margin-top: 12px;\n padding-top: 10px;\n border-top: 1px solid #ddd;\n text-align: center;\n}\n.pul-dialog__buttons .pul-button {\n min-width: 90px;\n margin-right: 10px;\n padding: 8px 12px;\n font-weight: 600;\n}\n@media (min-width: 480px) {\n .pul-dialog__content {\n padding-bottom: 0;\n }\n .pul-dialog__form-footer,\n .pul-dialog__buttons {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n background-color: white;\n padding-bottom: 10px;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-drawer__subheader{position:-webkit-sticky;position:sticky;top:0;border-bottom:1px solid rgba(0,0,0,.35);transition:all .2s ease-in-out;overflow-y:hidden;width:100%;background-color:hsla(0,0%,100%,.9);-webkit-box-flex:0;-ms-flex:none;flex:none;z-index:1}@supports ((-webkit-backdrop-filter:blur(10px)) or (backdrop-filter:blur(10px))){.pul-drawer__subheader{background-color:transparent;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}@media (max-width:480px){.pul-drawer__subheader--hidden{top:-52px}}.pul-drawer__subheader-title{padding:14px 20px 13px;font-size:18px;line-height:24px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pul-drawer__body{overflow:auto;position:relative;z-index:1}.pul-drawer__inner-body{padding:20px 24px}.pul-drawer__form{padding:20px 24px 0}@media (min-width:480px){.pul-drawer--form .pul-drawer__body{padding-bottom:0}.pul-drawer__form-footer{position:-webkit-sticky;position:sticky;bottom:0;margin-right:-24px;margin-left:-24px;margin-bottom:0;padding:10px 24px 20px;background-color:#fff}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Drawer/Drawer.less"],names:[],mappings:"AAAA,uBACE,wBAAyB,AACzB,gBAAiB,AACjB,MAAO,AACP,wCAA6C,AAC7C,+BAAiC,AACjC,kBAAmB,AACnB,WAAY,AACZ,oCAA2C,AAC3C,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,SAAW,CACZ,AACD,iFACE,uBACE,6BAA8B,AAC9B,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AACD,yBACE,+BACE,SAAW,CACZ,CACF,AACD,6BACE,uBAAwB,AACxB,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,mBAAoB,AACpB,uBAAwB,AACxB,eAAiB,CAClB,AACD,kBACE,cAAe,AACf,kBAAmB,AACnB,SAAW,CACZ,AACD,wBACE,iBAAmB,CACpB,AACD,kBACE,mBAAqB,CACtB,AACD,yBACE,oCACE,gBAAkB,CACnB,AACD,yBACE,wBAAyB,AACzB,gBAAiB,AACjB,SAAU,AACV,mBAAoB,AACpB,kBAAmB,AACnB,gBAAiB,AACjB,uBAAwB,AACxB,qBAAwB,CACzB,CACF",file:"Drawer.less",sourcesContent:[".pul-drawer__subheader {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n border-bottom: 1px solid rgba(0, 0, 0, 0.35);\n transition: all 0.2s ease-in-out;\n overflow-y: hidden;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n z-index: 1;\n}\n@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {\n .pul-drawer__subheader {\n background-color: transparent;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@media (max-width: 480px) {\n .pul-drawer__subheader--hidden {\n top: -52px;\n }\n}\n.pul-drawer__subheader-title {\n padding: 14px 20px 13px;\n font-size: 18px;\n line-height: 24px;\n margin: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.pul-drawer__body {\n overflow: auto;\n position: relative;\n z-index: 1;\n}\n.pul-drawer__inner-body {\n padding: 20px 24px;\n}\n.pul-drawer__form {\n padding: 20px 24px 0;\n}\n@media (min-width: 480px) {\n .pul-drawer--form .pul-drawer__body {\n padding-bottom: 0;\n }\n .pul-drawer__form-footer {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n margin-right: -24px;\n margin-left: -24px;\n margin-bottom: 0;\n padding: 10px 24px 20px;\n background-color: white;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-drawer-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:none;flex:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:9px 20px;background-color:#009cd2}.pul-drawer-header__title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:25px;line-height:34px;margin:0;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pul-drawer-header__back-button{margin-right:16px}.pul-drawer-header__icon{width:16px;height:16px;color:#fff}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Drawer/Header.less"],names:[],mappings:"AAAA,mBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,0BACE,mBAAoB,AAChB,oBAAqB,AACjB,YAAa,AACrB,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,WAAY,AACZ,mBAAoB,AACpB,uBAAwB,AACxB,eAAiB,CAClB,AACD,gCACE,iBAAmB,CACpB,AACD,yBACE,WAAY,AACZ,YAAa,AACb,UAAY,CACb",file:"Header.less",sourcesContent:[".pul-drawer-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 9px 20px;\n background-color: #009cd2;\n}\n.pul-drawer-header__title {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n font-size: 25px;\n line-height: 34px;\n margin: 0;\n color: #fff;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.pul-drawer-header__back-button {\n margin-right: 16px;\n}\n.pul-drawer-header__icon {\n width: 16px;\n height: 16px;\n color: #fff;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-dropdown{position:relative}.pul-dropdown__popper{max-width:calc(100% - 10px)}.pul-dropdown__menu{margin:2px 0}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Dropdown/Dropdown.less"],names:[],mappings:"AAAA,cACE,iBAAmB,CACpB,AACD,sBACE,2BAA6B,CAC9B,AACD,oBACE,YAAc,CACf",file:"Dropdown.less",sourcesContent:[".pul-dropdown {\n position: relative;\n}\n.pul-dropdown__popper {\n max-width: calc(100% - 10px);\n}\n.pul-dropdown__menu {\n margin: 2px 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-extended-status-message{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:550px;margin:12px auto;padding:10px;background:#f0f0f0}.pul-extended-status-message hr{border-top-color:#bdbdbd}.pul-extended-status-message--success{background-color:#bcdf94}.pul-extended-status-message--success .pul-extended-status-message__title{color:#3c591b}.pul-extended-status-message--success hr{border-top-color:#8bc845}.pul-extended-status-message--info{background-color:#c6e5fa}.pul-extended-status-message--info .pul-extended-status-message__title{color:#1070b1}.pul-extended-status-message--info hr{border-top-color:#68baf2}.pul-extended-status-message--warning{background-color:#fdd896}.pul-extended-status-message--warning .pul-extended-status-message__title{color:#915e03}.pul-extended-status-message--warning hr{border-top-color:#fbb332}.pul-extended-status-message--danger{background-color:#f4b3b3}.pul-extended-status-message--danger .pul-extended-status-message__title{color:#931515}.pul-extended-status-message--danger hr{border-top-color:#e75a5a}.pul-extended-status-message__image{padding:10px}.pul-extended-status-message__image img{max-width:128px}.pul-extended-status-message__body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:10px;box-sizing:border-box}.pul-extended-status-message__title{line-height:normal;font-size:18px;font-weight:700}.pul-extended-status-message__description{display:block;margin-top:10px}.pul-extended-status-message__actions{margin-top:6px}.pul-extended-status-message__actions .pul-button{margin:6px 2px 0}@media (max-width:600px){.pul-extended-status-message{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.pul-extended-status-message__image img{max-width:64px}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/ExtendedStatusMessage/ExtendedStatusMessage.less"],names:[],mappings:"AAAA,6BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,gBAAiB,AACjB,iBAAkB,AAClB,aAAc,AACd,kBAAoB,CACrB,AACD,gCACE,wBAA0B,CAC3B,AACD,sCACE,wBAA0B,CAC3B,AACD,0EACE,aAAe,CAChB,AACD,yCACE,wBAA0B,CAC3B,AACD,mCACE,wBAA0B,CAC3B,AACD,uEACE,aAAe,CAChB,AACD,sCACE,wBAA0B,CAC3B,AACD,sCACE,wBAA0B,CAC3B,AACD,0EACE,aAAe,CAChB,AACD,yCACE,wBAA0B,CAC3B,AACD,qCACE,wBAA0B,CAC3B,AACD,yEACE,aAAe,CAChB,AACD,wCACE,wBAA0B,CAC3B,AACD,oCACE,YAAc,CACf,AACD,wCACE,eAAiB,CAClB,AACD,mCACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,aAAc,AACd,qBAAuB,CACxB,AACD,oCACE,mBAAoB,AACpB,eAAgB,AAChB,eAAkB,CACnB,AACD,0CACE,cAAe,AACf,eAAiB,CAClB,AACD,sCACE,cAAgB,CACjB,AACD,kDACE,gBAAkB,CACnB,AACD,yBACE,6BACE,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,qBAAuB,CAChC,AACD,wCACE,cAAgB,CACjB,CACF",file:"ExtendedStatusMessage.less",sourcesContent:[".pul-extended-status-message {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n max-width: 550px;\n margin: 12px auto;\n padding: 10px;\n background: #f0f0f0;\n}\n.pul-extended-status-message hr {\n border-top-color: #bdbdbd;\n}\n.pul-extended-status-message--success {\n background-color: #bcdf94;\n}\n.pul-extended-status-message--success .pul-extended-status-message__title {\n color: #3c591b;\n}\n.pul-extended-status-message--success hr {\n border-top-color: #8bc845;\n}\n.pul-extended-status-message--info {\n background-color: #c6e5fa;\n}\n.pul-extended-status-message--info .pul-extended-status-message__title {\n color: #1070b1;\n}\n.pul-extended-status-message--info hr {\n border-top-color: #68baf2;\n}\n.pul-extended-status-message--warning {\n background-color: #fdd896;\n}\n.pul-extended-status-message--warning .pul-extended-status-message__title {\n color: #915e03;\n}\n.pul-extended-status-message--warning hr {\n border-top-color: #fbb332;\n}\n.pul-extended-status-message--danger {\n background-color: #f4b3b3;\n}\n.pul-extended-status-message--danger .pul-extended-status-message__title {\n color: #931515;\n}\n.pul-extended-status-message--danger hr {\n border-top-color: #e75a5a;\n}\n.pul-extended-status-message__image {\n padding: 10px;\n}\n.pul-extended-status-message__image img {\n max-width: 128px;\n}\n.pul-extended-status-message__body {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 10px;\n box-sizing: border-box;\n}\n.pul-extended-status-message__title {\n line-height: normal;\n font-size: 18px;\n font-weight: bold;\n}\n.pul-extended-status-message__description {\n display: block;\n margin-top: 10px;\n}\n.pul-extended-status-message__actions {\n margin-top: 6px;\n}\n.pul-extended-status-message__actions .pul-button {\n margin: 6px 2px 0;\n}\n@media (max-width: 600px) {\n .pul-extended-status-message {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n }\n .pul-extended-status-message__image img {\n max-width: 64px;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-figure{position:relative;display:inline-block}.pul-figure--slide{margin:0}.pul-figure__caption{padding-top:5px}.pul-figure__overlay{position:absolute;padding:16px}.pul-figure__overlay--top{top:0;right:0;left:0}.pul-figure__overlay--bottom{right:0;bottom:0;left:0}.pul-figure__overlay--cover{top:0;right:0;bottom:0;left:0}.pul-figure__action{background-image:linear-gradient(180deg,transparent 0,transparent 50%,rgba(0,0,0,.8));cursor:pointer}.pul-figure__action:hover{background-color:rgba(0,0,0,.4)}.pul-figure__action+.pul-figure__overlay{pointer-events:none;line-height:1.3;font-weight:300;font-size:12px;text-shadow:0 1px 0 rgba(0,0,0,.8)}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Figure/Figure.less"],names:[],mappings:"AAAA,YACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,mBACE,QAAU,CACX,AACD,qBACE,eAAiB,CAClB,AACD,qBACE,kBAAmB,AACnB,YAAc,CACf,AACD,0BACE,MAAO,AACP,QAAS,AACT,MAAQ,CACT,AACD,6BACE,QAAS,AACT,SAAU,AACV,MAAQ,CACT,AACD,4BACE,MAAO,AACP,QAAS,AACT,SAAU,AACV,MAAQ,CACT,AACD,oBACE,sFAAiH,AACjH,cAAgB,CACjB,AACD,0BACE,+BAAqC,CACtC,AACD,yCACE,oBAAqB,AACrB,gBAAiB,AACjB,gBAAiB,AACjB,eAAgB,AAChB,kCAAwC,CACzC",file:"Figure.less",sourcesContent:[".pul-figure {\n position: relative;\n display: inline-block;\n}\n.pul-figure--slide {\n margin: 0;\n}\n.pul-figure__caption {\n padding-top: 5px;\n}\n.pul-figure__overlay {\n position: absolute;\n padding: 16px;\n}\n.pul-figure__overlay--top {\n top: 0;\n right: 0;\n left: 0;\n}\n.pul-figure__overlay--bottom {\n right: 0;\n bottom: 0;\n left: 0;\n}\n.pul-figure__overlay--cover {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.pul-figure__action {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);\n cursor: pointer;\n}\n.pul-figure__action:hover {\n background-color: rgba(0, 0, 0, 0.4);\n}\n.pul-figure__action + .pul-figure__overlay {\n pointer-events: none;\n line-height: 1.3;\n font-weight: 300;\n font-size: 12px;\n text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field-checkbox .pul-form-field__description,.pul-form-field-checkbox .pul-form-field__error{margin-left:26px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/FormFieldCheckbox/FormFieldCheckbox.less"],names:[],mappings:"AAAA,sGAEE,gBAAkB,CACnB",file:"FormFieldCheckbox.less",sourcesContent:[".pul-form-field-checkbox .pul-form-field__error,\n.pul-form-field-checkbox .pul-form-field__description {\n margin-left: 26px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field-password .pul-button{min-height:26px;padding-top:3px;padding-bottom:3px}.pul-form-field-password .pul-button--empty{min-height:26px;min-width:26px;padding:3px 4px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/FormFieldPassword/FormFieldPassword.less"],names:[],mappings:"AAAA,qCACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,4CACE,gBAAiB,AACjB,eAAgB,AAChB,eAAiB,CAClB",file:"FormFieldPassword.less",sourcesContent:[".pul-form-field-password .pul-button {\n min-height: 26px;\n padding-top: 3px;\n padding-bottom: 3px;\n}\n.pul-form-field-password .pul-button--empty {\n min-height: 26px;\n min-width: 26px;\n padding: 3px 4px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"FormFieldRadioButtons.less",sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"FormFieldText.less",sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field{box-sizing:border-box;min-height:26px}.pul-form-field--error{position:relative;background:#fedddf;box-shadow:0 0 0 3px #fedddf}.pul-form-field__description,.pul-form-field__error{display:block;max-width:500px;margin:0 0 5px;padding:0}.pul-form-field__error{color:#c80000}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/FormField/FormField.less"],names:[],mappings:"AAAA,gBACE,sBAAuB,AACvB,eAAiB,CAClB,AACD,uBACE,kBAAmB,AACnB,mBAAoB,AACpB,4BAA8B,CAC/B,AACD,oDAEE,cAAe,AACf,gBAAiB,AACjB,eAAgB,AAChB,SAAW,CACZ,AACD,uBACE,aAAe,CAChB",file:"FormField.less",sourcesContent:[".pul-form-field {\n box-sizing: border-box;\n min-height: 26px;\n}\n.pul-form-field--error {\n position: relative;\n background: #fedddf;\n box-shadow: 0 0 0 3px #fedddf;\n}\n.pul-form-field__error,\n.pul-form-field__description {\n display: block;\n max-width: 500px;\n margin: 0 0 5px;\n padding: 0;\n}\n.pul-form-field__error {\n color: #c80000;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form__required{color:#c80000}.pul-form__footer .pul-button{min-width:90px;margin-right:10px;padding:8px 12px;font-weight:600}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Form/Form.less"],names:[],mappings:"AAAA,oBACE,aAAe,CAChB,AACD,8BACE,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAiB,CAClB",file:"Form.less",sourcesContent:[".pul-form__required {\n color: #c80000;\n}\n.pul-form__footer .pul-button {\n min-width: 90px;\n margin-right: 10px;\n padding: 8px 12px;\n font-weight: 600;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;list-style:none;margin:0}.pul-grid,.pul-grid__col{box-sizing:border-box;padding:0}.pul-grid__col{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;max-width:100%}.pul-grid__col>:last-child{margin-bottom:0}.pul-grid.pul-grid__col{margin:0;padding:0}@media (min-width:480px){.pul-grid--xs-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--xs-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--xs-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--xs-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--xs-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--xs-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--xs-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--xs-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--xs-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--xs-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--xs-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--xs-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--xs-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--xs-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--xs-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--xs-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--xs-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--xs-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:768px){.pul-grid--sm-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--sm-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--sm-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--sm-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--sm-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--sm-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--sm-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--sm-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--sm-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--sm-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--sm-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--sm-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--sm-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--sm-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--sm-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--sm-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--sm-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--sm-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:992px){.pul-grid--md-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--md-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--md-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--md-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--md-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--md-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--md-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--md-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--md-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--md-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--md-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--md-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--md-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--md-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--md-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--md-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--md-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--md-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:1200px){.pul-grid--lg-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--lg-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--lg-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--lg-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--lg-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--lg-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--lg-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--lg-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--lg-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--lg-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--lg-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--lg-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--lg-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--lg-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--lg-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--lg-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--lg-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--lg-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:1600px){.pul-grid--xl-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--xl-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--xl-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--xl-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--xl-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--xl-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--xl-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--xl-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--xl-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--xl-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--xl-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--xl-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--xl-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--xl-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--xl-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--xl-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--xl-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--xl-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}.pul-grid--gap-xs{margin-left:-8px}.pul-grid--gap-xs>.pul-grid__col{padding-left:8px;padding-bottom:8px}.pul-grid--gap-xs>.pul-grid__col>.pul-grid{margin-bottom:-8px}.pul-grid--gap-sm{margin-left:-12px}.pul-grid--gap-sm>.pul-grid__col{padding-left:12px;padding-bottom:12px}.pul-grid--gap-sm>.pul-grid__col>.pul-grid{margin-bottom:-12px}.pul-grid--gap-md{margin-left:-16px}.pul-grid--gap-md>.pul-grid__col{padding-left:16px;padding-bottom:16px}.pul-grid--gap-md>.pul-grid__col>.pul-grid{margin-bottom:-16px}.pul-grid--gap-lg{margin-left:-24px}.pul-grid--gap-lg>.pul-grid__col{padding-left:24px;padding-bottom:24px}.pul-grid--gap-lg>.pul-grid__col>.pul-grid{margin-bottom:-24px}.pul-grid--gap-xl{margin-left:-32px}.pul-grid--gap-xl>.pul-grid__col{padding-left:32px;padding-bottom:32px}.pul-grid--gap-xl>.pul-grid__col>.pul-grid{margin-bottom:-32px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Grid/Grid.less"],names:[],mappings:"AAAA,UAEE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,gBAAiB,AACjB,QAAU,CAEX,AACD,yBAZE,sBAAuB,AAUvB,SAAW,CASZ,AAPD,eACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AAEvB,cAAgB,CAEjB,AACD,2BACE,eAAiB,CAClB,AACD,wBACE,SAAU,AACV,SAAW,CACZ,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,0BACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,0BACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,kBACE,gBAAkB,CACnB,AACD,iCACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,2CACE,kBAAoB,CACrB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB",file:"Grid.less",sourcesContent:[".pul-grid {\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.pul-grid__col {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n box-sizing: border-box;\n max-width: 100%;\n padding: 0 0 0 0;\n}\n.pul-grid__col > :last-child {\n margin-bottom: 0;\n}\n.pul-grid.pul-grid__col {\n margin: 0;\n padding: 0;\n}\n@media (min-width: 480px) {\n .pul-grid--xs-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--xs-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--xs-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--xs-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--xs-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--xs-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--xs-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--xs-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--xs-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--xs-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--xs-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--xs-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--xs-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 768px) {\n .pul-grid--sm-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--sm-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--sm-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--sm-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--sm-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--sm-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--sm-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--sm-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--sm-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--sm-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--sm-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--sm-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--sm-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 992px) {\n .pul-grid--md-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--md-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--md-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--md-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--md-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--md-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--md-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--md-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--md-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--md-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--md-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--md-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--md-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 1200px) {\n .pul-grid--lg-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--lg-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--lg-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--lg-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--lg-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--lg-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--lg-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--lg-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--lg-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--lg-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--lg-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--lg-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--lg-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 1600px) {\n .pul-grid--xl-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--xl-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--xl-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--xl-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--xl-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--xl-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--xl-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--xl-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--xl-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--xl-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--xl-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--xl-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--xl-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n.pul-grid--gap-xs {\n margin-left: -8px;\n}\n.pul-grid--gap-xs > .pul-grid__col {\n padding-left: 8px;\n padding-bottom: 8px;\n}\n.pul-grid--gap-xs > .pul-grid__col > .pul-grid {\n margin-bottom: -8px;\n}\n.pul-grid--gap-sm {\n margin-left: -12px;\n}\n.pul-grid--gap-sm > .pul-grid__col {\n padding-left: 12px;\n padding-bottom: 12px;\n}\n.pul-grid--gap-sm > .pul-grid__col > .pul-grid {\n margin-bottom: -12px;\n}\n.pul-grid--gap-md {\n margin-left: -16px;\n}\n.pul-grid--gap-md > .pul-grid__col {\n padding-left: 16px;\n padding-bottom: 16px;\n}\n.pul-grid--gap-md > .pul-grid__col > .pul-grid {\n margin-bottom: -16px;\n}\n.pul-grid--gap-lg {\n margin-left: -24px;\n}\n.pul-grid--gap-lg > .pul-grid__col {\n padding-left: 24px;\n padding-bottom: 24px;\n}\n.pul-grid--gap-lg > .pul-grid__col > .pul-grid {\n margin-bottom: -24px;\n}\n.pul-grid--gap-xl {\n margin-left: -32px;\n}\n.pul-grid--gap-xl > .pul-grid__col {\n padding-left: 32px;\n padding-bottom: 32px;\n}\n.pul-grid--gap-xl > .pul-grid__col > .pul-grid {\n margin-bottom: -32px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-hint{color:#787878;font-size:12px}.pul-hint a{color:#7aa9bf}.pul-hint a:hover{color:#94c2d8}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Hint/Hint.less"],names:[],mappings:"AAAA,UACE,cAAe,AACf,cAAgB,CACjB,AACD,YACE,aAAe,CAChB,AACD,kBACE,aAAe,CAChB",file:"Hint.less",sourcesContent:[".pul-hint {\n color: #787878;\n font-size: 12px;\n}\n.pul-hint a {\n color: #7aa9bf;\n}\n.pul-hint a:hover {\n color: #94c2d8;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-icon-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:24px;min-width:24px;margin:0;padding:4px;cursor:pointer;text-align:center;vertical-align:top;color:#616161;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-icon-button::-moz-focus-inner{border:0;padding:0}.pul-icon-button:focus,.pul-icon-button:hover{text-decoration:none;outline:none;background-color:rgba(0,0,0,.04)}.pul-icon-button:active{background-color:rgba(0,0,0,.14)}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/IconButton/IconButton.less"],names:[],mappings:"AAAA,iBACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,mCACE,SAAU,AACV,SAAW,CACZ,AACD,8CAEE,qBAAsB,AACtB,aAAc,AACd,gCAAsC,CACvC,AACD,wBACE,gCAAsC,CACvC",file:"IconButton.less",sourcesContent:[".pul-icon-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 24px;\n min-width: 24px;\n margin: 0;\n padding: 4px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n color: #616161;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-icon-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-icon-button:hover,\n.pul-icon-button:focus {\n text-decoration: none;\n outline: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-icon-button:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;background-repeat:no-repeat;background-size:contain}.pul-icon img,.pul-icon svg{display:block;width:100%;height:100%;overflow:hidden;fill:currentColor}.pul-icon--size-sm{width:16px;height:16px}.pul-icon--size-md{width:32px;height:32px}.pul-icon--size-lg{width:48px;height:48px}.pul-icon--size-xl{width:64px;height:64px}.pul-icon--size-xxl{width:96px;height:96px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Icon/Icon.less"],names:[],mappings:"AAkBA,UACE,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,oBAAqB,AACrB,4BAA6B,AAC7B,uBAAyB,CAC1B,AACD,4BAEE,cAAe,AACf,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,oBACE,WAAY,AACZ,WAAa,CACd",file:"Icon.less",sourcesContent:['/*\nIcon\n\nMarkup:\n{{children}}\n\n...\n...\n\nModifiers:\n.icon--size-sm\n.icon--size-md\n.icon--size-lg\n.icon--size-xl\n.icon--size-xxl\n\n.icon--{{name}}\n*/\n.pul-icon {\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n.pul-icon img,\n.pul-icon svg {\n display: block;\n width: 100%;\n height: 100%;\n overflow: hidden;\n fill: currentColor;\n}\n.pul-icon--size-sm {\n width: 16px;\n height: 16px;\n}\n.pul-icon--size-md {\n width: 32px;\n height: 32px;\n}\n.pul-icon--size-lg {\n width: 48px;\n height: 48px;\n}\n.pul-icon--size-xl {\n width: 64px;\n height: 64px;\n}\n.pul-icon--size-xxl {\n width: 96px;\n height: 96px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-input{box-sizing:border-box;height:26px;max-width:100%;padding:3px 6px 4px;border:solid #afbac1;border-width:0 0 1px;background-color:#ededed;color:#020202;transition:all .2s linear}.pul-input:focus{border-color:#0f7faf;outline:0;background-color:#ecf5f9;color:#020202}.pul-input[readonly]{border-color:#afbac1;background-color:#ededed;color:#020202}.pul-input[disabled]{border-color:#e2e2e2;background-color:#f4f4f4;color:#999;opacity:1}.pul-input--size-sm{width:50px}.pul-input--size-md{width:200px}.pul-input--size-lg{width:350px}.pul-input--size-xl{width:500px}.pul-input--size-fill{width:100%}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Input/Input.less"],names:[],mappings:"AAAA,WACE,sBAAuB,AACvB,YAAa,AACb,eAAgB,AAChB,oBAAqB,AACrB,qBAAsB,AACtB,qBAAsB,AACtB,yBAA0B,AAC1B,cAAe,AACf,yBAA4B,CAC7B,AACD,iBACE,qBAAsB,AACtB,UAAW,AACX,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,WAAY,AACZ,SAAW,CACZ,AACD,oBACE,UAAY,CACb,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,sBACE,UAAY,CACb",file:"Input.less",sourcesContent:[".pul-input {\n box-sizing: border-box;\n height: 26px;\n max-width: 100%;\n padding: 3px 6px 4px;\n border: solid #afbac1;\n border-width: 0 0 1px;\n background-color: #ededed;\n color: #020202;\n transition: all linear 0.2s;\n}\n.pul-input:focus {\n border-color: #0f7faf;\n outline: 0;\n background-color: #ecf5f9;\n color: #020202;\n}\n.pul-input[readonly] {\n border-color: #afbac1;\n background-color: #ededed;\n color: #020202;\n}\n.pul-input[disabled] {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n color: #999;\n opacity: 1;\n}\n.pul-input--size-sm {\n width: 50px;\n}\n.pul-input--size-md {\n width: 200px;\n}\n.pul-input--size-lg {\n width: 350px;\n}\n.pul-input--size-xl {\n width: 500px;\n}\n.pul-input--size-fill {\n width: 100%;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-item-list__item{padding:8px;cursor:pointer}.pul-item-list__item .pul-item__title{color:#2498e3;text-decoration:none}.pul-item-list__item:hover{background:#ecf5f9}.pul-item-list__item:hover .pul-item__title{color:#188dd9;text-decoration:underline}.pul-item-list__item--reorderable{margin:-2px;border:2px solid #67ccff;border-radius:3px;background-color:#e4f1f7;background-clip:padding-box;cursor:move;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-item-list__item--reorderable img{pointer-events:none}.pul-item-list__col--gap-xs{padding-left:8px;padding-bottom:8px}.pul-item-list__col--gap-sm{padding-left:12px;padding-bottom:12px}.pul-item-list__col--gap-md{padding-left:16px;padding-bottom:16px}.pul-item-list__col--gap-lg{padding-left:24px;padding-bottom:24px}.pul-item-list__col--gap-xl{padding-left:32px;padding-bottom:32px}.pul-item-list .pul-item-list__item--reorderable{border-style:dashed}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/ItemList/ItemList.less"],names:[],mappings:"AAAA,qBACE,YAAa,AACb,cAAgB,CACjB,AACD,sCACE,cAAe,AACf,oBAAsB,CACvB,AACD,2BACE,kBAAoB,CACrB,AACD,4CACE,cAAe,AACf,yBAA2B,CAC5B,AACD,kCACE,YAAa,AACb,yBAA0B,AAC1B,kBAAmB,AACnB,yBAA0B,AAC1B,4BAA6B,AAC7B,YAAa,AACb,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,sCACE,mBAAqB,CACtB,AACD,4BACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,iDACE,mBAAqB,CACtB",file:"ItemList.less",sourcesContent:[".pul-item-list__item {\n padding: 8px;\n cursor: pointer;\n}\n.pul-item-list__item .pul-item__title {\n color: #2498e3;\n text-decoration: none;\n}\n.pul-item-list__item:hover {\n background: #ecf5f9;\n}\n.pul-item-list__item:hover .pul-item__title {\n color: #188dd9;\n text-decoration: underline;\n}\n.pul-item-list__item--reorderable {\n margin: -2px;\n border: 2px solid #67ccff;\n border-radius: 3px;\n background-color: #e4f1f7;\n background-clip: padding-box;\n cursor: move;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-item-list__item--reorderable img {\n pointer-events: none;\n}\n.pul-item-list__col--gap-xs {\n padding-left: 8px;\n padding-bottom: 8px;\n}\n.pul-item-list__col--gap-sm {\n padding-left: 12px;\n padding-bottom: 12px;\n}\n.pul-item-list__col--gap-md {\n padding-left: 16px;\n padding-bottom: 16px;\n}\n.pul-item-list__col--gap-lg {\n padding-left: 24px;\n padding-bottom: 24px;\n}\n.pul-item-list__col--gap-xl {\n padding-left: 32px;\n padding-bottom: 32px;\n}\n.pul-item-list .pul-item-list__item--reorderable {\n border-style: dashed;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-item__icon{-ms-flex-negative:0;flex-shrink:0;margin:0 6px 0 0}.pul-item--size-sm .pul-item__icon{margin-right:4px}.pul-item--size-lg .pul-item__icon,.pul-item--size-xl .pul-item__icon,.pul-item--size-xxl .pul-item__icon{margin-right:10px}.pul-item__content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Item/Item.less"],names:[],mappings:"AAAA,UACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,gBACE,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CACnB,AACD,mCACE,gBAAkB,CACnB,AAOD,0GACE,iBAAmB,CACpB,AACD,mBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,WAAa,CACd",file:"Item.less",sourcesContent:[".pul-item {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-item__icon {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n margin: 0 6px 0 0;\n}\n.pul-item--size-sm .pul-item__icon {\n margin-right: 4px;\n}\n.pul-item--size-lg .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item--size-xl .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item--size-xxl .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item__content {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-label{display:inline-block;padding:2px 6px;background:#80c2de;font-size:12px;font-weight:600;line-height:14px;color:#fff;text-align:center;vertical-align:top;background-color:#80c2de}a.pul-label:focus,a.pul-label:hover{color:#fff;text-decoration:none;cursor:pointer}.pul-label[href]:focus,.pul-label[href]:hover{background-color:#58afd3}.pul-label--inactive{background-color:#747474}.pul-label--inactive[href]:focus,.pul-label--inactive[href]:hover{background-color:#5a5a5a}.pul-label--success{background-color:#86c939}.pul-label--success[href]:focus,.pul-label--success[href]:hover{background-color:#6ca32c}.pul-label--info{background-color:#80c2de}.pul-label--info[href]:focus,.pul-label--info[href]:hover{background-color:#58afd3}.pul-label--warning{background-color:#feb534}.pul-label--warning[href]:focus,.pul-label--warning[href]:hover{background-color:#fea301}.pul-label--danger{background-color:#ed6060}.pul-label--danger[href]:focus,.pul-label--danger[href]:hover{background-color:#e83232}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Label/Label.less"],names:[],mappings:"AAaA,WACE,qBAAsB,AACtB,gBAAiB,AACjB,mBAAoB,AACpB,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,oCAEE,WAAY,AACZ,qBAAsB,AACtB,cAAgB,CACjB,AACD,8CAEE,wBAA0B,CAC3B,AACD,qBACE,wBAA0B,CAC3B,AACD,kEAEE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,gEAEE,wBAA0B,CAC3B,AACD,iBACE,wBAA0B,CAC3B,AACD,0DAEE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,gEAEE,wBAA0B,CAC3B,AACD,mBACE,wBAA0B,CAC3B,AACD,8DAEE,wBAA0B,CAC3B",file:"Label.less",sourcesContent:['/*\nTabs\n\nMarkup:\nDefault\n\nModifiers:\n.label--inactive\n.label--info\n.label--success\n.label--warning\n.label--danger\n*/\n.pul-label {\n display: inline-block;\n padding: 2px 6px;\n background: #80c2de;\n font-size: 12px;\n font-weight: 600;\n line-height: 14px;\n color: #fff;\n text-align: center;\n vertical-align: top;\n background-color: #80c2de;\n}\na.pul-label:hover,\na.pul-label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.pul-label[href]:hover,\n.pul-label[href]:focus {\n background-color: #58afd3;\n}\n.pul-label--inactive {\n background-color: #747474;\n}\n.pul-label--inactive[href]:hover,\n.pul-label--inactive[href]:focus {\n background-color: #5a5a5a;\n}\n.pul-label--success {\n background-color: #86c939;\n}\n.pul-label--success[href]:hover,\n.pul-label--success[href]:focus {\n background-color: #6ca32c;\n}\n.pul-label--info {\n background-color: #80c2de;\n}\n.pul-label--info[href]:hover,\n.pul-label--info[href]:focus {\n background-color: #58afd3;\n}\n.pul-label--warning {\n background-color: #feb534;\n}\n.pul-label--warning[href]:hover,\n.pul-label--warning[href]:focus {\n background-color: #fea301;\n}\n.pul-label--danger {\n background-color: #ed6060;\n}\n.pul-label--danger[href]:hover,\n.pul-label--danger[href]:focus {\n background-color: #e83232;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-list{width:100%;max-width:100%}.pul-list td,.pul-list th{padding:6px 8px;vertical-align:top;border-top:1px solid #d6d6d6}.pul-list th{font-weight:400;text-align:left;white-space:nowrap}.pul-list thead th{vertical-align:bottom;border-bottom:2px solid #d6d6d6}.pul-list tbody+tbody{border-top:2px solid #d6d6d6}.pul-list tr:first-child>td,.pul-list tr:first-child>th{border-top:0}.pul-list .cell-nowrap{white-space:nowrap}.pul-list .cell-shrink{width:1%}.pul-list tbody tr.is-selected>td,.pul-list tbody tr.is-selected>th{background-color:#ffdfba}.pul-list tbody tr:hover>td,.pul-list tbody tr:hover>th{box-shadow:inset 0 -1px 0 #d8dde6,inset 0 1px 0 #d8dde6}.pul-list tbody tr:not(.is-selected):hover>td,.pul-list tbody tr:not(.is-selected):hover>th{background-color:#ecf5f9}.pul-list .is-sortable{position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-list .is-sorted .th__action:after{position:absolute;display:inline-block;margin:1px 0 0 2px;font-family:Consolas,monospace;color:#999}.pul-list .is-sorted:hover .th__action:after{color:#000}.pul-list .is-sorted--up .th__action:after{content:"\\2191"}.pul-list .is-sorted--down .th__action:after{content:"\\2193"}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/List/List.less"],names:[],mappings:"AA6BA,UACE,WAAY,AACZ,cAAgB,CACjB,AACD,0BAEE,gBAAiB,AACjB,mBAAoB,AACpB,4BAA8B,CAC/B,AACD,aACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,mBACE,sBAAuB,AACvB,+BAAiC,CAClC,AACD,sBACE,4BAA8B,CAC/B,AACD,wDAEE,YAAc,CACf,AACD,uBACE,kBAAoB,CACrB,AACD,uBACE,QAAU,CACX,AACD,oEAEE,wBAA0B,CAC3B,AACD,wDAEE,uDAA0D,CAC3D,AACD,4FAEE,wBAA0B,CAC3B,AACD,uBACE,kBAAmB,AACnB,eAAgB,AAChB,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,uCACE,kBAAmB,AACnB,qBAAsB,AACtB,mBAAoB,AACpB,+BAAiC,AACjC,UAAY,CACb,AACD,6CACE,UAAY,CACb,AACD,2CACE,eAAiB,CAClB,AACD,6CACE,eAAiB,CAClB",file:"List.less",sourcesContent:['/*\nList (Data Table)\n\nMarkup:\n\n \n \n \n \n \n \n \n \n \n \n \n \n
{{if is-sorted
{{Name}}
}}
\n\nModifiers for :\n.is-selected\n\nModifiers for , :\n.is-sortable\n.is-sorted--up\n.is-sorted--down\n.cell-nowrap\n.cell-shrink\n*/\n.pul-list {\n width: 100%;\n max-width: 100%;\n}\n.pul-list th,\n.pul-list td {\n padding: 6px 8px;\n vertical-align: top;\n border-top: 1px solid #d6d6d6;\n}\n.pul-list th {\n font-weight: 400;\n text-align: left;\n white-space: nowrap;\n}\n.pul-list thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #d6d6d6;\n}\n.pul-list tbody + tbody {\n border-top: 2px solid #d6d6d6;\n}\n.pul-list tr:first-child > th,\n.pul-list tr:first-child > td {\n border-top: 0;\n}\n.pul-list .cell-nowrap {\n white-space: nowrap;\n}\n.pul-list .cell-shrink {\n width: 1%;\n}\n.pul-list tbody tr.is-selected > td,\n.pul-list tbody tr.is-selected > th {\n background-color: #ffdfba;\n}\n.pul-list tbody tr:hover > td,\n.pul-list tbody tr:hover > th {\n box-shadow: #d8dde6 0 -1px 0 inset, #d8dde6 0 1px 0 inset;\n}\n.pul-list tbody tr:not(.is-selected):hover > td,\n.pul-list tbody tr:not(.is-selected):hover > th {\n background-color: #ecf5f9;\n}\n.pul-list .is-sortable {\n position: relative;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-list .is-sorted .th__action::after {\n position: absolute;\n display: inline-block;\n margin: 1px 0 0 2px;\n font-family: Consolas, monospace;\n color: #999;\n}\n.pul-list .is-sorted:hover .th__action::after {\n color: #000;\n}\n.pul-list .is-sorted--up .th__action::after {\n content: "\\2191";\n}\n.pul-list .is-sorted--down .th__action::after {\n content: "\\2193";\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-markdown h1,.pul-markdown h2,.pul-markdown h3,.pul-markdown h4,.pul-markdown h5{line-height:1.1;font-weight:700}.pul-markdown h1{font-size:16px}.pul-markdown h2{font-size:15px}.pul-markdown h3{font-size:14px}.pul-markdown h4,.pul-markdown h5{font-size:13px}.pul-markdown img{max-width:100%}.pul-markdown--compact .pul-markdown h1,.pul-markdown--compact .pul-markdown h2,.pul-markdown--compact .pul-markdown h3,.pul-markdown--compact .pul-markdown h4,.pul-markdown--compact .pul-markdown h5,.pul-markdown--compact .pul-markdown h6,.pul-markdown--compact .pul-markdown ol,.pul-markdown--compact .pul-markdown p,.pul-markdown--compact .pul-markdown ul,.pul-markdown--compact h1,.pul-markdown--compact h2,.pul-markdown--compact h3,.pul-markdown--compact h4,.pul-markdown--compact h5,.pul-markdown--compact h6,.pul-markdown--compact ol,.pul-markdown--compact p,.pul-markdown--compact ul{margin:inherit;line-height:inherit;font-weight:inherit;color:inherit}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Markdown/Markdown.less"],names:[],mappings:"AAaA,qFAKE,gBAAiB,AACjB,eAAiB,CAClB,AACD,iBACE,cAAgB,CACjB,AACD,iBACE,cAAgB,CACjB,AACD,iBACE,cAAgB,CACjB,AACD,kCAEE,cAAgB,CACjB,AACD,kBACE,cAAgB,CACjB,AACD,glBAkBE,eAAgB,AAChB,oBAAqB,AACrB,oBAAqB,AACrB,aAAe,CAChB",file:"Markdown.less",sourcesContent:['/*\nMarkdown\n\nMarkup:\n
{{children}}
\n\n
\n
{{children}}
\n
\n\nModifiers:\n.markdown--compact\n*/\n.pul-markdown h1,\n.pul-markdown h2,\n.pul-markdown h3,\n.pul-markdown h4,\n.pul-markdown h5 {\n line-height: 1.1;\n font-weight: 700;\n}\n.pul-markdown h1 {\n font-size: 16px;\n}\n.pul-markdown h2 {\n font-size: 15px;\n}\n.pul-markdown h3 {\n font-size: 14px;\n}\n.pul-markdown h4,\n.pul-markdown h5 {\n font-size: 13px;\n}\n.pul-markdown img {\n max-width: 100%;\n}\n.pul-markdown--compact h1,\n.pul-markdown--compact .pul-markdown h1,\n.pul-markdown--compact h2,\n.pul-markdown--compact .pul-markdown h2,\n.pul-markdown--compact h3,\n.pul-markdown--compact .pul-markdown h3,\n.pul-markdown--compact h4,\n.pul-markdown--compact .pul-markdown h4,\n.pul-markdown--compact h5,\n.pul-markdown--compact .pul-markdown h5,\n.pul-markdown--compact h6,\n.pul-markdown--compact .pul-markdown h6,\n.pul-markdown--compact p,\n.pul-markdown--compact .pul-markdown p,\n.pul-markdown--compact ul,\n.pul-markdown--compact .pul-markdown ul,\n.pul-markdown--compact ol,\n.pul-markdown--compact .pul-markdown ol {\n margin: inherit;\n line-height: inherit;\n font-weight: inherit;\n color: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-media{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-media__figure{-ms-flex-negative:0;flex-shrink:0;margin:0 6px 0 0}.pul-media__figure--sm{margin-right:4px}.pul-media__figure--md{margin-right:6px}.pul-media__figure--lg{margin-right:10px}.pul-media__figure--xl{margin-right:16px}.pul-media__figure--xxl{margin-right:20px}.pul-media__figure--icon-sm{margin-right:4px}.pul-media__figure--icon-md{margin-right:6px}.pul-media__figure--icon-lg,.pul-media__figure--icon-xl,.pul-media__figure--icon-xxl{margin-right:10px}.pul-media__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-media__title{margin-bottom:0;font-weight:700;font-size:14px;line-height:20px}.pul-media__header--lg .pul-media__title{font-size:16px;line-height:22px}.pul-media__header--xl .pul-media__title{font-size:24px;line-height:30px}.pul-media__title-addon{margin-left:4px}.pul-media__body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.pul-media__content>:last-child{margin-bottom:0}.pul-media-section{margin-bottom:6px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Media/Media.less"],names:[],mappings:"AAAA,WACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,mBACE,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CACnB,AACD,uBACE,gBAAkB,CACnB,AACD,uBACE,gBAAkB,CACnB,AACD,uBACE,iBAAmB,CACpB,AACD,uBACE,iBAAmB,CACpB,AACD,wBACE,iBAAmB,CACpB,AACD,4BACE,gBAAkB,CACnB,AACD,4BACE,gBAAkB,CACnB,AAOD,qFACE,iBAAmB,CACpB,AACD,mBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kBACE,gBAAiB,AACjB,gBAAkB,AAClB,eAAgB,AAChB,gBAAkB,CACnB,AACD,yCACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,yCACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,wBACE,eAAiB,CAClB,AACD,iBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,WAAa,CACd,AACD,gCACE,eAAiB,CAClB,AACD,mBACE,iBAAmB,CACpB",file:"Media.less",sourcesContent:[".pul-media {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-media__figure {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n margin: 0 6px 0 0;\n}\n.pul-media__figure--sm {\n margin-right: 4px;\n}\n.pul-media__figure--md {\n margin-right: 6px;\n}\n.pul-media__figure--lg {\n margin-right: 10px;\n}\n.pul-media__figure--xl {\n margin-right: 16px;\n}\n.pul-media__figure--xxl {\n margin-right: 20px;\n}\n.pul-media__figure--icon-sm {\n margin-right: 4px;\n}\n.pul-media__figure--icon-md {\n margin-right: 6px;\n}\n.pul-media__figure--icon-lg {\n margin-right: 10px;\n}\n.pul-media__figure--icon-xl {\n margin-right: 10px;\n}\n.pul-media__figure--icon-xxl {\n margin-right: 10px;\n}\n.pul-media__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-media__title {\n margin-bottom: 0;\n font-weight: bold;\n font-size: 14px;\n line-height: 20px;\n}\n.pul-media__header--lg .pul-media__title {\n font-size: 16px;\n line-height: 22px;\n}\n.pul-media__header--xl .pul-media__title {\n font-size: 24px;\n line-height: 30px;\n}\n.pul-media__title-addon {\n margin-left: 4px;\n}\n.pul-media__body {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 0;\n}\n.pul-media__content > :last-child {\n margin-bottom: 0;\n}\n.pul-media-section {\n margin-bottom: 6px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-menu{position:relative;min-width:150px;max-width:100%;margin:0;padding:5px 0;list-style:none;font-size:13px;text-align:left;line-height:normal;background-color:#dedede;border:none;background-clip:padding-box;box-sizing:border-box}.pul-menu__base-item{display:-webkit-box;display:-ms-flexbox;display:flex;padding:7px 10px;font-weight:400;line-height:16px;color:#373737;white-space:nowrap}.pul-menu__base-item .pul-label{box-sizing:border-box;min-width:16px;margin-left:8px;padding:1px 4px;vertical-align:top;border-radius:2px}.pul-menu__header{font-size:13px;color:#777}.pul-menu__item{cursor:pointer}.pul-menu__item:focus,.pul-menu__item:hover{text-decoration:none;outline:0;color:#fff;background-color:#5aadd1}.pul-menu__item--active,.pul-menu__item--active:focus,.pul-menu__item--active:hover{color:#fff;background-color:#5aadd1}.pul-menu__item--disabled,.pul-menu__item--disabled:focus,.pul-menu__item--disabled:hover{color:#373737;opacity:.5;background:none;cursor:not-allowed}.pul-menu__base-item-icon{color:#969696}.pul-menu__item--active .pul-menu__base-item-icon,.pul-menu__item:focus .pul-menu__base-item-icon,.pul-menu__item:hover .pul-menu__base-item-icon{color:currentColor}.pul-menu__base-item-content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.pul-menu__divider{height:1px;margin:5px 10px;background-color:#b1b1b1}.pul-menu--icons .pul-menu__base-item-icon{min-width:30px}.pul-menu--icons .pul-menu__divider{margin-left:38px}.pul-menu--icons:after{position:absolute;top:0;bottom:0;left:32px;width:1px;height:100%;content:"";background:#b1b1b1}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Menu/Menu.less"],names:[],mappings:"AAAA,UACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,cAAe,AACf,gBAAiB,AACjB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,yBAA0B,AAC1B,YAAa,AACb,4BAA6B,AAC7B,qBAAuB,CACxB,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,iBAAkB,AAClB,gBAAoB,AACpB,iBAAkB,AAClB,cAAe,AACf,kBAAoB,CACrB,AACD,gCACE,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,kBACE,eAAgB,AAChB,UAAY,CACb,AACD,gBACE,cAAgB,CACjB,AACD,4CAEE,qBAAsB,AACtB,UAAW,AACX,WAAY,AACZ,wBAA0B,CAC3B,AACD,oFAGE,WAAY,AACZ,wBAA0B,CAC3B,AACD,0FAGE,cAAe,AACf,WAAa,AACb,gBAAiB,AACjB,kBAAoB,CACrB,AACD,0BACE,aAAe,CAChB,AACD,kJAGE,kBAAoB,CACrB,AACD,6BACE,mBAAoB,AAChB,oBAAqB,AACjB,YAAa,AACrB,gBAAiB,AACjB,sBAAwB,CACzB,AACD,mBACE,WAAY,AACZ,gBAAiB,AACjB,wBAA0B,CAC3B,AACD,2CACE,cAAgB,CACjB,AACD,oCACE,gBAAkB,CACnB,AACD,uBACE,kBAAmB,AACnB,MAAO,AACP,SAAU,AACV,UAAW,AACX,UAAW,AACX,YAAa,AACb,WAAY,AACZ,kBAAoB,CACrB",file:"Menu.less",sourcesContent:['.pul-menu {\n position: relative;\n min-width: 150px;\n max-width: 100%;\n margin: 0;\n padding: 5px 0;\n list-style: none;\n font-size: 13px;\n text-align: left;\n line-height: normal;\n background-color: #dedede;\n border: none;\n background-clip: padding-box;\n box-sizing: border-box;\n}\n.pul-menu__base-item {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 7px 10px;\n font-weight: normal;\n line-height: 16px;\n color: #373737;\n white-space: nowrap;\n}\n.pul-menu__base-item .pul-label {\n box-sizing: border-box;\n min-width: 16px;\n margin-left: 8px;\n padding: 1px 4px;\n vertical-align: top;\n border-radius: 2px;\n}\n.pul-menu__header {\n font-size: 13px;\n color: #777;\n}\n.pul-menu__item {\n cursor: pointer;\n}\n.pul-menu__item:hover,\n.pul-menu__item:focus {\n text-decoration: none;\n outline: 0;\n color: #fff;\n background-color: #5aadd1;\n}\n.pul-menu__item--active,\n.pul-menu__item--active:hover,\n.pul-menu__item--active:focus {\n color: #fff;\n background-color: #5aadd1;\n}\n.pul-menu__item--disabled,\n.pul-menu__item--disabled:hover,\n.pul-menu__item--disabled:focus {\n color: #373737;\n opacity: 0.5;\n background: none;\n cursor: not-allowed;\n}\n.pul-menu__base-item-icon {\n color: #969696;\n}\n.pul-menu__item--active .pul-menu__base-item-icon,\n.pul-menu__item:hover .pul-menu__base-item-icon,\n.pul-menu__item:focus .pul-menu__base-item-icon {\n color: currentColor;\n}\n.pul-menu__base-item-content {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-menu__divider {\n height: 1px;\n margin: 5px 10px;\n background-color: #b1b1b1;\n}\n.pul-menu--icons .pul-menu__base-item-icon {\n min-width: 30px;\n}\n.pul-menu--icons .pul-menu__divider {\n margin-left: 38px;\n}\n.pul-menu--icons::after {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 32px;\n width: 1px;\n height: 100%;\n content: "";\n background: #b1b1b1;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-overlay{top:0;left:0;width:100%;height:100%;position:fixed}.pul-overlay,.pul-overlay__content{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-overlay__content{position:relative;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;outline:none}.pul-overlay--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-overlay--center .pul-overlay__content{max-height:80%;margin:0 20px}@media (max-width:480px){.pul-overlay--center .pul-overlay__content{margin:0;max-height:none}}.pul-overlay--left{-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.pul-overlay--left,.pul-overlay--right{-webkit-box-flex:1;-webkit-box-orient:horizontal}.pul-overlay--right{-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.pul-overlay--center .pul-overlay--enter,.pul-overlay--center .pul-overlay--exit{opacity:0}.pul-overlay--center .pul-overlay--enter-active,.pul-overlay--center .pul-overlay--exit-active{opacity:1;transition:opacity .3s ease-in}.pul-overlay--left .pul-overlay--enter{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--left .pul-overlay--exit{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--left .pul-overlay--enter-active{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--left .pul-overlay--enter-active,.pul-overlay--left .pul-overlay--exit-active{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.pul-overlay--left .pul-overlay--exit-active{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--right .pul-overlay--enter{-webkit-transform:translate(100%);transform:translate(100%)}.pul-overlay--right .pul-overlay--exit{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--right .pul-overlay--enter-active{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--right .pul-overlay--enter-active,.pul-overlay--right .pul-overlay--exit-active{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.pul-overlay--right .pul-overlay--exit-active{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--sm .pul-overlay__content{-ms-flex-preferred-size:671px;flex-basis:671px}.pul-overlay--md .pul-overlay__content{-ms-flex-preferred-size:894px;flex-basis:894px}.pul-overlay--lg .pul-overlay__content{-ms-flex-preferred-size:1118px;flex-basis:1118px}.pul-overlay__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;opacity:1;background-color:rgba(0,0,0,.7);overflow:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-overlay--enter.pul-overlay__backdrop,.pul-overlay--exit.pul-overlay__backdrop{opacity:0}.pul-overlay--enter-active.pul-overlay__backdrop,.pul-overlay--exit-active.pul-overlay__backdrop{opacity:1;transition:opacity .2s ease-in}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Overlay/Overlay.less"],names:[],mappings:"AAAA,aACE,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,YAAa,AAIb,cAAgB,CACjB,AACD,mCALE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAef,AAZD,sBACE,kBAAmB,AACnB,cAAe,AACf,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,sBAAwB,AAIxB,YAAc,CACf,AACD,qBACE,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,2CACE,eAAgB,AAChB,aAAe,CAChB,AACD,yBACE,2CACE,SAAU,AACV,eAAiB,CAClB,CACF,AACD,mBAEM,kBAAmB,AACf,cAAe,AAEvB,6BAA8B,AAC1B,uBAAwB,AACpB,kBAAoB,CAC7B,AACD,uCARE,mBAAoB,AAGpB,6BAA+B,CAahC,AARD,oBAEM,kBAAmB,AACf,cAAe,AAEvB,8BAA+B,AAC3B,+BAAgC,AAC5B,0BAA4B,CACrC,AACD,iFAEE,SAAW,CACZ,AACD,+FAEE,UAAW,AACX,8BAAkC,CACnC,AACD,uCACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,sCACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,8CACE,+BAAgC,AACxB,sBAAwB,CAIjC,AACD,2FAJE,6CAAgD,AAChD,qCAAwC,AACxC,sEAA6E,CAQ9E,AAND,6CACE,mCAAoC,AAC5B,0BAA4B,CAIrC,AACD,wCACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,uCACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,+CACE,+BAAgC,AACxB,sBAAwB,CAIjC,AACD,6FAJE,6CAAgD,AAChD,qCAAwC,AACxC,sEAA6E,CAQ9E,AAND,8CACE,mCAAoC,AAC5B,0BAA4B,CAIrC,AACD,uCACE,8BAA+B,AAC3B,gBAAkB,CACvB,AACD,uCACE,8BAA+B,AAC3B,gBAAkB,CACvB,AACD,uCACE,+BAAgC,AAC5B,iBAAmB,CACxB,AACD,uBACE,eAAgB,AAChB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,UAAW,AACX,gCAAqC,AACrC,cAAe,AACf,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,mFAEE,SAAW,CACZ,AACD,iGAEE,UAAW,AACX,8BAAkC,CACnC",file:"Overlay.less",sourcesContent:[".pul-overlay {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n}\n.pul-overlay__content {\n position: relative;\n overflow: auto;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: white;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n outline: none;\n}\n.pul-overlay--center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-overlay--center .pul-overlay__content {\n max-height: 80%;\n margin: 0 20px;\n}\n@media (max-width: 480px) {\n .pul-overlay--center .pul-overlay__content {\n margin: 0;\n max-height: none;\n }\n}\n.pul-overlay--left {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.pul-overlay--right {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n.pul-overlay--center .pul-overlay--enter,\n.pul-overlay--center .pul-overlay--exit {\n opacity: 0;\n}\n.pul-overlay--center .pul-overlay--enter-active,\n.pul-overlay--center .pul-overlay--exit-active {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.pul-overlay--left .pul-overlay--enter {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n}\n.pul-overlay--left .pul-overlay--exit {\n -webkit-transform: translate(0);\n transform: translate(0);\n}\n.pul-overlay--left .pul-overlay--enter-active {\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--left .pul-overlay--exit-active {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--right .pul-overlay--enter {\n -webkit-transform: translate(100%);\n transform: translate(100%);\n}\n.pul-overlay--right .pul-overlay--exit {\n -webkit-transform: translate(0);\n transform: translate(0);\n}\n.pul-overlay--right .pul-overlay--enter-active {\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--right .pul-overlay--exit-active {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--sm .pul-overlay__content {\n -ms-flex-preferred-size: 671px;\n flex-basis: 671px;\n}\n.pul-overlay--md .pul-overlay__content {\n -ms-flex-preferred-size: 894px;\n flex-basis: 894px;\n}\n.pul-overlay--lg .pul-overlay__content {\n -ms-flex-preferred-size: 1118px;\n flex-basis: 1118px;\n}\n.pul-overlay__backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-overlay--enter.pul-overlay__backdrop,\n.pul-overlay--exit.pul-overlay__backdrop {\n opacity: 0;\n}\n.pul-overlay--enter-active.pul-overlay__backdrop,\n.pul-overlay--exit-active.pul-overlay__backdrop {\n opacity: 1;\n transition: opacity 200ms ease-in;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-pagination__navigation-buttons,.pul-pagination__page-buttons{max-width:100%;margin-right:20px}.pul-pagination__total{display:inline}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Pagination/Pagination.less"],names:[],mappings:"AAAA,gBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kEAEE,eAAgB,AAChB,iBAAmB,CACpB,AACD,uBACE,cAAgB,CACjB",file:"Pagination.less",sourcesContent:[".pul-pagination {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-pagination__page-buttons,\n.pul-pagination__navigation-buttons {\n max-width: 100%;\n margin-right: 20px;\n}\n.pul-pagination__total {\n display: inline;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-panel{margin:0 0 12px;border:1px solid #dedede;background-color:#fafafa}.pul-panel__header{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:24px;margin:-1px;padding:5px 11px;background-color:#dedede}.pul-panel--collapsible .pul-panel__header{cursor:pointer}.pul-panel__title{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0;padding:0;line-height:18px;font-size:15px;color:#303030}.pul-panel__control-button{margin-left:auto;-ms-flex-item-align:start;align-self:flex-start}.pul-panel__title+.pul-panel__control-button{margin-left:5px}.pul-panel__content{padding:10px;color:#4a4a4a;line-height:normal;word-wrap:break-word;-webkit-animation:pul-panel--fade .3s ease-in-out;animation:pul-panel--fade .3s ease-in-out}.pul-panel--collapsed .pul-panel__content{display:none}@-webkit-keyframes pul-panel--fade{0%{opacity:0}to{opacity:1}}@keyframes pul-panel--fade{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Panel/Panel.less"],names:[],mappings:"AAAA,WACE,gBAAiB,AACjB,yBAA0B,AAC1B,wBAA0B,CAC3B,AACD,mBACE,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,gBAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,2CACE,cAAgB,CACjB,AACD,kBACE,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,SAAU,AACV,UAAW,AACX,iBAAkB,AAClB,eAAgB,AAChB,aAAe,CAChB,AACD,2BACE,iBAAkB,AAClB,0BAA2B,AACvB,qBAAuB,CAC5B,AACD,6CACE,eAAiB,CAClB,AACD,oBACE,aAAc,AACd,cAAe,AACf,mBAAoB,AACpB,qBAAsB,AACtB,kDAAoD,AAC5C,yCAA4C,CACrD,AACD,0CACE,YAAc,CACf,AACD,mCACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,2BACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF",file:"Panel.less",sourcesContent:[".pul-panel {\n margin: 0 0 12px;\n border: 1px solid #dedede;\n background-color: #fafafa;\n}\n.pul-panel__header {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 24px;\n margin: -1px;\n padding: 5px 11px;\n background-color: #dedede;\n}\n.pul-panel--collapsible .pul-panel__header {\n cursor: pointer;\n}\n.pul-panel__title {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0;\n padding: 0;\n line-height: 18px;\n font-size: 15px;\n color: #303030;\n}\n.pul-panel__control-button {\n margin-left: auto;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n.pul-panel__title + .pul-panel__control-button {\n margin-left: 5px;\n}\n.pul-panel__content {\n padding: 10px;\n color: #4a4a4a;\n line-height: normal;\n word-wrap: break-word;\n -webkit-animation: pul-panel--fade 0.3s ease-in-out;\n animation: pul-panel--fade 0.3s ease-in-out;\n}\n.pul-panel--collapsed .pul-panel__content {\n display: none;\n}\n@-webkit-keyframes pul-panel--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pul-panel--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"pre.pul-plaintext{background:transparent;margin:0;padding:0;overflow-wrap:break-word;white-space:pre-wrap;word-wrap:break-word;line-height:inherit;font-family:inherit;font-size:inherit;color:inherit}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Plaintext/Plaintext.less"],names:[],mappings:"AAMA,kBACE,uBAAwB,AACxB,SAAU,AACV,UAAW,AACX,yBAA0B,AAC1B,qBAAsB,AACtB,qBAAsB,AACtB,oBAAqB,AACrB,oBAAqB,AACrB,kBAAmB,AACnB,aAAe,CAChB",file:"Plaintext.less",sourcesContent:['/*\nPlaintext\n\nMarkup:\n
{{children}}
\n*/\npre.pul-plaintext {\n background: transparent;\n margin: 0;\n padding: 0;\n overflow-wrap: break-word;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: inherit;\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-popover{position:absolute;max-width:400px;font-size:13px;text-align:left;color:#000;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;white-space:normal;opacity:1;-webkit-animation:pul-popover--fade .3s ease-in-out;animation:pul-popover--fade .3s ease-in-out}.pul-popover__arrow,.pul-popover__arrow:after{position:absolute;display:block;width:0;height:0;border:solid transparent}.pul-popover__arrow{border-width:0 8px 8px}.pul-popover__arrow:after{content:"";top:1px;margin-left:-8px;border-width:0 8px 8px}.pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#ccc}.pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#fff}.pul-popover__arrow--heading,.pul-popover__arrow--heading:after{border-bottom-color:#1e96c9}.pul-popover__heading{position:relative;margin:-1px -1px 0;padding:8px 30px 8px 10px;background-color:#1e96c9;border:1px solid #1e96c9;white-space:nowrap}.pul-popover__title{margin:0;padding:0;overflow:hidden;text-overflow:ellipsis}.pul-popover__heading,.pul-popover__title{font-size:13px;line-height:1.4;color:#fff}.pul-popover__close{float:right;min-height:18px;min-width:18px;margin:4px;padding:1px}.pul-popover__close--heading{color:currentColor;margin-top:0;margin-right:-22px}.pul-popover__content{box-sizing:border-box;padding:10px}.pul-popover__content>:last-child{margin-bottom:0}.pul-popover__inner{outline:none}.pul-popover--hidden{display:none}.pul-popover--placement-top,.pul-popover--placement-top-end,.pul-popover--placement-top-start{margin-bottom:10px}.pul-popover--placement-top-end .pul-popover__arrow,.pul-popover--placement-top-start .pul-popover__arrow,.pul-popover--placement-top .pul-popover__arrow{bottom:-8px;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin:0 10px}.pul-popover--placement-right,.pul-popover--placement-right-end,.pul-popover--placement-right-start{margin-left:10px}.pul-popover--placement-right-end .pul-popover__arrow,.pul-popover--placement-right-start .pul-popover__arrow,.pul-popover--placement-right .pul-popover__arrow{left:-12px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);margin:10px 0}.pul-popover--placement-bottom,.pul-popover--placement-bottom-end,.pul-popover--placement-bottom-start{margin-top:10px}.pul-popover--placement-bottom-end .pul-popover__arrow,.pul-popover--placement-bottom-start .pul-popover__arrow,.pul-popover--placement-bottom .pul-popover__arrow{top:-8px;margin:0 10px}.pul-popover--placement-left,.pul-popover--placement-left-end,.pul-popover--placement-left-start{margin-right:10px}.pul-popover--placement-left-end .pul-popover__arrow,.pul-popover--placement-left-start .pul-popover__arrow,.pul-popover--placement-left .pul-popover__arrow{right:-12px;-webkit-transform:rotate(90deg);transform:rotate(90deg);margin:10px 0}.pul-popover--intent-success{background-color:#e1f1cf;border-color:#b0d980}.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#b0d980}.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#e1f1cf}.pul-popover--intent-info{background-color:#ddf0fc;border-color:#80c5f4}.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#80c5f4}.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#ddf0fc}.pul-popover--intent-warning{background-color:#feebc8;border-color:#fcc564}.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#fcc564}.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#feebc8}.pul-popover--intent-danger{background-color:#fadbdb;border-color:#ed8282}.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#ed8282}.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#fadbdb}@media (max-width:480px){.pul-popover{left:10px!important;right:10px;max-width:none}}@-webkit-keyframes pul-popover--fade{0%{opacity:0}to{opacity:1}}@keyframes pul-popover--fade{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Popover/Popover.less"],names:[],mappings:"AAoCA,aACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAgB,AAChB,gBAAiB,AACjB,WAAY,AACZ,sBAAuB,AACvB,4BAA6B,AAC7B,sBAA0B,AAC1B,mBAAoB,AACpB,UAAW,AACX,oDAAsD,AAC9C,2CAA8C,CACvD,AACD,8CAEE,kBAAmB,AACnB,cAAe,AACf,QAAS,AACT,SAAU,AACV,wBAA0B,CAC3B,AACD,oBACE,sBAAwB,CACzB,AACD,0BACE,WAAY,AACZ,QAAS,AACT,iBAAkB,AAClB,sBAAwB,CACzB,AACD,sDACE,wBAA6B,CAC9B,AACD,4DACE,wBAA0B,CAC3B,AAID,gEACE,2BAA6B,CAC9B,AACD,sBACE,kBAAmB,AACnB,mBAAoB,AACpB,0BAA2B,AAC3B,yBAA0B,AAC1B,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,oBACE,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,sBAAwB,CACzB,AACD,0CAEE,eAAgB,AAChB,gBAAiB,AACjB,UAAY,CACb,AACD,oBACE,YAAa,AACb,gBAAiB,AACjB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,6BACE,mBAAoB,AACpB,aAAc,AACd,kBAAoB,CACrB,AACD,sBACE,sBAAuB,AACvB,YAAc,CACf,AACD,kCACE,eAAiB,CAClB,AACD,oBACE,YAAc,CACf,AACD,qBACE,YAAc,CACf,AACD,8FAGE,kBAAoB,CACrB,AACD,0JAGE,YAAa,AACb,iCAAkC,AAC1B,yBAA0B,AAClC,aAAe,CAChB,AACD,oGAGE,gBAAkB,CACnB,AACD,gKAGE,WAAY,AACZ,iCAAkC,AAC1B,yBAA0B,AAClC,aAAe,CAChB,AACD,uGAGE,eAAiB,CAClB,AACD,mKAGE,SAAU,AACV,aAAe,CAChB,AACD,iGAGE,iBAAmB,CACpB,AACD,6JAGE,YAAa,AACb,gCAAiC,AACzB,wBAAyB,AACjC,aAAe,CAChB,AACD,6BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,mFACE,2BAA6B,CAC9B,AACD,yFACE,2BAA6B,CAC9B,AACD,0BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,gFACE,2BAA6B,CAC9B,AACD,sFACE,2BAA6B,CAC9B,AACD,6BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,mFACE,2BAA6B,CAC9B,AACD,yFACE,2BAA6B,CAC9B,AACD,4BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,kFACE,2BAA6B,CAC9B,AACD,wFACE,2BAA6B,CAC9B,AACD,yBACE,aACE,oBAAsB,AACtB,WAAY,AACZ,cAAgB,CACjB,CACF,AACD,qCACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,6BACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF",file:"Popover.less",sourcesContent:['/*\nPopover\n\nMarkup:\n
\n
\n
\n \n

Popup Title

\n
\n
\n \n

Content

\n
\n
\n \n
\n\nModifiers:\n.popover--placement-top\n.popover--placement-top-start\n.popover--placement-top-end\n.popover--placement-left\n.popover--placement-left-start\n.popover--placement-left-end\n.popover--placement-bottom\n.popover--placement-bottom-start\n.popover--placement-bottom-end\n.popover--placement-right\n.popover--placement-right-start\n.popover--placement-right-end\n\n.popover--hidden\n.popover__close--heading\n.popover__arrow--heading\n*/\n.pul-popover {\n position: absolute;\n max-width: 400px;\n font-size: 13px;\n text-align: left;\n color: #000;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #cccccc;\n white-space: normal;\n opacity: 1;\n -webkit-animation: pul-popover--fade 0.3s ease-in-out;\n animation: pul-popover--fade 0.3s ease-in-out;\n}\n.pul-popover__arrow,\n.pul-popover__arrow::after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border: solid transparent;\n}\n.pul-popover__arrow {\n border-width: 0 8px 8px;\n}\n.pul-popover__arrow::after {\n content: "";\n top: 1px;\n margin-left: -8px;\n border-width: 0 8px 8px;\n}\n.pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #cccccc;\n}\n.pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #fff;\n}\n.pul-popover__arrow--heading {\n border-bottom-color: #1e96c9;\n}\n.pul-popover__arrow--heading::after {\n border-bottom-color: #1e96c9;\n}\n.pul-popover__heading {\n position: relative;\n margin: -1px -1px 0;\n padding: 8px 30px 8px 10px;\n background-color: #1e96c9;\n border: 1px solid #1e96c9;\n white-space: nowrap;\n}\n.pul-popover__title {\n margin: 0;\n padding: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-popover__heading,\n.pul-popover__title {\n font-size: 13px;\n line-height: 1.4;\n color: #fff;\n}\n.pul-popover__close {\n float: right;\n min-height: 18px;\n min-width: 18px;\n margin: 4px;\n padding: 1px;\n}\n.pul-popover__close--heading {\n color: currentColor;\n margin-top: 0;\n margin-right: -22px;\n}\n.pul-popover__content {\n box-sizing: border-box;\n padding: 10px;\n}\n.pul-popover__content > :last-child {\n margin-bottom: 0;\n}\n.pul-popover__inner {\n outline: none;\n}\n.pul-popover--hidden {\n display: none;\n}\n.pul-popover--placement-top-start,\n.pul-popover--placement-top,\n.pul-popover--placement-top-end {\n margin-bottom: 10px;\n}\n.pul-popover--placement-top-start .pul-popover__arrow,\n.pul-popover--placement-top .pul-popover__arrow,\n.pul-popover--placement-top-end .pul-popover__arrow {\n bottom: -8px;\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n margin: 0 10px;\n}\n.pul-popover--placement-right-start,\n.pul-popover--placement-right,\n.pul-popover--placement-right-end {\n margin-left: 10px;\n}\n.pul-popover--placement-right-start .pul-popover__arrow,\n.pul-popover--placement-right .pul-popover__arrow,\n.pul-popover--placement-right-end .pul-popover__arrow {\n left: -12px;\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n margin: 10px 0;\n}\n.pul-popover--placement-bottom-start,\n.pul-popover--placement-bottom,\n.pul-popover--placement-bottom-end {\n margin-top: 10px;\n}\n.pul-popover--placement-bottom-start .pul-popover__arrow,\n.pul-popover--placement-bottom .pul-popover__arrow,\n.pul-popover--placement-bottom-end .pul-popover__arrow {\n top: -8px;\n margin: 0 10px;\n}\n.pul-popover--placement-left-start,\n.pul-popover--placement-left,\n.pul-popover--placement-left-end {\n margin-right: 10px;\n}\n.pul-popover--placement-left-start .pul-popover__arrow,\n.pul-popover--placement-left .pul-popover__arrow,\n.pul-popover--placement-left-end .pul-popover__arrow {\n right: -12px;\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n margin: 10px 0;\n}\n.pul-popover--intent-success {\n background-color: #e1f1cf;\n border-color: #b0d980;\n}\n.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #b0d980;\n}\n.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #e1f1cf;\n}\n.pul-popover--intent-info {\n background-color: #ddf0fc;\n border-color: #80c5f4;\n}\n.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #80c5f4;\n}\n.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #ddf0fc;\n}\n.pul-popover--intent-warning {\n background-color: #feebc8;\n border-color: #fcc564;\n}\n.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #fcc564;\n}\n.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #feebc8;\n}\n.pul-popover--intent-danger {\n background-color: #fadbdb;\n border-color: #ed8282;\n}\n.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #ed8282;\n}\n.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #fadbdb;\n}\n@media (max-width: 480px) {\n .pul-popover {\n left: 10px !important;\n right: 10px;\n max-width: none;\n }\n}\n@-webkit-keyframes pul-popover--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pul-popover--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-radio{position:relative;padding-left:18px}.pul-radio__input{display:inline;float:left;margin:3px 0 0 -18px}.pul-radio__input:not(:disabled){cursor:pointer}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Radio/Radio.less"],names:[],mappings:"AAAA,WACE,kBAAmB,AACnB,iBAAmB,CACpB,AACD,kBACE,eAAgB,AAChB,WAAY,AACZ,oBAAsB,CACvB,AACD,iCACE,cAAgB,CACjB",file:"Radio.less",sourcesContent:[".pul-radio {\n position: relative;\n padding-left: 18px;\n}\n.pul-radio__input {\n display: inline;\n float: left;\n margin: 3px 0 0 -18px;\n}\n.pul-radio__input:not(:disabled) {\n cursor: pointer;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-rating{position:relative;display:inline-block;overflow:hidden}.pul-rating__rates>input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-rating__rates>input:checked~.pul-rating__indicator,.pul-rating__rates>input:focus~.pul-rating__indicator,.pul-rating__rates>input:hover~.pul-rating__indicator{background-position:50% -55px}.pul-rating__rates>input.checked~.pul-rating__indicator{-webkit-animation:scale-12 .5s;animation:scale-12 .5s}.pul-rating__indicator{position:relative;display:inline-block;float:right;box-sizing:content-box;width:36px;height:32px;cursor:pointer;background:url("+n(171)+") 50% 2px no-repeat;background-size:32px auto;text-indent:-9999px}.pul-rating--static{width:70px;height:12px;margin-top:4px;vertical-align:-2px}.pul-rating--static .pul-rating__rates,.pul-rating--static:not(.pul-rating--static-total){background:url("+n(171)+') 0 0 repeat-x;background-size:14px auto}.pul-rating--static .pul-rating__rates{float:left;height:12px;background-position:0 -25px}.pul-rating--static .pul-rating__rates[data-rate="5"]{width:100%}.pul-rating--static .pul-rating__rates[data-rate="4"]{width:80%}.pul-rating--static .pul-rating__rates[data-rate="3"]{width:60%}.pul-rating--static .pul-rating__rates[data-rate="2"]{width:40%}.pul-rating--static .pul-rating__rates[data-rate="1"]{width:20%}.pul-rating--static-total .pul-rating__rates{float:right;background-position:100% -50px}.pul-rating--small.pul-rating--static{width:50px;height:10px}.pul-rating--small.pul-rating--static .pul-rating__rates,.pul-rating--small.pul-rating--static:not(.pul-rating--static-total){background-size:10px auto}.pul-rating--small.pul-rating--static .pul-rating__rates{height:10px;background-position:0 -18px}.pul-rating--small.pul-rating--static-total .pul-rating__rates{background-position:100% -36px}@-webkit-keyframes pul-animation--rate{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pul-animation--rate{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Rating/Rating.less"],names:[],mappings:"AA4BA,YACE,kBAAmB,AACnB,qBAAsB,AACtB,eAAiB,CAClB,AACD,yBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,oKAGE,6BAA+B,CAChC,AACD,wDACE,+BAAiC,AACzB,sBAAyB,CAClC,AACD,uBACE,kBAAmB,AACnB,qBAAsB,AACtB,YAAa,AACb,uBAAwB,AACxB,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,2DAAuD,AACvD,0BAA2B,AAC3B,mBAAqB,CACtB,AACD,oBACE,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,mBAAqB,CACtB,AACD,0FAEE,sDAAkD,AAClD,yBAA2B,CAC5B,AACD,uCACE,WAAY,AACZ,YAAa,AACb,2BAA6B,CAC9B,AACD,sDACE,UAAY,CACb,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,6CACE,YAAa,AACb,8BAAgC,CACjC,AACD,sCACE,WAAY,AACZ,WAAa,CACd,AACD,8HAEE,yBAA2B,CAC5B,AACD,yDACE,YAAa,AACb,2BAA6B,CAC9B,AACD,+DACE,8BAAgC,CACjC,AACD,uCACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,+BACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF",file:"Rating.less",sourcesContent:['/*\nRating\n\nMarkup:\n
\n
\n
\n\n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n\nModifiers:\n.rating--static\n.rating--static-total\n.rating--small\n*/\n.pul-rating {\n position: relative;\n display: inline-block;\n overflow: hidden;\n}\n.pul-rating__rates > input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-rating__rates > input:checked ~ .pul-rating__indicator,\n.pul-rating__rates > input:focus ~ .pul-rating__indicator,\n.pul-rating__rates > input:hover ~ .pul-rating__indicator {\n background-position: 50% -55px;\n}\n.pul-rating__rates > input.checked ~ .pul-rating__indicator {\n -webkit-animation: scale-12 0.5s;\n animation: scale-12 0.5s;\n}\n.pul-rating__indicator {\n position: relative;\n display: inline-block;\n float: right;\n box-sizing: content-box;\n width: 36px;\n height: 32px;\n cursor: pointer;\n background: url("images/rating.svg") 50% 2px no-repeat;\n background-size: 32px auto;\n text-indent: -9999px;\n}\n.pul-rating--static {\n width: 70px;\n height: 12px;\n margin-top: 4px;\n vertical-align: -2px;\n}\n.pul-rating--static:not(.pul-rating--static-total),\n.pul-rating--static .pul-rating__rates {\n background: url("images/rating.svg") 0 0 repeat-x;\n background-size: 14px auto;\n}\n.pul-rating--static .pul-rating__rates {\n float: left;\n height: 12px;\n background-position: 0 -25px;\n}\n.pul-rating--static .pul-rating__rates[data-rate="5"] {\n width: 100%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="4"] {\n width: 80%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="3"] {\n width: 60%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="2"] {\n width: 40%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="1"] {\n width: 20%;\n}\n.pul-rating--static-total .pul-rating__rates {\n float: right;\n background-position: 100% -50px;\n}\n.pul-rating--small.pul-rating--static {\n width: 50px;\n height: 10px;\n}\n.pul-rating--small.pul-rating--static:not(.pul-rating--static-total),\n.pul-rating--small.pul-rating--static .pul-rating__rates {\n background-size: 10px auto;\n}\n.pul-rating--small.pul-rating--static .pul-rating__rates {\n height: 10px;\n background-position: 0 -18px;\n}\n.pul-rating--small.pul-rating--static-total .pul-rating__rates {\n background-position: 100% -36px;\n}\n@-webkit-keyframes pul-animation--rate {\n from {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes pul-animation--rate {\n from {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-section{position:relative;margin-bottom:12px}.pul-section+.pul-section{margin-top:18px}.pul-section__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:8px;padding:2px 0;border-bottom:1px solid #ddd}.pul-section__title{-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin:0;font-size:16px;font-weight:400;line-height:20px;color:#444}.pul-section__control-button{margin:-2px 0}.pul-section__control-button--collapse{margin-right:8px}.pul-section__header-buttons .pul-section__control-button,.pul-section__title .pul-section__control-button{margin-left:4px}.pul-section__title .pul-section__control-button--edit .pul-section__control-button-icon{width:14px;height:14px}.pul-section--danger{background-color:#fdeeed;box-shadow:0 0 0 10px #fdeeed}.pul-section--warning{background-color:#fef8ee;box-shadow:0 0 0 10px #fef8ee}.pul-section--success{background-color:#f5fdee;box-shadow:0 0 0 10px #f5fdee}.pul-section--inactive{background-color:#fdfcfc;box-shadow:0 0 0 10px #fdfcfc}.pul-section--inactive .pul-section__inner{opacity:.4}.pul-section__title-edit{position:relative;display:inline-block;width:50%}.pul-section__title-edit input{margin:-3px 0 -3px -2px;width:100%}.pul-section__title-edit-actions{position:absolute;right:-2px;top:calc(100% + 3px);color:#000}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Section/Section.less"],names:[],mappings:"AAAA,aACE,kBAAmB,AACnB,kBAAoB,CACrB,AACD,0BACE,eAAiB,CAClB,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,cAAe,AACf,4BAA8B,CAC/B,AACD,oBACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,SAAU,AACV,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,UAAY,CACb,AACD,6BACE,aAAe,CAChB,AACD,uCACE,gBAAkB,CACnB,AACD,2GAEE,eAAiB,CAClB,AACD,yFACE,WAAY,AACZ,WAAa,CACd,AACD,qBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,sBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,sBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,uBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,2CACE,UAAa,CACd,AACD,yBACE,kBAAmB,AACnB,qBAAsB,AACtB,SAAW,CACZ,AACD,+BACE,wBAAyB,AACzB,UAAY,CACb,AACD,iCACE,kBAAmB,AACnB,WAAY,AACZ,qBAAsB,AACtB,UAAY,CACb",file:"Section.less",sourcesContent:[".pul-section {\n position: relative;\n margin-bottom: 12px;\n}\n.pul-section + .pul-section {\n margin-top: 18px;\n}\n.pul-section__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n margin-bottom: 8px;\n padding: 2px 0;\n border-bottom: 1px solid #ddd;\n}\n.pul-section__title {\n -webkit-box-flex: 1;\n -ms-flex: auto;\n flex: auto;\n margin: 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n color: #444;\n}\n.pul-section__control-button {\n margin: -2px 0;\n}\n.pul-section__control-button--collapse {\n margin-right: 8px;\n}\n.pul-section__title .pul-section__control-button,\n.pul-section__header-buttons .pul-section__control-button {\n margin-left: 4px;\n}\n.pul-section__title .pul-section__control-button--edit .pul-section__control-button-icon {\n width: 14px;\n height: 14px;\n}\n.pul-section--danger {\n background-color: #fdeeed;\n box-shadow: 0 0 0 10px #fdeeed;\n}\n.pul-section--warning {\n background-color: #fef8ee;\n box-shadow: 0 0 0 10px #fef8ee;\n}\n.pul-section--success {\n background-color: #f5fdee;\n box-shadow: 0 0 0 10px #f5fdee;\n}\n.pul-section--inactive {\n background-color: #fdfcfc;\n box-shadow: 0 0 0 10px #fdfcfc;\n}\n.pul-section--inactive .pul-section__inner {\n opacity: 0.4;\n}\n.pul-section__title-edit {\n position: relative;\n display: inline-block;\n width: 50%;\n}\n.pul-section__title-edit input {\n margin: -3px 0 -3px -2px;\n width: 100%;\n}\n.pul-section__title-edit-actions {\n position: absolute;\n right: -2px;\n top: calc(100% + 3px);\n color: #000;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-section-item{padding:4px 0}.pul-section-item__title,.pul-section-item__value{word-wrap:break-word;overflow-wrap:break-word}.pul-section-item--vertical:not(:last-child){margin-bottom:8px}.pul-section-item--vertical .pul-section-item__title{margin-bottom:4px;font-size:12px}.pul-section-item--vertical .pul-section-item__value{font-size:14px}.pul-section-item:not(.pul-section-item--vertical){display:-webkit-box;display:-ms-flexbox;display:flex}.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__title{-webkit-box-flex:0;-ms-flex:none;flex:none;width:200px;padding-right:12px}.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__value{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.pul-section-item--actions{padding-top:8px;padding-bottom:28px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Section/SectionItem.less"],names:[],mappings:"AAAA,kBACE,aAAe,CAChB,AACD,kDAEE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,6CACE,iBAAmB,CACpB,AACD,qDACE,kBAAmB,AACnB,cAAgB,CACjB,AACD,qDACE,cAAgB,CACjB,AACD,mDACE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACf,AACD,4EACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,YAAa,AACb,kBAAoB,CACrB,AACD,4EACE,mBAAoB,AAChB,cAAe,AACX,SAAW,CACpB,AACD,2BACE,gBAAiB,AACjB,mBAAqB,CACtB",file:"SectionItem.less",sourcesContent:[".pul-section-item {\n padding: 4px 0;\n}\n.pul-section-item__title,\n.pul-section-item__value {\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n.pul-section-item--vertical:not(:last-child) {\n margin-bottom: 8px;\n}\n.pul-section-item--vertical .pul-section-item__title {\n margin-bottom: 4px;\n font-size: 12px;\n}\n.pul-section-item--vertical .pul-section-item__value {\n font-size: 14px;\n}\n.pul-section-item:not(.pul-section-item--vertical) {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__title {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n width: 200px;\n padding-right: 12px;\n}\n.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__value {\n -webkit-box-flex: 1;\n -ms-flex: auto;\n flex: auto;\n}\n.pul-section-item--actions {\n padding-top: 8px;\n padding-bottom: 28px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-segmented-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-segmented-control--inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.pul-segmented-control__label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:8px}.pul-segmented-control--collapsed,.pul-segmented-control--vertical{-ms-flex-wrap:wrap;flex-wrap:wrap}.pul-segmented-control--vertical>.pul-segmented-control__label{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;padding-bottom:8px;padding-right:0}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/SegmentedControl/SegmentedControl.less"],names:[],mappings:"AAAA,uBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,+BACE,2BAA4B,AAC5B,2BAA4B,AAC5B,mBAAqB,CACtB,AACD,8BACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,iBAAmB,CACpB,AACD,mEAEE,mBAAoB,AAChB,cAAgB,CACrB,AACD,+DACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,mBAAoB,AACpB,eAAiB,CAClB",file:"SegmentedControl.less",sourcesContent:[".pul-segmented-control {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-segmented-control--inline {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.pul-segmented-control__label {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n padding-right: 8px;\n}\n.pul-segmented-control--vertical,\n.pul-segmented-control--collapsed {\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.pul-segmented-control--vertical > .pul-segmented-control__label {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n padding-bottom: 8px;\n padding-right: 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-split-button__dropdown-trigger .pul-button{background-color:#c5c5c5}.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered,.pul-split-button__dropdown-trigger .pul-button:focus,.pul-split-button__dropdown-trigger .pul-button:hover{text-decoration:none;color:#fff;outline:none;background-color:#1e96c9}.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered .pul-button__icon,.pul-split-button__dropdown-trigger .pul-button:focus .pul-button__icon,.pul-split-button__dropdown-trigger .pul-button:hover .pul-button__icon{color:currentColor}.pul-split-button__dropdown-trigger .pul-button.pul-button--active,.pul-split-button__dropdown-trigger .pul-button .pul-dropdown--opened,.pul-split-button__dropdown-trigger .pul-button:active{color:#fff;background-color:#0e78a6}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/SplitButton/SplitButton.less"],names:[],mappings:"AAAA,gDACE,wBAA0B,CAC3B,AACD,gLAGE,qBAAsB,AACtB,WAAY,AACZ,aAAc,AACd,wBAA0B,CAC3B,AACD,sOAGE,kBAAoB,CACrB,AACD,gMAGE,WAAY,AACZ,wBAA0B,CAC3B",file:"SplitButton.less",sourcesContent:[".pul-split-button__dropdown-trigger .pul-button {\n background-color: #c5c5c5;\n}\n.pul-split-button__dropdown-trigger .pul-button:hover,\n.pul-split-button__dropdown-trigger .pul-button:focus,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered {\n text-decoration: none;\n color: #fff;\n outline: none;\n background-color: #1e96c9;\n}\n.pul-split-button__dropdown-trigger .pul-button:hover .pul-button__icon,\n.pul-split-button__dropdown-trigger .pul-button:focus .pul-button__icon,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered .pul-button__icon {\n color: currentColor;\n}\n.pul-split-button__dropdown-trigger .pul-button:active,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--active,\n.pul-split-button__dropdown-trigger .pul-button .pul-dropdown--opened {\n color: #fff;\n background-color: #0e78a6;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-status--danger{color:#ed6060}.pul-status--warning{color:#feb534}.pul-status--success{color:#86c939}.pul-status--info{color:#80c2de}.pul-status--inactive{color:#747474}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Status/Status.less"],names:[],mappings:"AAAA,oBACE,aAAe,CAChB,AACD,qBACE,aAAe,CAChB,AACD,qBACE,aAAe,CAChB,AACD,kBACE,aAAe,CAChB,AACD,sBACE,aAAe,CAChB",file:"Status.less",sourcesContent:[".pul-status--danger {\n color: #ed6060;\n}\n.pul-status--warning {\n color: #feb534;\n}\n.pul-status--success {\n color: #86c939;\n}\n.pul-status--info {\n color: #80c2de;\n}\n.pul-status--inactive {\n color: #747474;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-subnav{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 16px 1px}.pul-subnav__item{position:relative;-webkit-box-flex:1;-ms-flex:1 1 40%;flex:1 1 40%;margin:-1px 0 0 -1px;padding:5px;overflow:hidden;text-overflow:ellipsis;border:1px solid #1e96c9;background-color:#fff;font:inherit;color:#373737;text-transform:none;display:inline-block;box-sizing:border-box;vertical-align:middle;min-height:30px;line-height:18px;font-size:13px;text-decoration:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none}.pul-subnav__item:hover{border-color:transparent;background-color:#1e96c9;color:#fff;text-decoration:none}.pul-subnav__item:active{background-color:#0e78a6;color:#fff}.pul-subnav__item--active,.pul-subnav__item--active:active,.pul-subnav__item--active:hover{border-color:#1e96c9;background-color:#aed9eb;color:#373737}@media (min-width:768px){.pul-subnav{-ms-flex-flow:nowrap;flex-flow:nowrap;margin:0 0 16px}.pul-subnav__item{-webkit-box-flex:0;-ms-flex:0 1 180px;flex:0 1 180px;width:auto;text-align:center}}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Subnav/Subnav.less"],names:[],mappings:"AAWA,YACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,eAAgB,AACpB,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,mBAAqB,CACtB,AACD,kBACE,kBAAmB,AACnB,mBAAoB,AAChB,iBAAkB,AACd,aAAc,AACtB,qBAAsB,AACtB,YAAa,AACb,gBAAiB,AACjB,uBAAwB,AACxB,yBAA0B,AAC1B,sBAAuB,AACvB,aAAc,AACd,cAAe,AACf,oBAAqB,AACrB,qBAAsB,AACtB,sBAAuB,AACvB,sBAAuB,AACvB,gBAAiB,AACjB,iBAAkB,AAClB,eAAgB,AAChB,qBAAsB,AACtB,kBAAmB,AACnB,mBAAoB,AACpB,eAAgB,AAChB,uBAAyB,CAC1B,AACD,wBACE,yBAA0B,AAC1B,yBAA0B,AAC1B,WAAY,AACZ,oBAAsB,CACvB,AACD,yBACE,yBAA0B,AAC1B,UAAY,CACb,AACD,2FAGE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,yBACE,YACE,qBAAsB,AAClB,iBAAkB,AACtB,eAAiB,CAClB,AACD,kBACE,mBAAoB,AAChB,mBAAoB,AAChB,eAAgB,AACxB,WAAY,AACZ,iBAAmB,CACpB,CACF",file:"Subnav.less",sourcesContent:['/*\nSubnav\n\nMarkup:\n\n\nModifiers:\n.subnav__item--active\n*/\n.pul-subnav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-flow: wrap;\n flex-flow: wrap;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 0 0 16px 1px;\n}\n.pul-subnav__item {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 40%;\n flex: 1 1 40%;\n margin: -1px 0 0 -1px;\n padding: 5px;\n overflow: hidden;\n text-overflow: ellipsis;\n border: 1px solid #1e96c9;\n background-color: #fff;\n font: inherit;\n color: #373737;\n text-transform: none;\n display: inline-block;\n box-sizing: border-box;\n vertical-align: middle;\n min-height: 30px;\n line-height: 18px;\n font-size: 13px;\n text-decoration: none;\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n -webkit-appearance: none;\n}\n.pul-subnav__item:hover {\n border-color: transparent;\n background-color: #1e96c9;\n color: #fff;\n text-decoration: none;\n}\n.pul-subnav__item:active {\n background-color: #0e78a6;\n color: #fff;\n}\n.pul-subnav__item--active,\n.pul-subnav__item--active:active,\n.pul-subnav__item--active:hover {\n border-color: #1e96c9;\n background-color: #aed9eb;\n color: #373737;\n}\n@media (min-width: 768px) {\n .pul-subnav {\n -ms-flex-flow: nowrap;\n flex-flow: nowrap;\n margin: 0 0 16px;\n }\n .pul-subnav__item {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 180px;\n flex: 0 1 180px;\n width: auto;\n text-align: center;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-switch{cursor:pointer;position:relative;display:inline-block;height:26px}.pul-switch__label,.pul-switch label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-switch__label{margin-right:5px}.pul-switch__indicator,.pul-switch__label{display:inline-block;vertical-align:middle}.pul-switch__indicator{box-sizing:border-box;cursor:pointer;position:relative;height:26px;width:56px;color:#979797;font-size:10px;font-weight:700;line-height:20px;text-align:center;background-color:#dedede;border:2px solid #dedede;text-transform:uppercase;border-radius:13px;transition:.3s ease-out}.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:33px;height:8px;width:8px;border:2px solid #979797;border-radius:50%}.pul-switch__indicator:after{position:relative;content:"";display:block;width:18px;height:18px;margin:2px;background-color:#fff;border-radius:50%;box-shadow:0 2px 1px rgba(0,0,0,.2)}.pul-switch input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-switch input:checked~.pul-switch__indicator{border-color:#81ca0d;background-color:#81ca0d;padding-left:30px}.pul-switch input:checked~.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:12px;height:12px;width:0;border-width:0 2px 0 0;border-color:#fff;border-radius:0}.pul-switch input:not(:disabled):focus{outline:none}.pul-switch input:not(:disabled):focus~.pul-switch__indicator{border-color:#d1d1d1;background-color:#d1d1d1}.pul-switch input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#72b20b;background-color:#72b20b}.pul-switch input:disabled~.pul-switch__indicator{border-color:#e8e8e8;background-color:#e8e8e8;cursor:not-allowed}.pul-switch input:disabled~.pul-switch__indicator:after{box-shadow:none;background-color:hsla(0,0%,100%,.8)}.pul-switch input:disabled~.pul-switch__indicator:before{opacity:.6}.pul-switch input:disabled:checked~.pul-switch__indicator{border-color:#c1e18f;background-color:#c1e18f}.pul-switch--warning input:checked~.pul-switch__indicator{border-color:#f9c97b;background-color:#f9c97b}.pul-switch--warning input:not(:disabled):checked:focus+.pul-switch__indicator{border-color:#f5a622;background-color:#f5a622}.pul-switch--warning input:disabled:checked~.pul-switch__indicator{border-color:#f7dcb0;background-color:#f7dcb0}.pul-switch--danger input:checked~.pul-switch__indicator{border-color:#f57979;background-color:#f57979}.pul-switch--danger input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#f01f1f;background-color:#f01f1f}.pul-switch--danger input:disabled:checked~.pul-switch__indicator{border-color:#f4adad;background-color:#f4adad}.pul-switch--loading .pul-switch__indicator{background-image:linear-gradient(-45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:22px 22px;-webkit-animation:pul-switch--stripes .5s linear infinite;animation:pul-switch--stripes .5s linear infinite}.objects-toolbar>.pul-switch{float:left;margin:1px 1px 10px 0}.pul-menu .pul-switch__indicator,.pul-menu input:not(:disabled):focus~.pul-switch__indicator{background-color:#999;border-color:#999}@-webkit-keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}@keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/Switch/Switch.less"],names:[],mappings:"AAgBA,YACE,eAAgB,AAChB,kBAAmB,AACnB,qBAAsB,AACtB,WAAa,CACd,AAOD,qCALE,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAU3B,AARD,mBAEE,gBAAkB,CAMnB,AACD,0CARE,qBAAsB,AAEtB,qBAAuB,CAwBxB,AAlBD,uBACE,sBAAuB,AACvB,eAAgB,AAEhB,kBAAmB,AACnB,YAAa,AACb,WAAY,AACZ,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,kBAAmB,AACnB,yBAA0B,AAC1B,yBAA0B,AAC1B,yBAA0B,AAC1B,mBAAoB,AAEpB,uBAA0B,CAC3B,AACD,8BACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,WAAY,AACZ,UAAW,AACX,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,6BACE,kBAAmB,AACnB,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,sBAAuB,AACvB,kBAAmB,AACnB,mCAAyC,CAC1C,AACD,kBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,iDACE,qBAAsB,AACtB,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,YAAa,AACb,QAAS,AACT,uBAAwB,AACxB,kBAAmB,AACnB,eAAiB,CAClB,AACD,uCACE,YAAc,CACf,AACD,8DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,sEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kDACE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,wDACE,gBAAiB,AACjB,mCAA2C,CAC5C,AACD,yDACE,UAAa,CACd,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,+EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,mEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,yDACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,8EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4CACE,2JAAqL,AACrL,0BAA2B,AAC3B,0DAA4D,AACpD,iDAAoD,CAC7D,AACD,6BACE,WAAY,AACZ,qBAAuB,CACxB,AACD,6FAEE,sBAAuB,AACvB,iBAAmB,CACpB,AACD,uCACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AACD,+BACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF",file:"Switch.less",sourcesContent:['/*\nSwitch\n\nMarkup:\n\n\nModifiers:\n.switch--warning\n.switch--danger\n.switch--loading\n:disabled\n*/\n.pul-switch {\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: 26px;\n}\n.pul-switch label {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__label {\n display: inline-block;\n margin-right: 5px;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__indicator {\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n position: relative;\n height: 26px;\n width: 56px;\n color: #979797;\n font-size: 10px;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n background-color: #dedede;\n border: 2px solid #dedede;\n text-transform: uppercase;\n border-radius: 13px;\n vertical-align: middle;\n transition: 0.3s ease-out;\n}\n.pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 33px;\n height: 8px;\n width: 8px;\n border: 2px solid #979797;\n border-radius: 50%;\n}\n.pul-switch__indicator::after {\n position: relative;\n content: "";\n display: block;\n width: 18px;\n height: 18px;\n margin: 2px;\n background-color: #fff;\n border-radius: 50%;\n box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n}\n.pul-switch input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-switch input:checked ~ .pul-switch__indicator {\n border-color: #81ca0d;\n background-color: #81ca0d;\n padding-left: 30px;\n}\n.pul-switch input:checked ~ .pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 12px;\n height: 12px;\n width: 0;\n border-width: 0 2px 0 0;\n border-color: #fff;\n border-radius: 0;\n}\n.pul-switch input:not(:disabled):focus {\n outline: none;\n}\n.pul-switch input:not(:disabled):focus ~ .pul-switch__indicator {\n border-color: #d1d1d1;\n background-color: #d1d1d1;\n}\n.pul-switch input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #72b20b;\n background-color: #72b20b;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator {\n border-color: #e8e8e8;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::after {\n box-shadow: none;\n background-color: rgba(255, 255, 255, 0.8);\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::before {\n opacity: 0.6;\n}\n.pul-switch input:disabled:checked ~ .pul-switch__indicator {\n border-color: #c1e18f;\n background-color: #c1e18f;\n}\n.pul-switch--warning input:checked ~ .pul-switch__indicator {\n border-color: #f9c97b;\n background-color: #f9c97b;\n}\n.pul-switch--warning input:not(:disabled):checked:focus + .pul-switch__indicator {\n border-color: #f5a622;\n background-color: #f5a622;\n}\n.pul-switch--warning input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f7dcb0;\n background-color: #f7dcb0;\n}\n.pul-switch--danger input:checked ~ .pul-switch__indicator {\n border-color: #f57979;\n background-color: #f57979;\n}\n.pul-switch--danger input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #f01f1f;\n background-color: #f01f1f;\n}\n.pul-switch--danger input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f4adad;\n background-color: #f4adad;\n}\n.pul-switch--loading .pul-switch__indicator {\n background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);\n background-size: 22px 22px;\n -webkit-animation: pul-switch--stripes 0.5s linear infinite;\n animation: pul-switch--stripes 0.5s linear infinite;\n}\n.objects-toolbar > .pul-switch {\n float: left;\n margin: 1px 1px 10px 0;\n}\n.pul-menu .pul-switch__indicator,\n.pul-menu input:not(:disabled):focus ~ .pul-switch__indicator {\n background-color: #999;\n border-color: #999;\n}\n@-webkit-keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n@keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-switch{cursor:pointer;position:relative;display:inline-block;height:26px}.pul-switch__label,.pul-switch label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-switch__label{margin-right:5px}.pul-switch__indicator,.pul-switch__label{display:inline-block;vertical-align:middle}.pul-switch__indicator{box-sizing:border-box;cursor:pointer;position:relative;height:26px;width:56px;color:#979797;font-size:10px;font-weight:700;line-height:20px;text-align:center;background-color:#dedede;border:2px solid #dedede;text-transform:uppercase;border-radius:13px;transition:.3s ease-out}.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:33px;height:8px;width:8px;border:2px solid #979797;border-radius:50%}.pul-switch__indicator:after{position:relative;content:"";display:block;width:18px;height:18px;margin:2px;background-color:#fff;border-radius:50%;box-shadow:0 2px 1px rgba(0,0,0,.2)}.pul-switch input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-switch input:checked~.pul-switch__indicator{border-color:#81ca0d;background-color:#81ca0d;padding-left:30px}.pul-switch input:checked~.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:12px;height:12px;width:0;border-width:0 2px 0 0;border-color:#fff;border-radius:0}.pul-switch input:not(:disabled):focus{outline:none}.pul-switch input:not(:disabled):focus~.pul-switch__indicator{border-color:#d1d1d1;background-color:#d1d1d1}.pul-switch input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#72b20b;background-color:#72b20b}.pul-switch input:disabled~.pul-switch__indicator{border-color:#e8e8e8;background-color:#e8e8e8;cursor:not-allowed}.pul-switch input:disabled~.pul-switch__indicator:after{box-shadow:none;background-color:hsla(0,0%,100%,.8)}.pul-switch input:disabled~.pul-switch__indicator:before{opacity:.6}.pul-switch input:disabled:checked~.pul-switch__indicator{border-color:#c1e18f;background-color:#c1e18f}.pul-switch--warning input:checked~.pul-switch__indicator{border-color:#f9c97b;background-color:#f9c97b}.pul-switch--warning input:not(:disabled):checked:focus+.pul-switch__indicator{border-color:#f5a622;background-color:#f5a622}.pul-switch--warning input:disabled:checked~.pul-switch__indicator{border-color:#f7dcb0;background-color:#f7dcb0}.pul-switch--danger input:checked~.pul-switch__indicator{border-color:#f57979;background-color:#f57979}.pul-switch--danger input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#f01f1f;background-color:#f01f1f}.pul-switch--danger input:disabled:checked~.pul-switch__indicator{border-color:#f4adad;background-color:#f4adad}.pul-switch--loading .pul-switch__indicator{background-image:linear-gradient(-45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:22px 22px;-webkit-animation:pul-switch--stripes .5s linear infinite;animation:pul-switch--stripes .5s linear infinite}.objects-toolbar>.pul-switch{float:left;margin:1px 1px 10px 0}.pul-menu .pul-switch__indicator,.pul-menu input:not(:disabled):focus~.pul-switch__indicator{background-color:#999;border-color:#999}@-webkit-keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}@keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}.pul-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;background-repeat:no-repeat;background-size:contain}.pul-icon img,.pul-icon svg{display:block;width:100%;height:100%;overflow:hidden;fill:currentColor}.pul-icon--size-sm{width:16px;height:16px}.pul-icon--size-md{width:32px;height:32px}.pul-icon--size-lg{width:48px;height:48px}.pul-icon--size-xl{width:64px;height:64px}.pul-icon--size-xxl{width:96px;height:96px}.pul-switches-panel-item{display:inline-block;width:165px;min-height:47px;padding:8px 12px 14px;border:1px solid #e0ddda;border-radius:3px;background-color:#fff}.pul-switches-panel-item__title{margin:0;line-height:19px;color:#212121}.pul-switches-panel-item__description{max-height:51px;margin:6px 0 0;font-size:12px;line-height:17px;color:#212121;overflow:hidden}.pul-switches-panel-item__actions{display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px 0 0}.pul-switches-panel-item__switch{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.pul-switches-panel-item .pul-switch__label{margin:0 0 0 5px}.pul-switches-panel-item__controls{-webkit-box-flex:1;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:24px;min-width:24px;margin:0;padding:4px;cursor:pointer;text-align:center;vertical-align:top;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button::-moz-focus-inner{border:0;padding:0}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:focus,.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:hover{text-decoration:none;outline:none;background-color:rgba(0,0,0,.04)}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:active{background-color:rgba(0,0,0,.14)}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button .pul-icon{color:#0099eb}.pul-switches-panel-item--warning{background-color:#fdeed5;border-color:#f5a622}.pul-switches-panel-item--danger{background-color:#fcd5d5;border-color:#f01f1f}',"",{version:3,sources:["C:/Work/repos/ui-library/src/components/SwitchesPanelItem/SwitchesPanelItem.less"],names:[],mappings:"AAgBA,YACE,eAAgB,AAChB,kBAAmB,AACnB,qBAAsB,AACtB,WAAa,CACd,AAOD,qCALE,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAU3B,AARD,mBAEE,gBAAkB,CAMnB,AACD,0CARE,qBAAsB,AAEtB,qBAAuB,CAwBxB,AAlBD,uBACE,sBAAuB,AACvB,eAAgB,AAEhB,kBAAmB,AACnB,YAAa,AACb,WAAY,AACZ,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,kBAAmB,AACnB,yBAA0B,AAC1B,yBAA0B,AAC1B,yBAA0B,AAC1B,mBAAoB,AAEpB,uBAA0B,CAC3B,AACD,8BACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,WAAY,AACZ,UAAW,AACX,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,6BACE,kBAAmB,AACnB,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,sBAAuB,AACvB,kBAAmB,AACnB,mCAAyC,CAC1C,AACD,kBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,iDACE,qBAAsB,AACtB,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,YAAa,AACb,QAAS,AACT,uBAAwB,AACxB,kBAAmB,AACnB,eAAiB,CAClB,AACD,uCACE,YAAc,CACf,AACD,8DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,sEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kDACE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,wDACE,gBAAiB,AACjB,mCAA2C,CAC5C,AACD,yDACE,UAAa,CACd,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,+EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,mEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,yDACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,8EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4CACE,2JAAqL,AACrL,0BAA2B,AAC3B,0DAA4D,AACpD,iDAAoD,CAC7D,AACD,6BACE,WAAY,AACZ,qBAAuB,CACxB,AACD,6FAEE,sBAAuB,AACvB,iBAAmB,CACpB,AACD,uCACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AACD,+BACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AAmBD,UACE,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,oBAAqB,AACrB,4BAA6B,AAC7B,uBAAyB,CAC1B,AACD,4BAEE,cAAe,AACf,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,oBACE,WAAY,AACZ,WAAa,CACd,AACD,yBACE,qBAAsB,AACtB,YAAa,AACb,gBAAiB,AACjB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,qBAAuB,CACxB,AACD,gCACE,SAAU,AACV,iBAAkB,AAClB,aAAe,CAChB,AACD,sCACE,gBAAiB,AACjB,eAAgB,AAChB,eAAgB,AAChB,iBAAkB,AAClB,cAAe,AACf,eAAiB,CAClB,AACD,kCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,eAAiB,CAClB,AACD,iCACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,2BAA4B,AAC5B,2BAA4B,AAC5B,oBAAqB,AACrB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,8BAA+B,AAC/B,8BAA+B,AAC3B,+BAAgC,AAC5B,0BAA4B,CACrC,AACD,4CACE,gBAAkB,CACnB,AACD,mCACE,mBAAoB,AAChB,aAAc,AACV,SAAU,AAClB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,qBAAsB,AAClB,kBAAmB,AACf,wBAA0B,CACnC,AACD,6EACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,+FACE,SAAU,AACV,SAAW,CACZ,AACD,sKAEE,qBAAsB,AACtB,aAAc,AACd,gCAAsC,CACvC,AACD,oFACE,gCAAsC,CACvC,AACD,uFACE,aAAe,CAChB,AACD,kCACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,iCACE,yBAA0B,AAC1B,oBAAsB,CACvB",file:"SwitchesPanelItem.less",sourcesContent:['/*\nSwitch\n\nMarkup:\n\n\nModifiers:\n.switch--warning\n.switch--danger\n.switch--loading\n:disabled\n*/\n.pul-switch {\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: 26px;\n}\n.pul-switch label {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__label {\n display: inline-block;\n margin-right: 5px;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__indicator {\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n position: relative;\n height: 26px;\n width: 56px;\n color: #979797;\n font-size: 10px;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n background-color: #dedede;\n border: 2px solid #dedede;\n text-transform: uppercase;\n border-radius: 13px;\n vertical-align: middle;\n transition: 0.3s ease-out;\n}\n.pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 33px;\n height: 8px;\n width: 8px;\n border: 2px solid #979797;\n border-radius: 50%;\n}\n.pul-switch__indicator::after {\n position: relative;\n content: "";\n display: block;\n width: 18px;\n height: 18px;\n margin: 2px;\n background-color: #fff;\n border-radius: 50%;\n box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n}\n.pul-switch input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-switch input:checked ~ .pul-switch__indicator {\n border-color: #81ca0d;\n background-color: #81ca0d;\n padding-left: 30px;\n}\n.pul-switch input:checked ~ .pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 12px;\n height: 12px;\n width: 0;\n border-width: 0 2px 0 0;\n border-color: #fff;\n border-radius: 0;\n}\n.pul-switch input:not(:disabled):focus {\n outline: none;\n}\n.pul-switch input:not(:disabled):focus ~ .pul-switch__indicator {\n border-color: #d1d1d1;\n background-color: #d1d1d1;\n}\n.pul-switch input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #72b20b;\n background-color: #72b20b;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator {\n border-color: #e8e8e8;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::after {\n box-shadow: none;\n background-color: rgba(255, 255, 255, 0.8);\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::before {\n opacity: 0.6;\n}\n.pul-switch input:disabled:checked ~ .pul-switch__indicator {\n border-color: #c1e18f;\n background-color: #c1e18f;\n}\n.pul-switch--warning input:checked ~ .pul-switch__indicator {\n border-color: #f9c97b;\n background-color: #f9c97b;\n}\n.pul-switch--warning input:not(:disabled):checked:focus + .pul-switch__indicator {\n border-color: #f5a622;\n background-color: #f5a622;\n}\n.pul-switch--warning input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f7dcb0;\n background-color: #f7dcb0;\n}\n.pul-switch--danger input:checked ~ .pul-switch__indicator {\n border-color: #f57979;\n background-color: #f57979;\n}\n.pul-switch--danger input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #f01f1f;\n background-color: #f01f1f;\n}\n.pul-switch--danger input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f4adad;\n background-color: #f4adad;\n}\n.pul-switch--loading .pul-switch__indicator {\n background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);\n background-size: 22px 22px;\n -webkit-animation: pul-switch--stripes 0.5s linear infinite;\n animation: pul-switch--stripes 0.5s linear infinite;\n}\n.objects-toolbar > .pul-switch {\n float: left;\n margin: 1px 1px 10px 0;\n}\n.pul-menu .pul-switch__indicator,\n.pul-menu input:not(:disabled):focus ~ .pul-switch__indicator {\n background-color: #999;\n border-color: #999;\n}\n@-webkit-keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n@keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n/*\nIcon\n\nMarkup:\n{{children}}\n\n...\n...\n\nModifiers:\n.icon--size-sm\n.icon--size-md\n.icon--size-lg\n.icon--size-xl\n.icon--size-xxl\n\n.icon--{{name}}\n*/\n.pul-icon {\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n.pul-icon img,\n.pul-icon svg {\n display: block;\n width: 100%;\n height: 100%;\n overflow: hidden;\n fill: currentColor;\n}\n.pul-icon--size-sm {\n width: 16px;\n height: 16px;\n}\n.pul-icon--size-md {\n width: 32px;\n height: 32px;\n}\n.pul-icon--size-lg {\n width: 48px;\n height: 48px;\n}\n.pul-icon--size-xl {\n width: 64px;\n height: 64px;\n}\n.pul-icon--size-xxl {\n width: 96px;\n height: 96px;\n}\n.pul-switches-panel-item {\n display: inline-block;\n width: 165px;\n min-height: 47px;\n padding: 8px 12px 14px;\n border: solid 1px #e0ddda;\n border-radius: 3px;\n background-color: #fff;\n}\n.pul-switches-panel-item__title {\n margin: 0;\n line-height: 19px;\n color: #212121;\n}\n.pul-switches-panel-item__description {\n max-height: 51px;\n margin: 6px 0 0;\n font-size: 12px;\n line-height: 17px;\n color: #212121;\n overflow: hidden;\n}\n.pul-switches-panel-item__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: 10px 0 0;\n}\n.pul-switches-panel-item__switch {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n.pul-switches-panel-item .pul-switch__label {\n margin: 0 0 0 5px;\n}\n.pul-switches-panel-item__controls {\n -webkit-box-flex: 1;\n -ms-flex: 1 0;\n flex: 1 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 24px;\n min-width: 24px;\n margin: 0;\n padding: 4px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:hover,\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:focus {\n text-decoration: none;\n outline: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button .pul-icon {\n color: #0099eb;\n}\n.pul-switches-panel-item--warning {\n background-color: #fdeed5;\n border-color: #f5a622;\n}\n.pul-switches-panel-item--danger {\n background-color: #fcd5d5;\n border-color: #f01f1f;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-switches-panel__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:-16px 0 0 -16px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-switches-panel__item{margin:16px 0 0 16px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/SwitchesPanel/SwitchesPanel.less"],names:[],mappings:"AAAA,2BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,uBAAwB,AACxB,uBAAwB,AACpB,oBAAqB,AACjB,2BAA4B,AACpC,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,0BACE,qBAAsB,AACtB,mBAAoB,AAChB,kBAAmB,AACf,aAAe,CACxB",file:"SwitchesPanel.less",sourcesContent:[".pul-switches-panel__items {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n margin: -16px 0 0 -16px;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-switches-panel__item {\n margin: 16px 0 0 16px;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-input{box-sizing:border-box;height:26px;max-width:100%;padding:3px 6px 4px;border:solid #afbac1;border-width:0 0 1px;background-color:#ededed;color:#020202;transition:all .2s linear}.pul-input:focus{border-color:#0f7faf;outline:0;background-color:#ecf5f9;color:#020202}.pul-input[readonly]{border-color:#afbac1;background-color:#ededed;color:#020202}.pul-input[disabled]{border-color:#e2e2e2;background-color:#f4f4f4;color:#999;opacity:1}.pul-input--size-sm{width:50px}.pul-input--size-md{width:200px}.pul-input--size-lg{width:350px}.pul-input--size-xl{width:500px}.pul-input--size-fill{width:100%}.pul-search-bar,.pul-search-bar__group{width:100%;position:relative}.pul-search-bar__group>.pul-search-bar__input{height:auto}.pul-search-bar__group>button{transition:all .2s linear}.pul-search-bar__group>button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active){border:none;border-bottom:1px solid #afbac1;background-color:#ededed}.pul-search-bar--focused .pul-search-bar__group>button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active){border-bottom-color:#0f7faf;background-color:#ecf5f9}.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button{border:none;margin-left:0}.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button:not(:hover):not(:focus):not(:active){border-bottom:1px solid #afbac1;background-color:#ededed}.pul-search-bar__reset-button{position:absolute;right:30px;top:0;bottom:0;color:#e12d2d}.pul-search-bar__results{position:absolute;right:0;z-index:1035;width:100%}.pul-search-bar__results--hidden{display:none}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Tabs/SearchBar.less"],names:[],mappings:"AAAA,WACE,sBAAuB,AACvB,YAAa,AACb,eAAgB,AAChB,oBAAqB,AACrB,qBAAsB,AACtB,qBAAsB,AACtB,yBAA0B,AAC1B,cAAe,AACf,yBAA4B,CAC7B,AACD,iBACE,qBAAsB,AACtB,UAAW,AACX,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,WAAY,AACZ,SAAW,CACZ,AACD,oBACE,UAAY,CACb,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,sBACE,UAAY,CACb,AAKD,uCAHE,WAAY,AACZ,iBAAmB,CAKpB,AACD,8CACE,WAAa,CACd,AACD,8BACE,yBAA4B,CAC7B,AACD,uGACE,YAAa,AACb,gCAAiC,AACjC,wBAA0B,CAC3B,AACD,gIACE,4BAA6B,AAC7B,wBAA0B,CAC3B,AACD,6EACE,YAAa,AACb,aAAe,CAChB,AACD,kHACE,gCAAiC,AACjC,wBAA0B,CAC3B,AACD,8BACE,kBAAmB,AACnB,WAAY,AACZ,MAAO,AACP,SAAU,AACV,aAAe,CAChB,AACD,yBACE,kBAAmB,AACnB,QAAS,AACT,aAAc,AACd,UAAY,CACb,AACD,iCACE,YAAc,CACf",file:"SearchBar.less",sourcesContent:[".pul-input {\n box-sizing: border-box;\n height: 26px;\n max-width: 100%;\n padding: 3px 6px 4px;\n border: solid #afbac1;\n border-width: 0 0 1px;\n background-color: #ededed;\n color: #020202;\n transition: all linear 0.2s;\n}\n.pul-input:focus {\n border-color: #0f7faf;\n outline: 0;\n background-color: #ecf5f9;\n color: #020202;\n}\n.pul-input[readonly] {\n border-color: #afbac1;\n background-color: #ededed;\n color: #020202;\n}\n.pul-input[disabled] {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n color: #999;\n opacity: 1;\n}\n.pul-input--size-sm {\n width: 50px;\n}\n.pul-input--size-md {\n width: 200px;\n}\n.pul-input--size-lg {\n width: 350px;\n}\n.pul-input--size-xl {\n width: 500px;\n}\n.pul-input--size-fill {\n width: 100%;\n}\n.pul-search-bar {\n width: 100%;\n position: relative;\n}\n.pul-search-bar__group {\n width: 100%;\n position: relative;\n}\n.pul-search-bar__group > .pul-search-bar__input {\n height: auto;\n}\n.pul-search-bar__group > button {\n transition: all linear 0.2s;\n}\n.pul-search-bar__group > button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active) {\n border: none;\n border-bottom: 1px solid #afbac1;\n background-color: #ededed;\n}\n.pul-search-bar--focused .pul-search-bar__group > button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active) {\n border-bottom-color: #0f7faf;\n background-color: #ecf5f9;\n}\n.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button {\n border: none;\n margin-left: 0;\n}\n.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button:not(:hover):not(:focus):not(:active) {\n border-bottom: 1px solid #afbac1;\n background-color: #ededed;\n}\n.pul-search-bar__reset-button {\n position: absolute;\n right: 30px;\n top: 0;\n bottom: 0;\n color: #e12d2d;\n}\n.pul-search-bar__results {\n position: absolute;\n right: 0;\n z-index: 1035;\n width: 100%;\n}\n.pul-search-bar__results--hidden {\n display: none;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-tabs__nav{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-bottom:16px}.pul-tabs__nav,.pul-tabs__tab-list{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-tabs__tab-list{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0;padding:0;border-bottom:1px solid #09729f;list-style:none;max-width:100%}.pul-tabs__tab{-webkit-box-flex:0;-ms-flex:none;flex:none}.pul-tabs__tab:not(:first-child) .pul-tabs__link{margin-left:2px}.pul-tabs__link{display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:30px;line-height:30px;padding:0 10px;margin-bottom:-1px;border:1px solid #519aba;border-bottom-color:#09729f;font-size:13px;white-space:nowrap;text-decoration:none;background-color:#ecf5f9;cursor:pointer;color:#000}.pul-tabs__link:hover,.pul-tabs__tab:hover .pul-tabs__link,.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link,.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link:hover,.pul-tabs__tab:not(.pul-tabs__tab--selected):hover .pul-dropdown--opened .pul-tabs__link{color:#fff;background-color:#2298cb;text-decoration:none}.pul-tabs__tab--selected .pul-tabs__link,.pul-tabs__tab--selected .pul-tabs__link:hover,.pul-tabs__tab--selected:hover .pul-tabs__link{border-color:#09729f #09729f #fff;background-color:#fff;color:#000}.pul-tabs__tab--closable{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-tabs__tab--closable .pul-tabs__link{padding-right:24px}.pul-tabs__tab--closable .pul-tabs__tab-close{position:absolute;top:0;right:6px;-webkit-transform:translateY(50%);transform:translateY(50%)}.pul-tabs__tab-icon+.pul-tabs__tab-title,.pul-tabs__tab-title+.pul-tabs__tab-label{margin-left:6px}.pul-tabs__link .pul-tabs__tab-icon{color:#519aba}.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-tabs__link:hover .pul-tabs__tab-icon{color:currentColor}.pul-tabs__tab .pul-tabs__tab-label{box-sizing:border-box;min-width:16px;padding:1px 4px;vertical-align:top;border-radius:2px}.pul-tabs__menu-item-close,.pul-tabs__tab-close{display:inline-block;overflow:visible;box-sizing:border-box;height:16px;width:16px;margin:0;padding:1px;cursor:pointer;text-align:center;vertical-align:top;color:#616161;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-tabs__menu-item-close::-moz-focus-inner,.pul-tabs__tab-close::-moz-focus-inner{border:0;padding:0}.pul-tabs__menu-item-close:hover,.pul-tabs__tab-close:hover{text-decoration:none;background-color:rgba(0,0,0,.04)}.pul-tabs__menu-item-close:active,.pul-tabs__tab-close:active{background-color:rgba(0,0,0,.14)}.pul-tabs__tab .pul-tabs__menu-item-close-icon,.pul-tabs__tab .pul-tabs__tab-close-icon{width:14px;height:14px;vertical-align:top}.pul-menu__item .pul-tabs__menu-item-close{margin-left:4px}.pul-menu__item--active .pul-tabs__menu-item-close,.pul-menu__item:hover .pul-tabs__menu-item-close,.pul-tabs__tab:hover .pul-tabs__tab-close{color:#fff}.pul-tabs__tab--selected:hover .pul-tabs__tab-close{color:#616161}.pul-tabs__nav--compact{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.pul-tabs__addon{-webkit-box-flex:10000;-ms-flex:10000 1 auto;flex:10000 1 auto;text-align:right;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.pul-tabs__nav--compact .pul-tabs__addon{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:5px}.pul-tabs__nav--compact .pul-tabs__search{padding-left:5px;width:auto}.pul-tabs__nav:not(.pul-tabs__nav--compact) .pul-tabs__addon{padding-left:5px}.pul-tabs__nav--searching{position:relative}.pul-tabs__nav--searching .pul-tabs__search{position:absolute;bottom:0;left:0;right:0;padding-left:0}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Tabs/Tabs.less"],names:[],mappings:"AAuBA,eAIE,sBAAuB,AACnB,mBAAoB,AAChB,qBAAsB,AAC9B,kBAAoB,CACrB,AACD,mCARE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAkBf,AAZD,oBAIE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,SAAU,AACV,UAAW,AACX,gCAAiC,AACjC,gBAAiB,AACjB,cAAgB,CACjB,AACD,eACE,mBAAoB,AAChB,cAAe,AACX,SAAW,CACpB,AACD,iDACE,eAAiB,CAClB,AACD,gBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACvB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,YAAa,AACb,iBAAkB,AAClB,eAAgB,AAChB,mBAAoB,AACpB,yBAA0B,AAC1B,4BAA6B,AAC7B,eAAgB,AAChB,mBAAoB,AACpB,qBAAsB,AACtB,yBAA0B,AAC1B,eAAgB,AAChB,UAAY,CACb,AACD,gUAKE,WAAY,AACZ,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,uIAGE,kCAAmC,AACnC,sBAAuB,AACvB,UAAY,CACb,AACD,yBACE,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,yCACE,kBAAoB,CACrB,AACD,8CACE,kBAAmB,AACnB,MAAO,AACP,UAAW,AACX,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,mFAEE,eAAiB,CAClB,AACD,oCACE,aAAe,CAChB,AACD,uFACE,kBAAoB,CACrB,AACD,oCACE,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,gDAEE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,YAAa,AACb,WAAY,AACZ,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,oFAEE,SAAU,AACV,SAAW,CACZ,AACD,4DAEE,qBAAsB,AACtB,gCAAsC,CACvC,AACD,8DAEE,gCAAsC,CACvC,AACD,wFAEE,WAAY,AACZ,YAAa,AACb,kBAAoB,CACrB,AACD,2CACE,eAAiB,CAClB,AACD,8IAGE,UAAY,CACb,AACD,oDACE,aAAe,CAChB,AACD,wBACE,2BAA4B,AACxB,sBAAwB,CAC7B,AACD,iBACE,uBAAwB,AACpB,sBAAuB,AACnB,kBAAmB,AAC3B,iBAAkB,AAClB,2BAA4B,AACxB,uBAAwB,AAC5B,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AAClB,kBAAmB,AACf,wBAA0B,CACnC,AACD,yCACE,6BAA8B,AAC1B,gBAAiB,AACrB,cAAe,AACf,iBAAmB,CACpB,AACD,0CACE,iBAAkB,AAClB,UAAY,CACb,AACD,6DACE,gBAAkB,CACnB,AACD,0BACE,iBAAmB,CACpB,AACD,4CACE,kBAAmB,AACnB,SAAU,AACV,OAAQ,AACR,QAAS,AACT,cAAgB,CACjB",file:"Tabs.less",sourcesContent:['/*\nTabs\n\nMarkup:\n
\n
\n \n
\n
\n
{{children}}
\n
\n\nModifiers:\n.tabs__tab--selected\n*/\n.pul-tabs__nav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n margin-bottom: 16px;\n}\n.pul-tabs__tab-list {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n margin: 0;\n padding: 0;\n border-bottom: 1px solid #09729f;\n list-style: none;\n max-width: 100%;\n}\n.pul-tabs__tab {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n}\n.pul-tabs__tab:not(:first-child) .pul-tabs__link {\n margin-left: 2px;\n}\n.pul-tabs__link {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n box-sizing: border-box;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n height: 30px;\n line-height: 30px;\n padding: 0 10px;\n margin-bottom: -1px;\n border: 1px solid #519aba;\n border-bottom-color: #09729f;\n font-size: 13px;\n white-space: nowrap;\n text-decoration: none;\n background-color: #ecf5f9;\n cursor: pointer;\n color: #000;\n}\n.pul-tabs__link:hover,\n.pul-tabs__tab:hover .pul-tabs__link,\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link,\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link:hover,\n.pul-tabs__tab:not(.pul-tabs__tab--selected):hover .pul-dropdown--opened .pul-tabs__link {\n color: #fff;\n background-color: #2298cb;\n text-decoration: none;\n}\n.pul-tabs__tab--selected .pul-tabs__link,\n.pul-tabs__tab--selected:hover .pul-tabs__link,\n.pul-tabs__tab--selected .pul-tabs__link:hover {\n border-color: #09729f #09729f #fff;\n background-color: #fff;\n color: #000;\n}\n.pul-tabs__tab--closable {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-tabs__tab--closable .pul-tabs__link {\n padding-right: 24px;\n}\n.pul-tabs__tab--closable .pul-tabs__tab-close {\n position: absolute;\n top: 0;\n right: 6px;\n -webkit-transform: translateY(50%);\n transform: translateY(50%);\n}\n.pul-tabs__tab-icon + .pul-tabs__tab-title,\n.pul-tabs__tab-title + .pul-tabs__tab-label {\n margin-left: 6px;\n}\n.pul-tabs__link .pul-tabs__tab-icon {\n color: #519aba;\n}\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-tabs__link:hover .pul-tabs__tab-icon {\n color: currentColor;\n}\n.pul-tabs__tab .pul-tabs__tab-label {\n box-sizing: border-box;\n min-width: 16px;\n padding: 1px 4px;\n vertical-align: top;\n border-radius: 2px;\n}\n.pul-tabs__tab-close,\n.pul-tabs__menu-item-close {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n height: 16px;\n width: 16px;\n margin: 0;\n padding: 1px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n color: #616161;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-tabs__tab-close::-moz-focus-inner,\n.pul-tabs__menu-item-close::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-tabs__tab-close:hover,\n.pul-tabs__menu-item-close:hover {\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-tabs__tab-close:active,\n.pul-tabs__menu-item-close:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n.pul-tabs__tab .pul-tabs__tab-close-icon,\n.pul-tabs__tab .pul-tabs__menu-item-close-icon {\n width: 14px;\n height: 14px;\n vertical-align: top;\n}\n.pul-menu__item .pul-tabs__menu-item-close {\n margin-left: 4px;\n}\n.pul-tabs__tab:hover .pul-tabs__tab-close,\n.pul-menu__item:hover .pul-tabs__menu-item-close,\n.pul-menu__item--active .pul-tabs__menu-item-close {\n color: #fff;\n}\n.pul-tabs__tab--selected:hover .pul-tabs__tab-close {\n color: #616161;\n}\n.pul-tabs__nav--compact {\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n}\n.pul-tabs__addon {\n -webkit-box-flex: 10000;\n -ms-flex: 10000 1 auto;\n flex: 10000 1 auto;\n text-align: right;\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.pul-tabs__nav--compact .pul-tabs__addon {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%;\n margin-left: 0;\n margin-bottom: 5px;\n}\n.pul-tabs__nav--compact .pul-tabs__search {\n padding-left: 5px;\n width: auto;\n}\n.pul-tabs__nav:not(.pul-tabs__nav--compact) .pul-tabs__addon {\n padding-left: 5px;\n}\n.pul-tabs__nav--searching {\n position: relative;\n}\n.pul-tabs__nav--searching .pul-tabs__search {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding-left: 0;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toast{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative;margin:5px auto 0;padding:10px;box-sizing:border-box;box-shadow:0 0 0 1px rgba(16,22,26,.1),0 2px 4px rgba(16,22,26,.2),0 8px 24px rgba(16,22,26,.2);background-color:#f0f0f0;min-width:300px;max-width:680px;width:100%;pointer-events:all}.pul-toast:focus{outline:none}.pul-toast--info{background-color:#c6e5fa}.pul-toast--info .pul-toast__icon{color:#39a5ee}.pul-toast--success{background-color:#bcdf94}.pul-toast--success .pul-toast__icon{color:#71a832}.pul-toast--warning{background-color:#fdd896}.pul-toast--warning .pul-toast__icon{color:#f59f05}.pul-toast--danger{background-color:#f4b3b3}.pul-toast--danger .pul-toast__icon{color:#e12d2d}.pul-toast__action,.pul-toast__icon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.pul-toast__icon{line-height:1;padding:1px 6px 1px 0}.pul-toast__content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;word-break:break-all;word-break:break-word}.pul-toast--enter,.pul-toast--enter~.toast{-webkit-transform:translateY(-40px);transform:translateY(-40px)}.pul-toast--enter-active,.pul-toast--enter-active~.pul-toast{-webkit-transform:translateY(0);transform:translateY(0);transition:-webkit-transform .3s cubic-bezier(.54,1.12,.38,1.11);transition:transform .3s cubic-bezier(.54,1.12,.38,1.11);transition:transform .3s cubic-bezier(.54,1.12,.38,1.11),-webkit-transform .3s cubic-bezier(.54,1.12,.38,1.11)}.pul-toast--exit{opacity:1;-webkit-filter:blur(0);filter:blur(0)}.pul-toast--exit-active{opacity:0;-webkit-filter:blur(10px);filter:blur(10px);transition:opacity .3s cubic-bezier(.4,1,.75,.9),-webkit-filter .3s cubic-bezier(.4,1,.75,.9);transition:opacity .3s cubic-bezier(.4,1,.75,.9),filter .3s cubic-bezier(.4,1,.75,.9);transition:opacity .3s cubic-bezier(.4,1,.75,.9),filter .3s cubic-bezier(.4,1,.75,.9),-webkit-filter .3s cubic-bezier(.4,1,.75,.9)}.pul-toast--exit~.pul-toast{-webkit-transform:translateY(0);transform:translateY(0)}.pul-toast--exit-active~.pul-toast{-webkit-transform:translateY(-40px);transform:translateY(-40px);transition:-webkit-transform .1s cubic-bezier(.4,1,.75,.9) .05s;transition:transform .1s cubic-bezier(.4,1,.75,.9) .05s;transition:transform .1s cubic-bezier(.4,1,.75,.9) .05s,-webkit-transform .1s cubic-bezier(.4,1,.75,.9) .05s}.pul-toast__close{display:inline-block;vertical-align:top;width:18px;height:18px;padding:1px;overflow:hidden;border:0;border-radius:50%;background-color:transparent;outline:none;cursor:pointer}.pul-toast__close:focus,.pul-toast__close:hover{background-color:hsla(0,0%,100%,.4)}.pul-toast__close::-moz-focus-inner{border:0;padding:0}.pul-toast__close-x{color:#000;opacity:.87}.pul-toast__close:hover .pul-toast__close-x{opacity:1}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Toast/Toast.less"],names:[],mappings:"AAyBA,WACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,kBAAmB,AACnB,aAAc,AACd,sBAAuB,AACvB,gGAA+G,AAC/G,yBAA0B,AAC1B,gBAAiB,AACjB,gBAAiB,AACjB,WAAY,AACZ,kBAAoB,CACrB,AACD,iBACE,YAAc,CACf,AACD,iBACE,wBAA0B,CAC3B,AACD,kCACE,aAAe,CAChB,AACD,oBACE,wBAA0B,CAC3B,AACD,qCACE,aAAe,CAChB,AACD,oBACE,wBAA0B,CAC3B,AACD,qCACE,aAAe,CAChB,AACD,mBACE,wBAA0B,CAC3B,AACD,oCACE,aAAe,CAChB,AACD,oCAEE,mBAAoB,AAChB,kBAAmB,AACf,aAAe,CACxB,AACD,iBACE,cAAe,AACf,qBAAuB,CACxB,AACD,oBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,qBAAsB,AACtB,qBAAuB,CACxB,AACD,2CAEE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,6DAEE,gCAAiC,AACzB,wBAAyB,AACjC,iEAAwE,AACxE,yDAAgE,AAChE,8GAA6H,CAC9H,AACD,iBACE,UAAW,AACX,uBAAwB,AAChB,cAAgB,CACzB,AACD,wBACE,UAAW,AACX,0BAA2B,AACnB,kBAAmB,AAC3B,8FAA8G,AAC9G,sFAAsG,AACtG,kIAA2J,CAC5J,AACD,4BACE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,mCACE,oCAAqC,AAC7B,4BAA6B,AACrC,gEAAyE,AACzE,wDAAiE,AACjE,4GAA+H,CAChI,AACD,kBACE,qBAAsB,AACtB,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,YAAa,AACb,gBAAiB,AACjB,SAAU,AACV,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,cAAgB,CACjB,AACD,gDAEE,mCAA2C,CAC5C,AACD,oCACE,SAAU,AACV,SAAW,CACZ,AACD,oBACE,WAAY,AACZ,WAAc,CACf,AACD,4CACE,SAAW,CACZ",file:"Toast.less",sourcesContent:['/*\nToast\n\nMarkup:\n
\n
\n \n toast message\n \n
\n
\n\nModifiers:\n.toaster--top\n\n.toast--success\n.toast--warning\n.toast--danger\n.toast--info\n\n.toast--enter\n.toast--enter-active\n.toast--leave\n.toast--leave-active\n*/\n.pul-toast {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n position: relative;\n margin: 5px auto 0;\n padding: 10px;\n box-sizing: border-box;\n box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);\n background-color: #f0f0f0;\n min-width: 300px;\n max-width: 680px;\n width: 100%;\n pointer-events: all;\n}\n.pul-toast:focus {\n outline: none;\n}\n.pul-toast--info {\n background-color: #c6e5fa;\n}\n.pul-toast--info .pul-toast__icon {\n color: #39a5ee;\n}\n.pul-toast--success {\n background-color: #bcdf94;\n}\n.pul-toast--success .pul-toast__icon {\n color: #71a832;\n}\n.pul-toast--warning {\n background-color: #fdd896;\n}\n.pul-toast--warning .pul-toast__icon {\n color: #f59f05;\n}\n.pul-toast--danger {\n background-color: #f4b3b3;\n}\n.pul-toast--danger .pul-toast__icon {\n color: #e12d2d;\n}\n.pul-toast__icon,\n.pul-toast__action {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.pul-toast__icon {\n line-height: 1;\n padding: 1px 6px 1px 0;\n}\n.pul-toast__content {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n word-break: break-all;\n word-break: break-word;\n}\n.pul-toast--enter,\n.pul-toast--enter ~ .toast {\n -webkit-transform: translateY(-40px);\n transform: translateY(-40px);\n}\n.pul-toast--enter-active,\n.pul-toast--enter-active ~ .pul-toast {\n -webkit-transform: translateY(0);\n transform: translateY(0);\n transition: -webkit-transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n transition: transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n transition: transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11), -webkit-transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n}\n.pul-toast--exit {\n opacity: 1;\n -webkit-filter: blur(0);\n filter: blur(0);\n}\n.pul-toast--exit-active {\n opacity: 0;\n -webkit-filter: blur(10px);\n filter: blur(10px);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n}\n.pul-toast--exit ~ .pul-toast {\n -webkit-transform: translateY(0);\n transform: translateY(0);\n}\n.pul-toast--exit-active ~ .pul-toast {\n -webkit-transform: translateY(-40px);\n transform: translateY(-40px);\n transition: -webkit-transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n transition: transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n transition: transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s, -webkit-transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n}\n.pul-toast__close {\n display: inline-block;\n vertical-align: top;\n width: 18px;\n height: 18px;\n padding: 1px;\n overflow: hidden;\n border: 0;\n border-radius: 50%;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n}\n.pul-toast__close:hover,\n.pul-toast__close:focus {\n background-color: rgba(255, 255, 255, 0.4);\n}\n.pul-toast__close::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-toast__close-x {\n color: #000;\n opacity: 0.87;\n}\n.pul-toast__close:hover .pul-toast__close-x {\n opacity: 1;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toaster{pointer-events:none;transition:padding .3s ease-in-out}.pul-toaster>span{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-toaster--top{position:fixed;top:0;right:0;left:0;padding:25px 10px 15px}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Toaster/Toaster.less"],names:[],mappings:"AAeA,aACE,oBAAqB,AACrB,kCAAqC,CACtC,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kBACE,eAAgB,AAChB,MAAO,AACP,QAAS,AACT,OAAQ,AACR,sBAAwB,CACzB",file:"Toaster.less",sourcesContent:['/*\nToaster\n\nMarkup:\n
\n
\n \n toast message\n \n
\n
\n\nModifiers:\n.toaster--top\n*/\n.pul-toaster {\n pointer-events: none;\n transition: padding 0.3s ease-in-out;\n}\n.pul-toaster > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-toaster--top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n padding: 25px 10px 15px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toolbar,.pul-toolbar__group{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-toolbar__group{white-space:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-toolbar__group:not(:last-child){margin-right:10px}.pul-toolbar__group-item:not(:last-child){margin-right:1px}.pul-toolbar__expander{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Toolbar/Toolbar.less"],names:[],mappings:"AAKA,iCAJE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAUf,AARD,oBAIE,mBAAoB,AACpB,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,qCACE,iBAAmB,CACpB,AACD,0CACE,gBAAkB,CACnB,AACD,uBACE,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACtB",file:"Toolbar.less",sourcesContent:[".pul-toolbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-toolbar__group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n white-space: nowrap;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-toolbar__group:not(:last-child) {\n margin-right: 10px;\n}\n.pul-toolbar__group-item:not(:last-child) {\n margin-right: 1px;\n}\n.pul-toolbar__expander {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-tooltip{position:absolute;z-index:1040;max-width:240px;padding:5px;text-align:left;word-wrap:break-word;border:1px solid #aaa;font-size:12px;background:#ffc;color:#000}.pul-tooltip b,.pul-tooltip i{font-weight:400;font-style:normal}.touch .pul-tooltip{display:none!important}","",{version:3,sources:["C:/Work/repos/ui-library/src/components/Tooltip/Tooltip.less"],names:[],mappings:"AAaA,aACE,kBAAmB,AACnB,aAAc,AACd,gBAAiB,AACjB,YAAa,AACb,gBAAiB,AACjB,qBAAsB,AACtB,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,UAAY,CACb,AACD,8BAEE,gBAAoB,AACpB,iBAAmB,CACpB,AACD,oBACE,sBAAyB,CAC1B",file:"Tooltip.less",sourcesContent:['/*doc\n---\ntitle: "Tooltip"\nname: tooltip\ncategory: "Components - Tooltip"\n---\n\n- [tooltip.less] (https://git.plesk.ru/projects/PLESK/repos/plesk/browse/common/theme/less/core/tooltip.less)\n\n```html_example\n
Create a customer account with subscription.
\n```\n*/\n.pul-tooltip {\n position: absolute;\n z-index: 1040;\n max-width: 240px;\n padding: 5px;\n text-align: left;\n word-wrap: break-word;\n border: 1px solid #aaa;\n font-size: 12px;\n background: #ffc;\n color: #000;\n}\n.pul-tooltip b,\n.pul-tooltip i {\n font-weight: normal;\n font-style: normal;\n}\n.touch .pul-tooltip {\n display: none !important;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'@font-face{font-family:Open Sans;font-style:normal;font-weight:300;src:local("Open Sans Light"),local("OpenSans-Light"),url('+n(447)+') format("woff2"),url('+n(446)+') format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans"),local("OpenSans"),url('+n(451)+') format("woff2"),url('+n(450)+') format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url('+n(449)+') format("woff2"),url('+n(448)+') format("woff")}@font-face{font-family:Open Sans Tilde;src:local("Arial");unicode-range:U+007E}html{overflow-y:scroll;font-family:Open Sans Tilde,Open Sans,Helvetica Neue,Helvetica,sans-serif;font-size:13px;font-weight:400;line-height:1.4;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);min-width:100%}body,html{height:100%;min-height:100%}body{margin:0;background:#fff;color:#000}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}progress{vertical-align:baseline}[hidden],template{display:none}iframe{border:0}a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}hr{box-sizing:content-box;height:0;overflow:visible;margin:12px 0;border:0;border-top:1px solid #ddd}pre{padding:10px;background:#f5f5f5;font:12px/18px Consolas,Liberation Mono,Menlo,Courier,monospace;color:#444;-moz-tab-size:4;-o-tab-size:4;tab-size:4;overflow:auto}a{color:#2498e3;text-decoration:none;cursor:pointer;background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline:none}a:hover{color:#188dd9;text-decoration:underline}[tabindex="-1"]:focus{outline:none}b,strong{font-weight:bolder}code,kbd,samp{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:12px;color:#d05}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,canvas,img,video{box-sizing:border-box}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}textarea{overflow:auto}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;white-space:normal}ol,ul{padding-left:20px}ol ol,ol ul,ul ol,ul ul{margin:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}address,blockquote,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,ol,p,pre,ul{margin-top:0;margin-bottom:12px}h1,h2,h3,h4,h5,h6{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}h1{font-size:36px;line-height:42px}h2{font-size:24px;line-height:30px}h3{font-size:18px;line-height:24px}h4{font-size:16px;line-height:22px}h5{font-size:14px;line-height:20px}h6{font-size:12px;line-height:18px}',"",{version:3,sources:["C:/Work/repos/ui-library/src/helpers/base.less"],names:[],mappings:"AAAA,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,+IAA+J,CAChK,AACD,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,mIAA2J,CAC5J,AACD,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,qJAAqK,CACtK,AACD,WACE,4BAA+B,AAC/B,mBAAoB,AACpB,oBAAsB,CACvB,AACD,KACE,kBAAmB,AACnB,0EAAqF,AACrF,eAAgB,AAChB,gBAAoB,AACpB,gBAAiB,AACjB,8BAA+B,AAC/B,0BAA2B,AAC3B,0CAA8C,AAC9C,cAAgB,CACjB,AAKD,UAEE,YAAa,AACb,eAAiB,CAClB,AACD,KACE,SAAU,AACV,gBAAiB,AACjB,UAAY,CACb,AACD,6EAWE,aAAe,CAChB,AACD,SACE,uBAAyB,CAC1B,AACD,kBAEE,YAAc,CACf,AACD,OACE,QAAU,CACX,AACD,kDAQE,8BAA+B,AAC3B,yBAA2B,CAChC,AACD,GACE,uBAAwB,AACxB,SAAU,AACV,iBAAkB,AAClB,cAAe,AACf,SAAU,AACV,yBAA2B,CAC5B,AACD,IACE,aAAc,AACd,mBAAoB,AACpB,gEAAuE,AACvE,WAAY,AACZ,gBAAiB,AACf,cAAe,AACZ,WAAY,AACjB,aAAe,CAChB,AACD,EACE,cAAe,AACf,qBAAsB,AACtB,eAAgB,AAChB,6BAA8B,AAC9B,oCAAsC,CACvC,AACD,iBAEE,YAAc,CACf,AACD,QACE,cAAe,AACf,yBAA2B,CAC5B,AACD,sBACE,YAAc,CACf,AACD,SAEE,kBAAoB,CACrB,AACD,cAGE,6DAAoE,AACpE,eAAgB,AAChB,UAAY,CACb,AACD,MACE,aAAe,CAChB,AACD,QAEE,cAAe,AACf,cAAe,AACf,kBAAmB,AACnB,uBAAyB,CAC1B,AACD,IACE,aAAgB,CACjB,AACD,IACE,SAAY,CACb,AACD,kCAME,qBAAuB,CACxB,AACD,uBAIE,qBAAuB,CACxB,AACD,IACE,iBAAmB,CACpB,AACD,eACE,eAAiB,CAClB,AACD,sCAKE,SAAU,AACV,oBAAqB,AACrB,kBAAmB,AACnB,mBAAqB,CACtB,AACD,aAEE,gBAAkB,CACnB,AACD,cAEE,mBAAqB,CACtB,AACD,qDAIE,yBAA2B,CAC5B,AACD,wHAIE,UAAW,AACX,iBAAmB,CACpB,AACD,SACE,aAAe,CAChB,AACD,SACE,UAAW,AACX,SAAU,AACV,QAAU,CACX,AACD,OACE,cAAe,AACf,WAAY,AACZ,eAAgB,AAChB,UAAW,AACX,kBAAoB,CACrB,AACD,MAEE,iBAAmB,CACpB,AACD,wBAIE,QAAU,CACX,AACD,MACE,yBAA0B,AAC1B,gBAAkB,CACnB,AACD,MAEE,SAAW,CACZ,AAaD,oEAHE,aAAc,AACd,kBAAoB,CAcrB,AAZD,kBAQE,gEAAyE,AACzE,gBAAoB,AACpB,WAAY,AACZ,mBAAqB,CACtB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB",file:"base.less",sourcesContent:['@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 300;\n src: local("Open Sans Light"), local("OpenSans-Light"), url("../fonts/open-sans-300.woff2") format("woff2"), url("../fonts/open-sans-300.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 400;\n src: local("Open Sans"), local("OpenSans"), url("../fonts/open-sans-regular.woff2") format("woff2"), url("../fonts/open-sans-regular.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 600;\n src: local("Open Sans Semibold"), local("OpenSans-Semibold"), url("../fonts/open-sans-600.woff2") format("woff2"), url("../fonts/open-sans-600.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans Tilde";\n src: local("Arial");\n unicode-range: U+007E;\n}\nhtml {\n overflow-y: scroll;\n font-family: "Open Sans Tilde", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;\n font-size: 13px;\n font-weight: normal;\n line-height: 1.4;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n min-width: 100%;\n}\n/*rtl:raw:\n html { direction: rtl; }\n html * { unicode-bidi: embed; }\n*/\nhtml,\nbody {\n height: 100%;\n min-height: 100%;\n}\nbody {\n margin: 0;\n background: #fff;\n color: #000;\n}\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\nprogress {\n vertical-align: baseline;\n}\ntemplate,\n[hidden] {\n display: none;\n}\niframe {\n border: 0;\n}\na,\narea,\nbutton,\ninput,\nlabel,\nselect,\nsummary,\ntextarea {\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n}\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n margin: 12px 0;\n border: 0;\n border-top: 1px solid #ddd;\n}\npre {\n padding: 10px;\n background: #f5f5f5;\n font: 12px/18px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n color: #444;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n overflow: auto;\n}\na {\n color: #2498e3;\n text-decoration: none;\n cursor: pointer;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\na:active,\na:hover {\n outline: none;\n}\na:hover {\n color: #188dd9;\n text-decoration: underline;\n}\n[tabindex="-1"]:focus {\n outline: none;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp {\n font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;\n font-size: 12px;\n color: #d05;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\naudio,\ncanvas,\niframe,\nimg,\nsvg,\nvideo {\n vertical-align: middle;\n}\naudio,\ncanvas,\nimg,\nvideo {\n box-sizing: border-box;\n}\nimg {\n border-style: none;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\nbutton,\ninput {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml [type="button"],\n[type="reset"],\n[type="submit"] {\n -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\ntextarea {\n overflow: auto;\n}\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n}\nul,\nol {\n padding-left: 20px;\n}\nul ul,\nul ol,\nol ol,\nol ul {\n margin: 0;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n}\np,\nul,\nol,\ndl,\nblockquote,\npre,\naddress,\nfieldset,\nfigure {\n margin-top: 0;\n margin-bottom: 12px;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 12px;\n font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: normal;\n color: #444;\n text-transform: none;\n}\nh1 {\n font-size: 36px;\n line-height: 42px;\n}\nh2 {\n font-size: 24px;\n line-height: 30px;\n}\nh3 {\n font-size: 18px;\n line-height: 24px;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n}\nh5 {\n font-size: 14px;\n line-height: 20px;\n}\nh6 {\n font-size: 12px;\n line-height: 18px;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function addClass(e,t){e.classList?e.classList.add(t):(0,o.default)(e)||(e.className=e.className+" "+t)};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(340));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function hasClass(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+e.className+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";e.exports=function removeClass(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}},function(e,t,n){"use strict";n(343).polyfill()},function(e,t,n){"use strict";function assign(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),o=1;o>1,c=-7,p=n?r-1:0,d=n?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+p],p+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,o),i-=u}return(f?-1:1)*a*Math.pow(2,i-o)},t.write=function(e,t,n,o,r,i){var a,s,l,u=8*i-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:i-1,m=o?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,r),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,r),a=0));r>=8;e[n+f]=255&s,f+=m,s/=256,r-=8);for(a=a<0;e[n+f]=255&a,f+=m,a/=256,u-=8);e[n+f-m]|=128*h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return r});var o="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},r="object"===("undefined"==typeof window?"undefined":o(window))&&"object"===("undefined"==typeof document?"undefined":o(document))&&9===document.nodeType;t.default=r},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t){!function(t,n){e.exports=n()}(0,function(){function escapeChar(e){return n[e]||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}function isValidVariableName(e){return!o[e]&&r.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n-1)return void d.push(l.slice(),p[o]);c.push(e),p.push(l.slice())}if(!(l.length>r||s--<=0))return t(e,n,next)}:function(e,t){if(!(u.indexOf(e)>-1||l.length>r||s--<=0)){u.push(e);e=t(e,n,next);return u.pop(),e}};if("function"==typeof t){var m=f;f=function(e,n){return m(e,function(e,o,r){return t(e,o,function(e){return n(e,o,r)})})}}var h=f(e,stringify);if(d.length){for(var b=n?"\n":"",A=n?" = ":"=",g=";"+b,C=(m=n?"(function () {":"(function(){",["var x"+A+h]),v=0;v-1)return registerClass(e,t.split(" "));var r=e.options.parent;if("$"===t[0]){var i=r.getRule(t.substr(1));return i?i===e?((0,o.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(r.classes[e.key]+=" "+r.classes[i.key],!0):((0,o.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function jssCompose(){return{onProcessStyle:function onProcessStyle(e,t){return e.composes?(registerClass(t,e.composes),delete e.composes,e):e}}};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(21))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function addCamelCasedVersion(e){var t=/(-[a-z])/g,n=function replace(e){return e[1].toUpperCase()},o={};for(var r in e)o[r]=e[r],o[r.replace(t,n)]=e[r];return o}function iterate(e,t,n){if(!t)return t;var i=t,a=void 0===t?"undefined":o(t);switch("object"===a&&Array.isArray(t)&&(a="array"),a){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var l in t)t[l]=iterate(e+"-"+l,t[l],n);break;case"array":for(var u=0;u0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var o in t)t[o]=iterate(o,t[o],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var r=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(460)).default)},function(e,t,n){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function addScope(e,t){for(var n=e.split(c),o="",r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],o=void 0,r=void 0,i=function setSelector(){r.selector=n.join(",\n")},a=d(i);return{onProcessRule:function onProcessRule(i,l){if(l&&l!==o&&"style"===i.type&&p(i,l,e)){r||(o=i.options.jss.createStyleSheet(null,s),r=o.addRule("reset",u(e.reset)),o.attach());var c=i.selector;-1===n.indexOf(c)&&(n.push(c),t=a())}},onProcessSheet:function onProcessSheet(){!t&&n.length&&i()}}};var i=_interopRequireDefault(n(277)),a=_interopRequireDefault(n(276)),s={meta:"jss-isolate",index:-1/0,link:!0},l={inherited:i.default,all:a.default},u=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return l[e];if("object"===(void 0===e?"undefined":r(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return o({},l[t],n)}return o({},i.default,e)}return i.default},c={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var o=e.options.parent;if(o&&c[o.type])return!1;var r=null==n.isolate||n.isolate;return null!=t.options.isolate&&(r=t.options.isolate),null!=e.style.isolate&&(r=e.style.isolate,delete e.style.isolate),"string"==typeof r?r===e.key:r},d=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var o=Date.now();return!(o-n0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?A.default:b.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function createStyleSheet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===d.default.index?0:d.default.index+1);var o=new s.default(e,r({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o}},{key:"removeStyleSheet",value:function removeStyleSheet(e){return e.detach(),d.default.remove(e),this}},{key:"createRule",value:function createRule(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":o(e))&&(n=t,t=e,e=void 0);var r=n;r.jss=this,r.Renderer=this.options.Renderer,r.generateClassName||(r.generateClassName=this.generateClassName),r.classes||(r.classes={});var i=(0,h.default)(e,t,r);return!r.selector&&i instanceof f.default&&(i.selector="."+r.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function use(){for(var e=this,t=arguments.length,n=Array(t),o=0;o0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,r.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function get(){return this.keys.length}}]),SheetsManager}();t.default=i},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(34)),r=_interopRequireDefault(n(29)),i=_interopRequireDefault(n(481)),a=_interopRequireDefault(n(44)),s=Date.now(),l="fnValues"+s,u="fnStyle"+ ++s;t.default={onCreateRule:function onCreateRule(e,t,n){if("function"!=typeof t)return null;var o=(0,a.default)(e,{},n);return o[u]=t,o},onProcessStyle:function onProcessStyle(e,t){var n={};for(var o in e){var r=e[o];"function"==typeof r&&(delete e[o],n[(0,i.default)(o)]=r)}return t=t,t[l]=n,e},onUpdate:function onUpdate(e,t){if(t.rules instanceof o.default)t.rules.update(e);else if(t instanceof r.default){if((t=t)[l])for(var n in t[l])t.prop(n,t[l][n](e));var i=(t=t)[u];if(i){var a=i(e);for(var s in a)t.prop(s,a[s])}}}}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(29)),r=_interopRequireDefault(n(44)),i=_interopRequireDefault(n(177));t.default={onCreateRule:function onCreateRule(e,t,n){if(!(0,i.default)(t))return null;var o=t,a=(0,r.default)(e,{},n);return o.subscribe(function(e){for(var t in e)a.prop(t,e[t])}),a},onProcessRule:function onProcessRule(e){if(e instanceof o.default){var t=e,n=t.style,r=function _loop(e){var o=n[e];if(!(0,i.default)(o))return"continue";delete n[e],o.subscribe({next:function next(n){t.prop(e,n)}})};for(var a in n){r(a)}}}}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(476)),r=_interopRequireDefault(n(475)),i=_interopRequireDefault(n(473)),a=_interopRequireDefault(n(474)),s=_interopRequireDefault(n(477)),l={"@charset":o.default,"@import":o.default,"@namespace":o.default,"@keyframes":r.default,"@media":i.default,"@supports":i.default,"@font-face":a.default,"@viewport":s.default,"@-ms-viewport":s.default};t.default=Object.keys(l).map(function(e){var t=new RegExp("^"+e);return{onCreateRule:function onCreateRule(n,o,r){return t.test(n)?new l[e](n,o,r):null}}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getStyle(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function setStyle(e,t,n){try{var o=n;if(Array.isArray(n)&&(o=(0,s.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,o,"important"),!0;e.style.setProperty(t,o)}catch(e){return!1}return!0}function setSelector(e,t){return e.selectorText=t,e.selectorText===t}function findPrevNode(e){var t=i.default.registry;if(t.length>0){var n=function findHigherSheet(e,t){for(var n=0;nt.index&&o.options.insertionPoint===t.insertionPoint)return o}return null}(t,e);if(n)return n.renderer.element;if(n=function findHighestSheet(e,t){for(var n=e.length-1;n>=0;n--){var o=e[n];if(o.attached&&o.options.insertionPoint===t.insertionPoint)return o}return null}(t,e))return n.renderer.element.nextElementSibling}var o=e.insertionPoint;if(o&&"string"==typeof o){var a=function findCommentNode(e){for(var t=d(),n=0;n1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)};return function(t){if(t.type===u)return t.selectorText;if(t.type===c){var n=t.name;if(n)return"@keyframes "+n;var o=t.cssText;return"@"+e(o,o.indexOf("keyframes"))}return e(t.cssText)}}(),d=l(function(){return document.head||document.getElementsByTagName("head")[0]}),f=function(){var e=void 0,t=!1;return function(n){var o={};e||(e=document.createElement("style"));for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),ConditionalRule}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),KeyframesRule}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&r(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o-1}},function(e,t,n){var o=n(47);e.exports=function listCacheSet(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var o=n(484),r=n(46),i=n(73);e.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},function(e,t,n){var o=n(49);e.exports=function mapCacheDelete(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var o=n(49);e.exports=function mapCacheGet(e){return o(this,e).get(e)}},function(e,t,n){var o=n(49);e.exports=function mapCacheHas(e){return o(this,e).has(e)}},function(e,t,n){var o=n(49);e.exports=function mapCacheSet(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t){e.exports=function mapToArray(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}},function(e,t,n){var o=n(83),r=500;e.exports=function memoizeCapped(e){var t=o(e,function(e){return n.size===r&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var o=n(193)(Object.keys,Object);e.exports=o},function(e,t){e.exports=function nativeKeysIn(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var o=n(189),r="object"==typeof t&&t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(t,n(94)(e))},function(e,t){var n=Object.prototype.toString;e.exports=function objectToString(e){return n.call(e)}},function(e,t,n){var o=n(489),r=Math.max;e.exports=function overRest(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=r(i.length-t,0),l=Array(s);++a0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var o=n(46);e.exports=function stackClear(){this.__data__=new o,this.size=0}},function(e,t){e.exports=function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function stackGet(e){return this.__data__.get(e)}},function(e,t){e.exports=function stackHas(e){return this.__data__.has(e)}},function(e,t,n){var o=n(46),r=n(73),i=n(74),a=200;e.exports=function stackSet(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length2?i-2:0),l=2;l\s)/g.test(e));var o=x(y(n?e:e.replace(te,"")+"\n\n",{inline:n})),r=void 0;return o.length>1?r=h(n?"span":"div",null,o):1===o.length?"string"==typeof(r=o[0])&&(r=h("span",null,r)):r=h("span",null),r}function attrStringToMap(e){var t=e.match(u);return t?t.reduce(function(e,t,n){var o=t.indexOf("=");if(-1!==o){var i=function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(D)&&(e=e.replace(M,function(e,t){return t.toUpperCase()})),e}(t.slice(0,o)),s=a()(t.slice(o+1)),u=l[i]||i,c=e[u]=attributeValueToJSXPropValue(i,s);(S.test(c)||O.test(c))&&(e[u]=r.a.cloneElement(compile(c.trim()),{key:n}))}else e[l[t]||t]=!0;return e},{}):void 0}(t=t||{}).overrides=t.overrides||{};var n=[],o={},i={blockQuote:{match:blockRegex(d),order:fe,parse:function parse(e,t,n){return{content:t(e[0].replace(f,""),n)}},react:function react(e,t,n){return h("blockquote",{key:n.key},t(e.content,n))}},breakLine:{match:anyScopeRegex(m),order:fe,parse:captureNothing,react:function react(e,t,n){return h("br",{key:n.key})}},breakThematic:{match:blockRegex(b),order:fe,parse:captureNothing,react:function react(e,t,n){return h("hr",{key:n.key})}},codeBlock:{match:blockRegex(g),order:de,parse:function parse(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function react(e,t,n){return h("pre",{key:n.key},h("code",{className:e.lang?"lang-"+e.lang:""},e.content))}},codeFenced:{match:blockRegex(A),order:de,parse:function parse(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:inlineRegex(C),order:he,parse:function parse(e){return{content:e[2]}},react:function react(e,t,n){return h("code",{key:n.key},e.content)}},footnote:{match:blockRegex(_),order:de,parse:function parse(e){return n.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(w),order:fe,parse:function parse(e){return{content:e[1],target:"#"+e[1]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(e.target)},h("sup",{key:n.key},e.content))}},gfmTask:{match:inlineRegex(B),order:fe,parse:function parse(e){return{completed:"x"===e[1].toLowerCase()}},react:function react(e,t,n){return h("input",{checked:e.completed,key:n.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(k),order:fe,parse:function parse(e,t,n){return{content:parseInline(t,e[2],n),level:e[1].length}},react:function react(e,t,n){return h("h"+e.level,{key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(E),order:de,parse:function parse(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(S),order:fe,parse:function parse(e,t,n){var o=e[3].match(S)?parseBlock:parseInline;return{attrs:attrStringToMap(e[2]),content:o(t,e[3].trim(),n),tag:e[1]}},react:function react(e,t,n){return h(e.tag,s({key:n.key},e.attrs),t(e.content,n))}},htmlComment:{match:anyScopeRegex(P),order:fe,parse:function parse(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(O),order:fe,parse:function parse(e){return{attrs:attrStringToMap(e[2]),tag:e[1]}},react:function react(e,t,n){return h(e.tag,s({},e.attrs,{key:n.key}))}},image:{match:inlineRegex(pe),order:fe,parse:function parse(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function react(e,t,n){return h("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:sanitizeUrl(e.target)})}},link:{match:inlineRegex(ce),order:he,parse:function parse(e,t,n){return{content:t(e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(e.target),title:e.title},t(e.content,n))}},linkAngleBraceStyleDetector:{match:inlineRegex(I),order:de,parse:function parse(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(T),order:de,parse:function parse(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(j),order:de,parse:function parse(e){var t=e[1],n=e[1];return c.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function match(e,t,n){var o=q.test(n),r=t._list||!t.inline;return o&&r?se.exec(e):null},order:fe,parse:function parse(e,t,n){var o=e[2],r=o.length>1,i=r?+o:void 0,a=e[0].replace(p,"\n").match(ae),s=!1;return{items:a.map(function(e,o){var r=ie.exec(e)[0].length,i=new RegExp("^ {1,"+r+"}","gm"),l=e.replace(i,"").replace(ie,""),u=o===a.length-1,c=-1!==l.indexOf("\n\n")||u&&s;s=c;var p=n.inline,d=n._list;n._list=!0;var f=void 0;c?(n.inline=!1,f=l.replace(N,"\n\n")):(n.inline=!0,f=l.replace(N,""));var m=t(f,n);return n.inline=p,n._list=d,m}),ordered:r,start:i}},react:function react(e,t,n){return h(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function generateListItem(e,o){return h("li",{key:o},t(e,n))}))}},newlineCoalescer:{match:blockRegex(v),order:he,parse:captureNothing,react:function react(){return"\n"}},paragraph:{match:blockRegex(L),order:he,parse:parseCaptureInline,react:function react(e,t,n){return h("p",{key:n.key},t(e.content,n))}},ref:{match:inlineRegex(F),order:de,parse:function parse(e){return o[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:inlineRegex(W),order:de,parse:function parse(e){return{alt:e[1]||void 0,ref:e[2]}},react:function react(e,t,n){return h("img",{key:n.key,alt:e.alt,src:sanitizeUrl(o[e.ref].target),title:o[e.ref].title})}},refLink:{match:inlineRegex(U),order:de,parse:function parse(e,t,n){return{content:t(e[1],n),ref:e[2]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(o[e.ref].target),title:o[e.ref].title},t(e.content,n))}},table:{match:blockRegex(z),order:fe,parse:parseTable,react:function react(e,t,n){return h("table",{key:n.key},h("thead",null,h("tr",null,e.header.map(function generateHeaderCell(o,r){return h("th",{key:r,style:getTableStyle(e,r),scope:"col"},t(o,n))}))),h("tbody",null,e.cells.map(function generateTableRow(o,r){return h("tr",{key:r},o.map(function generateTableCell(o,r){return h("td",{key:r,style:getTableStyle(e,r)},t(o,n))}))})))}},text:{match:inlineRegex(Q),order:be,parse:function parse(e){return{content:e[0]}},react:function react(e){return e.content}},textBolded:{match:inlineRegex($),order:me,parse:parseCaptureInline,react:function react(e,t,n){return h("strong",{key:n.key},t(e.content,n))}},textEmphasized:{match:inlineRegex(Z),order:he,parse:function parse(e,t,n){return{content:t(e[2]||e[1],n)}},react:function react(e,t,n){return h("em",{key:n.key},t(e.content,n))}},textEscaped:{match:inlineRegex(J),order:fe,parse:function parse(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:inlineRegex(ee),order:he,parse:parseCaptureInline,react:function react(e,t,n){return h("del",{key:n.key},t(e.content,n))}}},y=parserFor(i),x=function reactFor(e){return function nestedReactOutput(t,n){if(n=n||{},Array.isArray(t)){for(var o=n.key,r=[],i=!1,a=0;a[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,f=/^ *> ?/gm,m=/^ {2,}\n/,b=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,A=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n/,g=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n/,C=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,v=/^(?:\n *)*\n/,y=/\r\n?/g,_=/^\[\^(.*)\](:.*)\n/,w=/^\[\^(.*)\]/,x=/\f/g,B=/^\s*?\[(x|\s)\]/,k=/^ *(#{1,6}) *([^\n]+?) *#* *\n+/,E=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,S=/^ *<([^ >/]+) ?([^>]*)\/{0}>(?=[\s\S]*<\/\1>)((?:[\s\S]*?(?:<\1[^>]*>[\s\S]*?<\/\1>)*[\s\S]*?)*?)<\/\1>\n*/,P=/^/,D=/^(data|aria)-[a-z_][a-z\d_.-]*$/,O=/^ *<([\w:]+)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/,R=/^\{.*\}$/,T=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,j=/^<([^ >]+@[^ >]+)>/,I=/^<([^ >]+:\/[^ >]+)>/,N=/ *\n+$/,q=/^$|\n *$/,M=/-([a-z])?/gi,z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,L=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,F=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,W=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,U=/^\[([^\]]*)\] ?\[([^\]]*)\]/,V=/\t/g,G=/(^ *\||\| *$)/g,Y=/^ *:-+: *$/,X=/^ *:-+ *$/,H=/^ *-+: *$/,K=/ *\| */,$=/^[*_]{2}([\s\S]+?)[*_]{2}(?!\*|_)/,Z=/^[*_]{1}([\s\S]+?)[*_]{1}(?!\*|_)/,J=/^\\([^0-9A-Za-z\s])/,Q=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ee=/^~~(?=\S)([\s\S]*?\S)~~/,te=/(^\n+|(\n|\s)+$)/g,ne=/\\([^0-9A-Z\s])/gi,oe="(?:[*+-]|\\d+\\.)",re="( *)("+oe+") +",ie=new RegExp("^"+re),ae=new RegExp(re+"[^\\n]*(?:\\n(?!\\1"+oe+" )[^\\n]*)*(\\n|$)","gm"),se=new RegExp("^( *)("+oe+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+oe+" )\\n*|\\s*\\n*$)"),le="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ue="\\s*?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",ce=new RegExp("^\\[("+le+")\\]\\("+ue+"\\)"),pe=new RegExp("^!\\[("+le+")\\]\\("+ue+"\\)"),de=1,fe=2,me=3,he=4,be=5},function(e,t,n){(function(t){(function(){function Lexer(e){this.tokens=[],this.tokens.links={},this.options=e||marked.defaults,this.rules=t.normal,this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}function InlineLexer(e,t){if(this.options=t||marked.defaults,this.links=e,this.rules=n.normal,this.renderer=this.options.renderer||new Renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=n.breaks:this.rules=n.gfm:this.options.pedantic&&(this.rules=n.pedantic)}function Renderer(e){this.options=e||{}}function Parser(e){this.tokens=[],this.token=null,this.options=e||marked.defaults,this.options.renderer=this.options.renderer||new Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options}function escape(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function replace(e,t){return e=e.source,t=t||"",function self(n,o){return n?(o=o.source||o,o=o.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(n,o),self):new RegExp(e,t)}}function noop(){}function merge(e){for(var t,n,o=1;oAn error occured:

"+escape(e.message+"",!0)+"
";throw e}}var t={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};t.bullet=/(?:[*+-]|\d+\.)/,t.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,t.item=replace(t.item,"gm")(/bull/g,t.bullet)(),t.list=replace(t.list)(/bull/g,t.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+t.def.source+")")(),t.blockquote=replace(t.blockquote)("def",t.def)(),t._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",t.html=replace(t.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,t._tag)(),t.paragraph=replace(t.paragraph)("hr",t.hr)("heading",t.heading)("lheading",t.lheading)("blockquote",t.blockquote)("tag","<"+t._tag)("def",t.def)(),t.normal=merge({},t),t.gfm=merge({},t.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=replace(t.paragraph)("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|")(),t.tables=merge({},t.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),Lexer.rules=t,Lexer.lex=function(e,t){return new Lexer(t).lex(e)},Lexer.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},Lexer.prototype.token=function(e,n,o){var r,i,a,s,l,u,c,p,d;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:a.replace(/\n+$/,"")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(n&&(a=this.rules.nptable.exec(e))){for(e=e.substring(a[0].length),u={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/\n$/,"").split("\n")},p=0;p ?/gm,""),this.token(a,n,!0),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),s=a[2],this.tokens.push({type:"list_start",ordered:s.length>1}),r=!1,d=(a=a[0].match(this.rules.item)).length,p=0;p1&&l.length>1||(e=a.slice(p+1).join("\n")+e,p=d-1)),i=r||/\n\n(?!\s*$)/.test(u),p!==d-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,o),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!o&&n&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(n&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),u={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},p=0;p])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,n.link=replace(n.link)("inside",n._inside)("href",n._href)(),n.reflink=replace(n.reflink)("inside",n._inside)(),n.normal=merge({},n),n.pedantic=merge({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),n.gfm=merge({},n.normal,{escape:replace(n.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(n.text)("]|","~]|")("|","|https?://|")()}),n.breaks=merge({},n.gfm,{br:replace(n.br)("{2,}","*")(),text:replace(n.gfm.text)("{2,}","*")()}),InlineLexer.rules=n,InlineLexer.output=function(e,t,n){return new InlineLexer(t,n).output(e)},InlineLexer.prototype.output=function(e){for(var t,n,o,r,i="";e;)if(r=this.rules.escape.exec(e))e=e.substring(r[0].length),i+=r[1];else if(r=this.rules.autolink.exec(e))e=e.substring(r[0].length),"@"===r[2]?(n=":"===r[1].charAt(6)?this.mangle(r[1].substring(7)):this.mangle(r[1]),o=this.mangle("mailto:")+n):o=n=escape(r[1]),i+=this.renderer.link(o,null,n);else if(this.inLink||!(r=this.rules.url.exec(e))){if(r=this.rules.tag.exec(e))!this.inLink&&/^/i.test(r[0])&&(this.inLink=!1),e=e.substring(r[0].length),i+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):escape(r[0]):r[0];else if(r=this.rules.link.exec(e))e=e.substring(r[0].length),this.inLink=!0,i+=this.outputLink(r,{href:r[2],title:r[3]}),this.inLink=!1;else if((r=this.rules.reflink.exec(e))||(r=this.rules.nolink.exec(e))){if(e=e.substring(r[0].length),t=(r[2]||r[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){i+=r[0].charAt(0),e=r[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(r,t),this.inLink=!1}else if(r=this.rules.strong.exec(e))e=e.substring(r[0].length),i+=this.renderer.strong(this.output(r[2]||r[1]));else if(r=this.rules.em.exec(e))e=e.substring(r[0].length),i+=this.renderer.em(this.output(r[2]||r[1]));else if(r=this.rules.code.exec(e))e=e.substring(r[0].length),i+=this.renderer.codespan(escape(r[2],!0));else if(r=this.rules.br.exec(e))e=e.substring(r[0].length),i+=this.renderer.br();else if(r=this.rules.del.exec(e))e=e.substring(r[0].length),i+=this.renderer.del(this.output(r[1]));else if(r=this.rules.text.exec(e))e=e.substring(r[0].length),i+=this.renderer.text(escape(this.smartypants(r[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(r[0].length),o=n=escape(r[1]),i+=this.renderer.link(o,null,n);return i},InlineLexer.prototype.outputLink=function(e,t){var n=escape(t.href),o=t.title?escape(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,o,this.output(e[1])):this.renderer.image(n,o,escape(e[1]))},InlineLexer.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},InlineLexer.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",o=e.length,r=0;r.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},Renderer.prototype.code=function(e,t,n){if(this.options.highlight){var o=this.options.highlight(e,t);null!=o&&o!==e&&(n=!0,e=o)}return t?'
'+(n?e:escape(e,!0))+"\n
\n":"
"+(n?e:escape(e,!0))+"\n
"},Renderer.prototype.blockquote=function(e){return"
\n"+e+"
\n"},Renderer.prototype.html=function(e){return e},Renderer.prototype.heading=function(e,t,n){return"'+e+"\n"},Renderer.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},Renderer.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"\n"},Renderer.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},Renderer.prototype.paragraph=function(e){return"

    "+e+"

    \n"},Renderer.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},Renderer.prototype.tablerow=function(e){return"\n"+e+"\n"},Renderer.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},Renderer.prototype.strong=function(e){return""+e+""},Renderer.prototype.em=function(e){return""+e+""},Renderer.prototype.codespan=function(e){return""+e+""},Renderer.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},Renderer.prototype.del=function(e){return""+e+""},Renderer.prototype.link=function(e,t,n){if(this.options.sanitize){try{var o=decodeURIComponent(function unescape(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===o.indexOf("javascript:")||0===o.indexOf("vbscript:"))return""}var r='
    "},Renderer.prototype.image=function(e,t,n){var o=''+n+'":">"},Renderer.prototype.text=function(e){return e},Parser.parse=function(e,t,n){return new Parser(t,n).parse(e)},Parser.prototype.parse=function(e){this.inline=new InlineLexer(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},Parser.prototype.next=function(){return this.token=this.tokens.pop()},Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},Parser.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},Parser.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,o,r="",i="";for(n="",e=0;e1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function getBordersSize(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function getSize(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l()?n["offset"+e]+o["margin"+("Height"===e?"Top":"Left")]+o["margin"+("Height"===e?"Bottom":"Right")]:0)}function getWindowSizes(){var e=document.body,t=document.documentElement,n=l()&&getComputedStyle(t);return{height:getSize("Height",e,t,n),width:getSize("Width",e,t,n)}}function getClientRect(e){return d({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};if(l())try{t=e.getBoundingClientRect();var n=getScroll(e,"top"),o=getScroll(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}catch(e){}else t=e.getBoundingClientRect();var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?getWindowSizes():{},a=i.width||e.clientWidth||r.right-r.left,s=i.height||e.clientHeight||r.bottom-r.top,u=e.offsetWidth-a,c=e.offsetHeight-s;if(u||c){var p=getStyleComputedProperty(e);u-=getBordersSize(p,"x"),c-=getBordersSize(p,"y"),r.width-=u,r.height-=c}return getClientRect(r)}function getOffsetRectRelativeToArbitraryNode(e,t){var n=l(),o="HTML"===t.nodeName,r=getBoundingClientRect(e),i=getBoundingClientRect(t),a=getScrollParent(e),s=getStyleComputedProperty(t),u=parseFloat(s.borderTopWidth,10),c=parseFloat(s.borderLeftWidth,10),p=getClientRect({top:r.top-i.top-u,left:r.left-i.left-c,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!n&&o){var d=parseFloat(s.marginTop,10),f=parseFloat(s.marginLeft,10);p.top-=u-d,p.bottom-=u-d,p.left-=c-f,p.right-=c-f,p.marginTop=d,p.marginLeft=f}return(n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(p=function includeScroll(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=getScroll(t,"top"),r=getScroll(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(p,t)),p}function isFixed(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===getStyleComputedProperty(e,"position")||isFixed(getParentNode(e)))}function getBoundaries(e,t,n,o){var r={top:0,left:0},i=findCommonOffsetParent(e,t);if("viewport"===o)r=function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=e.ownerDocument.documentElement,n=getOffsetRectRelativeToArbitraryNode(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),r=Math.max(t.clientHeight,window.innerHeight||0),i=getScroll(t),a=getScroll(t,"left");return getClientRect({top:i-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:r})}(i);else{var a=void 0;"scrollParent"===o?"BODY"===(a=getScrollParent(getParentNode(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===o?e.ownerDocument.documentElement:o;var s=getOffsetRectRelativeToArbitraryNode(a,i);if("HTML"!==a.nodeName||isFixed(i))r=s;else{var l=getWindowSizes(),u=l.height,c=l.width;r.top+=s.top-s.marginTop,r.bottom=u+s.top,r.left+=s.left-s.marginLeft,r.right=c+s.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function computeAutoPlacement(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=getBoundaries(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return d({key:e},s[e],{area:function getArea(e){return e.width*e.height}(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,p=e.split("-")[1];return c+(p?"-"+p:"")}function getReferenceOffsets(e,t,n){return getOffsetRectRelativeToArbitraryNode(n,findCommonOffsetParent(t,n))}function getOuterSizes(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),o=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function getOppositePlacement(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function getPopperOffsets(e,t,n){n=n.split("-")[0];var o=getOuterSizes(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[u]:t[getOppositePlacement(s)],r}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function runModifiers(e,t,n){return(void 0===n?e:e.slice(0,function findIndex(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=find(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&isFunction(n)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=n(t,e))}),t}function isModifierEnabled(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function getSupportedPropertyName(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=m.indexOf(e),o=m.slice(n+1).concat(m.slice(0,n));return t?o.reverse():o}function parseOffset(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(find(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function toValue(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return getClientRect(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){isNumeric(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))})}),r}for(var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],r=0,i=0;i=0){r=1;break}var a=n&&window.Promise?function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}},s=void 0,l=function(){return void 0===s&&(s=-1!==navigator.appVersion.indexOf("MSIE 10")),s},u=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=function(){function defineProperties(e,t){for(var n=0;no[e]&&!t.escapeWithReference&&(r=Math.min(i[n],o[e]-("right"===e?i.width:i.height))),p({},n,r)}};return r.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";i=d({},i,a[t](e))}),e.offsets.popper=i,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function keepTogether(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function arrow(e,t){var n;if(!isModifierRequired(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),f=l?"left":"top",m=l?"bottom":"right",h=getOuterSizes(o)[u];s[m]-ha[m]&&(e.offsets.popper[d]+=s[d]+h-a[m]),e.offsets.popper=getClientRect(e.offsets.popper);var b=s[d]+s[u]/2-h/2,A=getStyleComputedProperty(e.instance.popper),g=parseFloat(A["margin"+c],10),C=parseFloat(A["border"+c+"Width"],10),v=b-e.offsets.popper[d]-g-C;return v=Math.max(Math.min(a[u]-h,v),0),e.arrowElement=o,e.offsets.arrow=(n={},p(n,d,Math.round(v)),p(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function flip(e,t){if(isModifierEnabled(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),o=e.placement.split("-")[0],r=getOppositePlacement(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case h.FLIP:a=[o,r];break;case h.CLOCKWISE:a=clockwise(o);break;case h.COUNTERCLOCKWISE:a=clockwise(o,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=getOppositePlacement(o);var u=e.offsets.popper,c=e.offsets.reference,p=Math.floor,f="left"===o&&p(u.right)>p(c.left)||"right"===o&&p(u.left)p(c.top)||"bottom"===o&&p(u.top)p(n.right),b=p(u.top)p(n.bottom),g="left"===o&&m||"right"===o&&h||"top"===o&&b||"bottom"===o&&A,C=-1!==["top","bottom"].indexOf(o),v=!!t.flipVariations&&(C&&"start"===i&&m||C&&"end"===i&&h||!C&&"start"===i&&b||!C&&"end"===i&&A);(f||g||v)&&(e.flipped=!0,(f||g)&&(o=a[l+1]),v&&(i=function getOppositeVariation(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=d({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function inner(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(r),e}},hide:{order:800,enabled:!0,fn:function hide(e){if(!isModifierRequired(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=find(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};u(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=a(this.update.bind(this)),this.options=d({},Popper.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(d({},Popper.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=d({},Popper.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return d({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return c(Popper,[{key:"update",value:function update$$1(){return function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function destroy$$1(){return function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[getSupportedPropertyName("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]),Popper}();A.Utils=("undefined"!=typeof window?window:e).PopperUtils,A.placements=f,A.Defaults=b,t.default=A}.call(t,n(18))},function(e,t){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function cleanUpNextTick(){s&&i&&(s=!1,i.length?a=i.concat(a):l=-1,a.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=a.length;t;){for(i=a,a=[];++l1)for(var n=1;nthis.eventPool.length&&this.eventPool.push(e)}function Jb(e){e.eventPool=[],e.getPooled=Kb,e.release=Lb}function Mb(e,t,n,o){return T.call(this,e,t,n,o)}function Nb(e,t,n,o){return T.call(this,e,t,n,o)}function dc(e,t){switch(e){case"topKeyUp":return-1!==ot.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function ec(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function mc(e){if(e=Re(e)){bt&&"function"==typeof bt.restoreControlledState||E("194");var t=Oe(e.stateNode);bt.restoreControlledState(e.stateNode,e.type,t)}}function oc(e){At?gt?gt.push(e):gt=[e]:At=e}function pc(){if(At){var e=At,t=gt;if(gt=At=null,mc(e),t)for(e=0;eRt.length&&Rt.push(e)}}}function yd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function Cd(e){if(qt[e])return qt[e];if(!Nt[e])return e;var t,n=Nt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Mt)return qt[e]=n[t];return""}function Hd(e){return Object.prototype.hasOwnProperty.call(e,Wt)||(e[Wt]=Ft++,Lt[e[Wt]]={}),Lt[e[Wt]]}function Id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jd(e,t){var n=Id(e);e=0;for(var o;n;){if(3===n.nodeType){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Id(n)}}function Kd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}function Rd(e,t){if(Ht||null==Gt||Gt!==p())return null;var n=Gt;return"selectionStart"in n&&Kd(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Xt&&C(Xt,n)?null:(Xt=n,e=T.getPooled(Vt.select,Yt,e,t),e.type="select",e.target=Gt,Ab(e),e)}function Td(e,t,n,o){return T.call(this,e,t,n,o)}function Ud(e,t,n,o){return T.call(this,e,t,n,o)}function Vd(e,t,n,o){return T.call(this,e,t,n,o)}function Wd(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,32<=e||13===e?e:0}function Zd(e,t,n,o){return T.call(this,e,t,n,o)}function $d(e,t,n,o){return T.call(this,e,t,n,o)}function ae(e,t,n,o){return T.call(this,e,t,n,o)}function be(e,t,n,o){return T.call(this,e,t,n,o)}function ce(e,t,n,o){return T.call(this,e,t,n,o)}function V(e){0>nn||(e.current=tn[nn],tn[nn]=null,nn--)}function W(e,t){tn[++nn]=e.current,e.current=t}function ke(e){return le(e)?an:on.current}function me(e,t){var n=e.type.contextTypes;if(!n)return B;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function le(e){return 2===e.tag&&null!=e.type.childContextTypes}function ne(e){le(e)&&(V(rn),V(on))}function oe(e,t,n){null!=on.cursor&&E("168"),W(on,t),W(rn,n)}function pe(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var r in n)r in o||E("108",jd(e)||"Unknown",r);return a({},t,n)}function qe(e){if(!le(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||B,an=on.current,W(on,t),W(rn,rn.current),!0}function re(e,t){var n=e.stateNode;if(n||E("169"),t){var o=pe(e,an);n.__reactInternalMemoizedMergedChildContext=o,V(rn),V(on),W(on,o)}else V(rn);W(rn,t)}function Y(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function se(e,t,n){var o=e.alternate;return null===o?(o=new Y(e.tag,e.key,e.internalContextTag),o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.effectTag=0,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null),o.expirationTime=n,o.pendingProps=t,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function te(e,t,n){var o=void 0,r=e.type,i=e.key;return"function"==typeof r?(o=r.prototype&&r.prototype.isReactComponent?new Y(2,i,t):new Y(0,i,t),o.type=r,o.pendingProps=e.props):"string"==typeof r?(o=new Y(5,i,t),o.type=r,o.pendingProps=e.props):"object"==typeof r&&null!==r&&"number"==typeof r.tag?(o=r,o.pendingProps=e.props):E("130",null==r?r:typeof r,""),o.expirationTime=n,o}function ue(e,t,n,o){return t=new Y(10,o,t),t.pendingProps=e,t.expirationTime=n,t}function ve(e,t,n){return t=new Y(6,null,t),t.pendingProps=e,t.expirationTime=n,t}function we(e,t,n){return t=new Y(7,e.key,t),t.type=e.handler,t.pendingProps=e,t.expirationTime=n,t}function xe(e,t,n){return e=new Y(9,null,t),e.expirationTime=n,e}function ye(e,t,n){return t=new Y(4,e.key,t),t.pendingProps=e.children||[],t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Be(e){return function(t){try{return e(t)}catch(e){}}}function De(e){"function"==typeof sn&&sn(e)}function Ee(e){"function"==typeof ln&&ln(e)}function Fe(e){return{baseState:e,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function Ge(e,t){null===e.last?e.first=e.last=t:(e.last.next=t,e.last=t),(0===e.expirationTime||e.expirationTime>t.expirationTime)&&(e.expirationTime=t.expirationTime)}function He(e,t){var n=e.alternate,o=e.updateQueue;null===o&&(o=e.updateQueue=Fe(null)),null!==n?null===(e=n.updateQueue)&&(e=n.updateQueue=Fe(null)):e=null,null===(e=e!==o?e:null)?Ge(o,t):null===o.last||null===e.last?(Ge(o,t),Ge(e,t)):(Ge(o,t),e.last=t)}function Ie(e,t,n,o){return"function"==typeof(e=e.partialState)?e.call(t,n,o):e}function Je(e,t,n,o,r,i){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var s=!0,l=n.first,u=!1;null!==l;){var c=l.expirationTime;if(c>i){var p=n.expirationTime;(0===p||p>c)&&(n.expirationTime=c),u||(u=!0,n.baseState=e)}else u||(n.first=l.next,null===n.first&&(n.last=null)),l.isReplace?(e=Ie(l,o,e,r),s=!0):(c=Ie(l,o,e,r))&&(e=s?a({},e,c):a(e,c),s=!1),l.isForced&&(n.hasForceUpdate=!0),null!==l.callback&&(null===(c=n.callbackList)&&(c=n.callbackList=[]),c.push(l));l=l.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||(t.updateQueue=null),u||(n.baseState=e),e}function Ke(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;el?(u=s,s=null):u=s.sibling;var p=G(e,s,o[l],r);if(null===p){null===s&&(s=u);break}t&&s&&null===p.alternate&&b(e,s),n=f(p,n,l),null===a?i=p:a.sibling=p,a=p,s=u}if(l===o.length)return c(e,s),i;if(null===s){for(;ll?(u=s,s=null):u=s.sibling;var m=G(e,s,p.value,r);if(null===m){s||(s=u);break}t&&s&&null===m.alternate&&b(e,s),n=f(m,n,l),null===a?i=m:a.sibling=m,a=m,s=u}if(p.done)return c(e,s),i;if(null===s){for(;!p.done;l++,p=o.next())null!==(p=z(e,p.value,r))&&(n=f(p,n,l),null===a?i=p:a.sibling=p,a=p);return i}for(s=d(e,s);!p.done;l++,p=o.next())null!==(p=I(s,e,l,p.value,r))&&(t&&null!==p.alternate&&s.delete(null===p.key?l:p.key),n=f(p,n,l),null===a?i=p:a.sibling=p,a=p);return t&&s.forEach(function(t){return b(e,t)}),i}(n,o,r,i);if(a&&$e(n,r),void 0===r)switch(n.tag){case 2:case 1:E("152",(i=n.type).displayName||i.name||"Component")}return c(n,o)}}function df(e,t,n,o,r){function f(e,t,n){var o=t.expirationTime;t.child=null===e?gn(t,null,n,o):An(t,e.child,n,o)}function g(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=128)}function h(e,t,n,o){if(g(e,t),!n)return o&&re(t,!1),q(e,t);n=t.stateNode,Ot.current=t;var r=n.render();return t.effectTag|=1,f(e,t,r),t.memoizedState=n.state,t.memoizedProps=n.props,o&&re(t,!0),t.child}function k(e){var t=e.stateNode;t.pendingContext?oe(0,t.pendingContext,t.pendingContext!==t.context):t.context&&oe(0,t.context,!1),u(e,t.containerInfo)}function q(e,t){if(null!==e&&t.child!==e.child&&E("153"),null!==t.child){var n=se(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=se(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function v(e,t){switch(t.tag){case 3:k(t);break;case 2:qe(t);break;case 4:u(t,t.stateNode.containerInfo)}return null}var i=e.shouldSetTextContent,a=e.useSyncScheduling,s=e.shouldDeprioritizeSubtree,l=t.pushHostContext,u=t.pushHostContainer,c=n.enterHydrationState,p=n.resetHydrationState,d=n.tryToClaimNextHydratableInstance,m=(e=function Le(t,n,o,r){function e(e,t){t.updater=i,e.stateNode=t,t._reactInternalFiber=e}var i={isMounted:ld,enqueueSetState:function(e,o,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);He(e,{expirationTime:i,partialState:o,callback:r,isReplace:!1,isForced:!1,nextCallback:null,next:null}),t(e,i)},enqueueReplaceState:function(e,o,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);He(e,{expirationTime:i,partialState:o,callback:r,isReplace:!0,isForced:!1,nextCallback:null,next:null}),t(e,i)},enqueueForceUpdate:function(e,o){e=e._reactInternalFiber,o=void 0===o?null:o;var r=n(e);He(e,{expirationTime:r,partialState:null,callback:o,isReplace:!1,isForced:!0,nextCallback:null,next:null}),t(e,r)}};return{adoptClassInstance:e,constructClassInstance:function(t,n){var o=t.type,r=ke(t),i=2===t.tag&&null!=t.type.contextTypes,a=i?me(t,r):B;return n=new o(n,a),e(t,n),i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=a),n},mountClassInstance:function(e,t){var n=e.alternate,o=e.stateNode,r=o.state||null,a=e.pendingProps;a||E("158");var s=ke(e);o.props=a,o.state=e.memoizedState=r,o.refs=B,o.context=me(e,s),null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent&&(e.internalContextTag|=1),"function"==typeof o.componentWillMount&&(r=o.state,o.componentWillMount(),r!==o.state&&i.enqueueReplaceState(o,o.state,null),null!==(r=e.updateQueue)&&(o.state=Je(n,e,r,o,a,t))),"function"==typeof o.componentDidMount&&(e.effectTag|=4)},updateClassInstance:function(e,t,n){var a=t.stateNode;a.props=t.memoizedProps,a.state=t.memoizedState;var s=t.memoizedProps,l=t.pendingProps;l||null==(l=s)&&E("159");var u=a.context,c=ke(t);if(c=me(t,c),"function"!=typeof a.componentWillReceiveProps||s===l&&u===c||(u=a.state,a.componentWillReceiveProps(l,c),a.state!==u&&i.enqueueReplaceState(a,a.state,null)),u=t.memoizedState,n=null!==t.updateQueue?Je(e,t,t.updateQueue,a,l,n):u,!(s!==l||u!==n||rn.current||null!==t.updateQueue&&t.updateQueue.hasForceUpdate))return"function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),!1;var p=l;if(null===s||null!==t.updateQueue&&t.updateQueue.hasForceUpdate)p=!0;else{var d=t.stateNode,f=t.type;p="function"==typeof d.shouldComponentUpdate?d.shouldComponentUpdate(p,n,c):!(f.prototype&&f.prototype.isPureReactComponent&&C(s,p)&&C(u,n))}return p?("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(l,n,c),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),o(t,l),r(t,n)),a.props=l,a.state=n,a.context=c,p}}}(o,r,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t})).adoptClassInstance,b=e.constructClassInstance,A=e.mountClassInstance,y=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n)return v(0,t);switch(t.tag){case 0:null!==e&&E("155");var o=t.type,r=t.pendingProps,C=ke(t);return C=me(t,C),o=o(r,C),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render?(t.tag=2,r=qe(t),m(t,o),A(t,n),t=h(e,t,!0,r)):(t.tag=1,f(e,t,o),t.memoizedProps=r,t=t.child),t;case 1:e:{if(r=t.type,n=t.pendingProps,o=t.memoizedProps,rn.current)null===n&&(n=o);else if(null===n||o===n){t=q(e,t);break e}r=r(n,o=me(t,o=ke(t))),t.effectTag|=1,f(e,t,r),t.memoizedProps=n,t=t.child}return t;case 2:return r=qe(t),o=void 0,null===e?t.stateNode?E("153"):(b(t,t.pendingProps),A(t,n),o=!0):o=y(e,t,n),h(e,t,o,r);case 3:return k(t),null!==(r=t.updateQueue)?(o=t.memoizedState,r=Je(e,t,r,null,null,n),o===r?(p(),t=q(e,t)):(o=r.element,C=t.stateNode,(null===e||null===e.child)&&C.hydrate&&c(t)?(t.effectTag|=2,t.child=gn(t,null,o,n)):(p(),f(e,t,o)),t.memoizedState=r,t=t.child)):(p(),t=q(e,t)),t;case 5:l(t),null===e&&d(t),r=t.type;var _=t.memoizedProps;return null===(o=t.pendingProps)&&null===(o=_)&&E("154"),C=null!==e?e.memoizedProps:null,rn.current||null!==o&&_!==o?(_=o.children,i(r,o)?_=null:C&&i(r,C)&&(t.effectTag|=16),g(e,t),2147483647!==n&&!a&&s(r,o)?(t.expirationTime=2147483647,t=null):(f(e,t,_),t.memoizedProps=o,t=t.child)):t=q(e,t),t;case 6:return null===e&&d(t),null===(e=t.pendingProps)&&(e=t.memoizedProps),t.memoizedProps=e,null;case 8:t.tag=7;case 7:return r=t.pendingProps,rn.current?null===r&&null===(r=e&&e.memoizedProps)&&E("154"):null!==r&&t.memoizedProps!==r||(r=t.memoizedProps),o=r.children,t.stateNode=null===e?gn(t,t.stateNode,o,n):An(t,t.stateNode,o,n),t.memoizedProps=r,t.stateNode;case 9:return null;case 4:e:{if(u(t,t.stateNode.containerInfo),r=t.pendingProps,rn.current)null===r&&null==(r=e&&e.memoizedProps)&&E("154");else if(null===r||t.memoizedProps===r){t=q(e,t);break e}null===e?t.child=An(t,null,r,n):f(e,t,r),t.memoizedProps=r,t=t.child}return t;case 10:e:{if(n=t.pendingProps,rn.current)null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n){t=q(e,t);break e}f(e,t,n),t.memoizedProps=n,t=t.child}return t;default:E("156")}},beginFailedWork:function(e,t,n){switch(t.tag){case 2:qe(t);break;case 3:k(t);break;default:E("157")}return t.effectTag|=64,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),0===t.expirationTime||t.expirationTime>n?v(0,t):(t.firstEffect=null,t.lastEffect=null,t.child=null===e?gn(t,null,null,n):An(t,e.child,null,n),2===t.tag&&(e=t.stateNode,t.memoizedProps=e.props,t.memoizedState=e.state),t.child)}}}function kf(t){function b(e){ce=Z=!0;var t=e.stateNode;if(t.current===e&&E("177"),t.isReadyForCommit=!1,Ot.current=null,1a.expirationTime)&&(i=a.expirationTime),a=a.sibling;r.expirationTime=i}if(null!==t)return t;if(null!==n&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1t))if(te<=K)for(;null!==Q;)Q=k(Q)?e(Q):d(Q);else for(;null!==Q&&!A();)Q=k(Q)?e(Q):d(Q)}else if(!(0===te||te>t))if(te<=K)for(;null!==Q;)Q=d(Q);else for(;null!==Q&&!A();)Q=d(Q)}function g(t,n){if(Z&&E("243"),Z=!0,t.isReadyForCommit=!1,t!==ee||n!==te||null===Q){for(;-1t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!Z&&n===ee&&tBe&&E("185"),null===o.nextScheduledRoot)o.remainingExpirationTime=r,null===fe?(de=fe=o,o.nextScheduledRoot=o):(fe=fe.nextScheduledRoot=o,fe.nextScheduledRoot=de);else{var i=o.remainingExpirationTime;(0===i||rme)return;M(he)}var t=T()-H;me=e,he=j(J,{timeout:10*(e-2)-t})}function N(){var e=0,t=null;if(null!==fe)for(var n=fe,o=de;null!==o;){var r=o.remainingExpirationTime;if(0===r){if((null===n||null===fe)&&E("244"),o===o.nextScheduledRoot){de=fe=o.nextScheduledRoot=null;break}if(o===de)de=r=o.nextScheduledRoot,fe.nextScheduledRoot=r,o.nextScheduledRoot=null;else{if(o===fe){(fe=n).nextScheduledRoot=de,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||rSe)&&(Ce=!0)}function Ob(e){null===Ae&&E("246"),Ae.remainingExpirationTime=0,ve||(ve=!0,ye=e)}var n=function hf(e){function b(e){return e===Cn&&E("174"),e}var t=e.getChildHostContext,n=e.getRootHostContext,o={current:Cn},r={current:Cn},i={current:Cn};return{getHostContext:function(){return b(o.current)},getRootHostContainer:function(){return b(i.current)},popHostContainer:function(e){V(o),V(r),V(i)},popHostContext:function(e){r.current===e&&(V(o),V(r))},pushHostContainer:function(e,t){W(i,t),t=n(t),W(r,e),W(o,t)},pushHostContext:function(e){var n=b(i.current),a=b(o.current);a!==(n=t(a,e.type,n))&&(W(r,e),W(o,n))},resetHostContainer:function(){o.current=Cn,i.current=Cn}}}(t),o=function jf(e){function b(e,t){var n=new Y(5,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function c(e,t){switch(e.tag){case 5:return null!==(t=n(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=o(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function d(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;l=e}var t=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){E("175")},prepareToHydrateHostTextInstance:function(){E("176")},popHydrationState:function(){return!1}};var n=e.canHydrateInstance,o=e.canHydrateTextInstance,r=e.getNextHydratableSibling,i=e.getFirstHydratableChild,a=e.hydrateInstance,s=e.hydrateTextInstance,l=null,u=null,p=!1;return{enterHydrationState:function(e){return u=i(e.stateNode.containerInfo),l=e,p=!0},resetHydrationState:function(){u=l=null,p=!1},tryToClaimNextHydratableInstance:function(e){if(p){var t=u;if(t){if(!c(e,t)){if(!(t=r(t))||!c(e,t))return e.effectTag|=2,p=!1,void(l=e);b(l,u)}l=e,u=i(t)}else e.effectTag|=2,p=!1,l=e}},prepareToHydrateHostInstance:function(e,t,n){return t=a(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return s(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==l)return!1;if(!p)return d(e),p=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!t(n,e.memoizedProps))for(n=u;n;)b(e,n),n=r(n);return d(e),u=l?r(e.stateNode):null,!0}}}(t),r=n.popHostContainer,i=n.popHostContext,a=n.resetHostContainer,s=df(t,n,o,u,y),l=s.beginWork,p=s.beginFailedWork,C=function ef(e,t,n){function d(e){e.effectTag|=4}var o=e.createInstance,r=e.createTextInstance,i=e.appendInitialChild,a=e.finalizeInitialChildren,s=e.prepareUpdate,l=e.persistence,u=t.getRootHostContainer,c=t.popHostContext,p=t.getHostContext,f=t.popHostContainer,m=n.prepareToHydrateHostInstance,h=n.prepareToHydrateHostTextInstance,b=n.popHydrationState,A=void 0,g=void 0,C=void 0;return e.mutation?(A=function(){},g=function(e,t,n){(t.updateQueue=n)&&d(t)},C=function(e,t,n,o){n!==o&&d(t)}):E(l?"235":"236"),{completeWork:function(e,t,n){var l=t.pendingProps;switch(null===l?l=t.memoizedProps:2147483647===t.expirationTime&&2147483647!==n||(t.pendingProps=null),t.tag){case 1:return null;case 2:return ne(t),null;case 3:return f(t),V(rn),V(on),(l=t.stateNode).pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(b(t),t.effectTag&=-3),A(t),null;case 5:c(t),n=u();var v=t.type;if(null!==e&&null!=t.stateNode){var y=e.memoizedProps,_=t.stateNode,w=p();_=s(_,v,y,l,n,w),g(e,t,_,v,y,l,n),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!l)return null===t.stateNode&&E("166"),null;if(e=p(),b(t))m(t,n,e)&&d(t);else{e=o(v,l,n,e,t);e:for(y=t.child;null!==y;){if(5===y.tag||6===y.tag)i(e,y.stateNode);else if(4!==y.tag&&null!==y.child){y.child.return=y,y=y.child;continue}if(y===t)break;for(;null===y.sibling;){if(null===y.return||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}a(e,v,l,n)&&d(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)C(e,t,e.memoizedProps,l);else{if("string"!=typeof l)return null===t.stateNode&&E("166"),null;e=u(),n=p(),b(t)?h(t)&&d(t):t.stateNode=r(l,e,n,t)}return null;case 7:(l=t.memoizedProps)||E("165"),t.tag=8,v=[];e:for((y=t.stateNode)&&(y.return=t);null!==y;){if(5===y.tag||6===y.tag||4===y.tag)E("247");else if(9===y.tag)v.push(y.type);else if(null!==y.child){y.child.return=y,y=y.child;continue}for(;null===y.sibling;){if(null===y.return||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}return y=l.handler,l=y(l.props,v),t.child=An(t,null!==e?e.child:null,l,n),t.child;case 8:return t.tag=7,null;case 9:case 10:return null;case 4:return f(t),A(t),null;case 0:E("167");default:E("156")}}}}(t,n,o).completeWork,_=(n=function ff(t,n){function c(e){var t=e.ref;if(null!==t)try{t(null)}catch(t){n(e,t)}}function d(t){switch(Ee(t),t.tag){case 2:c(t);var o=t.stateNode;if("function"==typeof o.componentWillUnmount)try{o.props=t.memoizedProps,o.state=t.memoizedState,o.componentWillUnmount()}catch(e){n(t,e)}break;case 5:c(t);break;case 7:e(t.stateNode);break;case 4:r&&g(t)}}function e(e){for(var t=e;;)if(d(t),null===t.child||r&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function f(e){return 5===e.tag||3===e.tag||4===e.tag}function g(t){for(var n=t,o=!1,r=void 0,i=void 0;;){if(!o){o=n.return;e:for(;;){switch(null===o&&E("160"),o.tag){case 5:r=o.stateNode,i=!1;break e;case 3:case 4:r=o.stateNode.containerInfo,i=!0;break e}o=o.return}o=!0}if(5===n.tag||6===n.tag)e(n),i?A(r,n.stateNode):b(r,n.stateNode);else if(4===n.tag?r=n.stateNode.containerInfo:d(n),null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;4===(n=n.return).tag&&(o=!1)}n.sibling.return=n.return,n=n.sibling}}var o=t.getPublicInstance,r=t.mutation;t=t.persistence,r||E(t?"235":"236");var i=r.commitMount,a=r.commitUpdate,s=r.resetTextContent,l=r.commitTextUpdate,u=r.appendChild,p=r.appendChildToContainer,m=r.insertBefore,h=r.insertInContainerBefore,b=r.removeChild,A=r.removeChildFromContainer;return{commitResetTextContent:function(e){s(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(f(t)){var n=t;break e}t=t.return}E("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:E("161")}16&n.effectTag&&(s(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||f(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var r=e;;){if(5===r.tag||6===r.tag)n?o?h(t,r.stateNode,n):m(t,r.stateNode,n):o?p(t,r.stateNode):u(t,r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},commitDeletion:function(e){g(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var r=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&a(n,i,r,e,o,t)}break;case 6:null===t.stateNode&&E("162"),n=t.memoizedProps,l(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:E("163")}},commitLifeCycles:function(e,t){switch(t.tag){case 2:var n=t.stateNode;if(4&t.effectTag)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var o=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(o,e)}null!==(t=t.updateQueue)&&Ke(t,n);break;case 3:null!==(n=t.updateQueue)&&Ke(n,null!==t.child?t.child.stateNode:null);break;case 5:n=t.stateNode,null===e&&4&t.effectTag&&i(n,t.type,t.memoizedProps,t);break;case 6:case 4:break;default:E("163")}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:t(o(n));break;default:t(n)}}},commitDetachRef:function(e){null!==(e=e.ref)&&e(null)}}}(t,h)).commitResetTextContent,x=n.commitPlacement,S=n.commitDeletion,P=n.commitWork,D=n.commitLifeCycles,O=n.commitAttachRef,R=n.commitDetachRef,T=t.now,j=t.scheduleDeferredCallback,M=t.cancelDeferredCallback,F=t.useSyncScheduling,U=t.prepareForCommit,X=t.resetAfterCommit,H=T(),K=2,$=0,Z=!1,Q=null,ee=null,te=0,oe=null,re=null,ie=null,ae=null,le=null,ue=!1,ce=!1,pe=!1,de=null,fe=null,me=0,he=-1,be=!1,Ae=null,ge=0,Ce=!1,ve=!1,ye=null,_e=null,we=!1,xe=!1,Be=1e3,ke=0,Se=1;return{computeAsyncExpiration:v,computeExpirationForFiber:y,scheduleWork:u,batchedUpdates:function(e,t){var n=we;we=!0;try{return e(t)}finally{(we=n)||be||w(1,null)}},unbatchedUpdates:function(e){if(we&&!xe){xe=!0;try{return e()}finally{xe=!1}}return e()},flushSync:function(e){var t=we;we=!0;try{e:{var n=$;$=1;try{var o=e();break e}finally{$=n}o=void 0}return o}finally{we=t,be&&E("187"),w(1,null)}},deferredUpdates:function(e){var t=$;$=v();try{return e()}finally{$=t}}}}function lf(e){function b(e){return null===(e=function od(e){if(!(e=nd(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode}var t=e.getPublicInstance,n=(e=kf(e)).computeAsyncExpiration,o=e.computeExpirationForFiber,r=e.scheduleWork;return{createContainer:function(e,t){var n=new Y(3,null,0);return e={current:n,containerInfo:e,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:t,nextScheduledRoot:null},n.stateNode=e},updateContainer:function(e,t,i,a){var s=t.current;if(i){var l;e:{for(2===kd(i=i._reactInternalFiber)&&2===i.tag||E("170"),l=i;3!==l.tag;){if(le(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}(l=l.return)||E("171")}l=l.stateNode.context}i=le(i)?pe(i,l):l}else i=B;null===t.context?t.context=i:t.pendingContext=i,t=void 0===(t=a)?null:t,He(s,{expirationTime:a=null!=e&&null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent?n():o(s),partialState:{element:e},callback:t,isReplace:!1,isForced:!1,nextCallback:null,next:null}),r(s,a)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return t(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:b,findHostInstanceWithNoPortals:function(e){return null===(e=function pd(e){if(!(e=nd(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return function Ce(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);sn=Be(function(e){return t.onCommitFiberRoot(n,e)}),ln=Be(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(a({},e,{findHostInstanceByFiber:function(e){return b(e)},findFiberByHostInstance:function(e){return t?t(e):null}}))}}}function If(e,t,n){var o=wa(t);if(o&&va(t,n)){var r=o.mutationMethod;r?r(e,n):null==n||o.hasBooleanValue&&!n||o.hasNumericValue&&isNaN(n)||o.hasPositiveNumericValue&&1>n||o.hasOverloadedBooleanValue&&!1===n?Jf(e,t):o.mustUseProperty?e[o.propertyName]=n:(t=o.attributeName,(r=o.attributeNamespace)?e.setAttributeNS(r,t,""+n):o.hasBooleanValue||o.hasOverloadedBooleanValue&&!0===n?e.setAttribute(t,""):e.setAttribute(t,""+n))}else Kf(e,t,va(t,n)?n:null)}function Kf(e,t,n){(function Hf(e){return!!zn.hasOwnProperty(e)||!Mn.hasOwnProperty(e)&&(qn.test(e)?zn[e]=!0:(Mn[e]=!0,!1))})(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))}function Jf(e,t){var n=wa(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&"":e.removeAttribute(n.attributeName):e.removeAttribute(t)}function Lf(e,t){var n=t.value,o=t.checked;return a({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=o?o:e._wrapperState.initialChecked})}function Mf(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Nf(e,t){null!=(t=t.checked)&&If(e,"checked",t)}function Of(e,t){Nf(e,t);var n=t.value;null!=n?0===n&&""===e.value?e.value="0":"number"===t.type?(n!=(t=parseFloat(e.value)||0)||n==t&&e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n):(null==t.value&&null!=t.defaultValue&&e.defaultValue!==""+t.defaultValue&&(e.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked))}function Pf(e,t){switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":e.value="",e.value=e.defaultValue;break;default:e.value=e.value}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function Rf(e,t){return e=a({children:void 0},t),(t=function Qf(e){var t="";return r.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(t.children))&&(e.children=t),e}function Sf(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r=t.length||E("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Wf(e,t){var n=t.value;null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Xf(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function Zf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $f(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zf(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function cg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function fg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=n,i=t[n];r=null==i||"boolean"==typeof i||""===i?"":o||"number"!=typeof i||0===i||Vn.hasOwnProperty(r)&&Vn[r]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}function hg(e,t,n){t&&(Yn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&E("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&E("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||E("61")),null!=t.style&&"object"!=typeof t.style&&E("62",n()))}function ig(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function lg(e,t){var n=Hd(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=Se[t];for(var o=0;o<\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(o,e),e}function og(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function pg(e,t,n,o){var r=ig(t,n);switch(t){case"iframe":case"object":U("topLoad","load",e);var i=n;break;case"video":case"audio":for(i in Kn)Kn.hasOwnProperty(i)&&U(i,Kn[i],e);i=n;break;case"source":U("topError","error",e),i=n;break;case"img":case"image":U("topError","error",e),U("topLoad","load",e),i=n;break;case"form":U("topReset","reset",e),U("topSubmit","submit",e),i=n;break;case"details":U("topToggle","toggle",e),i=n;break;case"input":Mf(e,n),i=Lf(e,n),U("topInvalid","invalid",e),lg(o,"onChange");break;case"option":i=Rf(e,n);break;case"select":Tf(e,n),i=a({},n,{value:void 0}),U("topInvalid","invalid",e),lg(o,"onChange");break;case"textarea":Vf(e,n),i=Uf(e,n),U("topInvalid","invalid",e),lg(o,"onChange");break;default:i=n}hg(t,i,Hn);var l,u=i;for(l in u)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?fg(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&Un(e,c):"children"===l?"string"==typeof c?("textarea"!==t||""!==c)&&cg(e,c):"number"==typeof c&&cg(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_e.hasOwnProperty(l)?null!=c&&lg(o,l):r?Kf(e,l,c):null!=c&&If(e,l,c))}switch(t){case"input":Bc(e),Pf(e,n);break;case"textarea":Bc(e),Xf(e);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,null!=(t=n.value)?Sf(e,!!n.multiple,t,!1):null!=n.defaultValue&&Sf(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=s)}}function sg(e,t,n,o,r){var i=null;switch(t){case"input":n=Lf(e,n),o=Lf(e,o),i=[];break;case"option":n=Rf(e,n),o=Rf(e,o),i=[];break;case"select":n=a({},n,{value:void 0}),o=a({},o,{value:void 0}),i=[];break;case"textarea":n=Uf(e,n),o=Uf(e,o),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof o.onClick&&(e.onclick=s)}hg(t,o,Hn);var l,u;e=null;for(l in n)if(!o.hasOwnProperty(l)&&n.hasOwnProperty(l)&&null!=n[l])if("style"===l)for(u in t=n[l])t.hasOwnProperty(u)&&(e||(e={}),e[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_e.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));for(l in o){var c=o[l];if(t=null!=n?n[l]:void 0,o.hasOwnProperty(l)&&c!==t&&(null!=c||null!=t))if("style"===l)if(t){for(u in t)!t.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(e||(e={}),e[u]="");for(u in c)c.hasOwnProperty(u)&&t[u]!==c[u]&&(e||(e={}),e[u]=c[u])}else e||(i||(i=[]),i.push(l,e)),e=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,t=t?t.__html:void 0,null!=c&&t!==c&&(i=i||[]).push(l,""+c)):"children"===l?t===c||"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(_e.hasOwnProperty(l)?(null!=c&&lg(r,l),i||t===c||(i=[])):(i=i||[]).push(l,c))}return e&&(i=i||[]).push("style",e),i}function tg(e,t,n,o,r){"input"===n&&"radio"===r.type&&null!=r.name&&Nf(e,r),ig(n,o),o=ig(n,r);for(var i=0;i=(a={attributeName:a,attributeNamespace:null,propertyName:i,mutationMethod:null,mustUseProperty:pa(s,t.MUST_USE_PROPERTY),hasBooleanValue:pa(s,t.HAS_BOOLEAN_VALUE),hasNumericValue:pa(s,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:pa(s,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:pa(s,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:pa(s,t.HAS_STRING_BOOLEAN_VALUE)}).hasBooleanValue+a.hasNumericValue+a.hasOverloadedBooleanValue||E("50",i),r.hasOwnProperty(i)&&(a.attributeName=r[i]),o.hasOwnProperty(i)&&(a.attributeNamespace=o[i]),e.hasOwnProperty(i)&&(a.mutationMethod=e[i]),D[i]=a}}},D={},O=P,R=O.MUST_USE_PROPERTY,j=O.HAS_BOOLEAN_VALUE,M=O.HAS_NUMERIC_VALUE,F=O.HAS_POSITIVE_NUMERIC_VALUE,X=O.HAS_OVERLOADED_BOOLEAN_VALUE,H=O.HAS_STRING_BOOLEAN_VALUE,K={Properties:{allowFullScreen:j,async:j,autoFocus:j,autoPlay:j,capture:X,checked:R|j,cols:F,contentEditable:H,controls:j,default:j,defer:j,disabled:j,download:X,draggable:H,formNoValidate:j,hidden:j,loop:j,multiple:R|j,muted:R|j,noValidate:j,open:j,playsInline:j,readOnly:j,required:j,reversed:j,rows:F,rowSpan:M,scoped:j,seamless:j,selected:R|j,size:F,start:M,span:F,spellCheck:H,style:0,tabIndex:0,itemScope:j,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:H},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},$=O.HAS_STRING_BOOLEAN_VALUE,Z="http://www.w3.org/1999/xlink",Q="http://www.w3.org/XML/1998/namespace",ee={Properties:{autoReverse:$,externalResourcesRequired:$,preserveAlpha:$},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:Z,xlinkArcrole:Z,xlinkHref:Z,xlinkRole:Z,xlinkShow:Z,xlinkTitle:Z,xlinkType:Z,xmlBase:Q,xmlLang:Q,xmlSpace:Q}},ie=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(ie,Ia);ee.Properties[t]=0,ee.DOMAttributeNames[t]=e}),O.injectDOMPropertyConfig(K),O.injectDOMPropertyConfig(ee);var de={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){"function"!=typeof e.invokeGuardedCallback&&E("197"),Ja=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,o,r,i,a,s,l){Ja.apply(de,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,o,r,i,a,s,l){if(de.invokeGuardedCallback.apply(this,arguments),de.hasCaughtError()){var u=de.clearCaughtError();de._hasRethrowError||(de._hasRethrowError=!0,de._rethrowError=u)}},rethrowCaughtError:function(){return function Ka(){if(de._hasRethrowError){var e=de._rethrowError;throw de._rethrowError=null,de._hasRethrowError=!1,e}}.apply(de,arguments)},hasCaughtError:function(){return de._hasCaughtError},clearCaughtError:function(){if(de._hasCaughtError){var e=de._caughtError;return de._caughtError=null,de._hasCaughtError=!1,e}E("198")}},fe=null,he={},Ae=[],ge={},_e={},Se={},Pe=Object.freeze({plugins:Ae,eventNameDispatchConfigs:ge,registrationNameModules:_e,registrationNameDependencies:Se,possibleRegistrationNames:null,injectEventPluginOrder:Ta,injectEventPluginsByName:Ua}),Oe=null,Re=null,Te=null,je=null,Ne={injectEventPluginOrder:Ta,injectEventPluginsByName:Ua},Me=Object.freeze({injection:Ne,getListener:ib,extractEvents:jb,enqueueEvents:kb,processEventQueue:lb}),ze=Math.random().toString(36).slice(2),We="__reactInternalInstance$"+ze,Ue="__reactEventHandlers$"+ze,Ve=Object.freeze({precacheFiberNode:function(e,t){t[We]=e},getClosestInstanceFromNode:pb,getInstanceFromNode:function(e){return!(e=e[We])||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:qb,getFiberCurrentPropsFromNode:rb,updateFiberProps:function(e,t){e[Ue]=t}}),Ye=Object.freeze({accumulateTwoPhaseDispatches:Ab,accumulateTwoPhaseDispatchesSkipTarget:function(e){ab(e,xb)},accumulateEnterLeaveDispatches:Bb,accumulateDirectDispatches:function(e){ab(e,zb)}}),Qe=null,et={_root:null,_startText:null,_fallbackText:null},tt="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),nt={type:null,target:null,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};a(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=s.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=s.thatReturnsTrue)},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t=parseInt(st.version(),10))}var lt,ut=at,ct=i.canUseDOM&&(!rt||it&&8=it),pt=String.fromCharCode(32),dt={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},ft=!1,mt=!1,ht={eventTypes:dt,extractEvents:function(e,t,n,o){var r;if(rt)e:{switch(e){case"topCompositionStart":var i=dt.compositionStart;break e;case"topCompositionEnd":i=dt.compositionEnd;break e;case"topCompositionUpdate":i=dt.compositionUpdate;break e}i=void 0}else mt?dc(e,n)&&(i=dt.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(i=dt.compositionStart);return i?(ct&&(mt||i!==dt.compositionStart?i===dt.compositionEnd&&mt&&(r=Fb()):(et._root=o,et._startText=Gb(),mt=!0)),i=Mb.getPooled(i,t,n,o),r?i.data=r:null!==(r=ec(n))&&(i.data=r),Ab(i),r=i):r=null,(e=ut?function gc(e,t){switch(e){case"topCompositionEnd":return ec(t);case"topKeyPress":return 32!==t.which?null:(ft=!0,pt);case"topTextInput":return(e=t.data)===pt&&ft?null:e;default:return null}}(e,n):function hc(e,t){if(mt)return"topCompositionEnd"===e||!rt&&dc(e,t)?(e=Fb(),et._root=null,et._startText=null,et._fallbackText=null,mt=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=document.documentMode,Vt={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},Gt=null,Yt=null,Xt=null,Ht=!1,Kt={eventTypes:Vt,extractEvents:function(e,t,n,o){var r,i=o.window===o?o.document:9===o.nodeType?o:o.ownerDocument;if(!(r=!i)){e:{i=Hd(i),r=Se.onSelect;for(var a=0;a=Rn-e){if(!(-1!==Dn&&Dn<=e))return void(On||(On=!0,requestAnimationFrame(Nn)));En.didTimeout=!0}else En.didTimeout=!1;Dn=-1,e=Sn,Sn=null,null!==e&&e(En)}},!1);var Nn=function(e){On=!1;var t=e-Rn+jn;tt&&(t=8),jn=t"+t+"",t=Wn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Vn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Gn=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Gn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});var Yn=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Xn=Ln,Hn=s.thatReturns(""),Kn={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},$n=Object.freeze({createElement:ng,createTextNode:og,setInitialProperties:pg,diffProperties:sg,updateProperties:tg,diffHydratedProperties:ug,diffHydratedText:vg,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(Of(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;to&&(r=o,o=e,e=r),r=Jd(n,e);var i=Jd(n,o);if(r&&i&&(1!==t.rangeCount||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==i.node||t.focusOffset!==i.offset)){var a=document.createRange();a.setStart(r.node,r.offset),t.removeAllRanges(),e>o?(t.addRange(a),t.extend(i.node,i.offset)):(a.setEnd(i.node,i.offset),t.addRange(a))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(x(n),n=0;n-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var o=e.getBoundingClientRect();n.bounds={top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}if(t.indexOf("margin")>-1){var r=getComputedStyle(e);n.margin={top:parseInt(r.marginTop),right:parseInt(r.marginRight),bottom:parseInt(r.marginBottom),left:parseInt(r.marginLeft)}}return n},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function getTypes(e){var t=[];return o.forEach(function(n){e[n]&&t.push(n)}),t};var o=["client","offset","scroll","bounds","margin"];e.exports=t.default},function(e,t,n){"use strict";var o=n(452),r=(n.n(o),n(342)),i=(n.n(r),n(344));n.n(i)},function(e,t,n){"use strict";function ArgumentRenderer(e){var t=e.classes,n=e.name,o=e.type,i=e.description,a=e.returns,s=e.block,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","name","type","description","returns","block"]);return r.a.createElement(d.a,f({className:s&&t.block},p),a&&"Returns",n&&r.a.createElement("span",null,r.a.createElement(u.a,null,n),o&&":"),o&&r.a.createElement(c.a,null,o.name),o&&i&&" — ",i&&r.a.createElement(l.a,{text:""+i,inline:!0}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(19),u=n(89),c=n(209),p=n(198),d=n.n(p),f=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","level","children"]),a="h"+n,s=l()(t.heading,t["heading"+n]);return r.a.createElement(a,c({},i,{className:s}),o)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","children"]);return r.a.createElement("a",c({},o,{className:l()(t.link,o.className)}),n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(i,["className"]);return r.a.createElement("div",{className:t.root},r.a.createElement("div",c({className:l()(t.preview,p)},d,{"data-preview":n}),o),r.a.createElement("div",{className:t.controls},r.a.createElement("div",{className:t.tabs},a),r.a.createElement("div",{className:t.toolbar},u)),r.a.createElement("div",{className:t.tab},s))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t0&&console.clear(),this.executeCode()}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(e,t){return this.state.error!==t.error||this.props.code!==e.code}},{key:"componentDidUpdate",value:function componentDidUpdate(e){this.props.code!==e.code&&this.executeCode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unmountPreview()}},{key:"unmountPreview",value:function unmountPreview(){this.mountNode&&l.a.unmountComponentAtNode(this.mountNode)}},{key:"executeCode",value:function executeCode(){var e=this;this.setState({error:null});var t=this.props.code;if(t){var n=this.compileCode(t);if(n){var o=this.evalInContext(n),i=r.a.createElement(f.a,{onError:this.handleError},r.a.createElement(h,{component:o}));window.requestAnimationFrame(function(){e.unmountPreview();try{l.a.render(i,e.mountNode)}catch(t){e.handleError(t)}})}}}},{key:"compileCode",value:function compileCode(e){try{return function _compileCode(e,t){return n.i(p.transform)(e,t).code}(e,this.context.config.compilerConfig)}catch(e){this.handleError(e)}return!1}},{key:"evalInContext",value:function evalInContext(e){var t="\n\t\t\tvar stateWrapper = {\n\t\t\t\tset initialState(value) {\n\t\t\t\t\t__setInitialState(value)\n\t\t\t\t},\n\t\t\t}\n\t\t\twith (stateWrapper) {\n\t\t\t\treturn eval("+JSON.stringify(e)+")\n\t\t\t}\n\t\t";return this.props.evalInContext(t)}},{key:"handleError",value:function handleError(e){this.unmountPreview(),this.setState({error:e.toString()}),console.error(e)}},{key:"render",value:function render(){var e=this,t=this.state.error;return r.a.createElement("div",null,r.a.createElement("div",{ref:function ref(t){return e.mountNode=t}}),t&&r.a.createElement(d.a,{message:t}))}}]),Preview}();b.propTypes={code:a.a.string.isRequired,evalInContext:a.a.func.isRequired},b.contextTypes={config:a.a.object.isRequired,codeRevision:a.a.number.isRequired},t.a=b},function(e,t,n){"use strict";var o=n(635);n.d(t,"a",function(){return o.a})},function(module,__webpack_exports__,__webpack_require__){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t-1)return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__.a,null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value)));if("func"===propName)return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:__WEBPACK_IMPORTED_MODULE_3_javascript_stringify___default()(object,null,2)},"Shape")}catch(e){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__.a,null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value)))}return""}function renderDescription(e){var t=e.description,n=e.tags,o=void 0===n?{}:n,r=renderExtra(e),i=[].concat(_toConsumableArray(o.arg||[]),_toConsumableArray(o.argument||[]),_toConsumableArray(o.param||[])),a=o.return&&o.return[0]||o.returns&&o.returns[0];return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",null,t&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8_rsg_components_Markdown__.a,{text:t}),r&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12_rsg_components_Para__.a,null,r),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_rsg_components_JsDoc__.a,o),i.length>0&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_rsg_components_Arguments__.a,{args:i,heading:!0}),a&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_rsg_components_Argument__.a,_extends({},a,{returns:!0})))}function renderExtra(e){var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){if(!Array.isArray(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value))return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value.map(function(e,t){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__.a,{key:e.name+"-"+t},renderType(e))});return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,"One of type:"," ",__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_group___default.a,{separator:", ",inline:!0},t))}function renderName(e){var t=e.name,n=e.tags,o=void 0===n?{}:n;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_rsg_components_Name__.a,{deprecated:!!o.deprecated},t)}function renderTypeColumn(e){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__.a,null,renderType(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e)))}function getRowKey(e){return e.name}function propsToArray(e){return __WEBPACK_IMPORTED_MODULE_14_lodash_map___default()(e,function(e,t){return _extends({},e,{name:t})})}function PropsRenderer(e){var t=e.props;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13_rsg_components_Table__.a,{columns:columns,rows:propsToArray(t),getRowKey:getRowKey})}__webpack_exports__.a=PropsRenderer;var __WEBPACK_IMPORTED_MODULE_0_react__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_0_react___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__),__WEBPACK_IMPORTED_MODULE_1_prop_types__=__webpack_require__(0),__WEBPACK_IMPORTED_MODULE_1_prop_types___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__),__WEBPACK_IMPORTED_MODULE_2_react_group__=__webpack_require__(198),__WEBPACK_IMPORTED_MODULE_2_react_group___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_group__),__WEBPACK_IMPORTED_MODULE_3_javascript_stringify__=__webpack_require__(456),__WEBPACK_IMPORTED_MODULE_3_javascript_stringify___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_javascript_stringify__),__WEBPACK_IMPORTED_MODULE_4_rsg_components_Arguments__=__webpack_require__(200),__WEBPACK_IMPORTED_MODULE_5_rsg_components_Argument__=__webpack_require__(85),__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__=__webpack_require__(86),__WEBPACK_IMPORTED_MODULE_7_rsg_components_JsDoc__=__webpack_require__(88),__WEBPACK_IMPORTED_MODULE_8_rsg_components_Markdown__=__webpack_require__(19),__WEBPACK_IMPORTED_MODULE_9_rsg_components_Name__=__webpack_require__(89),__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__=__webpack_require__(209),__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__=__webpack_require__(207),__WEBPACK_IMPORTED_MODULE_12_rsg_components_Para__=__webpack_require__(52),__WEBPACK_IMPORTED_MODULE_13_rsg_components_Table__=__webpack_require__(206),__WEBPACK_IMPORTED_MODULE_14_lodash_map__=__webpack_require__(196),__WEBPACK_IMPORTED_MODULE_14_lodash_map___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_lodash_map__),__WEBPACK_IMPORTED_MODULE_15__util__=__webpack_require__(639),_extends=Object.assign||function(e){for(var t=1;t0?r.a.createElement(s.a,{examples:y,name:a}):r.a.createElement(A,{name:a}),tabButtons:r.a.createElement(p.a,{name:"docsTabButtons",active:e,props:h({},o,{onClick:this.handleTabChange})}),tabBody:r.a.createElement(p.a,{name:"docsTabs",active:e,onlyActive:!0,props:o})}):null}}]),ReactComponent}();g.propTypes={component:a.a.object.isRequired,depth:a.a.number.isRequired},g.contextTypes={config:a.a.object.isRequired,displayMode:a.a.string},t.a=g},function(e,t,n){"use strict";function ReactComponentRenderer(e){var t=e.classes,n=e.name,o=e.heading,i=e.pathLine,a=e.description,l=e.docs,u=e.examples,c=e.tabButtons,p=e.tabBody;return r.a.createElement("div",{className:t.root,id:n+"-container"},r.a.createElement("header",{className:t.header},o,i&&r.a.createElement(s.a,null,i)),(a||l)&&r.a.createElement("div",{className:t.docs},a,l),c&&r.a.createElement("div",{className:t.tabs},r.a.createElement("div",{className:t.tabButtons},c),p),u)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(629),l=n(9);ReactComponentRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string.isRequired,heading:a.a.node.isRequired,pathLine:a.a.string,tabButtons:a.a.node,tabBody:a.a.node,description:a.a.node,docs:a.a.node,examples:a.a.node,isolated:a.a.bool},t.a=n.i(l.a)(function styles(e){var t=e.color,n=e.fontSize,o=e.space;return{root:{marginBottom:o[6]},header:{marginBottom:o[3]},tabs:{marginBottom:o[3]},tabButtons:{marginBottom:o[2]},docs:{color:t.base,fontSize:n.text}}})(ReactComponentRenderer)},function(e,t,n){"use strict";var o=n(640);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function SectionHeading(e){var t=e.slotName,o=e.slotProps,i=e.children,a=e.id,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["slotName","slotProps","children","id"]),d=n.i(u.a)({slug:a,anchor:!0});return r.a.createElement(l.a,c({toolbar:r.a.createElement(s.a,{name:t,props:o}),id:a,href:d},p),i)}t.a=SectionHeading;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(90),l=n(644),u=n(211),c=Object.assign||function(e){for(var t=1;t0,content:n.length>0&&t.renderLevel(n)})});return r.a.createElement(s.a,{items:n})}},{key:"renderSections",value:function renderSections(){var e=this.state.searchTerm,t=this.props.sections,o=1===t.length?t[0].components:t,r=n.i(u.a)(o,e);return this.renderLevel(r)}},{key:"render",value:function render(){var e=this,t=this.state.searchTerm;return r.a.createElement(l.a,{searchTerm:t,onSearchTermChange:function onSearchTermChange(t){return e.setState({searchTerm:t})}},this.renderSections())}}]),TableOfContents}();p.propTypes={sections:a.a.array.isRequired},t.a=p},function(e,t,n){"use strict";function TableOfContentsRenderer(e){var t=e.classes,n=e.children,o=e.searchTerm,i=e.onSearchTermChange;return r.a.createElement("div",null,r.a.createElement("div",{className:t.root},r.a.createElement("div",{className:t.search},r.a.createElement("input",{value:o,className:t.input,placeholder:"Filter by name",onChange:function onChange(e){return i(e.target.value)}})),n))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);TableOfContentsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node,searchTerm:a.a.string.isRequired,onSearchTermChange:a.a.func.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color,o=e.fontFamily,r=e.fontSize,i=e.borderRadius;return{root:{fontFamily:o.base},search:{padding:t[2]},input:{display:"block",width:"100%",padding:t[1],color:n.base,backgroundColor:n.baseBackground,fontFamily:o.base,fontSize:r.base,border:[[1,n.border,"solid"]],borderRadius:i,transition:"border-color ease-in-out .15s","&:focus":{isolate:!1,borderColor:n.link,outline:0},"&::placeholder":{isolate:!1,fontFamily:o.base,fontSize:r.base,color:n.light}}}})(TableOfContentsRenderer)},function(e,t,n){"use strict";var o=n(656);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function TableRenderer(e){var t=e.classes,n=e.columns,o=e.rows,i=e.getRowKey;return r.a.createElement("table",{className:t.table},r.a.createElement("thead",{className:t.tableHead},r.a.createElement("tr",null,n.map(function(e){var n=e.caption;return r.a.createElement("th",{key:n,className:t.cellHeading},n)}))),r.a.createElement("tbody",null,o.map(function(e){return r.a.createElement("tr",{key:i(e)},n.map(function(n,o){var i=n.render;return r.a.createElement("td",{key:o,className:t.cell},i(e))}))})))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);TableRenderer.propTypes={classes:a.a.object.isRequired,columns:a.a.arrayOf(a.a.shape({caption:a.a.string.isRequired,render:a.a.func.isRequired})).isRequired,rows:a.a.arrayOf(a.a.object).isRequired,getRowKey:a.a.func.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color,o=e.fontFamily,r=e.fontSize;return{table:{width:"100%",borderCollapse:"collapse",marginBottom:t[4]},tableHead:{borderBottom:[[1,n.border,"solid"]]},cellHeading:{color:n.base,paddingRight:t[2],paddingBottom:t[1],textAlign:"left",fontFamily:o.base,fontWeight:"bold",fontSize:r.small,whiteSpace:"nowrap"},cell:{color:n.base,paddingRight:t[2],paddingTop:t[1],paddingBottom:t[1],verticalAlign:"top",fontFamily:o.base,fontSize:r.small,"&:last-child":{isolate:!1,width:"99%",paddingRight:0},"& p:last-child":{isolate:!1,marginBottom:0}}}})(TableRenderer)},function(e,t,n){"use strict";function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TextRenderer(e){var t,n=e.classes,o=e.semantic,i=e.size,a=e.color,s=e.underlined,l=e.children,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","semantic","size","color","underlined","children"]),d=o||"span",f=u()(n.text,n[i+"Size"],n[a+"Color"],(t={},_defineProperty(t,n[o],o),_defineProperty(t,n.isUnderlined,s),t));return r.a.createElement(d,c({},p,{className:f}),l)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(2),u=n.n(l),c=Object.assign||function(e){for(var t=1;t0&&r.a.createElement(l.a,{methods:o});return i||a?r.a.createElement("div",null,i,a):null}t.a=Usage;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(638),l=n(625);Usage.propTypes={props:a.a.shape({props:a.a.object,methods:a.a.array}).isRequired}},function(e,t,n){"use strict";var o=n(663);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function WelcomeRenderer(e){var t=e.classes,n=e.patterns;return r.a.createElement("div",{className:t.root},r.a.createElement(s.a,{text:"\n# Welcome to React Styleguidist!\n\n**We couldn’t find any components** using these patterns:\n\n"+n.map(function(e){return"- `"+e+"`"}).join("\n")+"\n\nCreate **styleguide.config.js** file in your project root directory like this:\n\n module.exports = {\n components: 'src/components/**/*.js'\n };\n\nRead more in the [locating components guide]("+u.DOCS_COMPONENTS+").\n\t\t\t\t"}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(19),l=n(9),u=n(212);n.n(u);WelcomeRenderer.propTypes={classes:a.a.object.isRequired,patterns:a.a.array.isRequired},t.a=n.i(l.a)(function styles(e){var t=e.space;return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]],padding:t[4]}}})(WelcomeRenderer)},function(e,t,n){"use strict";var o=n(665);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(1),r=(n.n(o),n(0)),i=n.n(r),a=function(){function defineProperties(e,t){for(var n=0;n0?r.a.createElement(s.a,e,"Props & methods"):null};l.propTypes={onClick:a.a.func.isRequired,name:a.a.string.isRequired,props:a.a.shape({props:a.a.object,methods:a.a.array}).isRequired,active:a.a.bool},t.a=l},function(e,t,n){"use strict";var o=n(577),r=n.n(o),i=n(83),a=n.n(i),s=n(92),l=n(676);t.a=a()(function(e,t,n){var o=r()({},l,t.theme),i=r()({},e(o),t.styles&&t.styles[n]);return s.a.createStyleSheet(i,{meta:n,link:!0})})},function(e,t,n){"use strict";n(92),n(675)},function(e,t,n){"use strict";t.a={animation:"none 0s ease 0s 1 normal none running","backface-visibility":"visible",background:"transparent none repeat 0 0 / auto auto padding-box border-box scroll",border:"medium none currentColor","border-image":"none","border-radius":"0",bottom:"auto","box-shadow":"none",clear:"none",clip:"auto",columns:"auto","column-count":"auto","column-fill":"balance","column-gap":"normal","column-rule":"medium none currentColor","column-span":"1","column-width":"auto",content:"normal","counter-increment":"none","counter-reset":"none",float:"none",height:"auto",hyphens:"none",left:"auto",margin:"0","max-height":"none","max-width":"none","min-height":"0","min-width":"0",opacity:"1",outline:"medium none invert",overflow:"visible","overflow-x":"visible","overflow-y":"visible",padding:"0","page-break-after":"auto","page-break-before":"auto","page-break-inside":"auto",perspective:"none","perspective-origin":"50% 50%",position:"static",right:"auto","table-layout":"auto","text-decoration":"none",top:"auto",transform:"none","transform-origin":"50% 50% 0","transform-style":"flat",transition:"none 0s ease 0s","unicode-bidi":"normal","vertical-align":"baseline",width:"auto","z-index":"auto"}},function(e,t,n){"use strict";var o=n(92).a.createStyleSheet({body:{isolate:!1,margin:0,padding:0,border:0}}).attach().classes.body;document.body.classList.add(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"spaceFactor",function(){return o}),n.d(t,"space",function(){return r}),n.d(t,"color",function(){return i}),n.d(t,"fontFamily",function(){return a}),n.d(t,"fontSize",function(){return s}),n.d(t,"mq",function(){return l}),n.d(t,"borderRadius",function(){return u}),n.d(t,"maxWidth",function(){return c}),n.d(t,"sidebarWidth",function(){return p}),n.d(t,"buttonTextTransform",function(){return d});var o=8,r=[o/2,o,2*o,3*o,4*o,5*o,6*o],i={base:"#333",light:"#999",lightest:"#ccc",link:"#1978c8",linkHover:"#f28a25",border:"#e8e8e8",name:"#7f9a44",type:"#b77daa",error:"#c00",baseBackground:"#fff",codeBackground:"#f5f5f5",sidebarBackground:"#f5f5f5"},a={base:["-apple-system","BlinkMacSystemFont",'"Segoe UI"','"Roboto"','"Oxygen"','"Ubuntu"','"Cantarell"','"Fira Sans"','"Droid Sans"','"Helvetica Neue"',"sans-serif"],monospace:["Consolas",'"Liberation Mono"',"Menlo","monospace"]},s={base:15,text:16,small:13,h1:48,h2:36,h3:24,h4:18,h5:16,h6:16},l={small:"@media (max-width: 600px)"},u=3,c=1e3,p=200,d="uppercase"},function(e,t,n){"use strict";t.a=function filterComponentExamples(e,t){return o({},e,{props:o({},e.props,{examples:[e.props.examples[t]]})})};var o=Object.assign||function(e){for(var t=1;t0||e.sections.length>0||a.test(e.name)})}t.a=filterSectionsByName;var o=n(210),r=n(679),i=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:window.location,p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.history,f=n.i(c.a)(e.sections);n.i(u.a)(f);var m=n.i(l.a)(f,o.hash),h=m.sections,b=m.displayMode;if(p.title=n.i(s.a)(h,e.config.title,b),"#/"===o.hash){var A=o.pathname+o.search;d.replaceState("",p.title,A)}return r.a.createElement(a.a,{codeRevision:t,config:e.config,slots:i.a,welcomeScreen:e.welcomeScreen,patterns:e.patterns,sections:h,displayMode:b})};var o=n(1),r=n.n(o),i=n(91),a=n(653),s=n(685),l=n(686),u=n(688),c=n(690)},function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n color: #8959a8;\n}\n\n.hljs {\n display: block;\n overflow-x: auto;\n background: white;\n color: #4d4d4c;\n padding: 0.5em;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'Action',settings:{},evalInContext:i},{type:"markdown",content:"#### With right additional content"},{type:"code",content:"danger}\n href=\"#\"\n>\n Action\n",settings:{},evalInContext:i},{type:"markdown",content:"#### With bottom additional content"},{type:"code",content:'Action',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The `Alert` are used for highlighting important content for the user about events happened (or will be happened) in the system."},{type:"code",content:'
    \n \n Updates for 115 packages are available.\n \n \n \n \n alert(\'close\')}>\n }>\n Please wait while synchronization process will be finished\n \n \n \n Buy}>\n This paid extension is not licensed. Some or all functions and features of the extension may not be available.\n Purchase a license to unlock all functions and features of this extension.\n \n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"There are four types of the messages\n\n- info (green) - for notification about successfully finished operations; usually they are shown just after the operations is finished\n- warning (yellow) - for notification about some important facts which should be taken in account before performing the operation\n- error (red) - for notification about any errors occured, just after it was happened\n- progress (neutral grey) - for notification about process of performing background (asynchronous) operations\n\nAll the messages have to be clear and understandable for users (what was happened, why, what to do next)."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This is helper component for handling outside clicks."},{type:"code",content:"initialState = {\n visible: false,\n};\n\n
    \n \n {state.visible && (\n setState({ visible: false })}>\n
    \n Click outside of me\n
    \n
    \n )}\n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:"\n
    Action 1\n Action 2\n Action 3\n",settings:{},evalInContext:i},{type:"markdown",content:"Custom separator:"},{type:"code",content:'\n Action 1\n Action 2\n Action 3\n',settings:{},evalInContext:i},{type:"markdown",content:"Single action:"},{type:"code",content:'\n Action 1\n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'\n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'
    \n \n \n \n \n \n \n \n \n \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Intent:"},{type:"code",content:"
    \n {' '}\n {' '}\n {' '}\n {' '}\n {' '}\n {' '}\n \n
    ",settings:{},evalInContext:i},{type:"markdown",content:"State:"},{type:"code",content:'
    \n \n \n \n \n \n \n \n \n \n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Toggle:"},{type:"code",content:"initialState = {\n selected: false,\n text: 'Toggle is unpressed',\n};\n\n
    \n {state.text}
    \n\n \n \n \n \n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Type:"},{type:"code",content:"
    \n {' '}\n {' '}\n {' '}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Button as an anchor (not recommended -- use a link instead):"},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Button icons set:"},{type:"code",content:"const icons = [\n 'archive',\n 'arrow-right',\n 'backup',\n 'clean',\n 'clock',\n 'copy',\n 'customize-order',\n 'download',\n 'edit',\n 'folder',\n 'globe',\n 'globe-alt',\n 'import',\n 'invisible',\n 'link',\n 'list',\n 'lock',\n 'ok-app',\n 'ok-circle',\n 'plugins',\n 'plus',\n 'power',\n 'question-circle',\n 'refresh',\n 'reload',\n 'remove',\n 'remove-app',\n 'remove-circle',\n 'search',\n 'security-scan',\n 'settings',\n 'share',\n 'shopping-cart',\n 'start',\n 'stop',\n 'suspend',\n 'themes',\n 'unarchive',\n 'unlock',\n 'upload',\n 'upload-alt',\n 'user',\n 'user-alt',\n 'visible',\n];\n\nconst ButtonIconDemo = ({ icon }) => (\n
    \n
    \n);\n\n
    \n \n {icons.map(icon => )}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Buttons with text and icon:"},{type:"code",content:'
    \n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n

    \n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Buttons without text, but with icon:"},{type:"code",content:'
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Buttons with caret are used for opening a drop-down (nested) button menu. See [Dropdown](#dropdown) for more information."},{type:"code",content:'
    \n {\' \'}\n {\' \'}\n {\' \'}\n {\' \'}\n
    ',settings:{},evalInContext:i},{type:"markdown",content:'Buttons can have a "disabled" state which should be used when it is physically or logically impossible to perform the operation. Users should be able to perform an action that makes disabled button available without leaving the screen, or be directed to a place where disabled buttons can be made available by purchasing or installing something, if it\'s required.'},{type:"code",content:"
    \n {' '}\n {' '}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"[Tooltip](#tooltip) is used for explaining what will happen when the button is pressed."},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Tooltips can have different text depending on the button state (enabled/disabled)."},{type:"code",content:"initialState = {\n disabled: false,\n};\n\n
    \n setState({ disabled: !state.disabled })}\n />{' '}\n \n {state.disabled ? 'Disabled' : 'Enabled'}\n \n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={"./example-data/wp-themes.json":n(457),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Simple usage:"},{type:"code",content:"const themes = require('./example-data/wp-themes.json');\n\n (\n \n }\n rowContent={\n
    \n

    \n {`Author: ${item.author}`}\n

    \n

    \n {`Version: ${item.version}`}\n

    \n
    \n }\n >\n
    \n {item.description}\n
    \n \n )\n }\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Advanced usage:"},{type:"code",content:"const themes = require('./example-data/wp-themes.json');\ninitialState = {\n view: 'row',\n selection: [],\n items: [],\n totalItems: 0,\n loading: false,\n};\n\nconst fetchItems = ({ page, pageSize }) => {\n const offset = (page - 1) * pageSize;\n setState({\n loading: true,\n });\n\n setTimeout(() => {\n setState({\n loading: false,\n items: themes.slice(state.view === 'responsive' ? 0 : offset, offset + pageSize),\n totalItems: themes.length,\n });\n }, 1000);\n};\n\n {\n setState({ selection });\n }}\n viewSwitcher\n view={state.view}\n onViewChange={view => setState({ view })}\n toolbarGroups={[\n \n \n ,\n ]}\n itemKey=\"slug\"\n itemRender={\n item => (\n \n }\n rowContent={\n
    \n

    \n {`Author: ${item.author}`}\n

    \n

    \n {`Version: ${item.version}`}\n

    \n
    \n }\n >\n {item.description}\n \n )\n }\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Simple usage:"},{type:"code",content:'\n
    Card content.
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Progress state:"},{type:"code",content:'\n
    Card content.
    \n',settings:{},evalInContext:i},{type:"markdown",content:"Tile view:"},{type:"code",content:'
    \n \n

    \n \n

    \n

    \n Current theme —\n Twenty Seventeen\n

    \n \n }\n sideContent={\n
    \n \n View\n \n \n \n \n
    \n }\n >\n
    Card content.
    \n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Extended view:"},{type:"code",content:'initialState = {\n isSelected: false,\n};\n\n setState({ isSelected }),\n }}\n menu={\n \n {\'Item\'}\n {\'Item\'}\n {\'Item\'}\n {\'Item\'}\n \n }\n buttons={[\n {\n icon: \'i-two-arrows-refresh-04\',\n onClick: () => alert(\'Refresh clicked\'),\n tooltip: \'Refresh\',\n },\n ]}\n sideHeader={\n \n

    Caption

    \n

    Description

    \n
    \n \n {\' \'}\n \n
    \n
    \n }\n sideContent={\n
    \n \n View\n \n \n \n \n
    \n }\n rowContent={\'Row content\'}\n>\n\n \n \n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n \n \n Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo.\n \n \n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n \n \n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n \n \n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n \n \n',settings:{},evalInContext:i},{type:"markdown",content:"Extended view with labels:"},{type:"code",content:'initialState = {\n isSelected: false,\n};\n\n setState({ isSelected }),\n }}\n intent="danger"\n labels={[\n ,\n ,\n ]}\n buttons={[\n {\n icon: \'i-two-arrows-refresh-04\',\n onClick: () => alert(\'Refresh clicked\'),\n tooltip: \'Refresh\',\n },\n ]}\n sideHeader={\n \n \n }\n style={{\n position: \'absolute\',\n top: 10,\n right: 10,\n color: \'#fff\',\n backgroundColor: \'rgba(0, 0, 0, 0)\',\n }}\n />\n \n }\n sideContent={\n
    \n \n View\n \n \n \n \n
    \n }\n rowContent={\'Row content\'}\n>\n
    Card content.
    \n
    \n
    Card content.
    \n',settings:{},evalInContext:i},{type:"markdown",content:"Row view:"},{type:"code",content:"initialState = {\n isSelected: false,\n};\n\n setState({ isSelected }),\n }}\n buttons={[\n {\n icon: 'i-two-arrows-refresh-04',\n onClick: () => alert('Refresh clicked'),\n tooltip: 'Refresh',\n },\n ]}\n sideHeader={\n \n }\n sideContent={\n
    \n
      \n
    • Status 1
    • \n
    • Status 2
    • \n
    • Status 3
    • \n
    \n
    \n }\n rowContent={'Row content'}\n>\n
    Card content.
    \n
    \n
    Card content.
    \n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Card](#card) for examples.\n\nImage with paddings:"},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Background with hover content:"},{type:"code",content:'\n \n',settings:{},evalInContext:i},{type:"markdown",content:"Custom HTML content:"},{type:"code",content:"\n \n \n \n \n

    Sample HTML content

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec feugiat ornare orci,\n maximus efficitur elit mollis vitae. Aenean blandit aliquam enim, vel maximus lectus\n malesuada in. Duis luctus venenatis diam tincidunt ornare. Vestibulum ac auctor nibh,\n suscipit sollicitudin neque. Aliquam vitae nulla consequat, accumsan sem eget, pretium\n nibh. Mauris blandit arcu erat, non eleifend mi viverra eu. Cras placerat tincidunt\n feugiat. Vivamus et massa feugiat, rhoncus ipsum sed, consectetur nisi. Cras vel\n scelerisque nisl. Nulla pellentesque, velit eget cursus vestibulum, augue lacus euismod\n dui, a accumsan dolor ligula sed est.\n

    \n \n \n `}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Small carousel without scrolling:"},{type:"code",content:"const colors = ['#bcdf94', '#c6e5fa'];\n\n\n {colors.map(backgroundColor => (\n
    \n {backgroundColor}\n
    \n ))}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Large carousel with scrolling:"},{type:"code",content:"const colors = ['#bcdf94', '#c6e5fa', '#fdd896', '#f4b3b3'];\n\n\n {colors.map(backgroundColor => (\n
    \n {backgroundColor}\n
    \n ))}\n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"\n Check me\n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"initialState = { mode: 'javascript' };\nconst modes = [\n 'javascript',\n 'php',\n];\n\n
    \n \n

    \n \n

    \n alert('saved')}\n mode={state.mode}\n >\n {'const message = \"I\\'m a CodeEditor.\";'}\n \n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Select mode by filename:"},{type:"code",content:"initialState = { fileName: 'example.js' };\n\n
    \n \n

    \n setState({ fileName: e.target.value })} />\n

    \n alert('saved')}\n fileName={state.fileName}\n >\n {'const message = \"I\\'m a CodeEditor.\";'}\n \n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This element is used to output dynamically updating data, usually for console output. It use monospace font to show console formatting texts.\n\nScroll by default should be pulled downward, so if new line appear - it should be seen like auto scroll.\n\nWhen user pull scrolling up - auto scroll mode is disabled. It start again when user pull scroll to bottom."},{type:"code",content:"\n {`1:C 03 May 05:35:26.569 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf\n _._ \n _.-''__ ''-._ \n _.-'' '. '_. ''-._ Redis 3.2.8 (00000000/0) 64 bit\n .-'' .-'''. '''/ _.,_ ''-._ \n ( ' , .-' | ', ) Running in standalone mode\n |'-._'-...-' __...-.''-._|'' _.-'| Port: 6379\n | '-._ '._ / _.-' | PID: 1\n '-._ '-._ '-./ _.-' _.-' \n |'-._'-._ '-.__.-' _.-'_.-'| \n | '-._'-._ _.-'_.-' | http://redis.io \n '-._ '-._'-.__.-'_.-' _.-' \n |'-._'-._ '-.__.-' _.-'_.-'| \n | '-._'-._ _.-'_.-' | \n '-._ '-._'-.__.-'_.-' _.-' \n '-._ '-.__.-' _.-' \n '-._ _.-' \n '-.__.-' \n \n1:M 03 May 05:35:26.571 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.\n1:M 03 May 05:35:26.571 # Server started, Redis version 3.2.8\n1:M 03 May 05:35:26.571 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.\n1:M 03 May 05:35:26.572 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.\n1:M 03 May 05:35:26.572 * The server is now ready to accept connections on port 6379\n`}\n",settings:{},evalInContext:i},{type:"markdown",content:"Default console size 25x80 characters, but for some purposes, size colud be adjusted.\n\nCursor in the bottom of the text should blink, showing it waiting incoming data. When there is no connection, or this data has no more auto update - cursor should be hidden"}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"\n

    Line 1

    \n

    Line 2

    \n

    Line 3

    \n

    Line 4

    \n

    Line 5

    \n

    Line 6

    \n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Custom localization:"},{type:"code",content:"const messages = {\n Cuttable: {\n showMore: 'Развернуть...',\n showLess: 'Свернуть...',\n },\n};\n\n\n \n

    Line 1

    \n

    Line 2

    \n

    Line 3

    \n

    Line 4

    \n

    Line 5

    \n

    Line 6

    \n
    \n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Dialog window contains text and user interface elements focused on a specific task. Dialog window user about something important and asks user to make a decision.\n\nBasic usage:"},{type:"code",content:'const messages = {\n \'en-US\': {\n languages: {\n english: \'English\',\n russian: \'Russian\',\n },\n Dialog: {\n cancelButton: \'Cancel\',\n },\n okButton: \'Ok, continue\',\n closeButton: \'Close\',\n },\n \'ru-RU\': {\n languages: {\n english: \'английский\',\n russian: \'русский\',\n },\n Dialog: {\n cancelButton: \'Отменить\',\n },\n okButton: \'Ок, продолжить\',\n closeButton: \'Закрыть\',\n },\n};\n\ninitialState = {\n locale: \'en-US\',\n show: false,\n};\n\nconst handleClose = () => setState({ show: false });\nconst handleSubmit = values => {\n const valuesString = Object\n .keys(values)\n .map(name => `${name} = ${values[name]}`)\n .join(\'\\n\');\n\n alert(`Submit values:\\n${valuesString}`);\n};\n\n\n
    \n \n
    \n\n \n {\' \'}\n \n {\' \'}\n \n {\' \'}\n \n {\' \'}\n \n {\' \'}\n \n {\' \'}\n \n {\' \'}\n \n\n }\n size="sm"\n onClose={handleClose}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n \n\n }\n size="sm"\n onClose={handleClose}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n \n\n }\n size="sm"\n onClose={handleClose}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n \n\n }\n size="sm"\n onClose={handleClose}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n \n\n }\n size="sm"\n onClose={handleClose}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n

    \n \n\n \n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n
    \n \n \n
    \n
    \n \n {({ getId, getName, getValue, setValue }) => (\n setValue(e.target.value)}\n >\n \n \n \n \n )}\n \n \n {({ getId, getName, getValue, setValue }) => [\n
    \n setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n \n
    ,\n
    \n setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n \n
    ,\n ]}\n
    \n
    \n \n\n }\n form={{\n onSubmit: handleSubmit,\n submitButton: { children: },\n values: {\n db: \'\',\n db2: \'1\',\n name: \'Demo Admin\',\n password: \'\',\n },\n }}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n
    \n \n \n
    \n
    \n \n {({ getId, getName, getValue, setValue }) => (\n setValue(e.target.value)}\n >\n \n \n \n \n )}\n \n \n {({ getId, getName, getValue, setValue }) => [\n
    \n setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n \n
    ,\n
    \n setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n \n
    ,\n ]}\n
    \n
    \n \n\n }\n form={{\n onSubmit: handleSubmit,\n submitButton: { children: },\n values: {\n db: \'\',\n db2: \'1\',\n name: \'Demo Admin\',\n password: \'\',\n },\n }}\n >\n

    We are not sure that there is enough space for the task. Available only 36 Mb.

    \n
    \n \n \n
    \n
    \n \n {({ getId, getName, getValue, setValue }) => (\n setValue(e.target.value)}\n >\n \n \n \n \n )}\n \n \n {({ getId, getName, getValue, setValue }) => [\n
    \n setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n \n
    ,\n
    \n setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n \n
    ,\n ]}\n
    \n
    \n \n
    \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The Drawer slides in from the side. The drawer can toggle open or closed. Closed by default, the drawer opens temporarily above all other content. The Drawer can be cancelled by clicking the close button or pressing the Esc key. The Drawer seamless integrates with [Form](#form). If you set any props to the `form` prop then your content will be wrap with the Form component. Opened Drawer automatically get focus but you can choose any else control by setting property `autofocus` for it.\n\n#### When To Use\n\nDrawer is used for working with complex forms. Its opening and closing are fully controlled by the user - it is opened and displayed at the user's request and is closed whenever the user wants.\n\n#### Basic usage"},{type:"code",content:'initialState = {\n isOpen: false,\n};\n\n
    \n \n setState({ isOpen: false })}\n >\n {\'I\\\'m a Drawer.\'}\n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"#### Nested drawers"},{type:"code",content:'initialState = {\n isFirstOpen: false,\n isSecondOpen: false,\n};\n\n
    \n \n setState({ isFirstOpen: false })}\n >\n \n setState({ isSecondOpen: false })}\n backButton\n >\n {\'I\\\'m a nested Drawer.\'}\n \n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"#### Drawer with Form"},{type:"code",content:'initialState = {\n isOpen: false,\n};\n\n
    \n \n setState({ isOpen: false })}\n form={{\n onSubmit: () => {\n window.alert(\'Form saved\');\n setState({ isOpen: false });\n },\n values: {\n name: \'Demo Admin\',\n password: \'\',\n sendTechAnnounce: true,\n name1: \'Demo Admin\',\n password1: \'\',\n sendTechAnnounce1: true,\n name2: \'Demo Admin\',\n password2: \'\',\n sendTechAnnounce2: true,\n name3: \'Demo Admin\',\n password3: \'\',\n sendTechAnnounce3: true,\n name4: \'Demo Admin\',\n password4: \'\',\n sendTechAnnounce4: true,\n name5: \'Demo Admin\',\n password5: \'\',\n sendTechAnnounce5: true,\n name6: \'Demo Admin\',\n password6: \'\',\n sendTechAnnounce6: true,\n },\n applyButton: false,\n }}\n >\n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"const menu = (\n \n alert('First')}>{'First'}\n alert('Second')}>{'Second'}\n alert('Third')}>{'Third'}\n \n);\n\n\n {'Dropdown'}\n",settings:{},evalInContext:i},{type:"markdown",content:"Custom trigger:"},{type:"code",content:"const menu = (\n \n alert('First')}>{'First'}\n alert('Second')}>{'Second'}\n alert('Third')}>{'Third'}\n \n);\n\n\n \n",settings:{},evalInContext:i}]},function(e,t,n){var o={"./index":n(117),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Goal of the message is the same as of ordinary Status Message but it is used for attracting additional attention. It is recommended to use the message without any other content on the screen."},{type:"code",content:'const {\n ExtendedStatusMessageTitle,\n ExtendedStatusMessageDescription,\n ExtendedStatusMessageActions,\n} = require(\'./index\');\n\n}>\n \n All packages are up-to-date\n \n \n Check on Nov 10, 2016 11:44 AM\n \n \n \n \n',settings:{},evalInContext:i},{type:"markdown",content:'The element consists of\n\n- icon - image for illustrating purpose\n- title - text label for summary of the message\n- description - one or more text paragraphs for full details of the message; the paragraphs may have text formatting (like bold/italic) and links\n- actions (optional) - buttons for performing operations related to the message\n\nThere are the following types of the message:\n\n- default (grey color)\n- Success (green) for “ok”, “good” messages\n- Info (light blue) for “neutral” messages\n- Warning (yellow) for “important” messages\n- Danger (red) for “error”, “bad” messages\n\nThe message may have several descriptions and actions separated by "separator".'},{type:"code",content:'const {\n ExtendedStatusMessageTitle,\n ExtendedStatusMessageDescription,\n ExtendedStatusMessageActions,\n ExtendedStatusMessageSeparator,\n} = require(\'./index\');\n\n}>\n \n All packages are up-to-date\n \n \n Check on Nov 10, 2016 11:44 AM\n \n \n \n \n \n \n Check on Nov 10, 2016 11:44 AM\n \n \n \n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:'
    \n \n\n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Disabled state:"},{type:"code",content:'
    \n \n\n \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Custom checked and unchecked values:"},{type:"code",content:"initialState = {\n value: 'on',\n};\n\n
    \n setState({ value: checked ? 'on' : 'off' })}\n />\n
    \n setState({ value })}\n checkedValue=\"on\"\n uncheckedValue=\"off\"\n />\n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Without controls:"},{type:"code",content:'',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Code sample:"},{type:"code",content:"\n ],\n }, {\n value: 'custom',\n label: 'Custom',\n description: 'This option is not available',\n disabled: true,\n }]}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'\n Field value\n',settings:{},evalInContext:i},{type:"markdown",content:"Field with description:"},{type:"code",content:'\n Field value\n',settings:{},evalInContext:i},{type:"markdown",content:"Field with errors:"},{type:"code",content:"\n Field value\n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic example:"},{type:"code",content:'const handleSubmit = values => {\n values = Object.keys(values).map(name => `${name} = ${values[name]}`);\n alert(`Submit values:\\n${values.join(\'\\n\')}`);\n};\n\nconst handleCancel = () => {\n alert(\'Cancel clicked\');\n};\n\n\n
    \n \n \n
    \n
    \n \n
    \n',settings:{},evalInContext:i},{type:"markdown",content:"Behavior example:"},{type:"code",content:'initialState = {\n errors: {},\n state: null,\n status: null,\n};\n\nconst handleSubmit = values => {\n const errors = {};\n Object.keys(values).forEach(name => {\n if (!values[name]) {\n errors[name] = {\n isEmpty: \'This field is required\',\n };\n }\n });\n\n setState({ errors });\n\n if (Object.keys(errors).length) {\n return;\n }\n\n setState({\n state: \'submit\',\n });\n setTimeout(() => {\n setState({\n state: null,\n });\n if (values.name === \'Demo Admin\') {\n setState({\n status: `We found out that ${values.name} is not your real name!`,\n });\n } else {\n setState({\n status: \'success\',\n });\n }\n }, 2000);\n};\n\nconst handleCancel = () => {\n alert(\'Cancel clicked\');\n};\n\n
    \n {state.status && state.status === \'success\' ? Data was successfully submitted. : null}\n {state.status && state.status !== \'success\' ? {state.status} : null}\n \n
    \n \n \n
    \n
    \n \n
    \n \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'
    \n \n\n \n
    -
    \n
    1
    \n
    11
    \n
    2
    \n
    10
    \n
    3
    \n
    9
    \n
    4
    \n
    8
    \n
    5
    \n
    7
    \n
    6
    \n
    6
    \n
    7
    \n
    5
    \n
    8
    \n
    4
    \n
    9
    \n
    3
    \n
    10
    \n
    2
    \n
    11
    \n
    1
    \n
    12
    \n
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Responsive variations:"},{type:"code",content:'
    \n \n
    ...
    \n
    ...
    \n
    ...
    \n
    ...
    \n
    ...
    \n
    ...
    \n
    \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'
    \n \n\n \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Minimum Column Width:"},{type:"code",content:'\n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Maximum Columns Number:"},{type:"code",content:'\n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Gap:"},{type:"code",content:'
    \n \n
    no gap
    \n
    no gap
    \n
    no gap
    \n
    \n\n \n
    {\'gap="xs"\'}
    \n
    {\'gap="xs"\'}
    \n
    {\'gap="xs"\'}
    \n
    \n\n \n
    {\'gap="sm"\'}
    \n
    {\'gap="sm"\'}
    \n
    {\'gap="sm"\'}
    \n
    \n\n \n
    {\'gap="md"\'}
    \n
    {\'gap="md"\'}
    \n
    {\'gap="md"\'}
    \n
    \n\n \n
    {\'gap="lg"\'}
    \n
    {\'gap="lg"\'}
    \n
    {\'gap="lg"\'}
    \n
    \n\n \n
    {\'gap="xl"\'}
    \n
    {\'gap="xl"\'}
    \n
    {\'gap="xl"\'}
    \n
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Nested:"},{type:"code",content:'\n
    GridCol
    \n
    GridCol
    \n \n \n
    GridCol
    \n
    GridCol
    \n
    \n
    \n \n \n
    GridCol
    \n
    GridCol
    \n
    GridCol
    \n
    \n
    \n
    GridCol
    \n
    GridCol
    \n
    ',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'\n I'm a Hint. Click me.\n',settings:{},evalInContext:i}]},function(e,t,n){var o={"./Icon":n(62),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Icons set:"},{type:"code",content:"const { SVG_NAMES } = require('./Icon');\ninitialState = {\n size: 'sm',\n thin: false,\n};\n\nconst IconCard = ({ name }) => (\n \n \n
    {name}
    \n \n);\n\n
    \n Size:\n setState({ size })}\n inline\n />\n {' '}\n setState({ thin: checked })}>Thin:\n\n

    \n\n {SVG_NAMES.map(name => )}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Sizes:"},{type:"code",content:'
    \n
    \n
    \n
    \n
    \n
    \n
    ',settings:{},evalInContext:i},{type:"markdown",content:"Custom image:"},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Custom SVG:"},{type:"code",content:'\n \n \n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"",settings:{},evalInContext:i},{type:"markdown",content:"Input with placeholder:"},{type:"code",content:'',settings:{},evalInContext:i},{type:"markdown",content:"Sizes:"},{type:"code",content:'\n \n \n \n \n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={"../Item":n(130),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The component receive (inherits) all properties of the [Grid component](#grid)\n\nBasic usage:"},{type:"code",content:"const Item = require('../Item').default;\n\nconst items = [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n },\n];\n\n\n {items.map(({ key, icon, title }) => (\n \n ))}\n",settings:{},evalInContext:i},{type:"markdown",content:"Advanced usage:"},{type:"code",content:"const Item = require('../Item').default;\n\nconst items = [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet.',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n];\n\n\n {items.map(({ key, icon, title, href, description }) => (\n {title}}\n onClick={() => (window.location = href)}\n >\n
    \n {description}\n
    \n {\n e.stopPropagation();\n alert('Hello');\n }}\n >\n Push me\n \n \n ))}\n
    ",settings:{},evalInContext:i},{type:"markdown",content:"Reorderable item list:"},{type:"code",content:"initialState = {\n items: [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n },\n ],\n};\nconst handleReorderEnd = ({ oldIndex, newIndex }) => {\n const { items } = state;\n\n items.splice(newIndex, 0, items.splice(oldIndex, 1)[0]);\n setState({\n items,\n });\n};\n\n\n\n {state.items.map(({ key, icon, title }) => (\n \n ))}\n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:'\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n',settings:{},evalInContext:i},{type:"markdown",content:"See [ItemList](#itemlist) component for full example."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"
    \n {' '}\n {' '}\n {' '}\n {' '}\n {' '}\n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n}, {\n key: 'col2',\n title: 'Column 2',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\n",settings:{},evalInContext:i},{type:"markdown",content:"Sortable Columns Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n sortable: true,\n width: '30%',\n}, {\n key: 'col2',\n title: 'Column 2',\n sortable: true,\n width: '70%',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\n",settings:{},evalInContext:i},{type:"markdown",content:"Row Select Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n width: '70%',\n}, {\n key: 'col2',\n title: 'Column 2',\n width: '30%',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n disabled: true,\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\ninitialState = {\n selection: ['2'],\n};\n\n
    \n
    \n {state.selection.length} rows selected\n
    \n setState({ selection })}\n />\n
    ",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"const messages = {\n 'en-US': {\n languages: {\n english: 'English',\n russian: 'Russian',\n },\n key: 'Translatable content.',\n 'section.key': 'Parameter value is \\'%%param%%\\'.',\n Cuttable: {\n showMore: 'more...',\n showLess: 'less...',\n },\n line: 'Line %%number%%',\n },\n 'ru-RU': {\n languages: {\n english: 'английский',\n russian: 'русский',\n },\n key: 'Переводимый контент.',\n 'section.key': 'Значение параметра \\'%%param%%\\'.',\n Cuttable: {\n showMore: 'больше...',\n showLess: 'меньше...',\n },\n line: 'Строка %%number%%',\n },\n};\n\ninitialState = {\n locale: 'en-US',\n};\n\n\n \n
    \n
    \n Untranslatable content.
    \n value }} />
    \n
    \n
    \n \n {[1, 2, 3, 4, 5, 6].map(number => )}\n \n
    ",settings:{},evalInContext:i},{type:"markdown",content:"See [Translate](#translate) component for details about it props."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"\n {`\n# Heading\n\n## Sub-heading\n\n### Another deeper heading\n\nParagraphs are separated\nby a blank line.\n\nTwo spaces at the end of a line leave a\nline break.\n\nText attributes _italic_, *italic*, __bold__, **bold**, \\`monospace\\`.\n\nHorizontal rule:\n\n---\n\nBullet list:\n\n * apples\n * oranges\n * pears\n\nNumbered list:\n\n 1. apples\n 2. oranges\n 3. pears\n\nA [link](http://example.com).\n`}\n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'}>\n Content\n',settings:{},evalInContext:i},{type:"markdown",content:"#### With additional content"},{type:"code",content:'success}\n image={}\n>\n Content\n \n \n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Media](#media) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"\n \n {'Item states:'}\n \n {'Normal'}\n {'99'}}>{'With label'}\n {'With icon'}\n {'Active'}\n {'Disabled'}\n \n \n \n {'With groups:'}\n alert('Item clicked')}>\n {'Header'}\n {'First'}\n {'Second'}\n {'Third'}\n \n {'First'}\n {'Second'}\n {'Third'}\n \n \n \n {'With selectable items:'}\n alert('Item clicked')}>\n {'First'}\n {'Second'}\n {'Third'}\n \n \n",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"initialState = {\n current: 1,\n};\n\n setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 1,\n};\n\n setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 20,\n};\n\n setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 1,\n};\n\n setState({ current })}\n isShowNavigationButtons={false}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"const onToggle = collapsed => alert(`The panel will be ${collapsed ? 'collapsed' : 'expanded'}.`);\n\n\n Panel content.\n",settings:{},evalInContext:i},{type:"markdown",content:"Panel with Item List:"},{type:"code",content:'\n \n \n \n \n \n \n',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"\n {`\n First line.\n Second line.\n <b>bold</b>\n`}\n</Plaintext>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic example:"},{type:"code",content:'initialState = {\n title: null,\n intent: null,\n};\n\n\n<div>\n <style>\n {`\n .uilib_Popover_demo { margin: 80px auto; }\n .uilib_Popover_demo tr td { text-align: center; padding: 5px 10px; }\n .uilib_Popover_demo tr td:first-child { text-align: left; }\n .uilib_Popover_demo tr td:nth-child(2) { text-align: left; }\n .uilib_Popover_demo tr td:nth-child(4) { text-align: right; }\n .uilib_Popover_demo tr td:last-child { text-align: right; }\n `}\n </style>\n\n <div className="uilib_Popover_tools">\n <Switch onChange={() => setState({ title: state.title ? null : \'Title\' })}>With title</Switch>\n {\' \'}\n <SegmentedControl\n buttons={[\n { value: \'null\', title: \'default\' },\n { value: \'info\', title: \'info\' },\n { value: \'success\', title: \'success\' },\n { value: \'warning\', title: \'warning\' },\n { value: \'danger\', title: \'danger\' },\n ]}\n selected={\'null\'}\n onChange={intent => setState({ intent: intent === \'null\' ? null : intent })}\n inline\n />\n </div>\n\n\n <table className="uilib_Popover_demo">\n <tbody>\n <tr>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top right</a>} placement="top-right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top</a>} placement="top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top left</a>} placement="top-left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left bottom</a>} placement="left-bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td />\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right bottom</a>} placement="right-bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left</a>} placement="left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>auto</a>} placement="auto">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right</a>} placement="right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left top</a>} placement="left-top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td />\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right top</a>} placement="right-top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom right</a>} placement="bottom-right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom</a>} placement="bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom left</a>} placement="bottom-left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n </tr>\n </tbody>\n </table>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Popover with form:"},{type:"code",content:'<Popover title={state.title} target={<a>click me</a>} placement="bottom">\n <Form applyButton={false}>\n <FormFieldText label="Your name" required />\n <FormFieldPassword label="Password" required />\n </Form>\n</Popover>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Rating control used to display mark of something. It is recommended to use 5 stars because it common element.\n\nIt is possible that rating has floats values - than one star shown as partially filled.\n\nBasic usage:"},{type:"code",content:"<div>\n <Rating /><br />\n <Rating value={1.25} /><br />\n <Rating value={2.5} /><br />\n <Rating value={3.75} /><br />\n <Rating value={5} /><br />\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Small variants:"},{type:"code",content:"<div>\n <Rating small /><br />\n <Rating small value={1.25} /><br />\n <Rating small value={2.5} /><br />\n <Rating small value={3.75} /><br />\n <Rating small value={5} /><br />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Design examples:"},{type:"code",content:'<Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<Section title="My CMS" vertical>\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<Section>\n <SectionItem title="SSL/TLS certificate">\n <Label intent="success">INSTALLED</Label> <a href="#!">View</a>\n </SectionItem>\n <SectionItem title="Security status">\n <Label intent="success">OK</Label>\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS" intent="danger">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="warning">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="success">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="inactive">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'initialState = {\n visible: true,\n disabled: false,\n title1: \'My CMS\',\n title2: \'My CMS\',\n};\n\n<div>\n {state.visible && (\n <Section\n title={state.title2}\n collapsible\n onTitleChange={newTitle => setState({ title2: newTitle })}\n onClose={() => setState({ visible: false })}\n >\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n\n <SectionItem title="" actions>\n <Button key="1" intent="primary">Primary Button</Button>\n {\' \'}\n <Button key="2" intent="secondary">Secondary Button</Button>\n </SectionItem>\n </Section>\n )}\n\n <Section\n intent={state.disabled ? \'inactive\' : null}\n title={state.title1}\n collapsible\n onTitleChange={newTitle => setState({ title1: newTitle })}\n onClose={() => {}}\n buttons={[\n <span key="1">\n <Switch\n checked={state.disabled}\n onChange={checked => setState({ disabled: !!checked })}\n >\n Disable section\n </Switch>\n {state.disabled ? \' On\' : \' Off\'}\n </span>,\n ]}\n >\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS">\n <p>\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque. Nullam sed purus nunc. In sed laoreet neque. Nam hendrerit velit eu\n sapien convallis suscipit. Sed finibus ex eget nibh feugiat, quis consequat lacus\n ultrices. Sed id libero fermentum arcu finibus rhoncus. Aliquam rhoncus libero et\n enim euismod, eu congue leo imperdiet. Duis in odio vel purus eleifend efficitur id\n in mi.\n </p>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS">\n <Alert intent="warning">\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque.\n </Alert>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Something crazy:"},{type:"code",content:'<div>\n <Section title="My CMS">\n <p>\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque. Nullam sed purus nunc. In sed laoreet neque. Nam hendrerit velit eu\n sapien convallis suscipit. Sed finibus ex eget nibh feugiat, quis consequat lacus\n ultrices. Sed id libero fermentum arcu finibus rhoncus. Aliquam rhoncus libero et\n enim euismod, eu congue leo imperdiet. Duis in odio vel purus eleifend efficitur id\n in mi.\n </p>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n\n <Alert intent="warning">\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque.\n </Alert>\n\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n\n <br />\n\n <Button key="1" intent="primary">Primary Button</Button>\n {\' \'}\n <Button key="2" intent="secondary">Secondary Button</Button>\n </Section>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Section](#section) component."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Icon-buttons:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 'details', icon: 'list', tooltip: 'Detail view' },\n { value: 'icons', icon: 'copy', tooltip: 'Icons view' },\n { value: 'list', icon: 'plugins', tooltip: 'List view' },\n ]}\n selected=\"details\"\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Icon-buttons with text:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, icon: 'globe', title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Text only:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, title: 'Button' },\n ]}\n selected={2}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Mixed buttons:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Labels:"},{type:"code",content:"<div>\n <SegmentedControl\n label=\"Label at the top:\"\n buttons={[\n { value: 1, title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n />\n <br /><br />\n <SegmentedControl\n label=\"Label at the left:\"\n labelPlacement=\"left\"\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, icon: 'globe', title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n />\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Multiple:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, title: 'First' },\n { value: 2, title: 'Second' },\n { value: 3, title: 'Third' },\n ]}\n multiple\n selected={[1, 2]}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Monospaced:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button with long name' },\n { value: 2, title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n monospaced\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={"../index":n(168),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"const {\n MenuItem,\n MenuDivider,\n} = require('../index');\n\nconst menu = (\n <Menu>\n <MenuItem>Edit</MenuItem>\n <MenuItem>Add a post</MenuItem>\n <MenuDivider />\n <MenuItem>Delete</MenuItem>\n </Menu>\n);\n\n<SplitButton menu={menu} opened>Manage my Blog</SplitButton>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'<div>\n <Status intent="success">\n Success\n </Status>{\' \'}\n <Status intent="info">\n Info\n </Status>{\' \'}\n <Status intent="warning">\n Warning\n </Status>{\' \'}\n <Status intent="danger">\n Danger\n </Status>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"#### With additional content"},{type:"code",content:"<Status\n icon={{ size: 'md' }}\n intent=\"danger\"\n rightAddon={<Label intent=\"danger\">danger</Label>}\n bottomAddon={'Additional content'}\n>\n Danger\n</Status>",settings:{},evalInContext:i},{type:"markdown",content:"#### With custom icon"},{type:"code",content:'<Status\n icon="i-eye-03"\n intent="inactive"\n>\n Inactive\n</Status>',settings:{},evalInContext:i}]},function(e,t,n){var o={".":n(154),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'const {\n SubnavItem,\n} = require(\'.\');\n\ninitialState = {\n active: 1,\n};\n\n<Subnav>\n <SubnavItem active={state.active === 1}>\n <a href="#!" onClick={() => setState({ active: 1 })}>Link 1</a>\n </SubnavItem>\n <SubnavItem active={state.active === 2}>\n <a href="#!" onClick={() => setState({ active: 2 })}>Link 2</a>\n </SubnavItem>\n <SubnavItem active={state.active === 3}>\n <a href="#!" onClick={() => setState({ active: 3 })}>Link 3</a>\n </SubnavItem>\n</Subnav>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic `Switch`:"},{type:"code",content:"<Switch />",settings:{},evalInContext:i},{type:"markdown",content:"Intents of `Switch`:"},{type:"code",content:"<div>\n <Switch defaultChecked />{' '}\n <Switch defaultChecked intent=\"warning\" />{' '}\n <Switch defaultChecked intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"`Switch` with label:"},{type:"code",content:"<Switch>Switch me</Switch>",settings:{},evalInContext:i},{type:"markdown",content:"Disabled `Switch`:"},{type:"code",content:"<div>\n <Switch disabled />{' '}\n <Switch defaultChecked disabled />{' '}\n <Switch defaultChecked disabled intent=\"warning\" />{' '}\n <Switch defaultChecked disabled intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Loading `Switch`:"},{type:"code",content:"<div>\n <Switch loading />{' '}\n <Switch defaultChecked loading />{' '}\n <Switch defaultChecked loading intent=\"warning\" />{' '}\n <Switch defaultChecked loading intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"`onChange` handler:"},{type:"code",content:"initialState = { checked: false };\n<div>\n <Switch onChange={checked => setState({ checked })} />\n {state.checked ? ' on' : ' off'}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Remote control:"},{type:"code",content:"initialState = { checked: true };\n<div>\n <Button onClick={() => setState({ checked: !state.checked })}>Toggle</Button>\n {' '}\n <Switch checked={state.checked} />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Used in [SwitchesPanel](#switchespanel).\n\nBasic usage:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n/>',settings:{},evalInContext:i},{type:"markdown",content:"Complex example:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt. Vestibulum rutrum quam vitae fringilla tincidunt."\n fullDescription={\n <p>\n Used by millions, Akismet is quite\n possibly the best way in the world to\n <strong>protect your blog from spam</strong>\n . It keeps your site protected even while\n you sleep. To get started: activate the\n Akismet plugin and then go to your Akismet\n Settings page to set up your API key.\n </p>\n }\n defaultChecked\n>\n <a href="javascript:">Settings</a>\n</SwitchesPanelItem>',settings:{},evalInContext:i},{type:"markdown",content:"Three buttons in controls:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt. Vestibulum rutrum quam vitae fringilla tincidunt."\n fullDescription={\n <p>\n Used by millions, Akismet is quite\n possibly the best way in the world to\n <strong>protect your blog from spam</strong>\n . It keeps your site protected even while\n you sleep. To get started: activate the\n Akismet plugin and then go to your Akismet\n Settings page to set up your API key.\n </p>\n }\n>\n <Button icon={<Icon name="i-circle-exclamation-mark" />} />\n <Button icon={<Icon name="i-circle-info" />} />\n</SwitchesPanelItem>',settings:{},evalInContext:i},{type:"markdown",content:"Intents:"},{type:"code",content:'<div>\n <SwitchesPanelItem\n onChange={() => {}}\n intent="warning"\n title="Search engine indexing"\n >\n <Button icon={<Icon name="i-circle-info" />} />\n </SwitchesPanelItem>\n {\' \'}\n <SwitchesPanelItem\n onChange={() => {}}\n intent="danger"\n title="Search engine indexing"\n >\n <a href="javascript:">Settings</a>\n </SwitchesPanelItem>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<SwitchesPanel title="Switch Panel">\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Maintenance mode"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n defaultChecked\n />\n <SwitchesPanelItem\n onChange={() => {}}\n title="Debugging"\n />\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Maintenance mode"\n intent="warning"\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n />\n</SwitchesPanel>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"SearchBar is a part of the [Tabs](#tabs) component, providing type-as-you-go search through the items of a list displayed under the current Tab. While the primary usage for the SearchBar is providing search for tab groups, it can also be used as a standalone component outside of [Tabs](#tabs) for searching through arbitrary data.\n\n### Standalone usage\n\nBasic usage:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\n<SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={state.filteredData}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Responsive:"},{type:"code",content:'initialState = {\n responsive: true,\n loading: false,\n};\n\nconst onSearch = (value, reset) => {\n if (state.responsive) {\n setState({ responsive: false })\n } else if (value) {\n setState({ loading: true });\n\n setTimeout(() => {\n alert(`Searching for: ${value}`);\n setState({ loading: false });\n reset();\n }, 1000)\n }\n};\n\n<SearchBar\n autoFocus\n loading={state.loading}\n responsive={state.responsive}\n onSearch={onSearch}\n leftAddon={state.responsive\n ? null\n : (\n <Button\n icon={<Icon name="i-arrow-right-07" thin />}\n onClick={() => setState({ responsive: true })}\n />\n )\n }\n/>',settings:{},evalInContext:i},{type:"markdown",content:"With Menu component:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\nconst renderMenu = data => (\n <Menu>\n <MenuHeader>Search results:</MenuHeader>\n {data.map((item, idx) => [\n idx > 0 && <MenuDivider key={`d_${item.value}`} />,\n <MenuItem key={item.value}>\n - {item.title}\n </MenuItem>,\n ])}\n </Menu>\n);\n\n<SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={renderMenu(state.filteredData)}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Tab is used in [Tabs](#tabs) component.\n\nDifferent variations:"},{type:"code",content:'const closeHandler = () => {\n alert(\'Close clicked!\');\n};\n\n<Tabs>\n <Tab title="Tab title" onClose={() => {}} />\n <Tab title="Tab title" />\n <Tab title="Tab with icon" icon="i-circle-exclamation-mark-02" onClose={closeHandler} />\n <Tab title="Tab with icon component" icon={<Icon name="i-circle-check-mark-02" />} />\n <Tab title="Tab with label" label="5" />\n <Tab title="Tab with label" label={<Label intent="success">3</Label>} onClose={closeHandler} />\n</Tabs>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Shows tabs with custom content.\nAllow place specified element at the right of tab list."},{type:"code",content:'<Tabs active={2} addon={<Button>Some button</Button>}>\n <Tab key={1} title="Extensions Catalog" icon="i-plus">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title="My Extensions" icon="i-four-squares">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title="Updates" icon="i-circle-check-mark" label="7">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n</Tabs>',settings:{},evalInContext:i},{type:"markdown",content:"Monospaced version:"},{type:"code",content:'<Tabs active={2} addon={<Button>Some button</Button>} monospaced>\n <Tab key={1} title="Extensions Catalog" icon="i-plus">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title="My Extensions" icon="i-four-squares">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title="Updates" icon="i-circle-check-mark" label="7">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n <Tab key={4} title="Tab with very very long title">\n Here comes content for <b>Tab with very very long title</b> tab.\n </Tab>\n</Tabs>',settings:{},evalInContext:i},{type:"markdown",content:"With search:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\n<Tabs\n active={2}\n addon={<Button>Some button</Button>}\n search={\n <SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={state.filteredData}\n />\n }\n>\n <Tab key={1} title=\"Extensions Catalog\" icon=\"i-plus\">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title=\"My Extensions\" icon=\"i-four-squares\">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title=\"Updates\" icon=\"i-circle-check-mark\" label=\"7\">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n</Tabs>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<div>\n <Button\n intent=\"info\"\n onClick={() => this.toaster.add({ intent: 'info', message: 'Info message' })}\n >\n Show info message\n </Button>{' '}\n <Button\n intent=\"success\"\n onClick={() => this.toaster.add({ intent: 'success', message: 'Success message' })}\n >\n Show success message\n </Button>{' '}\n <Button\n intent=\"warning\"\n onClick={() => this.toaster.add({ intent: 'warning', message: 'Warning message' })}\n >\n Show warning message\n </Button>{' '}\n <Button\n intent=\"danger\"\n onClick={() => this.toaster.add({ intent: 'danger', message: 'Danger message' })}\n >\n Show danger message\n </Button>{' '}\n <Button\n onClick={() => this.toaster.clear()}\n >\n Close all messages\n </Button>{' '}\n <Toaster ref={ref => (this.toaster = ref)} />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Toolbar>\n <ToolbarGroup title=\"Install\">\n <Button>{'Install WordPress'}</Button>\n </ToolbarGroup>\n <ToolbarGroup title=\"Update\">\n <Button icon={<Icon name=\"i-arrow-up-06\" />}>{'Update'}</Button>\n </ToolbarGroup>\n <ToolbarGroup title=\"Actions\">\n <Button>{'Check security'}</Button>\n <Button icon={<Icon name=\"i-arrow-up-06\" />}>{'Update'}</Button>\n <Switch>Switch</Switch>\n </ToolbarGroup>\n <ToolbarExpander />\n <ToolbarGroup title=\"View\">\n <Dropdown\n menu={\n <Menu>\n <MenuItem>{'By name'}</MenuItem>\n <MenuItem>{'By creation time'}</MenuItem>\n <MenuItem>{'By edit time'}</MenuItem>\n <MenuItem>{'By theme'}</MenuItem>\n </Menu>\n }\n >\n {'Sort'}\n </Dropdown>\n <Dropdown\n menu={\n <Menu>\n <MenuItem>{'List'}</MenuItem>\n <MenuItem>{'Tiles'}</MenuItem>\n </Menu>\n }\n >\n {'View'}\n </Dropdown>\n </ToolbarGroup>\n <ToolbarGroup title=\"Views\">\n <SegmentedControl\n buttons={[\n { value: 'details', icon: 'list', title: 'Detail' },\n { value: 'icons', icon: 'copy', title: 'Icons' },\n { value: 'list', icon: 'plugins', title: 'List' },\n ]}\n selected=\"details\"\n onChange={() => {}}\n />\n </ToolbarGroup>\n</Toolbar>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:"<Toolbar>\n <ToolbarGroup title=\"Left Group\">\n <Button>{'Left Group Button'}</Button>\n </ToolbarGroup>\n <ToolbarExpander />\n <ToolbarGroup title=\"Right Group\">\n <Button>{'Right Group Button'}</Button>\n </ToolbarGroup>\n</Toolbar>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [toolbar](#toolbar) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"ToolTip used to describe element when mouse hover it\n\n`Tooltip` appear when mouse hover on element and some short time (`delay` prop) passed without mouse move.\n\n`Tooltip` disappear immediately when mouse leave element."},{type:"code",content:'initialState = {\n time: (new Date()).getTime(),\n};\nsetTimeout(() => {\n setState({\n time: (new Date()).getTime(),\n });\n}, 250);\n\n<LocaleProvider messages={{ element: \'Some element\', tooltip: \'Some help text (%%time%%)\' }}>\n <Tooltip className="asd" title={<Translate content="tooltip" params={{ time: state.time }} />}>\n <Translate content="element" />\n </Tooltip>\n</LocaleProvider>',settings:{},evalInContext:i},{type:"markdown",content:"If information is important it should not be used in `Tooltip`, only minor information or information that user can see on next screen are allowed (example: `Icon` description, `Button` that lead to next screen description).\n\nTooltip as prop of `Button` components:"},{type:"code",content:'<Button tooltip="Create a customer account with subscription">\n Add a Customer\n</Button>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This component used inside context of [`LocaleProvider`](#localeprovider) component."},{type:"code",content:"<LocaleProvider messages={{ key: 'value' }}>\n <Translate content=\"key\" />\n</LocaleProvider>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"### Native properties\n\nThere are no documentation about native properties supported by the DOM like `onClick`, `onMouseEnter`, `style`, etc.\n\n### Spread\n\nUndocumented properties supplied are spread to the root element. For instance, `className` or `data-id` properties is applied to the root."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Plesk UI Library is available as an npm package.\n\nTo install and save in your package.json dependencies, run:\n\n```bash\nyarn add @plesk/ui-library\n```\n\nor\n\n```bash\nnpm install @plesk/ui-library\n```"}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Welcome to Plesk UI Library!"}]},function(e,t,n){var o={"../../package.json":n(172),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:'Example:\n\n```html\n<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"container"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>\n<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">\n <span class="hljs-built_in">require</span>([<span class="hljs-string">\'plesk-ui-library\'</span>], <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">PleskUiLibrary</span>) </span>{\n PleskUiLibrary.render(\n PleskUiLibrary.createElement(\n PleskUiLibrary.Alert,\n { <span class="hljs-attr">intent</span>: <span class="hljs-string">\'info\'</span> },\n <span class="hljs-string">\'Welcome to the Plesk UI Library \'</span> + PleskUiLibrary.version + <span class="hljs-string">\'!\'</span>\n ),\n <span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">\'container\'</span>)\n );\n });\n</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>\n```\n\nResult:'},{type:"code",content:"const { version } = require('../../package.json'); \n<Alert intent=\"info\">{`Welcome to the Plesk UI Library ${version}!`}</Alert>",settings:{noeditor:!0},evalInContext:i}]},function(e,t,n){e.exports={description:"`Action` component.\n",methods:[],displayName:"Action",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Action`.",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Useful when rendering an `Action` as `<Link>` instead `<a>`.",defaultValue:{value:"'a'",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon of the Action.",defaultValue:{value:"null",computed:!1},tags:{}},rightAddon:{type:{name:"node"},required:!1,description:"Right additional content.",defaultValue:{value:"null",computed:!1},tags:{}},bottomAddon:{type:{name:"node"},required:!1,description:"Bottom additional content.",defaultValue:{value:"null",computed:!1},tags:{}},nowrap:{type:{name:"bool"},required:!1,description:"Suppresses line breaks (text wrapping) within the source.",defaultValue:{value:"false",computed:!1},tags:{}},outerProps:{type:{name:"object"},required:!1,description:"Props for the outer element.",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(693)}},function(e,t,n){e.exports={description:"`Alert` component.\n",methods:[],displayName:"Alert",props:{intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Alert`",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Click handler for close button. Button will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(694)}},function(e,t,n){e.exports={description:"AutoClosable component.\n",displayName:"AutoClosable",methods:[],props:{onClose:{type:{name:"func"},required:!1,description:"onClose handler",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"element"},required:!0,description:"Content of the AutoClosable",tags:{}}},doclets:{},tags:{},examples:n(695)}},function(e,t,n){e.exports={description:"Auxiliary Actions component is used for executing additional (not primary) actions.\nYou should not use the actions for submitting data in Form.\n",methods:[],displayName:"AuxiliaryActions",props:{children:{type:{name:"node"},required:!1,description:"Actions",defaultValue:{value:"null",computed:!1},tags:{}},separator:{type:{name:"node"},required:!1,description:"Custom separator between actions",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(696)}},function(e,t,n){e.exports={description:"`Badge` component.\n",methods:[],displayName:"Badge",props:{label:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!0,description:"Display value. See [label](#label) for all props.",tags:{}},hidden:{type:{name:"bool"},required:!1,description:"Set true for hide the badge.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Badge`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(697)}},function(e,t,n){e.exports={description:"`ButtonGroup` component is used for visual grouping of several [Buttons](#button) together. Buttons are typically grouped\nbased on the similarity of their actions -- for example, for visually separating buttons that add new elements to the list \nfrom buttons that modify existing elements in the list.\n",methods:[],displayName:"ButtonGroup",props:{children:{type:{name:"node"},required:!1,description:"Content of the button group",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(698)}},function(e,t,n){e.exports={description:"`Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.\nAs a rule, you should not use buttons for navigation between individual pages (use links instead).\n",displayName:"Button",methods:[],props:{intent:{type:{name:"enum",value:[{value:"'primary'",computed:!1},{value:"'secondary'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'info'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},selected:{type:{name:"bool"},required:!1,description:"Selected state of toggle button. Used in controlled component mode.",defaultValue:{value:"null",computed:!1},tags:{}},onToggle:{type:{name:"func"},required:!1,description:"Toggle button callback. Used in uncontrolled component mode.",defaultValue:{value:"null",computed:!1},tags:{}},state:{type:{name:"enum",value:[{value:"'active'",computed:!1},{value:"'loading'",computed:!1},{value:"'hovered'",computed:!1}]},required:!1,description:"State of the button",defaultValue:{value:"null",computed:!1},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Is button disabled?",defaultValue:{value:"false",computed:!1},tags:{}},tooltip:{type:{name:"node"},required:!1,description:"Tooltip for component",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"enum",value:[{value:"'archive'",computed:!1},{value:"'arrow-right'",computed:!1},{value:"'backup'",computed:!1},{value:"'clean'",computed:!1},{value:"'clock'",computed:!1},{value:"'copy'",computed:!1},{value:"'customize-order'",computed:!1},{value:"'download'",computed:!1},{value:"'edit'",computed:!1},{value:"'folder'",computed:!1},{value:"'globe'",computed:!1},{value:"'globe-alt'",computed:!1},{value:"'import'",computed:!1},{value:"'invisible'",computed:!1},{value:"'link'",computed:!1},{value:"'list'",computed:!1},{value:"'lock'",computed:!1},{value:"'ok-app'",computed:!1},{value:"'ok-circle'",computed:!1},{value:"'plugins'",computed:!1},{value:"'plus'",computed:!1},{value:"'power'",computed:!1},{value:"'question-circle'",computed:!1},{value:"'refresh'",computed:!1},{value:"'reload'",computed:!1},{value:"'remove'",computed:!1},{value:"'remove-app'",computed:!1},{value:"'remove-circle'",computed:!1},{value:"'search'",computed:!1},{value:"'security-scan'",computed:!1},{value:"'settings'",computed:!1},{value:"'share'",computed:!1},{value:"'shopping-cart'",computed:!1},{value:"'start'",computed:!1},{value:"'stop'",computed:!1},{value:"'suspend'",computed:!1},{value:"'themes'",computed:!1},{value:"'unarchive'",computed:!1},{value:"'unlock'",computed:!1},{value:"'upload'",computed:!1},{value:"'upload-alt'",computed:!1},{value:"'user'",computed:!1},{value:"'user-alt'",computed:!1},{value:"'visible'",computed:!1}]},{name:"element"}]},required:!1,description:"Icon of the button",defaultValue:{value:"null",computed:!1},tags:{}},caret:{type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:"Show caret",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the button",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.",defaultValue:{value:"'button'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(699)}},function(e,t,n){e.exports={description:"`CardList` component.\n",displayName:"CardList",methods:[],props:{items:{type:{name:"array"},required:!0,description:"Array of data items for rendering.",tags:{}},onItemsFetch:{type:{name:"func"},required:!1,description:"Callback for fetching items.",defaultValue:{value:"null",computed:!1},tags:{}},totalItems:{type:{name:"number"},required:!1,description:"Total items. Equal items.length by default.",defaultValue:{value:"null",computed:!1},tags:{}},view:{type:{name:"enum",value:[{value:"'extended'",computed:!1},{value:"'tile'",computed:!1},{value:"'row'",computed:!1},{value:"'responsive'",computed:!1}]},required:!1,description:"View mode.",defaultValue:{value:"'extended'",computed:!1},tags:{}},onViewChange:{type:{name:"func"},required:!1,description:"View change callback.",defaultValue:{value:"null",computed:!1},tags:{}},viewSwitcher:{type:{name:"bool"},required:!1,description:"View switcher config.",defaultValue:{value:"false",computed:!1},tags:{}},selection:{type:{name:"array"},required:!1,description:"Array of keys of selected cards.",defaultValue:{value:"[]",computed:!1},tags:{}},onSelectionChange:{type:{name:"func"},required:!1,description:"Selection change handler for list. Checkboxes will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},selectionButton:{type:{name:"shape",value:{badge:{name:"union",value:[{name:"string"},{name:"object"}],description:"See [badge](#badge) for all props.",required:!1},menuItems:{name:"arrayOf",value:{name:"element"},description:"Array of additional [menuitems](#menuitem).",required:!1}}},required:!1,description:"Config for selection button in the toolbar.",defaultValue:{value:"{\r\n badge: null,\r\n menuItems: [],\r\n}",computed:!1},tags:{}},toolbarGroups:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"Toolbar groups for the toolbar.",defaultValue:{value:"[]",computed:!1},tags:{}},itemKey:{type:{name:"string"},required:!0,description:"Unique key.",tags:{}},itemRender:{type:{name:"func"},required:!0,description:"Render function for item.",tags:{}},loading:{type:{name:"bool"},required:!1,description:"Indicate the loading state of the list.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(700)}},function(e,t,n){e.exports={description:"`Card` component.\n",displayName:"Card",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Card`.",defaultValue:{value:"null",computed:!1},tags:{}},view:{type:{name:"enum",value:[{value:"'extended'",computed:!1},{value:"'tile'",computed:!1},{value:"'row'",computed:!1}]},required:!1,description:"View mode.",defaultValue:{value:"'extended'",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!0,description:"Text of title.",tags:{}},titleLink:{type:{name:"string"},required:!1,description:"Link for title.",defaultValue:{value:"''",computed:!1},tags:{}},subtitle:{type:{name:"node"},required:!1,description:"Text of subtitle.",defaultValue:{value:"''",computed:!1},tags:{}},labels:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"List of labels in header. See [Label](#label) component for details.",defaultValue:{value:"[]",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"shape",value:{icon:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}],required:!0},onClick:{name:"func",required:!0},tooltip:{name:"node",required:!1}}}},required:!1,description:"List of additional buttons in header.",defaultValue:{value:"[]",computed:!1},tags:{}},menu:{type:{name:"element"},required:!1,description:"See [Menu](#menu).",defaultValue:{value:"null",computed:!1},tags:{}},selection:{type:{name:"shape",value:{isSelected:{name:"bool",required:!0},onSelectionChange:{name:"func",required:!0}}},required:!1,description:"Selection control.",defaultValue:{value:"null",computed:!1},tags:{}},sideHeader:{type:{name:"element"},required:!1,description:"Side header section. Recommended to use [PreviewPanel](#previewpanel) component.",defaultValue:{value:"null",computed:!1},tags:{}},sideContent:{type:{name:"element"},required:!1,description:"Side content section.",defaultValue:{value:"null",computed:!1},tags:{}},rowContent:{type:{name:"any"},required:!1,description:"Content for row view.",defaultValue:{value:"null",computed:!1},tags:{}},progress:{type:{name:"union",value:[{name:"bool"},{name:"node"}]},required:!1,description:"Indicate the progress state of the card.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(701)}},function(e,t,n){e.exports={description:"`PreviewPanel` component.\n",displayName:"PreviewPanel",methods:[],props:{html:{type:{name:"string"},required:!1,description:"HTML content. Width of content will be adjusted to fit preview panel.",defaultValue:{value:"null",computed:!1},tags:{}},background:{type:{name:"string"},required:!1,description:"Background image content.",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"string"},required:!1,description:"Image content.",defaultValue:{value:"null",computed:!1},tags:{}},padding:{type:{name:"union",value:[{name:"number"},{name:"arrayOf",value:{name:"number"}}]},required:!1,description:"Padding of image content (in pixels). Could be a number or an array of numbers. Behavior as in CSS property `padding`.",defaultValue:{value:"0",computed:!1},tags:{}},alt:{type:{name:"string"},required:!1,description:"Alt property for an image.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"any"},required:!1,description:"Custom content for hover over preview panel. Hidden in card for the row view.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(702)}},function(e,t,n){e.exports={description:"Carousel component.\n",displayName:"Carousel",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Slides",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(703)}},function(e,t,n){e.exports={description:"`Checkbox` component.\n",displayName:"Checkbox",methods:[],props:{checked:{type:{name:"bool"},required:!1,description:"Determine whether the `Checkbox` is checked.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the checked state is changing.",defaultValue:{value:"undefined",computed:!0},tags:{}},tooltip:{type:{name:"node"},required:!1,description:"Tooltip for component",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"any"},required:!1,description:"Label of the `Checkbox`",defaultValue:{value:"undefined",computed:!0},tags:{}},inputProps:{type:{name:"object"},required:!1,description:"Additional props for input element",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(704)}},function(e,t,n){e.exports={description:"`CodeEditor` component.\n",displayName:"CodeEditor",methods:[],props:{mode:{type:{name:"union",value:[{name:"string"},{name:"object"}]},required:!1,description:"The mode to use. When not given, this will default to the first mode that was loaded.",defaultValue:{value:"''",computed:!1},tags:{}},fileName:{type:{name:"string"},required:!1,description:"CodeEditor can detect mode by file name. Will be ignored if you set mode property.",defaultValue:{value:"''",computed:!1},tags:{}},children:{type:{name:"string"},required:!1,description:"Content of the `CodeEditor`.",defaultValue:{value:"''",computed:!1},tags:{}},readOnly:{type:{name:"bool"},required:!1,description:"Set read only.",defaultValue:{value:"false",computed:!1},tags:{}},autofocus:{type:{name:"bool"},required:!1,description:"Set auto focus.",defaultValue:{value:"false",computed:!1},tags:{}},onInit:{type:{name:"func"},required:!1,description:"onInit event handler.",defaultValue:{value:"null",computed:!1},tags:{}},onChange:{type:{name:"func"},required:!1,description:"onChange event handler.",defaultValue:{value:"null",computed:!1},tags:{}},onSave:{type:{name:"func"},required:!1,description:"onSave event handler.",defaultValue:{value:"null",computed:!1},tags:{}},options:{type:{name:"object"},required:!1,description:"See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(705)}},function(e,t,n){e.exports={description:"ConsoleOutput component.\n",methods:[],displayName:"ConsoleOutput",props:{children:{type:{name:"node"},required:!1,description:"Console output content",defaultValue:{value:"null",computed:!1},tags:{}},wide:{type:{name:"bool"},required:!1,description:"Enable wide mode",defaultValue:{value:"false",computed:!1},tags:{}},cursor:{type:{name:"bool"},required:!1,description:"Enable cursor",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(706)}},function(e,t,n){e.exports={description:"The `Collapse` component shows and hides part of content.\n",displayName:"Cuttable",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the component.",defaultValue:{value:"null",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"Whether the component is open or closed.",defaultValue:{value:"true",computed:!1},tags:{}},maxHeight:{type:{name:"string"},required:!1,description:"Max height of content",defaultValue:{value:"'7rem'",computed:!1},tags:{}},locale:{type:{name:"shape",value:{showMore:{name:"any",required:!1},showLess:{name:"any",required:!1}}},required:!1,description:"Localization messages",defaultValue:{value:"{\r\n showMore: 'Show more',\r\n showLess: 'Show less',\r\n}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(707)}},function(e,t,n){e.exports={description:"`Dialog` component.\n",displayName:"Dialog",methods:[],props:{isOpen:{type:{name:"bool"},required:!1,description:"Toggles visibility.",defaultValue:{value:"false",computed:!1},tags:{}},banner:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Banner. Renders in front of content as wide as dialog.",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Image. Renders into content.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},cancelTitle:{type:{name:"node"},required:!1,description:'Title of "cancel" button',defaultValue:{value:"null",computed:!1},tags:{}},buttons:{type:{name:"node"},required:!1,description:'Buttons except "cancel" button',defaultValue:{value:"null",computed:!1},tags:{}},form:{type:{name:"object"},required:!1,description:"Wraps children into [Form](#form) if not empty.",defaultValue:{value:"null",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1}]},required:!1,description:"Dialog width",defaultValue:{value:"'md'",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:'On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.',defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `DialogWindow`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(708)}},function(e,t,n){e.exports={description:"`Drawer` component.\n",methods:[],displayName:"Drawer",props:{isOpen:{type:{name:"bool"},required:!1,description:"Toggles visibility.",defaultValue:{value:"false",computed:!1},tags:{}},title:{type:{name:"node"},required:!0,description:"The title of the `Drawer`.",tags:{}},subtitle:{type:{name:"node"},required:!1,description:"The subtitle of the `Drawer`.",defaultValue:{value:"''",computed:!1},tags:{}},backButton:{type:{name:"bool"},required:!1,description:"Show back button in the header. If true the close button is not show.",defaultValue:{value:"false",computed:!1},tags:{}},placement:{type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:"Overlay placement.",defaultValue:{value:"'left'",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1}]},required:!1,description:"Overlay size.",defaultValue:{value:"'md'",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"onClose handler.",defaultValue:{value:"null",computed:!1},tags:{}},form:{type:{name:"object"},required:!1,description:"Wraps children into [Form](#form) if not empty.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Drawer`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(709)}},function(e,t,n){e.exports={description:"`Dropdown` component is a [Button](#button) that opens a drop-down (nested) button menu.\nUse dropdown for grouping buttons that are not used often or are less important than others -- in other words,\nfor stuff that you don't want to show users all the time, especially if you have limited screen space.\n",displayName:"Dropdown",methods:[],props:{menu:{type:{name:"element"},required:!0,description:"Dropdown [menu](#menu).",tags:{}},menuPlacement:{type:{name:"string"},required:!1,description:"Menu placement.",defaultValue:{value:"'bottom-start'",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Dropdown`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(710)}},function(e,t,n){e.exports={description:"",methods:[],displayName:"ExtendedStatusMessage",props:{image:{type:{name:"any"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},examples:n(711)}},function(e,t,n){e.exports={description:"`FormFieldCheckbox` component.\n",methods:[],displayName:"FormFieldCheckbox",props:{disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}},checkedValue:{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"Custom checked value. Default is boolean true.",defaultValue:{value:"true",computed:!1},tags:{}},uncheckedValue:{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"Custom unchecked value. Default is boolean false.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(712)}},function(e,t,n){e.exports={description:"`FormFieldPassword` component.\n",displayName:"FormFieldPassword",methods:[],props:{hideShowButton:{type:{name:"bool"},required:!1,description:"Is show button hidden?",defaultValue:{value:"false",computed:!1},tags:{}},hideGenerateButton:{type:{name:"bool"},required:!1,description:"Is generate button hidden?",defaultValue:{value:"false",computed:!1},tags:{}},hidePasswordMeter:{type:{name:"bool"},required:!1,description:"Is password meter hidden?",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(713)}},function(e,t,n){e.exports={description:"`FormFieldRadioGroup` are used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.\n",displayName:"FormFieldRadioButtons",methods:[],props:{options:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",description:"Option value.",required:!0},label:{name:"node",description:"Option label.",required:!0},description:{name:"node",description:"Text hint located below option for providing additional information.",required:!1},disabled:{name:"bool",description:"Set true if option is not available to choice.",required:!1},indentFields:{name:"array",description:"Optional array of `FormField` components under this option.",required:!1}}}},required:!0,description:"Options definition.",tags:{}},value:{type:{name:"string"},required:!0,description:"Value of current chosen option.",tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(714)}},function(e,t,n){e.exports={description:"`FormFieldText` component.\n",displayName:"FormFieldText",methods:[],props:{size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'fill'",computed:!1}]},required:!1,description:"Size of the input",defaultValue:{value:"undefined",computed:!0},tags:{}},placeholder:{type:{name:"string"},required:!1,description:"Placeholder of the input",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(715)}},function(e,t,n){e.exports={description:"`FormField` component.\n",displayName:"FormField",methods:[],props:{id:{type:{name:"string"},required:!1,description:"Field ID.",defaultValue:{value:"undefined",computed:!0},tags:{}},name:{type:{name:"string"},required:!1,description:"Field name.",defaultValue:{value:"undefined",computed:!0},tags:{}},value:{type:{name:"any"},required:!1,description:"Field value.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the value is changing.",defaultValue:{value:"null",computed:!1},tags:{}},label:{type:{name:"any"},required:!1,description:"Field label.",defaultValue:{value:"undefined",computed:!0},tags:{}},description:{type:{name:"any"},required:!1,description:"Field description.",defaultValue:{value:"undefined",computed:!0},tags:{}},errors:{type:{name:"object"},required:!1,description:"Field errors.",defaultValue:{value:"{}",computed:!1},tags:{}},required:{type:{name:"bool"},required:!1,description:"Indicates whether field is required.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"union",value:[{name:"node"},{name:"func"}]},required:!1,description:"Content of the `FormField`.",defaultValue:{value:"undefined",computed:!0},tags:{}}},doclets:{},tags:{},examples:n(716)}},function(e,t,n){e.exports={description:"`Form` component.\n",displayName:"Form",methods:[],props:{requiredMark:{type:{name:"any"},required:!1,description:"Required mark.",defaultValue:{value:"<span className={`${CLS_PREFIX}form__required`}>{'*'}</span>",computed:!1},tags:{}},hideRequiredLegend:{type:{name:"bool"},required:!1,description:"Hide required legend.",defaultValue:{value:"false",computed:!1},tags:{}},values:{type:{name:"object"},required:!1,description:"Form values.",defaultValue:{value:"{}",computed:!1},tags:{}},errors:{type:{name:"object"},required:!1,description:"Form errors.",defaultValue:{value:"{}",computed:!1},tags:{}},state:{type:{name:"enum",value:[{value:"'submit'",computed:!1},{value:"'apply'",computed:!1},{value:"'cancel'",computed:!1}]},required:!1,description:"Current active state",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Form`.",defaultValue:{value:"null",computed:!1},tags:{}},submitButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Submit button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},applyButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Apply button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},cancelButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Cancel button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},additionalButtons:{type:{name:"array"},required:!1,description:"Additional buttons",defaultValue:{value:"[]",computed:!1},tags:{}},onSubmit:{type:{name:"func"},required:!1,description:"Submit handler",defaultValue:{value:"null",computed:!1},tags:{}},footerClassName:{type:{name:"string"},required:!1,description:"Additional class name for the buttons container.",defaultValue:{value:"null",computed:!1},tags:{}},vertical:{type:{name:"bool"},required:!1,description:"Form responsive view will be switched automatically.\r\nSpecify this parameter explicitly if you want disable this behaviour and choice vertical or horizontal form view.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(717)}},function(e,t,n){e.exports={description:"`GridCol` component.\n",methods:[],displayName:"GridCol",props:{children:{type:{name:"node"},required:!1,description:"Content of the `GridCol`.",defaultValue:{value:"null",computed:!1},tags:{}},xs:{type:{name:"number"},required:!1,description:"Column size for `xs` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},sm:{type:{name:"number"},required:!1,description:"Column size for `sm` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},md:{type:{name:"number"},required:!1,description:"Column size for `sm` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},lg:{type:{name:"number"},required:!1,description:"Column size for `md` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},xl:{type:{name:"number"},required:!1,description:"Column size for `lg` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(718)}},function(e,t,n){e.exports={description:"`Grid` component.\n",displayName:"Grid",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Grid`.",defaultValue:{value:"null",computed:!1},tags:{}},minColumnWidth:{type:{name:"number"},required:!1,description:"Minimal column width",defaultValue:{value:"null",computed:!1},tags:{}},maxColumnsNumber:{type:{name:"union",value:[{name:"number"},{name:"func"}]},required:!1,description:"Maximum columns number",defaultValue:{value:"6",computed:!1},tags:{}},xs:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `xs` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},sm:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `sm` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},md:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `md` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},lg:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `lg` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},xl:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `xl` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},gap:{type:{name:"enum",value:[{value:"'xs'",computed:!1},{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1}]},required:!1,description:"Specifying the gutters between grid items",defaultValue:{value:"null",computed:!1},tags:{}},onColumnsChange:{type:{name:"func"},required:!1,description:"Columns number change notifier",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(719)}},function(e,t,n){e.exports={description:"`Hint` component.\n",methods:[],displayName:"Hint",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Hint`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(720)}},function(e,t,n){e.exports={description:"`Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to\nbring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part\nof a [Button](#button) and helps differentiate this particular [Button](#button) from others. `Icons` come in several\nstandard sizes.\n",methods:[],displayName:"Icon",props:{name:{type:{name:"enum",value:[{value:"'i-filter-02'",computed:!1},{value:"'i-filter-check-mark'",computed:!1},{value:"'i-sliders'",computed:!1},{value:"'i-two-sheets-blank'",computed:!1},{value:"'i-server-arrow-left'",computed:!1},{value:"'i-server-refresh'",computed:!1},{value:"'i-two-arrows-refresh-04'",computed:!1},{value:"'i-circle-check-mark'",computed:!1},{value:"'i-check-mark'",computed:!1},{value:"'i-monitor-refresh'",computed:!1},{value:"'i-three-dots'",computed:!1},{value:"'i-square-arrow-up-04'",computed:!1},{value:"'i-square-arrow-down-04'",computed:!1},{value:"'i-shield-star'",computed:!1},{value:"'i-trash-can-04'",computed:!1},{value:"'i-menu'",computed:!1},{value:"'i-folder-blank-closed-02'",computed:!1},{value:"'i-arrow-refresh-02'",computed:!1},{value:"'i-eye-03'",computed:!1},{value:"'i-www-site-picture-text'",computed:!1},{value:"'i-cloud-refresh'",computed:!1},{value:"'i-broken-chain'",computed:!1},{value:"'i-monitor-arrow-down'",computed:!1},{value:"'i-eye-02'",computed:!1},{value:"'i-arrows-looping-06'",computed:!1},{value:"'i-circle-plus-02'",computed:!1},{value:"'i-circle-cross-mark-02'",computed:!1},{value:"'i-circle-question-mark-02'",computed:!1},{value:"'i-circle-check-mark-02'",computed:!1},{value:"'i-circle-minus-02'",computed:!1},{value:"'i-circle-info-02'",computed:!1},{value:"'i-circle-exclamation-mark-02'",computed:!1},{value:"'i-pencil-02'",computed:!1},{value:"'i-magnifying-glass'",computed:!1},{value:"'i-circle-exclamation-mark'",computed:!1},{value:"'i-cross-mark'",computed:!1},{value:"'i-plus'",computed:!1},{value:"'i-circle-question-mark'",computed:!1},{value:"'i-arrow-up-07'",computed:!1},{value:"'i-arrow-down-07'",computed:!1},{value:"'i-arrow-right-07'",computed:!1},{value:"'i-arrow-left-07'",computed:!1},{value:"'i-arrow-up-06'",computed:!1},{value:"'i-arrow-down-06'",computed:!1},{value:"'i-trashcan'",computed:!1},{value:"'i-four-squares'",computed:!1},{value:"'i-shopping-cart-02'",computed:!1},{value:"'i-chain'",computed:!1},{value:"'i-gear'",computed:!1},{value:"'i-list'",computed:!1},{value:"'i-pencil'",computed:!1},{value:"'i-circle-cross-mark'",computed:!1},{value:"'i-circle-plus'",computed:!1},{value:"'i-circle-minus'",computed:!1},{value:"'i-circle-info'",computed:!1},{value:"'i-folder-blank-open'",computed:!1}]},required:!1,description:"Name of the icon",defaultValue:{value:"null",computed:!1},tags:{}},src:{type:{name:"string"},required:!1,description:"Url to custom image",defaultValue:{value:"null",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'xxl'",computed:!1}]},required:!1,description:"Size of the icon",defaultValue:{value:"null",computed:!1},tags:{}},thin:{type:{name:"bool"},required:!1,description:"Thin version of SVG icons",defaultValue:{value:"false",computed:!1},tags:{}},alt:{type:{name:"string"},required:!1,description:"Alternative text for image",defaultValue:{value:"''",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the icon",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(721)}},function(e,t,n){e.exports={description:"`Input` component.\n",methods:[],displayName:"Input",props:{type:{type:{name:"string"},required:!1,description:"The HTML input type.",defaultValue:{value:"'text'",computed:!1},tags:{}},size:{type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'fill'",computed:!1}]}]},required:!1,description:"Size of the input",defaultValue:{value:"'md'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(722)}},function(e,t,n){e.exports={description:"`ItemList` component.\n",displayName:"ItemList",methods:[],props:{reorderable:{type:{name:"bool"},required:!1,description:"Enable reorderable view.",defaultValue:{value:"false",computed:!1},tags:{}},onReorderEnd:{type:{name:"func"},required:!1,description:"Reorder end handler.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `ItemList`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(723)}},function(e,t,n){e.exports={description:"`Item` component.\n",displayName:"Item",methods:[],props:{component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.",defaultValue:{value:"'div'",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!0,description:"Icon",tags:{}},title:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Item`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(724)}},function(e,t,n){e.exports={description:"Label component.\n",methods:[],displayName:"Label",props:{children:{type:{name:"any"},required:!1,description:"Content of the Label",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'inactive'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'info'",computed:!1}]},required:!1,description:"Intent of the Label",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(725)}},function(e,t,n){e.exports={description:"`List` component.\n",displayName:"List",methods:[],props:{columns:{type:{name:"arrayOf",value:{name:"shape",value:{key:{name:"string",description:"Unique column key.",required:!0},title:{name:"node",description:"Column title.",required:!1},render:{name:"func",description:"Optional cell renderer function: `row => Component`. By default render value of cell.",required:!1},sortable:{name:"bool",description:"Is column sortable.\r\nDefault is `false`",required:!1},sort:{name:"func",description:"Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`",required:!1}}}},required:!0,description:"Columns definition.\r\n\nIn addition to the properties described below, you can use any native properties\r\nsupported by the `TH` element like `width`, `className`, `style`, etc.",tags:{}},data:{type:{name:"arrayOf",value:{name:"shape",value:{key:{name:"string",description:"Unique column key. This property can by renamed using `rowKey` property of List.",required:!1},disabled:{name:"bool",description:"Optional property for disabling ability to select this row.",required:!1}}}},required:!1,description:"Array of row objects.\r\n\nEach row must contains `key` property, all columns keys, and can contain `disabled` property.",defaultValue:{value:"[]",computed:!1},tags:{}},sortColumn:{type:{name:"string"},required:!1,description:"Current sort column key",defaultValue:{value:"null",computed:!1},tags:{}},sortDirection:{type:{name:"enum",value:[{value:"'ASC'",computed:!1},{value:"'DESC'",computed:!1}]},required:!1,description:"Sort direction of the column being sorted.",defaultValue:{value:"'ASC'",computed:!1},tags:{}},onSortChange:{type:{name:"func"},required:!1,description:"Sort change handler",defaultValue:{value:"null",computed:!1},tags:{}},selection:{type:{name:"array"},required:!1,description:"Array of keys of selected rows",defaultValue:{value:"[]",computed:!1},tags:{}},onSelectionChange:{type:{name:"func"},required:!1,description:"Selection change handler for list. Checkboxes will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},rowKey:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Row's key getter. Could be a string or function like: `row => <unique_string>`",defaultValue:{value:"'key'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(726)}},function(e,t,n){e.exports={description:"LocaleProvider provides a uniform localization support for built-in text of components.\n",displayName:"LocaleProvider",methods:[],props:{messages:{type:{name:"object"},required:!0,description:"Localization messages",tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(727)}},function(e,t,n){e.exports={description:"Markdown component.\n",methods:[],displayName:"Markdown",props:{children:{type:{name:"string"},required:!0,description:"Content of the Markdown",tags:{}},compact:{type:{name:"bool"},required:!1,description:"Compact mode",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(728)}},function(e,t,n){e.exports={description:"`Media` component.\n",methods:[],displayName:"Media",props:{title:{type:{name:"node"},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},titleAddon:{type:{name:"node"},required:!1,description:"Title addon",defaultValue:{value:"null",computed:!1},tags:{}},titleSize:{type:{name:"enum",value:[{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1}]},required:!1,description:"Title size",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"any"},required:!1,description:"Image",defaultValue:{value:"null",computed:!1},tags:{}},imageSpacing:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'xxl'",computed:!1}]},required:!1,description:"Spacings between image and content",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Media`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(729)}},function(e,t,n){e.exports={description:"`MediaSection` component.\n",methods:[],displayName:"MediaSection",props:{children:{type:{name:"node"},required:!1,description:"Content of the `MediaSection`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(730)}},function(e,t,n){e.exports={description:"`Menu` component.\n",methods:[],displayName:"Menu",props:{onItemClick:{type:{name:"func"},required:!1,description:"Triggered when menu item was clicked.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Menu`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(731)}},function(e,t,n){e.exports={description:"`MenuDivider` component.\n",methods:[],displayName:"MenuDivider",props:{},doclets:{},tags:{},examples:n(732)}},function(e,t,n){e.exports={description:"`MenuHeader` component.\n",methods:[],displayName:"MenuHeader",props:{children:{type:{name:"node"},required:!1,description:"Content of the `MenuHeader`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(733)}},function(e,t,n){e.exports={description:"`MenuItem` component.\n",methods:[],displayName:"MenuItem",props:{active:{type:{name:"bool"},required:!1,description:"Whether item is active.",defaultValue:{value:"false",computed:!1},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Whether item is disabled.",defaultValue:{value:"false",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon",defaultValue:{value:"null",computed:!1},tags:{}},label:{type:{name:"node"},required:!1,description:"Right label of item.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `MenuItem`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(734)}},function(e,t,n){e.exports={description:"`MenuSelectableItem` component.\n",methods:[],displayName:"MenuSelectableItem",props:{selected:{type:{name:"bool"},required:!1,description:"Whether item is selected.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `MenuSelectableItem`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(735)}},function(e,t,n){e.exports={description:"`Pagination` component.\n",methods:[],displayName:"Pagination",props:{total:{type:{name:"number"},required:!0,description:"Number of pages in pagination.",tags:{}},current:{type:{name:"number"},required:!1,description:"Current page number.",defaultValue:{value:"1",computed:!1},tags:{}},onSelect:{type:{name:"func"},required:!0,description:"On select callback.",tags:{}},maxPageButtons:{type:{name:"number"},required:!1,description:"Max page buttons.",defaultValue:{value:"11",computed:!1},tags:{}},isShowPageButtons:{type:{name:"bool"},required:!1,description:"Set false if want to hide page buttons.",defaultValue:{value:"null",computed:!1},tags:{}},isShowNavigationButtons:{type:{name:"bool"},required:!1,description:"Set false if want to hide navigation buttons.",defaultValue:{value:"true",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(736)}},function(e,t,n){e.exports={description:"Panel component.\n",displayName:"Panel",methods:[],props:{title:{type:{name:"node"},required:!1,description:"Panel title.",defaultValue:{value:"null",computed:!1},tags:{}},collapsible:{type:{name:"bool"},required:!1,description:"Is panel collapsible.",defaultValue:{value:"false",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},onToggle:{type:{name:"func"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(737)}},function(e,t,n){e.exports={description:"Plaintext component.\n",methods:[],displayName:"Plaintext",props:{children:{type:{name:"string"},required:!0,description:"Content of the Plaintext",tags:{}}},doclets:{},tags:{},examples:n(738)}},function(e,t,n){e.exports={description:"Popover component.\n",displayName:"Popover",methods:[],props:{target:{type:{name:"element"},required:!0,description:"The reference element used to position the popover.",tags:{}},visible:{type:{name:"bool"},required:!1,description:"Popover visibility. For controlled component only.",defaultValue:{value:"null",computed:!1},tags:{}},defaultVisible:{type:{name:"bool"},required:!1,description:"Popover default (on init) visibility. For uncontrolled component only.",defaultValue:{value:"false",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Popover title. Header will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Click handler for close button. If it is not defined then default behavior (hide popover) will be used.",defaultValue:{value:"null",computed:!1},tags:{}},placement:{type:{name:"enum",value:[{value:"'auto'",computed:!1},{value:"'top-left'",computed:!1},{value:"'top'",computed:!1},{value:"'top-right'",computed:!1},{value:"'right-top'",computed:!1},{value:"'right'",computed:!1},{value:"'right-bottom'",computed:!1},{value:"'bottom-right'",computed:!1},{value:"'bottom'",computed:!1},{value:"'bottom-left'",computed:!1},{value:"'left-bottom'",computed:!1},{value:"'left'",computed:!1},{value:"'left-top'",computed:!1}]},required:!1,description:"Popover placement",defaultValue:{value:"'auto'",computed:!1},tags:{}},canCloseOnOutsideClick:{type:{name:"bool"},required:!1,description:"Indicating if clicking outside the popover should close it.",defaultValue:{value:"true",computed:!1},tags:{}},canCloseOnEscapePress:{type:{name:"bool"},required:!1,description:"Indicating if pressing the escape key should close the popover.",defaultValue:{value:"true",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the Popover",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(739)}},function(e,t,n){e.exports={description:"Rating component.\n",methods:[],displayName:"Rating",props:{value:{type:{name:"number"},required:!1,description:"Rating value from 0 to 5.",defaultValue:{value:"0",computed:!1},tags:{}},small:{type:{name:"bool"},required:!1,description:"Small variant.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(740)}},function(e,t,n){e.exports={description:"`Section` component.\n",displayName:"Section",methods:[],props:{title:{type:{name:"node"},required:!1,description:"Title of the section.",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'danger'",computed:!1},{value:"'warning'",computed:!1},{value:"'success'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},collapsible:{type:{name:"bool"},required:!1,description:"Is section collapsible.",defaultValue:{value:"false",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"Is section collapsed now.",defaultValue:{value:"false",computed:!1},tags:{}},onTitleChange:{type:{name:"func"},required:!1,description:"Event handler of title change with inline editing form.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Event handler of closing section with X-sign at the right.",defaultValue:{value:"null",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"Array of custom section action button at the right.",defaultValue:{value:"null",computed:!1},tags:{}},vertical:{type:{name:"bool"},required:!1,description:"Vertical or horizontal section view.\r\nSection view will be automatically switched if this parameter is not specified explicitly.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Section`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(741)}},function(e,t,n){e.exports={description:"`SectionItem` component. Used as row in `Section` component.\n",methods:[],displayName:"SectionItem",props:{children:{type:{name:"node"},required:!1,description:"Content of the `SectionItem`.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Title of the section item.",defaultValue:{value:"null",computed:!1},tags:{}},actions:{type:{name:"bool"},required:!1,description:"Is this section item contains actions? If it so than there should be extra whitespaces.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(742)}},function(e,t,n){e.exports={description:"`Segmented Control` is a group of several [Buttons](#button) typically used for switching between\ndifferent content views (list, tiles, and so on). Since there can only be one current content view for a\nparticular content, one of the buttons in a group is always active, and only one button should be active at a time.\nThe buttons are displayed in-line and can contain text, images or both.\n",displayName:"SegmentedControl",methods:[],props:{label:{type:{name:"node"},required:!1,description:"Label",defaultValue:{value:"null",computed:!1},tags:{}},labelPlacement:{type:{name:"enum",value:[{value:"'top'",computed:!1},{value:"'left'",computed:!1}]},required:!1,description:"Where to place label",defaultValue:{value:"'top'",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"any",required:!0},title:{name:"node",required:!1}}}},required:!0,description:'Array of buttons to display (every array item must contain an unique "value" property)',tags:{}},monospaced:{type:{name:"bool"},required:!1,description:"Monospaced version of buttons (all button would have the same width).\r\nAttention: using it with buttons dynamic update may cause to wrong behavior!",defaultValue:{value:"false",computed:!1},tags:{}},multiple:{type:{name:"bool"},required:!1,description:"Multiple selected options version (any number of buttons can be selected)",defaultValue:{value:"false",computed:!1},tags:{}},selected:{type:{name:"union",value:[{name:"any"},{name:"arrayOf",value:{name:"any"}}]},required:!0,description:"Selected value or an array of values (for multiple version).\r\nUsed in controlled version or as default value in uncontrolled version (with onChange property)",tags:{}},onChange:{type:{name:"func"},required:!1,description:"On change selection callback for uncontrolled mode.",defaultValue:{value:"null",computed:!1},tags:{}},inline:{type:{name:"bool"},required:!1,description:"Should component displays as inline element?",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(743)}},function(e,t,n){e.exports={description:"`Split Button` is a combination of a standard [button](#button) with a [drop-down](#dropdown) menu.\nIt is used for grouping several related actions when one of the actions should be accessible immediately\nbecause it is used more often than others.\n",methods:[],displayName:"SplitButton",props:{menu:{type:{name:"any"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},opened:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the button group",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(744)}},function(e,t,n){e.exports={description:"`Status` component.\n",methods:[],displayName:"Status",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Status`.",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon of the Status.",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'danger'",computed:!1},{value:"'warning'",computed:!1},{value:"'success'",computed:!1},{value:"'info'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},rightAddon:{type:{name:"node"},required:!1,description:"Right additional content.",defaultValue:{value:"null",computed:!1},tags:{}},bottomAddon:{type:{name:"node"},required:!1,description:"Bottom additional content.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(745)}},function(e,t,n){e.exports={description:"Subnav component.\n",methods:[],displayName:"Subnav",props:{children:{type:{name:"node"},required:!1,description:"Subnav items",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(746)}},function(e,t,n){e.exports={description:"`Switch` component.\n",displayName:"Switch",methods:[],props:{checked:{type:{name:"bool"},required:!1,description:"Determine whether the `Switch` is checked.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the checked state is changing.",defaultValue:{value:"undefined",computed:!0},tags:{}},tooltip:{type:{name:"any"},required:!1,description:"Tooltip for component",defaultValue:{value:"undefined",computed:!0},tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Is `Switch` disabled?",defaultValue:{value:"false",computed:!1},tags:{}},loading:{type:{name:"bool"},required:!1,description:"Loading indication",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Label of the `Switch`",defaultValue:{value:"undefined",computed:!0},tags:{}}},doclets:{},tags:{},examples:n(747)}},function(e,t,n){e.exports={description:"`SwitchesPanelItem` component.\n",displayName:"SwitchesPanelItem",methods:[],props:{onChange:{type:{name:"func"},required:!0,description:"A callback function, can be executed when the checked state is changing.",tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"string"},required:!0,description:"Title of the `SwitchesPanelItem`. Must be no longer than two lines.",tags:{}},description:{type:{name:"string"},required:!1,description:"`SwitchesPanelItem` description. Must be no longer than three lines.",defaultValue:{value:"null",computed:!1},tags:{}},fullDescription:{type:{name:"node"},required:!1,description:"Rich full description of the `SwitchesPanelItem`.\r\nAdds control button with question mark that shows `Popover` on click.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the control actions.\r\nDon't place here more than three buttons (with the one from 'fullDescription' property) or one link and one button.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(748)}},function(e,t,n){e.exports={description:"`SwitchesPanel` component.\nUsed to organize [SwitchesPanelItem](#switchespanelitem) components with responsive section layout.\nInherits properties of [Section](#section) component.\n",methods:[],displayName:"SwitchesPanel",props:{children:{type:{name:"node"},required:!1,description:"Content of the `SwitchesPanel`. Recommended to use [SwitchesPanelItem](#switchespanelitem) components.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(749)}},function(e,t,n){e.exports={description:"SearchBar component.\n",displayName:"SearchBar",methods:[],props:{maxWidth:{type:{name:"number"},required:!1,description:"Maximum width of SearchBar",defaultValue:{value:"500",computed:!1},tags:{}},minWidth:{type:{name:"number"},required:!1,description:"Minimum width of SearchBar",defaultValue:{value:"270",computed:!1},tags:{}},leftAddon:{type:{name:"element"},required:!1,description:"Addon in the left side or SearchBar.",defaultValue:{value:"null",computed:!1},tags:{}},loading:{type:{name:"bool"},required:!1,description:"Should disable input and show spinner or not.",defaultValue:{value:"false",computed:!1},tags:{}},responsive:{type:{name:"bool"},required:!1,description:"Should collapse input or not. Used for control in independence of context.",defaultValue:{value:"null",computed:!1},tags:{}},onSearch:{type:{name:"func"},required:!1,description:"Callback for pressing 'Enter' key or 'Search' button.\r\n\narguments:\r\n* value - search value\r\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},onTyping:{type:{name:"func"},required:!1,description:"Callback for pressing any key in input. Used for a live search.\r\n\narguments:\r\n* value - search value\r\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},onItemSelect:{type:{name:"func"},required:!1,description:"Callback for selecting menu item with mouse click or key pressing.\r\n\narguments:\r\n* value - selected value\r\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},results:{type:{name:"union",value:[{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",required:!0},title:{name:"string",required:!0}}}},{name:"element"}]},required:!1,description:'Results to display.\r\nCould be specified by array of objects with "value" and "title" properties or by Menu component.\r\nIf Menu component is used then key property of MenuItem will be treated as value.',defaultValue:{value:"null",computed:!1},tags:{}},inputProps:{type:{name:"object"},required:!1,description:"Props of underlying input element.",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(750)}},function(e,t,n){e.exports={description:"Tab component.\n",methods:[],displayName:"Tab",props:{title:{type:{name:"node"},required:!0,description:"Tab title",tags:{}},label:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!1,description:"Label in tab title",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Name of icon or Icon component for tab",defaultValue:{value:"null",computed:!1},tags:{}},onActivate:{type:{name:"func"},required:!1,description:"Activate callback.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Close callback",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Tab content",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(751)}},function(e,t,n){e.exports={description:"`Tabs` component is a content area with a group of individual [Tab](#tab) elements, each displaying different content\nin the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so\nthe content is broken into logical groups and each group is displayed under its own [Tab](#tab) that serves both as a\ngroup name and a navigation button.\n",displayName:"Tabs",methods:[],props:{active:{type:{name:"number"},required:!1,description:"Number of active tab",defaultValue:{value:"1",computed:!1},tags:{}},addon:{type:{name:"element"},required:!1,description:"Addon for search bar, dropdown etc.",defaultValue:{value:"null",computed:!1},tags:{}},placeholder:{type:{name:"element"},required:!1,description:"Placeholder for search bar, dropdown etc.",defaultValue:{value:"null",computed:!1},tags:{deprecated:[{title:"deprecated",description:"Do not use! Use `addon` instead!"}]}},addonMinWidth:{type:{name:"number"},required:!1,description:"Minimum add-on width in pixels",defaultValue:{value:"null",computed:!1},tags:{}},monospaced:{type:{name:"bool"},required:!1,description:"Monospaced version of tabs (all visible tabs as wide as widest of them)",defaultValue:{value:"null",computed:!1},tags:{}},search:{type:{name:"element"},required:!1,description:"[SearchBar](#searchbar) element",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"union",value:[{name:"arrayOf",value:{name:"element"}},{name:"element"}]},required:!1,description:"[Tabs](#tab)",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(752)}},function(e,t,n){e.exports={description:"Toaster component.\n",displayName:"Toaster",methods:[{name:"add",docblock:"Add a new toast\r\n\n@param {Object} props Toast props { type, message }\r\n@returns {string} New toast key\r\n@public",modifiers:[],params:[{name:"props",description:"Toast props { type, message }",type:{name:"Object"},optional:void 0}],returns:{description:"New toast key",type:{name:"string"}},description:"Add a new toast",tags:{param:[{title:"param",description:"Toast props { type, message }",type:{type:"NameExpression",name:"Object"},name:"props"}],returns:[{title:"returns",description:"New toast key",type:{type:"NameExpression",name:"string"}}],public:[{title:"public",description:null}]}},{name:"update",docblock:"Update toast by key\r\n\n@param {string} key\r\n@param {Object} props New props\r\n@returns {string} Updated toast key\r\n@public",modifiers:[],params:[{name:"key",description:null,type:{name:"string"},optional:void 0},{name:"props",description:"New props",type:{name:"Object"},optional:void 0}],returns:{description:"Updated toast key",type:{name:"string"}},description:"Update toast by key",tags:{param:[{title:"param",description:null,type:{type:"NameExpression",name:"string"},name:"key"},{title:"param",description:"New props",type:{type:"NameExpression",name:"Object"},name:"props"}],returns:[{title:"returns",description:"Updated toast key",type:{type:"NameExpression",name:"string"}}],public:[{title:"public",description:null}]}},{name:"remove",docblock:"Remove toast by key\r\n\n@param {string} key\r\n@public",modifiers:[],params:[{name:"key",description:null,type:{name:"string"},optional:void 0}],returns:null,description:"Remove toast by key",tags:{param:[{title:"param",description:null,type:{type:"NameExpression",name:"string"},name:"key"}],public:[{title:"public",description:null}]}},{name:"clear",docblock:"Clear all toasts\r\n\n@public",modifiers:[],params:[],returns:null,description:"Clear all toasts",tags:{public:[{title:"public",description:null}]}}],props:{position:{type:{name:"enum",value:[{value:"'top'",computed:!1}]},required:!1,description:"Toaster position",defaultValue:{value:"'top'",computed:!1},tags:{}},toasts:{type:{name:"array"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(753)}},function(e,t,n){e.exports={description:"`Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.\nToolbar is located on top of the managed content block.\nIt typically consists of three main parts: controls that add new elements, controls that work with existing elements,\nand controls for changing the way the content block looks.\n",displayName:"Toolbar",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Toolbar`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(754)}},function(e,t,n){e.exports={description:"`ToolbarExpander` is a part of the [Toolbar](#toolbar) component. It is used to split all toolbar controls into two groups:\nall controls before ToolbarExpander are aligned left, and all controls after ToolbarExpander are aligned right.\n\n`ToolbarExpander` can also be used to create equal space between several control groups in a toolbar.\n",methods:[],displayName:"ToolbarExpander",props:{children:{type:{name:"node"},required:!1,description:"Content of the `ToolbarExpander`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(755)}},function(e,t,n){e.exports={description:"`ToolbarGroup` is a part of the [Toolbar](#toolbar) component similar to [ButtonGroup](#buttongroup).\nIt is used for grouping several toolbar controls together.\n",displayName:"ToolbarGroup",methods:[],props:{title:{type:{name:"node"},required:!0,description:"Title.",tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `ToolbarGroup`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(756)}},function(e,t,n){e.exports={description:"Tooltip component.\n",displayName:"Tooltip",methods:[],props:{title:{type:{name:"node"},required:!0,description:"Content of the tooltip",tags:{}},delay:{type:{name:"number"},required:!1,description:"Show delay (ms)",defaultValue:{value:"550",computed:!1},tags:{}},children:{type:{name:"element"},required:!0,description:"Element with tooltip",tags:{}}},doclets:{},tags:{},examples:n(757)}},function(e,t,n){e.exports={description:"`Translate` component.\n",methods:[],displayName:"Translate",props:{content:{type:{name:"string"},required:!1,description:"Translatable content or message key.",defaultValue:{value:"null",computed:!1},tags:{}},params:{type:{name:"object"},required:!1,description:"Message params",defaultValue:{value:"null",computed:!1},tags:{}},fallback:{type:{name:"string"},required:!1,description:"Fallback translation value.",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"string"},required:!1,description:"Component to render as the root element. Useful when rendering a `Translate` as `<option>`.",defaultValue:{value:"'span'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(758)}},function(e,t,n){var o=n(692);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!0};r.transform=void 0;n(217)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){e.exports={config:{title:"Plesk UI Library 0.4.0",highlightTheme:"base16-light",showCode:!1,showUsage:!1,showSidebar:!0,previewDelay:500,theme:{color:{link:"#2498e3",linkHover:"#188dd9"},fontFamily:{base:["Open Sans Tilde","Open Sans","Helvetica Neue","Helvetica","sans-serif"]},fontSize:{base:"inherit",text:"inherit"}},styles:{StyleGuide:{root:{isolate:!1},hasSidebar:{isolate:!1,paddingLeft:220},sidebar:{isolate:!1,width:220},content:{isolate:!1}},Link:{link:{isolate:!1}},ComponentsList:{list:{isolate:!1},item:{isolate:!1},isChild:{isolate:!1},heading:{isolate:!1}},TableOfContents:{root:{isolate:!1}},Sections:{root:{isolate:!1}},Section:{root:{isolate:!1}},ReactComponent:{root:{isolate:!1}},Examples:{root:{isolate:!1}},Playground:{root:{isolate:!1},preview:{isolate:!1,backgroundColor:"white",backgroundImage:"linear-gradient(45deg,#efefef 25%,transparent 0,transparent 75%,#efefef 0,#efefef),linear-gradient(45deg,#efefef 25%,transparent 0,transparent 75%,#efefef 0,#efefef)",backgroundPosition:"0 0,10px 10px",backgroundSize:"20px 20px"}}},compilerConfig:{objectAssign:"Object.assign"},editorConfig:{theme:"base16-light",mode:"jsx",lineWrapping:!0,smartIndent:!1,matchBrackets:!0,viewportMargin:1/0,lineNumbers:!1}},welcomeScreen:!1,patterns:void 0,sections:[{name:"Introduction",description:void 0,slug:"introduction",components:[],sections:[{name:"Installation",description:void 0,slug:"installation",components:[],sections:[],content:n(760)},{name:"Usage example",description:void 0,slug:"usage-example",components:[],sections:[],content:n(762)},{name:"Components",description:void 0,slug:"components",components:[],sections:[],content:n(759)}],content:n(761)},{name:"Buttons",description:void 0,slug:"buttons",components:[{filepath:"..\\src\\components\\Button\\Button.js",slug:"button",pathLine:"import { Button } from '@plesk/ui-library';",module:n(106),props:n(769),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\ButtonGroup\\ButtonGroup.js",slug:"buttongroup",pathLine:"import { ButtonGroup } from '@plesk/ui-library';",module:n(105),props:n(768),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Dropdown\\Dropdown.js",slug:"dropdown",pathLine:"import { Dropdown } from '@plesk/ui-library';",module:n(115),props:n(780),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\SplitButton\\SplitButton.js",slug:"splitbutton",pathLine:"import { SplitButton } from '@plesk/ui-library';",module:n(151),props:n(814),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Toolbar\\Toolbar.js",slug:"toolbar",pathLine:"import { Toolbar } from '@plesk/ui-library';",module:n(162),props:n(824),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Toolbar\\ToolbarGroup.js",slug:"toolbargroup",pathLine:"import { ToolbarGroup } from '@plesk/ui-library';",module:n(164),props:n(826),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Toolbar\\ToolbarExpander.js",slug:"toolbarexpander",pathLine:"import { ToolbarExpander } from '@plesk/ui-library';",module:n(163),props:n(825),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\SegmentedControl\\SegmentedControl.js",slug:"segmentedcontrol",pathLine:"import { SegmentedControl } from '@plesk/ui-library';",module:n(150),props:n(813),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Graphic",description:void 0,slug:"graphic",components:[{filepath:"..\\src\\components\\Icon\\Icon.js",slug:"icon",pathLine:"import { Icon } from '@plesk/ui-library';",module:n(62),props:n(791),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Navigation",description:void 0,slug:"navigation",components:[{filepath:"..\\src\\components\\Tabs\\Tabs.js",slug:"tabs",pathLine:"import { Tabs } from '@plesk/ui-library';",module:n(160),props:n(822),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Tabs\\Tab.js",slug:"tab",pathLine:"import { Tab } from '@plesk/ui-library';",module:n(70),props:n(821),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Tabs\\SearchBar.js",slug:"searchbar",pathLine:"import { SearchBar } from '@plesk/ui-library';",module:n(159),props:n(820),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Subnav\\Subnav.js",slug:"subnav",pathLine:"import { Subnav } from '@plesk/ui-library';",module:n(153),props:n(816),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\AuxiliaryActions\\AuxiliaryActions.js",slug:"auxiliaryactions",pathLine:"import { AuxiliaryActions } from '@plesk/ui-library';",module:n(102),props:n(766),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Menu",description:void 0,slug:"menu",components:[{filepath:"..\\src\\components\\Menu\\Menu.js",slug:"menu-1",pathLine:"import { Menu } from '@plesk/ui-library';",module:n(138),props:n(801),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Menu\\MenuItem.js",slug:"menuitem",pathLine:"import { MenuItem } from '@plesk/ui-library';",module:n(40),props:n(804),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Menu\\MenuSelectableItem.js",slug:"menuselectableitem",pathLine:"import { MenuSelectableItem } from '@plesk/ui-library';",module:n(66),props:n(805),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Menu\\MenuHeader.js",slug:"menuheader",pathLine:"import { MenuHeader } from '@plesk/ui-library';",module:n(140),props:n(803),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Menu\\MenuDivider.js",slug:"menudivider",pathLine:"import { MenuDivider } from '@plesk/ui-library';",module:n(139),props:n(802),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Data Display",description:void 0,slug:"data-display",components:[{filepath:"..\\src\\components\\List\\List.js",slug:"list",pathLine:"import { List } from '@plesk/ui-library';",module:n(132),props:n(796),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\ItemList\\ItemList.js",slug:"itemlist",pathLine:"import { ItemList } from '@plesk/ui-library';",module:n(128),props:n(793),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Item\\Item.js",slug:"item",pathLine:"import { Item } from '@plesk/ui-library';",module:n(129),props:n(794),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\CardList\\CardList.js",slug:"cardlist",pathLine:"import { CardList } from '@plesk/ui-library';",module:n(56),props:n(770),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Card\\Card.js",slug:"card",pathLine:"import { Card } from '@plesk/ui-library';",module:n(107),props:n(771),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Card\\PreviewPanel.js",slug:"previewpanel",pathLine:"import { PreviewPanel } from '@plesk/ui-library';",module:n(57),props:n(772),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Pagination\\Pagination.js",slug:"pagination",pathLine:"import { Pagination } from '@plesk/ui-library';",module:n(141),props:n(806),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Form",description:void 0,slug:"form",components:[{filepath:"..\\src\\components\\Form\\Form.js",slug:"form-1",pathLine:"import { Form } from '@plesk/ui-library';",module:n(123),props:n(787),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\FormField\\FormField.js",slug:"formfield",pathLine:"import { FormField } from '@plesk/ui-library';",module:n(122),props:n(786),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\FormFieldText\\FormFieldText.js",slug:"formfieldtext",pathLine:"import { FormFieldText } from '@plesk/ui-library';",module:n(121),props:n(785),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\FormFieldPassword\\FormFieldPassword.js",slug:"formfieldpassword",pathLine:"import { FormFieldPassword } from '@plesk/ui-library';",module:n(119),props:n(783),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\FormFieldCheckbox\\FormFieldCheckbox.js",slug:"formfieldcheckbox",pathLine:"import { FormFieldCheckbox } from '@plesk/ui-library';",module:n(118),props:n(782),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\FormFieldRadioButtons\\FormFieldRadioButtons.js",slug:"formfieldradiobuttons",pathLine:"import { FormFieldRadioButtons } from '@plesk/ui-library';",module:n(120),props:n(784),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Layout",description:void 0,slug:"layout",components:[{filepath:"..\\src\\components\\Grid\\Grid.js",slug:"grid",pathLine:"import { Grid } from '@plesk/ui-library';",module:n(125),props:n(789),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\GridCol\\GridCol.js",slug:"gridcol",pathLine:"import { GridCol } from '@plesk/ui-library';",module:n(124),props:n(788),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Carousel\\Carousel.js",slug:"carousel",pathLine:"import { Carousel } from '@plesk/ui-library';",module:n(108),props:n(773),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Section\\Section.js",slug:"section",pathLine:"import { Section } from '@plesk/ui-library';",module:n(148),props:n(811),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Section\\SectionItem.js",slug:"sectionitem",pathLine:"import { SectionItem } from '@plesk/ui-library';",module:n(149),props:n(812),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Panels",description:void 0,slug:"panels",components:[{filepath:"..\\src\\components\\Dialog\\Dialog.js",slug:"dialog",pathLine:"import { Dialog } from '@plesk/ui-library';",module:n(113),props:n(778),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Drawer\\Drawer.js",slug:"drawer",pathLine:"import { Drawer } from '@plesk/ui-library';",module:n(114),props:n(779),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Panel\\Panel.js",slug:"panel",pathLine:"import { Panel } from '@plesk/ui-library';",module:n(143),props:n(807),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Alert\\Alert.js",slug:"alert",pathLine:"import { Alert } from '@plesk/ui-library';",module:n(99),props:n(764),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\ExtendedStatusMessage\\ExtendedStatusMessage.js",slug:"extendedstatusmessage",pathLine:"import { ExtendedStatusMessage } from '@plesk/ui-library';",module:n(116),props:n(781),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Popover\\Popover.js",slug:"popover",pathLine:"import { Popover } from '@plesk/ui-library';",module:n(145),props:n(809),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Tooltip\\Tooltip.js",slug:"tooltip",pathLine:"import { Tooltip } from '@plesk/ui-library';",module:n(166),props:n(827),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Elements",description:void 0,slug:"elements",components:[{filepath:"..\\src\\components\\CodeEditor\\CodeEditor.js",slug:"codeeditor",pathLine:"import { CodeEditor } from '@plesk/ui-library';",module:n(110),props:n(775),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\ConsoleOutput\\ConsoleOutput.js",slug:"consoleoutput",pathLine:"import { ConsoleOutput } from '@plesk/ui-library';",module:n(111),props:n(776),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Rating\\Rating.js",slug:"rating",pathLine:"import { Rating } from '@plesk/ui-library';",module:n(147),props:n(810),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Switch\\Switch.js",slug:"switch",pathLine:"import { Switch } from '@plesk/ui-library';",module:n(155),props:n(817),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\SwitchesPanelItem\\SwitchesPanelItem.js",slug:"switchespanelitem",pathLine:"import { SwitchesPanelItem } from '@plesk/ui-library';",module:n(157),props:n(818),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\SwitchesPanel\\SwitchesPanel.js",slug:"switchespanel",pathLine:"import { SwitchesPanel } from '@plesk/ui-library';",module:n(158),props:n(819),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Checkbox\\Checkbox.js",slug:"checkbox",pathLine:"import { Checkbox } from '@plesk/ui-library';",module:n(109),props:n(774),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Input\\Input.js",slug:"input",pathLine:"import { Input } from '@plesk/ui-library';",module:n(127),props:n(792),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Label\\Label.js",slug:"label",pathLine:"import { Label } from '@plesk/ui-library';",module:n(131),props:n(795),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Badge\\Badge.js",slug:"badge",pathLine:"import { Badge } from '@plesk/ui-library';",module:n(103),props:n(767),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Cuttable\\Cuttable.js",slug:"cuttable",pathLine:"import { Cuttable } from '@plesk/ui-library';",module:n(112),props:n(777),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Plaintext\\Plaintext.js",slug:"plaintext",pathLine:"import { Plaintext } from '@plesk/ui-library';",module:n(144),props:n(808),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Markdown\\Markdown.js",slug:"markdown",pathLine:"import { Markdown } from '@plesk/ui-library';",module:n(135),props:n(798),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Media\\Media.js",slug:"media",pathLine:"import { Media } from '@plesk/ui-library';",module:n(136),props:n(799),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Media\\MediaSection.js",slug:"mediasection",pathLine:"import { MediaSection } from '@plesk/ui-library';",module:n(137),props:n(800),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Action\\Action.js",slug:"action",pathLine:"import { Action } from '@plesk/ui-library';",module:n(97),props:n(763),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Status\\Status.js",slug:"status",pathLine:"import { Status } from '@plesk/ui-library';",module:n(152),props:n(815),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Hint\\Hint.js",slug:"hint",pathLine:"import { Hint } from '@plesk/ui-library';",module:n(126),props:n(790),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Localization",description:void 0,slug:"localization",components:[{filepath:"..\\src\\components\\LocaleProvider\\LocaleProvider.js",slug:"localeprovider",pathLine:"import { LocaleProvider } from '@plesk/ui-library';",module:n(133),props:n(797),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\Translate\\Translate.js",slug:"translate",pathLine:"import { Translate } from '@plesk/ui-library';",module:n(167),props:n(828),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Miscellaneous",description:void 0,slug:"miscellaneous",components:[{filepath:"..\\src\\components\\Toaster\\Toaster.js",slug:"toaster",pathLine:"import { Toaster } from '@plesk/ui-library';",module:n(161),props:n(823),hasExamples:!0,metadata:{}},{filepath:"..\\src\\components\\AutoClosable\\AutoClosable.js",slug:"autoclosable",pathLine:"import { AutoClosable } from '@plesk/ui-library';",module:n(100),props:n(765),hasExamples:!0,metadata:{}}],sections:[],content:void 0}]}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return e;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),i=_interopRequireDefault(n(339)),a=_interopRequireDefault(n(341)),s=_interopRequireDefault(n(1)),l=_interopRequireDefault(n(213)),u=n(214),c=function addClass(e,t){return t&&t.split(" ").forEach(function(t){return(0,i.default)(e,t)})},p=function removeClass(e,t){return t&&t.split(" ").forEach(function(t){return(0,a.default)(e,t)})},d=(o({},l.default.propTypes,{classNames:u.classNamesShape,onEnter:r.func,onEntering:r.func,onEntered:r.func,onExit:r.func,onExiting:r.func,onExited:r.func}),function(e){function CSSTransition(){var t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,CSSTransition);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,e.call.apply(e,[this].concat(i))),n.onEnter=function(e,t){var o=n.getClassNames(t?"appear":"enter").className;n.removeClasses(e,"exit"),c(e,o),n.props.onEnter&&n.props.onEnter(e)},n.onEntering=function(e,t){var o=n.getClassNames(t?"appear":"enter").activeClassName;n.reflowAndAddClass(e,o),n.props.onEntering&&n.props.onEntering(e)},n.onEntered=function(e,t){n.removeClasses(e,t?"appear":"enter"),n.props.onEntered&&n.props.onEntered(e)},n.onExit=function(e){var t=n.getClassNames("exit").className;n.removeClasses(e,"appear"),n.removeClasses(e,"enter"),c(e,t),n.props.onExit&&n.props.onExit(e)},n.onExiting=function(e){var t=n.getClassNames("exit").activeClassName;n.reflowAndAddClass(e,t),n.props.onExiting&&n.props.onExiting(e)},n.onExited=function(e){n.removeClasses(e,"exit"),n.props.onExited&&n.props.onExited(e)},n.getClassNames=function(e){var t=n.props.classNames,o="string"!=typeof t?t[e]:t+"-"+e;return{className:o,activeClassName:"string"!=typeof t?t[e+"Active"]:o+"-active"}},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(CSSTransition,e),CSSTransition.prototype.removeClasses=function removeClasses(e,t){var n=this.getClassNames(t),o=n.className,r=n.activeClassName;o&&p(e,o),r&&p(e,r)},CSSTransition.prototype.reflowAndAddClass=function reflowAndAddClass(e,t){e.scrollTop,c(e,t)},CSSTransition.prototype.render=function render(){var e=o({},this.props);return delete e.classNames,s.default.createElement(l.default,o({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},CSSTransition}(s.default.Component));d.propTypes={},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(0)),i=n(1),a=_interopRequireDefault(i),s=n(834),l=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},u=(r.default.any,r.default.node,r.default.bool,r.default.bool,r.default.bool,r.default.func,function(e){function TransitionGroup(t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,TransitionGroup);var r=function _possibleConstructorReturn(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}(this,e.call(this,t,n));return r.handleExited=function(e,t,n){var i=(0,s.getChildMapping)(r.props.children);e in i||(n&&n(t),r.setState(function(t){var n=o({},t.children);return delete n[e],{children:n}}))},r.state={children:(0,s.getChildMapping)(t.children,function(e){return(0,i.cloneElement)(e,{onExited:function onExited(t){r.handleExited(e.key,t,e.props.onExited)},in:!0,appear:r.getProp(e,"appear"),enter:r.getProp(e,"enter"),exit:r.getProp(e,"exit")})})},r}return function _inherits(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)}(TransitionGroup,e),TransitionGroup.prototype.getChildContext=function getChildContext(){return{transitionGroup:{isMounting:!this.appeared}}},TransitionGroup.prototype.getProp=function getProp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props;return null!=n[t]?n[t]:e.props[t]},TransitionGroup.prototype.componentDidMount=function componentDidMount(){this.appeared=!0},TransitionGroup.prototype.componentWillReceiveProps=function componentWillReceiveProps(e){var t=this,n=this.state.children,o=(0,s.getChildMapping)(e.children),r=(0,s.mergeChildMappings)(n,o);Object.keys(r).forEach(function(a){var s=r[a];if((0,i.isValidElement)(s)){var l=function onExited(e){t.handleExited(s.key,e,s.props.onExited)},u=a in n,c=a in o,p=n[a],d=(0,i.isValidElement)(p)&&!p.props.in;!c||u&&!d?c||!u||d?c&&u&&(0,i.isValidElement)(p)&&(r[a]=(0,i.cloneElement)(s,{onExited:l,in:p.props.in,exit:t.getProp(s,"exit",e),enter:t.getProp(s,"enter",e)})):r[a]=(0,i.cloneElement)(s,{in:!1}):r[a]=(0,i.cloneElement)(s,{onExited:l,in:!0,exit:t.getProp(s,"exit",e),enter:t.getProp(s,"enter",e)})}}),this.setState({children:r})},TransitionGroup.prototype.render=function render(){var e=this.props,t=e.component,n=e.childFactory,o=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["component","childFactory"]),r=this.state.children;return delete o.appear,delete o.enter,delete o.exit,a.default.createElement(t,o,l(r).map(n))},TransitionGroup}(a.default.Component));u.childContextTypes={transitionGroup:r.default.object.isRequired},u.propTypes={},u.defaultProps={component:"div",childFactory:function childFactory(e){return e}},t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function getChildMapping(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function mapper(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)}),n},t.mergeChildMappings=function mergeChildMappings(e,t){function getValueForKey(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var n=Object.create(null),o=[];for(var r in e)r in t?o.length&&(n[r]=o,o=[]):o.push(r);var i=void 0,a={};for(var s in t){if(n[s])for(i=0;i<n[s].length;i++){var l=n[s][i];a[n[s][i]]=getValueForKey(l)}a[s]=getValueForKey(s)}for(i=0;i<o.length;i++)a[o[i]]=getValueForKey(o[i]);return a};var o=n(1)},function(e,t,n){"use strict";function y(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function A(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function B(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function C(){}function E(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function J(e,t,n){var o,r={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)g.call(t,o)&&!v.hasOwnProperty(o)&&(r[o]=t[o]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];r.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===r[o]&&(r[o]=l[o]);return{$$typeof:s,type:e,key:i,ref:a,props:r,_owner:b.current}}function K(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}function N(e,t,n,o){if(w.length){var r=w.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>w.length&&w.push(e)}function P(e,t,n,o){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var i=!1;if(null===e)i=!0;else switch(r){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case s:case l:case u:case c:i=!0}}if(i)return n(o,e,""===t?"."+Q(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var p=t+Q(r=e[a],a);i+=P(r,p,n,o)}else if(null===e||void 0===e?p=null:(p=d&&e[d]||e["@@iterator"],p="function"==typeof p?p:null),"function"==typeof p)for(e=p.call(e),a=0;!(r=e.next()).done;)r=r.value,p=t+Q(r,a++),i+=P(r,p,n,o);else"object"===r&&(n=""+e,y("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function Q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function escape(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function S(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?T(e,o,n,i.thatReturnsArgument):null!=e&&(K(e)&&(t=r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(_,"$&/")+"/")+n,e={$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),o.push(e))}function T(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(_,"$&/")+"/"),t=N(t,i,o,r),null==e||P(e,"",S,t),O(t)}var o=n(197),r=n(170),i=n(43),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.call"):60104,u=a?Symbol.for("react.return"):60105,c=a?Symbol.for("react.portal"):60106,p=a?Symbol.for("react.fragment"):60107,d="function"==typeof Symbol&&Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};A.prototype.isReactComponent={},A.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=A.prototype;var m=B.prototype=new C;m.constructor=B,o(m,A.prototype),m.isPureReactComponent=!0;var h=E.prototype=new C;h.constructor=E,o(h,A.prototype),h.unstable_isAsyncReactComponent=!0,h.render=function(){return this.props.children};var b={current:null},g=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0},_=/\/+/g,w=[],x={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return T(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;t=N(null,null,t,n),null==e||P(e,"",R,t),O(t)},count:function(e){return null==e?0:P(e,"",i.thatReturnsNull,null)},toArray:function(e){var t=[];return T(e,t,null,i.thatReturnsArgument),t},only:function(e){return K(e)||y("143"),e}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:p,createElement:J,cloneElement:function(e,t,n){var r=o({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=b.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)g.call(t,c)&&!v.hasOwnProperty(c)&&(r[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){u=Array(c);for(var p=0;p<c;p++)u[p]=arguments[p+2];r.children=u}return{$$typeof:s,type:e.type,key:i,ref:a,props:r,_owner:l}},createFactory:function(e){var t=J.bind(null,e);return t.type=e,t},isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:b,assign:o}},k=Object.freeze({default:x}),D=k&&x||k;e.exports=D.default?D.default:D},function(e,t,n){"use strict";function toFloat(e){return parseFloat(e)||0}function getBordersSize(e){return Array.prototype.slice.call(arguments,1).reduce(function(t,n){return t+toFloat(e["border-"+n+"-width"])},0)}function getHTMLElementContentRect(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var o=getComputedStyle(e),r=function getPaddings(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n+=1){var r=o[n],i=e["padding-"+r];t[r]=toFloat(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,s=toFloat(o.width),l=toFloat(o.height);if("border-box"===o.boxSizing&&(Math.round(s+i)!==t&&(s-=getBordersSize(o,"left","right")+i),Math.round(l+a)!==n&&(l-=getBordersSize(o,"top","bottom")+a)),!function isDocumentElement(e){return e===document.documentElement}(e)){var u=Math.round(s+i)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return createRectInit(r.left,r.top,s,l)}function getContentRect(e){return r?f(e)?function getSVGContentRect(e){var t=e.getBBox();return createRectInit(0,0,t.width,t.height)}(e):getHTMLElementContentRect(e):d}function createRectInit(e,t,n,o){return{x:e,y:t,width:n,height:o}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function getIndex(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return"undefined"!=typeof Map?Map:function(){function anonymous(){this.__entries__=[]}var e={size:{}};return e.size.get=function(){return this.__entries__.length},anonymous.prototype.get=function(e){var t=getIndex(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},anonymous.prototype.set=function(e,t){var n=getIndex(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},anonymous.prototype.delete=function(e){var t=this.__entries__,n=getIndex(t,e);~n&&t.splice(n,1)},anonymous.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},anonymous.prototype.clear=function(){this.__entries__.splice(0)},anonymous.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n+=1){var r=o[n];e.call(t,r[1],r[0])}},Object.defineProperties(anonymous.prototype,e),anonymous}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof navigator&&/Trident\/.*rv:11/.test(navigator.userAgent),u="undefined"!=typeof MutationObserver&&!l,c=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){function resolvePending(){n&&(n=!1,e()),o&&proxy()}function timeoutCallback(){i(resolvePending)}function proxy(){var e=Date.now();if(n){if(e-r<a)return;o=!0}else n=!0,o=!1,setTimeout(timeoutCallback,t);r=e}var n=!1,o=!1,r=0;return proxy}(this.refresh.bind(this),20)};c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},c.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName;s.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var p=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n+=1){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=createRectInit(0,0,0,0),f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof SVGGraphicsElement}:function(e){return e instanceof SVGElement&&"function"==typeof e.getBBox},m=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=e};m.prototype.isActive=function(){var e=getContentRect(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var h=function(e,t){var n=function createReadOnlyRect(e){var t=e.x,n=e.y,o=e.width,r=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return p(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}(t);p(this,{target:e,contentRect:n})},b=function(e,t,n){if("function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.activeObservations_=[],this.observations_=new o,this.callback_=e,this.controller_=t,this.callbackCtx_=n};b.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new m(e)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new h(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0};var A="undefined"!=typeof WeakMap?new WeakMap:new o,g=function(e){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=c.getInstance(),n=new b(e,t,this);A.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){g.prototype[e]=function(){return(t=A.get(this))[e].apply(t,arguments);var t}});var C="undefined"!=typeof ResizeObserver?ResizeObserver:g;t.default=C},function(e,t,n){var o=n(278);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(279);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(280);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(281);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(282);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(283);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(284);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(285);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(286);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(287);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(288);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(289);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(290);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(291);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(292);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(293);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(294);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(295);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(296);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(297);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(298);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(299);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(300);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(301);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(302);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(303);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(304);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(305);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(306);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(307);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(308);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(309);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(310);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(311);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(312);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(313);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(314);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(316);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(317);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(318);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(319);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(320);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(321);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(322);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(323);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(324);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(325);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(326);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(327);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(328);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(329);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(330);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(331);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(332);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(333);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(334);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(335);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(336);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(337);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return e;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,n){var o;!function(n,r){void 0===(o=function(){return n.svg4everybody=r()}.apply(t,[]))||(e.exports=o)}(this,function(){function embed(e,t,n){if(n){var o=document.createDocumentFragment(),r=!t.hasAttribute("viewBox")&&n.getAttribute("viewBox");r&&t.setAttribute("viewBox",r);for(var i=n.cloneNode(!0);i.childNodes.length;)o.appendChild(i.firstChild);e.appendChild(o)}}function loadreadystatechange(e){e.onreadystatechange=function(){if(4===e.readyState){var t=e._cachedDocument;t||(t=e._cachedDocument=document.implementation.createHTMLDocument(""),t.body.innerHTML=e.responseText,e._cachedTarget={}),e._embeds.splice(0).map(function(n){var o=e._cachedTarget[n.id];o||(o=e._cachedTarget[n.id]=t.getElementById(n.id)),embed(n.parent,n.svg,o)})}},e.onreadystatechange()}return function svg4everybody(e){function oninterval(){for(var e=0;e<a.length;){var o=a[e],l=o.parentNode,u=function getSVGAncestor(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}(l),c=o.getAttribute("xlink:href")||o.getAttribute("href");if(!c&&n.attributeName&&(c=o.getAttribute(n.attributeName)),u&&c){if(t)if(!n.validate||n.validate(c,u,o)){l.removeChild(o);var p=c.split("#"),d=p.shift(),f=p.join("#");if(d.length){var m=r[d];m||((m=r[d]=new XMLHttpRequest).open("GET",d),m.send(),m._embeds=[]),m._embeds.push({parent:l,svg:u,id:f}),loadreadystatechange(m)}else embed(l,u,document.getElementById(f))}else++e,++s}else++e}(!a.length||a.length-s>0)&&i(oninterval,67)}var t,n=Object(e),o=window.top!==window.self;t="polyfill"in n?n.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&o;var r={},i=window.requestAnimationFrame||setTimeout,a=document.getElementsByTagName("use"),s=0;t&&oninterval()}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,o){var r,i=n(899);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var a=n.i(i.a)(r);t.default=a}.call(t,n(18),n(901)(e))},function(e,t,n){"use strict";t.a=function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}},function(e,t){var n=/[\'\"]/;e.exports=function unquote(e){return e?(n.test(e.charAt(0))&&(e=e.substr(1)),n.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):""}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){},function(e,t,n){e.exports=n(216)}]); \ No newline at end of file diff --git a/build/bundle.ba7a221a.js b/build/bundle.ba7a221a.js new file mode 100644 index 0000000..9ccd353 --- /dev/null +++ b/build/bundle.ba7a221a.js @@ -0,0 +1 @@ +!function(e){function __webpack_require__(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,__webpack_require__),o.l=!0,o.exports}var t=window.webpackJsonp;window.webpackJsonp=function webpackJsonpCallback(n,r,i){for(var a,s,l=0,u=[];l<n.length;l++)s=n[l],o[s]&&u.push(o[s][0]),o[s]=0;for(a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);for(t&&t(n,r,i);u.length;)u.shift()()};var n={},o={123:0};__webpack_require__.e=function requireEnsure(e){function onScriptComplete(){i.onerror=i.onload=null,clearTimeout(a);var t=o[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var t=o[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var n=new Promise(function(n,r){t=o[e]=[n,r]});t[2]=n;var r=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.src=__webpack_require__.p+"build/"+({0:"react-sortable-hoc",2:"codemirror",3:"codemirror/mode/113",4:"codemirror/mode/86",5:"codemirror/mode/35",6:"codemirror/mode/67",7:"codemirror/mode/102",8:"codemirror/mode/17",9:"codemirror/mode/40",10:"codemirror/mode/90",11:"codemirror/mode/72",12:"codemirror/mode/41",13:"codemirror/mode/78",14:"codemirror/mode/31",15:"codemirror/mode/46",16:"codemirror/mode/36",17:"codemirror/mode/119",18:"codemirror/mode/50",19:"codemirror/mode/65",20:"codemirror/mode/38",21:"codemirror/mode/82",22:"codemirror/mode/15",23:"codemirror/mode/80",24:"codemirror/mode/60",25:"codemirror/mode/26",26:"codemirror/mode/18",27:"codemirror/mode/107",28:"codemirror/mode/120",29:"codemirror/mode/118",30:"codemirror/mode/117",31:"codemirror/mode/116",32:"codemirror/mode/115",33:"codemirror/mode/114",34:"codemirror/mode/112",35:"codemirror/mode/111",36:"codemirror/mode/110",37:"codemirror/mode/109",38:"codemirror/mode/108",39:"codemirror/mode/106",40:"codemirror/mode/104",41:"codemirror/mode/105",42:"codemirror/mode/103",43:"codemirror/mode/101",44:"codemirror/mode/100",45:"codemirror/mode/99",46:"codemirror/mode/98",47:"codemirror/mode/97",48:"codemirror/mode/96",49:"codemirror/mode/95",50:"codemirror/mode/94",51:"codemirror/mode/93",52:"codemirror/mode/92",53:"codemirror/mode/91",54:"codemirror/mode/89",55:"codemirror/mode/88",56:"codemirror/mode/87",57:"codemirror/mode/85",58:"codemirror/mode/84",59:"codemirror/mode/83",60:"codemirror/mode/81",61:"codemirror/mode/79",62:"codemirror/mode/77",63:"codemirror/mode/76",64:"codemirror/mode/75",65:"codemirror/mode/74",66:"codemirror/mode/73",67:"codemirror/mode/71",68:"codemirror/mode/70",69:"codemirror/mode/69",70:"codemirror/mode/68",71:"codemirror/mode/66",72:"codemirror/mode/64",73:"codemirror/mode/63",74:"codemirror/mode/62",75:"codemirror/mode/61",76:"codemirror/mode/59",77:"codemirror/mode/58",78:"codemirror/mode/57",79:"codemirror/mode/56",80:"codemirror/mode/55",81:"codemirror/mode/54",82:"codemirror/mode/52",83:"codemirror/mode/51",84:"codemirror/mode/49",85:"codemirror/mode/48",86:"codemirror/mode/47",87:"codemirror/mode/45",88:"codemirror/mode/44",89:"codemirror/mode/43",90:"codemirror/mode/42",91:"codemirror/mode/39",92:"codemirror/mode/37",93:"codemirror/mode/34",94:"codemirror/mode/33",95:"codemirror/mode/32",96:"codemirror/mode/30",97:"codemirror/mode/29",98:"codemirror/mode/28",99:"codemirror/mode/27",100:"codemirror/mode/25",101:"codemirror/mode/24",102:"codemirror/mode/23",103:"codemirror/mode/22",104:"codemirror/mode/21",105:"codemirror/mode/20",106:"codemirror/mode/19",107:"codemirror/mode/16",108:"codemirror/mode/14",109:"codemirror/mode/13",110:"codemirror/mode/12",111:"codemirror/mode/11",112:"codemirror/mode/10",113:"codemirror/mode/9",114:"codemirror/mode/8",115:"codemirror/mode/7",116:"codemirror/mode/6",117:"codemirror/mode/5",118:"codemirror/mode/4",119:"codemirror/mode/3",120:"codemirror/mode/2",121:"codemirror/mode/1",122:"codemirror/mode/0"}[e]||e)+"."+{0:"e37a541e",1:"1eded1c3",2:"2b069d61",3:"e88b1ce9",4:"05fbaa7e",5:"d361f93b",6:"8263eaf6",7:"337084be",8:"be4e6e78",9:"32f465ff",10:"dc5cad7b",11:"22fc981e",12:"e578ae37",13:"3da868b9",14:"175c6db1",15:"4f1e75d9",16:"2a61213e",17:"df9e6021",18:"c4eacba3",19:"dacd5913",20:"20d4cd0b",21:"5f97dc28",22:"a97f3b20",23:"3bf9e37f",24:"e18f6a82",25:"d5c43c69",26:"7d74d0c8",27:"2831d40a",28:"a1e75709",29:"8852c4fd",30:"ffc3c072",31:"8febadc3",32:"f2bd619e",33:"3af0b25a",34:"5ec6f653",35:"b57b96f5",36:"494e9203",37:"b2f41820",38:"8aa69e62",39:"d75c2e21",40:"5aa9aa5e",41:"ee32f53d",42:"eef30f80",43:"2015be6c",44:"3dfe94d2",45:"3ad39299",46:"479b2a70",47:"f676d8c3",48:"6bfbc2da",49:"893ea849",50:"30796d46",51:"288e4087",52:"bb001aed",53:"782262bf",54:"9ad95fdc",55:"a947c8ec",56:"13bde017",57:"7cdb7b2e",58:"a2184a7e",59:"61ba1a5d",60:"4c010307",61:"9eefbc8f",62:"d8e00efc",63:"07dc8648",64:"604c0213",65:"fddeafad",66:"483ced06",67:"6298f007",68:"4b74882b",69:"b870b37c",70:"c38cda68",71:"d659ab48",72:"42dc3045",73:"3a4f0385",74:"2f6751d0",75:"0633ad66",76:"1ce8993e",77:"38fd96a1",78:"ab352850",79:"285415aa",80:"5bdf3e9a",81:"a9002ce3",82:"b819e740",83:"099d6eb5",84:"98e4a38c",85:"23f61f7f",86:"975d9a04",87:"9f35cebc",88:"cb2a8694",89:"9ab47f29",90:"4eacd5a9",91:"0c2841f7",92:"a1edc9f1",93:"dc385593",94:"fb720ccb",95:"db75da5a",96:"d91cdc45",97:"db9ac070",98:"a6aba0d7",99:"48b46d5a",100:"ab718f16",101:"7547b394",102:"f944f82b",103:"54e75c53",104:"b13f826d",105:"b24e51b0",106:"c5231846",107:"f0020c3d",108:"aebc88cf",109:"21f7aba8",110:"2f5d25a9",111:"6f245c08",112:"2d2a1b06",113:"b84ed167",114:"29bae0a6",115:"d1561ec7",116:"b31d8e76",117:"534f612b",118:"1cfb22b3",119:"860f39f2",120:"914d05f5",121:"28f4ed3b",122:"b8f5d546"}[e]+".js";var a=setTimeout(onScriptComplete,12e4);return i.onerror=i.onload=onScriptComplete,r.appendChild(i),n},__webpack_require__.m=e,__webpack_require__.c=n,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,n){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function getDefault(){return e.default}:function getModuleExports(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__.oe=function(e){throw console.error(e),e},__webpack_require__(__webpack_require__.s=903)}([function(e,t,n){e.exports=n(589)()},function(e,t,n){"use strict";e.exports=n(835)},function(e,t,n){var o;!function(){"use strict";function classNames(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var r=typeof o;if("string"===r||"number"===r)e.push(o);else if(Array.isArray(o))e.push(classNames.apply(null,o));else if("object"===r)for(var i in o)n.call(o,i)&&o[i]&&e.push(i)}}return e.join(" ")}var n={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=classNames:void 0===(o=function(){return classNames}.apply(t,[]))||(e.exports=o)}()},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(31);Object.defineProperty(t,"render",{enumerable:!0,get:function get(){return o.render}}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function get(){return o.createPortal}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function get(){return o.findDOMNode}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function get(){return o.unmountComponentAtNode}});var r=n(1);Object.defineProperty(t,"Children",{enumerable:!0,get:function get(){return r.Children}}),Object.defineProperty(t,"createClass",{enumerable:!0,get:function get(){return r.createClass}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function get(){return r.createElement}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function get(){return r.cloneElement}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function get(){return r.isValidElement}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function get(){return r.Component}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function get(){return r.PureComponent}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function get(){return r.Fragment}});var i=n(2);Object.defineProperty(t,"classNames",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(0);Object.defineProperty(t,"PropTypes",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var s=n(17);Object.defineProperty(t,"Measure",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});t.isRtl=function isRtl(){return"rtl"===getComputedStyle(document.documentElement).direction};var l=0;t.disableDocumentScroll=function disableDocumentScroll(){if(1===(l+=1)){var e=-window.pageYOffset+"px";document.documentElement.style.position="fixed",document.body.style.marginTop=e}},t.enableDocumentScroll=function enableDocumentScroll(){if(0==(l-=1)){var e=Math.abs(parseInt(document.body.style.marginTop))||0;document.documentElement.style.position="",document.body.style.marginTop="",window.scrollTo(0,e)}}},function(e,t,n){"use strict";e.exports={CLS_PREFIX:"pul-",Z_INDEX_POPOVER:1035,Z_INDEX_DROPDOWN:1035,Z_INDEX_TOASTER:1045,Z_INDEX_OVERLAY:1050}},function(e,t,n){"use strict";e.exports=function evalInContext(e,t,n){return new Function("require","state","setState","__setInitialState",e+n).bind(null,t)}},function(e,t,n){"use strict";e.exports=function requireInRuntime(e,t){if(!(t in e))throw new Error('require() statements can be added only by editing a Markdown example file: require("'+t+'")');return e[t]}},function(e,t){function cssWithMappingToString(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=function toComment(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(o),i=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[n].concat(i).concat([r]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function toString(){return this.map(function(t){var n=cssWithMappingToString(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function addStylesToDom(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(addStyle(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(addStyle(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function listToStyles(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):n.push(o[a]={id:a,parts:[s]})}return n}function insertStyleElement(e,t){var n=i(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=l[l.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),l.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function removeStyleElement(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");return e.attrs.type="text/css",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function addStyle(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var l=s++;n=a||(a=createStyleElement(t)),o=applyToSingletonTag.bind(null,n,l,!1),r=applyToSingletonTag.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function createLinkElement(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}(t),o=function updateLink(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=u(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),r=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),o=function applyToTag(e,t){var n=t.css,o=t.media;o&&e.setAttribute("media",o);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){removeStyleElement(n)});return o(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function applyToSingletonTag(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=c(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var o={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),i=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return document.querySelector(e)}.call(this,e)),t[e]}}(),a=null,s=0,l=[],u=n(896);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}if(e){addStylesToDom(listToStyles(e,t),t)}for(i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var c=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";var o=n(654);n.d(t,"a",function(){return o.a})},function(e,t,n){var o=n(338);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(105);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(62);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){var o=n(189),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(167);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t){e.exports=function isObject(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.withContentRect=t.default=void 0;var o=_interopRequireDefault(n(595)),r=_interopRequireDefault(n(199));t.default=o.default,t.withContentRect=r.default},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var o=n(621);n.d(t,"a",function(){return o.a})},function(e,t){e.exports=function isObjectLike(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";var o=function(){};e.exports=o},function(e,t,n){var o=n(36),r=n(527),i=n(555),a="[object Null]",s="[object Undefined]",l=o?o.toStringTag:void 0;e.exports=function baseGetTag(e){return null==e?void 0===e?s:a:l&&l in Object(e)?r(e):i(e)}},function(e,t,n){var o=n(500),r=n(530);e.exports=function getNative(e,t){var n=r(e,t);return o(n)?n:void 0}},function(e,t,n){var o=n(80),r=n(81);e.exports=function isArrayLike(e){return null!=e&&r(e.length)&&!o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(115);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(119);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(248);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=t.safeInvoke=function safeInvoke(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];"function"==typeof e&&e.apply(void 0,n)};t.wrapFunction=function wrapFunction(e,t){return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];o.apply(void 0,[e].concat(r)),o.apply(void 0,[t].concat(r))}}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="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},i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=_interopRequireDefault(n(21)),s=_interopRequireDefault(n(72)),l=_interopRequireDefault(n(45)),u=function(){function StyleRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,StyleRule),this.type="style",this.isProcessed=!1;var o=n.sheet,r=n.Renderer,i=n.selector;this.key=e,this.options=n,this.style=t,i&&(this.selectorText=i),this.renderer=o?o.renderer:new r}return i(StyleRule,[{key:"prop",value:function prop(e,t){if(null!=t){if(this.style[e]!==t)if(t=this.options.jss.plugins.onChangeValue(t,e,this),this.style[e]=t,this.renderable)this.renderer.setStyle(this.renderable,e,t);else{var n=this.options.sheet;n&&n.attached&&(0,a.default)(!1,'Rule is not linked. Missing sheet option "link: true".')}return this}return this.style[e]}},{key:"applyTo",value:function applyTo(e){var t=this.toJSON();for(var n in t)this.renderer.setStyle(e,n,t[n]);return this}},{key:"toJSON",value:function toJSON(){var e={};for(var t in this.style){var n=this.style[t];"object"!==(void 0===n?"undefined":r(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,l.default)(n))}return e}},{key:"toString",value:function toString(e){var t=this.options.sheet,n=!!t&&t.options.link?o({},e,{allowEmpty:!0}):e;return(0,s.default)(this.selector,this.style,n)}},{key:"selector",set:function set(e){if(e!==this.selectorText&&(this.selectorText=e,this.renderable)){if(!this.renderer.setSelector(this.renderable,e)&&this.renderable){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}}},get:function get(){return this.selectorText}}]),StyleRule}();t.default=u},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=Object.freeze({all:"all",section:"section",component:"component",example:"example"})},function(e,t,n){"use strict";function checkDCE(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(e){console.error(e)}}}checkDCE(),e.exports=n(591)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(106);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(138);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(40);Object.defineProperty(t,"MenuItem",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(65);Object.defineProperty(t,"MenuBaseItem",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(66);Object.defineProperty(t,"MenuSelectableItem",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var s=n(139);Object.defineProperty(t,"MenuDivider",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var l=n(140);Object.defineProperty(t,"MenuHeader",{enumerable:!0,get:function get(){return _interopRequireDefault(l).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=_interopRequireDefault(n(44)),a=_interopRequireDefault(n(178)),s=_interopRequireDefault(n(29)),l=_interopRequireDefault(n(479)),u=function(){function RuleList(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,RuleList),this.map={},this.raw={},this.index=[],this.options=e,this.classes=e.classes}return r(RuleList,[{key:"add",value:function add(e,t,n){var r=this.options,a=r.parent,u=r.sheet,c=r.jss,p=r.Renderer,d=r.generateClassName;!(n=o({classes:this.classes,parent:a,sheet:u,jss:c,Renderer:p,generateClassName:d},n)).selector&&this.classes[e]&&(n.selector="."+(0,l.default)(this.classes[e])),this.raw[e]=t;var f=(0,i.default)(e,t,n),m=void 0;!n.selector&&f instanceof s.default&&(m=d(f,u),f.selector="."+(0,l.default)(m)),this.register(f,m);var h=void 0===n.index?this.index.length:n.index;return this.index.splice(h,0,f),f}},{key:"get",value:function get(e){return this.map[e]}},{key:"remove",value:function remove(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function indexOf(e){return this.index.indexOf(e)}},{key:"process",value:function process(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function register(e,t){this.map[e.key]=e,e instanceof s.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function unregister(e){delete this.map[e.key],e instanceof s.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"update",value:function update(e,t){var n=this.options,o=n.jss.plugins,r=n.sheet;if("string"!=typeof e)for(var i=0;i<this.index.length;i++)o.onUpdate(e,this.index[i],r);else o.onUpdate(t,this.get(e),r)}},{key:"link",value:function link(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var o=e[n],r=this.options.sheet.renderer.getKey(o);t[r]&&(r=t[r]);var i=this.map[r];i&&(0,a.default)(i,o)}}},{key:"toString",value:function toString(e){for(var t="",n=this.options.sheet,o=!!n&&n.options.link,r=0;r<this.index.length;r++){var i=this.index[r].toString(e);(i||o)&&(t&&(t+="\n"),t+=i)}return t}}]),RuleList}();t.default=u},function(e,t){e.exports=function eq(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var o=n(13).Symbol;e.exports=o},function(e,t,n){var o=n(22),r=n(20),i="[object Symbol]";e.exports=function isSymbol(e){return"symbol"==typeof e||r(e)&&o(e)==i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(109);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(127);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(65)),u=function MenuItem(e){var t,n=e.baseClassName,i=e.className,s=e.children,u=e.onClick,c=e.active,p=e.disabled,d=e.icon,f=e.label,m=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onClick","active","disabled","icon","label"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(n,i,(t={},_defineProperty(t,n+"--active",c),_defineProperty(t,n+"--disabled",p),t)),onClick:function onClick(e){u&&!p&&u(e)},tabIndex:"0",icon:d,label:f},m),s)};u.propTypes={active:i.default.bool,disabled:i.default.bool,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),label:i.default.node,children:i.default.node,className:i.default.string,baseClassName:i.default.string,onClick:i.default.func},u.defaultProps={active:!1,disabled:!1,icon:null,label:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__item",onClick:null},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(148);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(149);Object.defineProperty(t,"SectionItem",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(166);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function makeEmptyFunction(e){return function(){return e}}var o=function emptyFunction(){};o.thatReturns=makeEmptyFunction,o.thatReturnsFalse=makeEmptyFunction(!1),o.thatReturnsTrue=makeEmptyFunction(!0),o.thatReturnsNull=makeEmptyFunction(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function createRule(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unnamed",t=arguments[1],n=arguments[2],a=n.jss,s=(0,i.default)(t),l=a.plugins.onCreateRule(e,s,n);return l||("@"===e[0]&&(0,o.default)(!1,"[JSS] Unknown at-rule %s",e),new r.default(e,s,n))};var o=_interopRequireDefault(n(21)),r=_interopRequireDefault(n(29)),i=_interopRequireDefault(n(478))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCssValue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=o(e[r]," ");else n=o(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};var o=function join(e,t){for(var n="",o=0;o<e.length&&"!important"!==e[o];o++)n&&(n+=t),n+=e[o];return n}},function(e,t,n){function ListCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}var o=n(540),r=n(541),i=n(542),a=n(543),s=n(544);ListCache.prototype.clear=o,ListCache.prototype.delete=r,ListCache.prototype.get=i,ListCache.prototype.has=a,ListCache.prototype.set=s,e.exports=ListCache},function(e,t,n){var o=n(35);e.exports=function assocIndexOf(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},function(e,t,n){var o=n(187);e.exports=function baseAssignValue(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var o=n(538);e.exports=function getMapData(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var o=n(23)(Object,"create");e.exports=o},function(e,t,n){var o=n(37),r=1/0;e.exports=function toKey(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-r?"-0":t}},function(e,t,n){"use strict";var o=n(627);n.d(t,"a",function(){return o.a}),n.d(t,"b",function(){return o.b})},function(e,t){e.exports=function identity(e){return e}},function(e,t,n){var o=n(497),r=n(20),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){var o=n(180),r=n(502),i=n(24);e.exports=function keys(e){return i(e)?o(e):r(e)}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4);n(844),n(443);var u=function(e){function PreviewPanel(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,PreviewPanel);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=PreviewPanel.__proto__||Object.getPrototypeOf(PreviewPanel)).call.apply(e,[this].concat(i))),n.state={loaded:!1},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(PreviewPanel,i.Component),r(PreviewPanel,[{key:"componentDidMount",value:function componentDidMount(){var e=this.props.html;e&&this.iframeRef&&this.updateIFrame(e)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=this.props.html,n=e.html;n!==t&&n&&this.iframeRef&&this.updateIFrame(n)}},{key:"updateIFrame",value:function updateIFrame(e){var t=this.iframeRef.contentDocument||this.iframeRef.contentWindow.document;t.open(),t.write(e),t.close()}},{key:"renderIFrame",value:function renderIFrame(){var e=this;return(0,i.createElement)("iframe",{sandbox:"allow-same-origin",scrolling:"no",ref:function ref(t){return e.iframeRef=t},onLoad:function onLoad(t){if(t&&t.target){var n=t.target,o=n.contentWindow,r=n.contentDocument||o.document;e.setState({loaded:!0},function(){r.body.style.display="inline-block",r.body.style.transformOrigin="top left",r.body.style.transform="scale("+Math.min(o.innerWidth/r.body.offsetWidth,1)+")",r.querySelector("html").scrollTop=0})}}})}},{key:"render",value:function render(){var e=this.props,t=e.html,n=e.background,r=e.image,a=e.padding,l=e.alt,u=e.children,c=e.className,p=e.baseClassName,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["html","background","image","padding","alt","children","className","baseClassName"]),f=this.state.loaded,m=null,h=r,b={};if(r||n||t||(h="./images/fail.png"),h){var g={};a&&(g.style={padding:(a instanceof Array?a.join("px "):a)+"px"}),m=(0,i.createElement)("img",o({className:p+"__image",src:r,alt:l},g))}else n?b.style={backgroundImage:'url("'+n+'")'}:t&&(m=(0,i.createElement)("div",{className:(0,s.default)(p+"__html",_defineProperty({},p+"__html--loading",!f))},this.renderIFrame()));return(0,i.createElement)("div",o({className:(0,s.default)(p,_defineProperty({},p+"--background",n),c)},b,d),m,(0,i.createElement)("div",{className:(0,s.default)(p+"__content",_defineProperty({},p+"__content--empty",!u))},(0,i.createElement)("div",{className:p+"__content-inner"},u)))}}]),PreviewPanel}();u.propTypes={html:a.default.string,background:a.default.string,image:a.default.string,padding:a.default.oneOfType([a.default.number,a.default.arrayOf(a.default.number)]),alt:a.default.string,children:a.default.any,className:a.default.string,baseClassName:a.default.string},u.defaultProps={html:null,background:null,image:null,padding:0,alt:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"preview-panel"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.VIEW_ROW=t.VIEW_EXTENDED=t.VIEW_RESPONSIVE=t.VIEW_TILE=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(28),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=_interopRequireDefault(n(17)),c=n(4),p=_interopRequireDefault(n(142)),d=_interopRequireDefault(n(59)),f=_interopRequireDefault(n(60)),m=_interopRequireDefault(n(11)),h=_interopRequireDefault(n(15)),b=_interopRequireDefault(n(229));n(845);var g=t.VIEW_TILE="tile",A=t.VIEW_RESPONSIVE="responsive",v=t.VIEW_EXTENDED="extended",C=t.VIEW_ROW="row",y=function(e){function CardList(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,CardList);var t=function _possibleConstructorReturn(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}(this,(CardList.__proto__||Object.getPrototypeOf(CardList)).call(this,e));return t.selectAll=function(){var e=t.state.items;t.select(e.map(t.getItemKey))},t.selectNone=function(){t.select([])},t.getItemKey=function(e){return e[t.props.itemKey]},t.renderItem=function(e){var n=t.props,o=n.baseClassName,r=n.itemRender,a=n.onSelectionChange,s=t.state.view;return(0,i.cloneElement)(r(e),{key:t.getItemKey(e),view:t.isTile()?g:s,className:(0,l.default)(o+"__list-item"),selection:a?t.itemSelection(e):null})},t.previousView=null,t.handleResize=function(e){var n=e.entry.width>584?t.previousView:A;n!==A||t.previousView?n!==A&&(t.previousView=null):t.previousView=t.state.view,n&&n!==t.state.view&&t.changeView(n)},t.state={page:1,totalItems:e.totalItems||e.items.length,pageSize:10,items:e.items,view:e.view},t}return function _inherits(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)}(CardList,i.Component),r(CardList,[{key:"componentDidMount",value:function componentDidMount(){this.fetchItems()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.view,n=e.items,o=e.totalItems;this.setState({items:n,totalItems:o||n.length}),e.view!==this.props.view&&this.state.view!==A&&this.fetchItems({page:1,view:t})}},{key:"totalPages",value:function totalPages(){var e=this.state,t=e.totalItems,n=e.pageSize;return Math.ceil(t/n)}},{key:"fetchItems",value:function fetchItems(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.page,n=void 0===t?this.state.page:t,o=e.view,r=void 0===o?this.state.view:o,i=this.props.onItemsFetch,s=r===C?40:10;this.setState({view:r,page:n,pageSize:s}),(0,a.safeInvoke)(i,{page:n,pageSize:s})}},{key:"loadMore",value:function loadMore(){var e=this.props.onItemsFetch,t=this.state.page+1;this.setState({page:t,pageSize:10}),(0,a.safeInvoke)(e,{page:t,pageSize:10})}},{key:"isTile",value:function isTile(){var e=this.state.view;return e===g||e===A}},{key:"renderPagination",value:function renderPagination(){var e=this,t=this.props.baseClassName,n=this.state,o=n.page,r=n.view,a=this.totalPages();return a<2?null:r===A&&o<a?(0,i.createElement)("div",{className:t+"__pagination"},(0,i.createElement)(m.default,{onClick:function onClick(){return e.loadMore()}},(0,i.createElement)(h.default,{content:"CardList.loadMore",fallback:"Load more"}))):(0,i.createElement)(p.default,{className:t+"__pagination",total:a,current:o,onSelect:function onSelect(t){return e.fetchItems({page:t})}})}},{key:"changeView",value:function changeView(e){var t=this.props.onViewChange;this.fetchItems({page:1,view:e}),(0,a.safeInvoke)(t,e)}},{key:"select",value:function select(e){(0,this.props.onSelectionChange)(e)}},{key:"itemSelection",value:function itemSelection(e){var t=this,n=this.getItemKey(e),o=this.props.selection;return{isSelected:o.indexOf(n)>-1,onSelectionChange:function onSelectionChange(e){var r=e.isSelected?[].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o),[n]):o.filter(function(e){return e!==n});t.select(r)}}}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=(t.items,t.onItemsFetch,t.view,t.itemKey,t.itemRender,t.onViewChange,t.selection),s=t.onSelectionChange,c=t.selectionButton,p=t.viewSwitcher,m=t.toolbarGroups,g=(t.totalItems,t.loading),A=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","items","onItemsFetch","view","itemKey","itemRender","onViewChange","selection","onSelectionChange","selectionButton","viewSwitcher","toolbarGroups","totalItems","loading"]),v=this.state.items.map(this.renderItem);return this.isTile()&&(v=(0,i.createElement)(d.default,{minColumnWidth:400,gap:"md"},i.Children.map(v,function(e){return(0,i.createElement)(f.default,{key:e.props.key},e)}))),(0,i.createElement)(u.default,{onResize:this.handleResize},function(t){var u=t.measureRef;return(0,i.createElement)("div",o({ref:u,className:(0,l.default)(n,r)},A),(0,i.createElement)(b.default,{selection:s?o({},c,{total:e.state.totalItems,onSelectAll:e.selectAll,onSelectNone:e.selectNone,checked:e.state.items.length===a.length}):null,onViewChange:p?function(t){return e.changeView(t)}:null,currentView:e.state.view,groups:m}),e.state.items.length>0&&(0,i.createElement)("div",{className:n+"__list "+n+"__list--"+e.state.view},v),0===e.state.items.length&&!g&&(0,i.createElement)(h.default,{content:"CardList.notFound",fallback:"No items found."}),e.renderPagination(),g&&(0,i.createElement)("div",{className:n+"__content-blocker"}),g&&(0,i.createElement)("div",{className:n+"__loader"}))})}}]),CardList}();y.propTypes={items:s.default.array.isRequired,onItemsFetch:s.default.func,totalItems:s.default.number,view:s.default.oneOf([v,g,C,A]),onViewChange:s.default.func,viewSwitcher:s.default.bool,selection:s.default.array,onSelectionChange:s.default.func,selectionButton:s.default.shape({badge:s.default.oneOfType([s.default.string,s.default.object]),menuItems:s.default.arrayOf(s.default.element)}),toolbarGroups:s.default.arrayOf(s.default.element),itemKey:s.default.string.isRequired,itemRender:s.default.func.isRequired,loading:s.default.bool,className:s.default.string,baseClassName:s.default.string},y.defaultProps={onItemsFetch:null,totalItems:null,view:v,onViewChange:null,viewSwitcher:!1,selection:[],onSelectionChange:null,selectionButton:{badge:null,menuItems:[]},toolbarGroups:[],loading:!1,className:null,baseClassName:c.CLS_PREFIX+"card-list"},t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(118);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(124);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(125);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(126);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.SVG_NAMES=void 0;var o="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},r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4);n(10),n(865);var u=t.SVG_NAMES=["i-filter-02","i-filter-check-mark","i-sliders","i-two-sheets-blank","i-server-arrow-left","i-server-refresh","i-two-arrows-refresh-04","i-circle-check-mark","i-check-mark","i-monitor-refresh","i-three-dots","i-square-arrow-up-04","i-square-arrow-down-04","i-shield-star","i-trash-can-04","i-menu","i-folder-blank-closed-02","i-arrow-refresh-02","i-eye-03","i-www-site-picture-text","i-cloud-refresh","i-broken-chain","i-monitor-arrow-down","i-eye-02","i-arrows-looping-06","i-circle-plus-02","i-circle-cross-mark-02","i-circle-question-mark-02","i-circle-check-mark-02","i-circle-minus-02","i-circle-info-02","i-circle-exclamation-mark-02","i-pencil-02","i-magnifying-glass","i-circle-exclamation-mark","i-cross-mark","i-plus","i-circle-question-mark","i-arrow-up-07","i-arrow-down-07","i-arrow-right-07","i-arrow-left-07","i-arrow-up-06","i-arrow-down-06","i-trashcan","i-four-squares","i-shopping-cart-02","i-chain","i-gear","i-list","i-pencil","i-circle-cross-mark","i-circle-plus","i-circle-minus","i-circle-info","i-folder-blank-open"],c=function Icon(e){var t=e.baseClassName,o=e.className,a=e.name,l=e.src,u=e.size,c=e.thin,p=e.children,d=e.alt,f=_objectWithoutProperties(e,["baseClassName","className","name","src","size","thin","children","alt"]);return(0,i.createElement)("span",r({className:(0,s.default)(t,u&&t+"--size-"+u,o)},f),a?(0,i.createElement)("svg",null,(0,i.createElement)("use",{xlinkHref:n(c?444:445)+"#"+a})):l&&(0,i.createElement)("img",{src:l,alt:d})||p)};c.propTypes={baseClassName:a.default.string,className:a.default.string,name:a.default.oneOf(u),src:a.default.string,size:a.default.oneOf(["sm","md","lg","xl","xxl"]),thin:a.default.bool,alt:a.default.string,children:a.default.node},c.defaultProps={baseClassName:l.CLS_PREFIX+"icon",className:null,name:null,src:null,size:null,thin:!1,alt:"",children:null};c.create=function create(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return e;if((0,i.isValidElement)(e)){var n=e.props,a=n.className,l=_objectWithoutProperties(n,["className"]),u=r({},t);return Object.keys(l).forEach(function(e){null!==l[e]&&void 0!==l[e]&&(u[e]=l[e])}),(t.className||a)&&(u.className=(0,s.default)(t.className,a)),(0,i.cloneElement)(e,u)}if("object"===(void 0===e?"undefined":o(e))){var p=e.className,d=_objectWithoutProperties(e,["className"]);return(0,i.createElement)(c,r({},t,{className:t.className||p?(0,s.default)(t.className,p):null},d))}return(0,i.createElement)(c,r({},t,{name:e}))},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(131);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(250);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(12)),u=function MenuBaseItem(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.icon,u=e.label,c=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","icon","label"]);return(0,r.createElement)("li",o({className:(0,a.default)(t,n)},c),(0,r.createElement)("div",{className:t+"-icon"},l.default.create(s,{size:"sm"})),(0,r.createElement)("div",{className:t+"-content"},i),(0,r.createElement)("div",{className:t+"-label"},u))};u.propTypes={icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),label:i.default.node,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={icon:null,label:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__base-item"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(40)),u=function MenuSelectableItem(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.selected,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","selected"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n),icon:s?"i-check-mark":null},u),i)};u.propTypes={selected:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={selected:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__item"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(257);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(145);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(150);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=function Tab(e){var t=e.children;return(0,o.createElement)("div",null,t)};i.propTypes={title:r.default.node.isRequired,label:r.default.oneOfType([r.default.string,r.default.element]),icon:r.default.oneOfType([r.default.string,r.default.object,r.default.element]),onActivate:r.default.func,onClose:r.default.func,children:r.default.node},i.defaultProps={label:null,icon:null,onActivate:null,onClose:null,children:null},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(173));t.default=new o.default},function(e,t,n){"use strict";function indentStr(e,t){for(var n="",o=0;o<t;o++)n+=" ";return n+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function toCss(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="";if(!t)return r;var i=n.indent,a=void 0===i?0:i,s=t.fallbacks;if(a++,s)if(Array.isArray(s))for(var l=0;l<s.length;l++){var u=s[l];for(var c in u){var p=u[c];null!=p&&(r+="\n"+indentStr(c+": "+(0,o.default)(p)+";",a))}}else for(var d in s){var f=s[d];null!=f&&(r+="\n"+indentStr(d+": "+(0,o.default)(f)+";",a))}for(var m in t){var h=t[m];null!=h&&"fallbacks"!==m&&(r+="\n"+indentStr(m+": "+(0,o.default)(h)+";",a))}return r||n.allowEmpty?(a--,r=indentStr(e+" {"+r+"\n",a)+indentStr("}",a)):r};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(45))},function(e,t,n){var o=n(23)(n(13),"Map");e.exports=o},function(e,t,n){function MapCache(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}var o=n(545),r=n(546),i=n(547),a=n(548),s=n(549);MapCache.prototype.clear=o,MapCache.prototype.delete=r,MapCache.prototype.get=i,MapCache.prototype.has=a,MapCache.prototype.set=s,e.exports=MapCache},function(e,t,n){function Stack(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(46),r=n(562),i=n(563),a=n(564),s=n(565),l=n(566);Stack.prototype.clear=r,Stack.prototype.delete=i,Stack.prototype.get=a,Stack.prototype.has=s,Stack.prototype.set=l,e.exports=Stack},function(e,t){var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=function isIndex(e,t){return!!(t=null==t?n:t)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var o=n(14),r=n(37),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function isKey(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!r(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},function(e,t){var n=Object.prototype;e.exports=function isPrototype(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){(function(e){var o=n(13),r=n(582),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?o.Buffer:void 0,l=(s?s.isBuffer:void 0)||r;e.exports=l}).call(t,n(94)(e))},function(e,t,n){var o=n(22),r=n(16),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function isFunction(e){if(!r(e))return!1;var t=o(e);return t==a||t==s||t==i||t==l}},function(e,t){var n=9007199254740991;e.exports=function isLength(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},function(e,t,n){var o=n(501),r=n(221),i=n(554),a=i&&i.isTypedArray,s=a?r(a):o;e.exports=s},function(e,t,n){function memoize(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(r);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(memoize.Cache||o),n}var o=n(74),r="Expected a function";memoize.Cache=o,e.exports=memoize},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(0)),a=function IconBase(e,t){var n=e.children,i=e.color,a=e.size,s=e.style,l=e.width,u=e.height,c=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["children","color","size","style","width","height"]),p=t.reactIconBase,d=void 0===p?{}:p,f=a||d.size||"1em";return r.default.createElement("svg",o({children:n,fill:"currentColor",preserveAspectRatio:"xMidYMid meet",height:u||f,width:l||f},d,c,{style:o({verticalAlign:"middle",color:i||d.color},d.style||{},s)}))};a.propTypes={color:i.default.string,size:i.default.oneOfType([i.default.string,i.default.number]),width:i.default.oneOfType([i.default.string,i.default.number]),height:i.default.oneOfType([i.default.string,i.default.number]),style:i.default.object},a.contextTypes={reactIconBase:i.default.shape(a.propTypes)},t.default=a,e.exports=t.default},function(e,t,n){"use strict";var o=n(599);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(601);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(614);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(615);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(626);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(650);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"b",function(){return u});var o=n(609),r=n(664),i=n(670),a=n(669),s=n(671),l="rsg-code-editor",u="rsg-usage",c=[i.a];t.a={sectionToolbar:c,componentToolbar:c,exampleToolbar:c,exampleTabButtons:[{id:l,render:a.a}],exampleTabs:[{id:l,render:o.a}],docsTabButtons:[{id:u,render:s.a}],docsTabs:[{id:u,render:r.a}]}},function(e,t,n){"use strict";var o=n(175),r=(n.n(o),n(462)),i=n.n(r),a=n(463),s=n.n(a),l=n(464),u=n.n(l),c=n(458),p=n.n(c),d=n(461),f=n.n(d),m=n(459),h=n.n(m),b=n(674),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},A=n.i(o.create)({createGenerateClassName:function createGenerateClassName(){var e=0;return function(t){return"rsg--"+t.key+"-"+e++}},plugins:[i()(),s()({reset:g({},b.a,{boxSizing:"border-box",color:"inherit",fontFamily:"inherit",lineHeight:"inherit",fontSize:"inherit"})}),u()(),p()(),f()(),h()()]});t.a=A},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o=_interopRequireDefault(n(832)),r=_interopRequireDefault(n(833)),i=_interopRequireDefault(n(213));e.exports={Transition:i.default,TransitionGroup:r.default,CSSTransition:o.default}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var o=n(504),r=n(505),i=n(53),a=n(14),s=n(580);e.exports=function baseIteratee(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?r(e[0],e[1]):o(e):s(e)}},function(e,t){e.exports=function arrayMap(e,t){for(var n=-1,o=null==e?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(12));n(10),n(837);var u=function Action(e){var t,n=e.baseClassName,i=e.component,s=e.icon,u=e.rightAddon,c=e.bottomAddon,p=e.children,d=e.nowrap,f=e.outerProps,m=_objectWithoutProperties(e,["baseClassName","component","icon","rightAddon","bottomAddon","children","nowrap","outerProps"]),h=f.className,b=_objectWithoutProperties(f,["className"]),g=(s=l.default.create(s,{className:n+"__icon",size:"sm"}))&&s.props.size?s.props.size:null;return(0,r.createElement)("div",o({className:(0,a.default)(n,(t={},_defineProperty(t,n+"--size-"+g,g),_defineProperty(t,n+"--nowrap",d),t),h)},b),(0,r.createElement)(i,m,s,p),u?(0,r.createElement)("div",{className:n+"__right-addon"},u):null,c?(0,r.createElement)("div",{className:n+"__bottom-addon"},c):null)};u.propTypes={children:i.default.node,baseClassName:i.default.string,component:i.default.oneOfType([i.default.string,i.default.func]),icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),rightAddon:i.default.node,bottomAddon:i.default.node,nowrap:i.default.bool,outerProps:i.default.object},u.defaultProps={children:null,baseClassName:s.CLS_PREFIX+"action",component:"a",icon:null,rightAddon:null,bottomAddon:null,nowrap:!1,outerProps:{}},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(97);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(10),n(838);var l=function Alert(e){var t=e.baseClassName,n=e.className,i=e.intent,s=e.children,l=e.onClose,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","intent","children","onClose"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--"+i,i),n)},u),l&&(0,r.createElement)("span",{className:"close",onClick:l}),s)};l.propTypes={intent:i.default.oneOf(["info","success","warning","danger"]),children:i.default.node,onClose:i.default.func,className:i.default.string,baseClassName:i.default.string},l.defaultProps={intent:null,children:null,onClose:null,className:null,baseClassName:s.CLS_PREFIX+"alert"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=n(3),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),a=function(e){function AutoClosable(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,AutoClosable);var t=function _possibleConstructorReturn(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}(this,(AutoClosable.__proto__||Object.getPrototypeOf(AutoClosable)).call(this,e));return t.onOutsideClick=t.onOutsideClick.bind(t),t}return function _inherits(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)}(AutoClosable,r.Component),o(AutoClosable,[{key:"componentDidMount",value:function componentDidMount(){document.body.addEventListener("click",this.onOutsideClick)}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.body.removeEventListener("click",this.onOutsideClick)}},{key:"onOutsideClick",value:function onOutsideClick(e){(0,r.findDOMNode)(this).contains(e.target)||this.props.onClose&&this.props.onClose()}},{key:"render",value:function render(){return r.Children.only(this.props.children)}}]),AutoClosable}();a.propTypes={onClose:i.default.func,children:i.default.element.isRequired},a.defaultProps={onClose:null},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(100);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(839);var l=function AuxiliaryActions(e){var t=e.baseClassName,n=e.className,i=e.separator,s=e.children,l=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","separator","children"]),u=null===i?(0,r.createElement)("span",{className:t+"__separator"}," | "):i;return(0,r.createElement)("span",o({className:(0,a.default)(t,n)},l),r.Children.toArray(s).reduce(function(e,t,n){return null===e?[t]:[].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e),[(0,r.isValidElement)(u)?(0,r.cloneElement)(u,{key:n}):i,t])},null))};l.propTypes={children:i.default.node,separator:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={baseClassName:s.CLS_PREFIX+"auxiliary-actions",className:null,separator:null,children:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(63));n(10),n(840);var u=function Badge(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.label,u=e.hidden,c=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","label","hidden"]);return i&&!u?((0,r.isValidElement)(s)||(s=(0,r.createElement)(l.default,{intent:"danger"},s)),s=(0,r.cloneElement)(s,{className:(0,a.default)(t+"__value",s.props.className)})):s=null,(0,r.createElement)("div",o({className:(0,a.default)(t,n)},c),i,s)};u.propTypes={label:i.default.oneOfType([i.default.string,i.default.element]).isRequired,hidden:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={hidden:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"badge"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(103);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(12)),c=_interopRequireDefault(n(42));n(10),n(841);var p=function(e){function Button(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Button);var t=function _possibleConstructorReturn(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}(this,(Button.__proto__||Object.getPrototypeOf(Button)).call(this,e));t.handleToggle=function(){var e=t.state.selected;return t.setState({selected:!e}),!e};var n=null!==e.onToggle||null!==e.selected;return t.state={toggle:n,selected:n?e.selected||!1:null},t}return function _inherits(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)}(Button,i.Component),r(Button,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=this.state,n=t.toggle,o=t.selected,r=e.onToggle,i=e.selected,a={};a.toggle=null!==r||null!==i,i===this.props.selected?a.selected=o:a.selected=a.toggle?i||!1:null,a.toggle===n&&a.selected===o||this.setState(a)}},{key:"isResponsive",value:function isResponsive(){return this.context.responsive||!1}},{key:"renderIcon",value:function renderIcon(){var e=this.props,t=e.baseClassName,n=e.icon,o=void 0;return o="string"==typeof n?(0,i.createElement)(u.default,{className:t+"__icon--"+n}):n,(0,i.isValidElement)(o)&&(o=(0,i.cloneElement)(o,{className:(0,s.default)(t+"__icon",o.props.className)})),o}},{key:"renderCaret",value:function renderCaret(){var e=this.props,t=e.baseClassName,n=e.caret,o=void 0;return o="boolean"==typeof n&&n?(0,i.createElement)("span",null):n,(0,i.isValidElement)(o)&&(o=(0,i.cloneElement)(o,{className:(0,s.default)(t+"__caret",o.props.className)})),o}},{key:"render",value:function render(){var e,t=this,n=this.props,r=n.baseClassName,a=n.className,l=n.component,u=n.intent,p=(n.selected,n.onToggle),d=n.state,f=n.icon,m=(n.caret,n.tooltip),h=n.children,b=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","component","intent","selected","onToggle","state","icon","caret","tooltip","children"]),g=this.state,A=g.toggle,v=g.selected,C=this.isResponsive(),y={};"button"===l?y.type="button":"a"===l&&(y.role="button",y.tabIndex=0,b.onClick&&b.disabled&&(b.onClick=function(e){e.preventDefault()}));var _=h,w=m;C&&f&&h&&(_=null,m||(w=h)),!b.onClick&&p&&(b.onClick=function(e){e.preventDefault(),p(t.handleToggle())}),A&&(y["aria-pressed"]=String(v));var x=(0,i.createElement)(l,o({className:(0,s.default)(r,(e={},_defineProperty(e,r+"--"+u,u),_defineProperty(e,r+"--"+d,d),_defineProperty(e,r+"--selected",v),_defineProperty(e,r+"--disabled",b.disabled),_defineProperty(e,r+"--empty",!_),e),a)},y,b),this.renderIcon(),_,this.renderCaret());return w&&(x=(0,i.createElement)(c.default,{title:w},x)),x}}]),Button}();p.propTypes={intent:a.default.oneOf(["primary","secondary","success","warning","danger","info"]),selected:a.default.bool,onToggle:a.default.func,state:a.default.oneOf(["active","loading","hovered"]),disabled:a.default.bool,tooltip:a.default.node,icon:a.default.oneOfType([a.default.oneOf(["archive","arrow-right","backup","clean","clock","copy","customize-order","download","edit","folder","globe","globe-alt","import","invisible","link","list","lock","ok-app","ok-circle","plugins","plus","power","question-circle","refresh","reload","remove","remove-app","remove-circle","search","security-scan","settings","share","shopping-cart","start","stop","suspend","themes","unarchive","unlock","upload","upload-alt","user","user-alt","visible"]),a.default.element]),caret:a.default.oneOfType([a.default.bool,a.default.element]),children:a.default.node,component:a.default.oneOfType([a.default.string,a.default.func]),className:a.default.string,baseClassName:a.default.string},p.defaultProps={intent:null,selected:null,onToggle:null,state:null,disabled:!1,tooltip:null,icon:null,caret:null,children:null,component:"button",className:null,baseClassName:l.CLS_PREFIX+"button"},p.contextTypes={responsive:a.default.bool},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(842);var l=function ButtonGroup(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.innerRef,l=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","innerRef"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n),ref:s},l),i)};l.propTypes={baseClassName:i.default.string,className:i.default.string,children:i.default.node,innerRef:i.default.func},l.defaultProps={baseClassName:s.CLS_PREFIX+"button-group",className:null,children:null,innerRef:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=n(93),c=_interopRequireDefault(n(38)),p=_interopRequireDefault(n(25)),d=_interopRequireDefault(n(15)),f=_interopRequireDefault(n(227)),m=_interopRequireDefault(n(56));n(843);var h="extended",b="row",g=function(e){function Card(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Card);var t=function _possibleConstructorReturn(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}(this,(Card.__proto__||Object.getPrototypeOf(Card)).call(this,e));return t.handleToggleView=function(){var e=t.state.view;t.setState({view:e===h?b:h})},t.state={view:e.view},t}return function _inherits(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)}(Card,i.Component),r(Card,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.view;t!==this.props.view&&this.setState({view:t})}},{key:"renderSelection",value:function renderSelection(){var e=this.props,t=e.baseClassName,n=e.selection;if(!n)return null;var o=n.isSelected,r=n.onSelectionChange;return(0,i.createElement)("div",{className:t+"__selection"},(0,i.createElement)(c.default,{checked:o,onChange:function onChange(e){return r({isSelected:e})}},this.isExtended()?(0,i.createElement)(d.default,{content:"Card.select",fallback:"Select"}):null))}},{key:"renderTitle",value:function renderTitle(){var e=this.props,t=e.baseClassName,n=e.title,o=e.titleLink;return(0,i.createElement)("div",{className:t+"__title"},(0,i.createElement)("span",{className:t+"__title-text"},n),o&&(0,i.createElement)(f.default,{component:"a",icon:"i-chain",href:o,tooltip:(0,i.createElement)(d.default,{content:"Card.titleLinkTooltip",fallback:"Go to page"})}))}},{key:"renderLabels",value:function renderLabels(){var e=this.props,t=e.baseClassName,n=e.labels;return 0===n.length?null:(0,i.createElement)("div",{className:t+"__labels"},i.Children.map(n,function(e){return(0,i.cloneElement)(e,{className:(0,s.default)(t+"__label",e.props.className)})}))}},{key:"renderHeader",value:function renderHeader(){var e=this.props.baseClassName;return(0,i.createElement)("div",{className:e+"__header"},this.renderSelection(),this.renderTitle(),this.isExtended()&&this.renderLabels(),this.renderButtons())}},{key:"renderRowHeader",value:function renderRowHeader(){var e=this.props,t=e.baseClassName,n=e.subtitle;return(0,i.createElement)("div",{className:t+"__header"},n&&(0,i.createElement)("div",{className:t+"__subtitle"},n),this.renderTitle())}},{key:"renderContent",value:function renderContent(){var e=this.props,t=e.baseClassName,n=e.children;return(0,i.createElement)("div",{className:t+"__main"},(0,i.createElement)("div",{className:t+"__main-content"},n))}},{key:"isExtended",value:function isExtended(){var e=this.state.view;return!this.isTile()&&e===h}},{key:"isTile",value:function isTile(){return"tile"===this.state.view}},{key:"isRow",value:function isRow(){var e=this.state.view;return!this.isTile()&&e===b}},{key:"renderButtons",value:function renderButtons(){var e=[],t=this.props,n=t.baseClassName,r=t.rowContent,a=t.menu;return this.isRow()||this.props.buttons.forEach(function(t,n){e.push((0,i.createElement)(f.default,o({key:t.key||n},t)))}),a&&e.push((0,i.createElement)(p.default,{key:"menu",menu:a,menuPlacement:"bottom-end"},(0,i.createElement)(f.default,{icon:"i-menu"}))),r&&!this.isTile()&&e.push((0,i.createElement)(f.default,{key:"toggleView",icon:this.isExtended()?"i-arrow-up-07":"i-arrow-down-07",onClick:this.handleToggleView,tooltip:this.isExtended()?(0,i.createElement)(d.default,{content:"Card.collapseCardTooltip",fallback:"Collapse the card"}):(0,i.createElement)(d.default,{content:"Card.expandCardTooltip",fallback:"Expand the card"})})),0===e.length?null:(0,i.createElement)("div",{className:n+"__buttons"},e)}},{key:"renderSideHeader",value:function renderSideHeader(){var e=this.props,t=e.sideHeader,n=e.baseClassName;if(!t)return null;var o=t;return t.type===m.default&&this.isRow()&&(o=(0,i.cloneElement)(t,{children:null})),(0,i.createElement)("div",{className:n+"__side-header"},o)}},{key:"renderSideContent",value:function renderSideContent(){var e=this.props,t=e.sideContent,n=e.baseClassName;return t?(0,i.createElement)("div",{className:n+"__side-content"},t):null}},{key:"renderRow",value:function renderRow(){var e=this.props,t=e.baseClassName,n=e.rowContent;return(0,i.createElement)("div",{className:t+"__inner"},(0,i.createElement)("div",{className:t+"__body"},this.renderSelection(),this.renderSideHeader(),this.renderRowHeader(),(0,i.createElement)("div",{className:t+"__main"},(0,i.createElement)("div",{className:t+"__main-content"},n)),this.renderButtons()))}},{key:"renderTile",value:function renderTile(){var e=this.props.baseClassName;return(0,i.createElement)("div",{className:e+"__inner"},this.renderHeader(),(0,i.createElement)("div",{className:e+"__body"},this.renderSideHeader(),this.renderContent()),this.renderSideContent())}},{key:"renderExtended",value:function renderExtended(){var e=this.props.baseClassName,t=this.renderSideHeader(),n=this.renderSideContent();return(0,i.createElement)("div",{className:e+"__inner"},this.renderHeader(),(0,i.createElement)("div",{className:e+"__body"},t||n?(0,i.createElement)("div",{className:e+"__side"},t,n):null,this.renderContent()))}},{key:"renderLoader",value:function renderLoader(){var e=this.props,t=e.baseClassName,n=e.progress;if(!n)return null;var o=(0,i.createElement)("svg",{className:t+"__spinner",viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("circle",{className:t+"__spinner-path",fill:"none",strokeWidth:"4",strokeLinecap:"round",cx:"25",cy:"25",r:"20"}));return(0,i.createElement)("div",{className:t+"__content-blocker"},(0,i.createElement)("div",{className:t+"__loader"},o,!0===n?null:(0,i.createElement)("div",{className:t+"__loader-text"},n)))}},{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,r=t.className,a=(t.children,t.view,t.intent),l=(t.title,t.subtitle,t.titleLink,t.selection,t.rowContent,t.sideHeader,t.sideContent,t.buttons,t.menu,t.labels,t.progress),c=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","view","intent","title","subtitle","titleLink","selection","rowContent","sideHeader","sideContent","buttons","menu","labels","progress"]);return(0,i.createElement)(u.CSSTransition,{classNames:n+"-",in:this.isExtended(),timeout:300},(0,i.createElement)("div",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--extended",this.isExtended()),_defineProperty(e,n+"--tile",this.isTile()),_defineProperty(e,n+"--row",this.isRow()),_defineProperty(e,n+"--"+a,a),_defineProperty(e,n+"--progress",l),e),r)},c),this.isExtended()&&this.renderExtended(),this.isTile()&&this.renderTile(),this.isRow()&&this.renderRow(),this.renderLoader()))}}]),Card}();g.propTypes={children:a.default.node,view:a.default.oneOf([h,"tile",b]),intent:a.default.oneOf(["warning","danger","inactive"]),title:a.default.node.isRequired,titleLink:a.default.string,subtitle:a.default.node,labels:a.default.arrayOf(a.default.element),buttons:a.default.arrayOf(a.default.shape({icon:a.default.oneOfType([a.default.string,a.default.object,a.default.element]).isRequired,onClick:a.default.func.isRequired,tooltip:a.default.node})),menu:a.default.element,selection:a.default.shape({isSelected:a.default.bool.isRequired,onSelectionChange:a.default.func.isRequired}),sideHeader:a.default.element,sideContent:a.default.element,rowContent:a.default.any,progress:a.default.oneOfType([a.default.bool,a.default.node]),className:a.default.string,baseClassName:a.default.string},g.defaultProps={children:null,view:h,intent:null,subtitle:"",titleLink:"",labels:[],buttons:[],menu:null,selection:null,sideHeader:null,sideContent:null,rowContent:null,progress:!1,className:null,baseClassName:l.CLS_PREFIX+"card"},t.default=g},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4),c=_interopRequireDefault(n(12));n(846);var p=function(e){function Carousel(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Carousel);var t=function _possibleConstructorReturn(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}(this,(Carousel.__proto__||Object.getPrototypeOf(Carousel)).call(this,e));return t.state={width:null,current:0,next:0,moving:!1},t.width=0,t.totalWidth=0,t.slideWidths=[],t.speed=500,t.movingCallback=null,t.playSpeed=5e3,t.playTimer=null,t.handlePrevClick=t.handlePrevClick.bind(t),t.handleNextClick=t.handleNextClick.bind(t),t.stop=t.stop.bind(t),t.play=t.play.bind(t),t.handleResize=t.handleResize.bind(t),t}return function _inherits(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)}(Carousel,i.Component),r(Carousel,[{key:"componentDidMount",value:function componentDidMount(){this.isRtl=(0,i.isRtl)();var e=(0,i.findDOMNode)(this);this.slideWidths=[].map.call(e.firstChild.childNodes,function(e){return e.clientWidth}),this.totalWidth=this.slideWidths.reduce(function(e,t){return e+t},0),this.play()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.stop(),clearTimeout(this.movingCallback)}},{key:"handlePrevClick",value:function handlePrevClick(){this.stop(),this.setCurrentSlide(this.state.current-1)}},{key:"handleNextClick",value:function handleNextClick(){this.stop(),this.setCurrentSlide(this.state.current+1)}},{key:"play",value:function play(){var e=this;this.playTimer=setTimeout(function(){e.setCurrentSlide(e.state.current+1),e.play()},this.playSpeed)}},{key:"stop",value:function stop(){this.playTimer&&(clearTimeout(this.playTimer),this.playTimer=null)}},{key:"setCurrentSlide",value:function setCurrentSlide(e){var t=this;if(!this.state.moving){var n=e;n<0&&(n=this.slideWidths.length-1),n>=this.slideWidths.length&&(n=0),this.setState({current:n,next:e,moving:!0}),this.movingCallback=setTimeout(function(){t.movingCallback=null,t.setState({moving:!1})},this.speed)}}},{key:"handleResize",value:function handleResize(e){this.setState({width:e.bounds.width})}},{key:"listStyle",value:function listStyle(){var e=this.state,t=e.current,n=e.next,o=e.moving,r=o?n:t,i=26-this.totalWidth;if(r<0)for(var a=r;a<0;a++)i+=this.slideWidths[a+this.slideWidths.length];else for(var s=0;s<r;s++)i-=this.slideWidths[s%this.slideWidths.length];return this.isRtl&&(i=-i),{WebkitTransform:"translateX("+(i?i+"px":0)+")",transform:"translateX("+(i?i+"px":0)+")",WebkitTransition:o?"-webkit-transform "+this.speed+"ms ease":null,transition:o?"transform "+this.speed+"ms ease":null}}},{key:"render",value:function render(){var e=this,t=this.state.width<this.totalWidth,n=this.props,r=n.baseClassName,a=n.className,u=n.children,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","children"]);return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(n){var l=n.measureRef;return(0,i.createElement)("section",o({ref:l,className:(0,s.default)(r,a)},p),(0,i.createElement)("div",{className:r+"__slides",style:t?e.listStyle():null},t&&u,u,t&&u),t&&(0,i.createElement)("div",{className:r+"__controls"},(0,i.createElement)("button",{className:(0,s.default)(r+"__control",r+"__control--previous"),onClick:e.handlePrevClick},(0,i.createElement)(c.default,{name:"i-arrow-"+(e.isRtl?"right":"left")+"-07",className:r+"__control-icon"})),(0,i.createElement)("button",{className:(0,s.default)(r+"__control",r+"__control--next"),onClick:e.handleNextClick},(0,i.createElement)(c.default,{name:"i-arrow-"+(e.isRtl?"left":"right")+"-07",className:r+"__control-icon"}))))})}}]),Carousel}();p.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"carousel"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(42));n(847);var c=function(e){function Checkbox(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Checkbox);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Checkbox.__proto__||Object.getPrototypeOf(Checkbox)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,o=t.disabled,r=t.onChange;!o&&r&&r(e.target.checked)},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Checkbox,i.Component),r(Checkbox,[{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.children,a=(e.onChange,e.tooltip),l=e.checked,c=e.defaultChecked,p=e.disabled,d=e.inputProps,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onChange","tooltip","checked","defaultChecked","disabled","inputProps"]),m=(0,i.createElement)("label",o({className:(0,s.default)(t,n)},f),(0,i.createElement)("input",o({className:t+"__input",type:"checkbox",onChange:this.handleChange,checked:l,defaultChecked:c,disabled:p},d)),(0,i.createElement)("span",{className:t+"__indicator"}),r?(0,i.createElement)("span",{className:t+"__text"},r):null);return a&&(m=(0,i.createElement)(u.default,{title:a},m)),m}}]),Checkbox}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,tooltip:a.default.node,disabled:a.default.bool,children:a.default.any,inputProps:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,tooltip:void 0,disabled:!1,children:void 0,inputProps:{},className:void 0,baseClassName:l.CLS_PREFIX+"checkbox"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(28),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4);n(848);var c=function(e){function CodeEditor(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,CodeEditor);var t=function _possibleConstructorReturn(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}(this,(CodeEditor.__proto__||Object.getPrototypeOf(CodeEditor)).call(this,e));return t.handleChange=function(e,n){if(!t.props.readOnly&&"setValue"!==n.origin){var o=t.state.lineSeparator,r=t.props.onChange,i=e.getValue(o);t.setState({content:i},function(){(0,a.safeInvoke)(r,i)})}},t.state={content:t.props.children,lineSeparator:t.getLineSeparator(t.props.children),options:o({lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,matchTags:{bothTags:!0},indentUnit:4,indentWithTabs:!0,enterMode:"keep",tabMode:"shift"},e.options,{extraKeys:{"Ctrl-S":"save"},autofocus:e.autofocus,readOnly:e.readOnly})},t}return function _inherits(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)}(CodeEditor,i.Component),r(CodeEditor,[{key:"componentDidMount",value:function componentDidMount(){var e=this;n.e(2).then(n.bind(null,904)).then(function(t){var n=t.CodeMirror;e.CodeMirror=n;var o=e.props.onInit,r=e.state.options;e.codeMirror=n.fromTextArea(e.textareaNode,r),e.updateMode(e.props),n.commands.save=e.props.onSave,n.commands.find=n.commands.findPersistent,n.commands.findNext=n.commands.findPersistentNext,n.commands.findPrev=n.commands.findPersistentPrev,(0,a.safeInvoke)(o,e.codeMirror.display.wrapper),e.codeMirror.on("change",e.handleChange)})}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.mode,n=e.fileName,o=e.children,r=e.autofocus;this.updateMode({mode:t,fileName:n});var i=o||"";if(i!==this.state.content){var a={content:i,lineSeparator:this.getLineSeparator(i)},s=this.codeMirror.getScrollInfo();this.codeMirror.setValue(i),this.codeMirror.scrollTo(s.left,s.top),r&&this.codeMirror.focus(),this.setState(a)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.codeMirror&&this.codeMirror.toTextArea()}},{key:"findModeByFileName",value:function findModeByFileName(e){var t=this.CodeMirror.findModeByFileName(e);return t?t.mode:null}},{key:"updateMode",value:function updateMode(e){var t=e.mode,n=e.fileName;!t&&n&&(t=this.findModeByFileName(n)),t&&this.CodeMirror.loadMode(this.codeMirror,t)}},{key:"getLineSeparator",value:function getLineSeparator(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=/^.*?(\r\n?|\n)/.exec(e);return t&&t[1]?t[1]:"\n"}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=(t.mode,t.fileName,t.readOnly,t.autofocus,t.children,t.onInit,t.onChange,t.onSave,t.options,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","mode","fileName","readOnly","autofocus","children","onInit","onChange","onSave","options"])),s=this.state.content;return(0,i.createElement)("textarea",o({style:{display:"none"},ref:function ref(t){return e.textareaNode=t},className:(0,l.default)(n,r),defaultValue:s},a))}}]),CodeEditor}();c.propTypes={mode:s.default.oneOfType([s.default.string,s.default.object]),fileName:s.default.string,children:s.default.string,readOnly:s.default.bool,autofocus:s.default.bool,onInit:s.default.func,onChange:s.default.func,onSave:s.default.func,options:s.default.object,className:s.default.string,baseClassName:s.default.string},c.defaultProps={mode:"",fileName:"",children:"",readOnly:!1,autofocus:!1,onInit:null,onChange:null,onSave:null,options:null,className:null,baseClassName:u.CLS_PREFIX+"code-editor"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(849);var l=function ConsoleOutput(e){var t=e.baseClassName,n=e.className,i=e.wide,s=e.cursor,l=e.children,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","wide","cursor","children"]);return(0,r.createElement)("pre",o({className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--wide",i),n)},u),l,s?(0,r.createElement)("span",{className:(0,a.default)(t+"__cursor","animation-blink")}):null)};l.propTypes={baseClassName:i.default.string,className:i.default.string,children:i.default.node,wide:i.default.bool,cursor:i.default.bool},l.defaultProps={baseClassName:s.CLS_PREFIX+"console-output",className:null,children:null,wide:!1,cursor:!1},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(15));n(850);var c=function(e){function Cuttable(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Cuttable);var t=function _possibleConstructorReturn(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}(this,(Cuttable.__proto__||Object.getPrototypeOf(Cuttable)).call(this,e));return t.state={collapsed:null},t.handleToggle=t.handleToggle.bind(t),t}return function _inherits(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)}(Cuttable,i.Component),r(Cuttable,[{key:"componentDidMount",value:function componentDidMount(){var e=(0,i.findDOMNode)(this).firstElementChild;e.scrollHeight>e.clientHeight&&this.setState({collapsed:this.props.collapsed})}},{key:"handleToggle",value:function handleToggle(){this.setState({collapsed:!this.state.collapsed})}},{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=(t.collapsed,t.maxHeight),c=t.locale,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","collapsed","maxHeight","locale"]),d=this.state.collapsed?"showMore":"showLess";return(0,i.createElement)("div",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--collapse",!0===this.state.collapsed),_defineProperty(e,n+"--expand",!1===this.state.collapsed),e),r)},p),(0,i.createElement)("div",{className:n+"__content",style:{maxHeight:l}},a),null!==this.state.collapsed&&(0,i.createElement)("div",{className:n+"__action"},(0,i.createElement)("a",{onClick:this.handleToggle},(0,i.createElement)(u.default,{content:"Cuttable."+d,fallback:c[d]}))))}}]),Cuttable}();c.propTypes={children:a.default.node,collapsed:a.default.bool,maxHeight:a.default.string,locale:a.default.shape({showMore:a.default.any,showLess:a.default.any}),className:a.default.string,baseClassName:a.default.string},c.defaultProps={children:null,collapsed:!0,maxHeight:"7rem",locale:{showMore:"Show more",showLess:"Show less"},className:null,baseClassName:l.CLS_PREFIX+"cuttable"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(28),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4),c=_interopRequireDefault(n(67)),p=_interopRequireDefault(n(58)),d=_interopRequireDefault(n(11)),f=_interopRequireDefault(n(15));n(10),n(851);var m=function(e){function Dialog(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Dialog);var t=function _possibleConstructorReturn(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}(this,(Dialog.__proto__||Object.getPrototypeOf(Dialog)).call(this,e));return t.handleClose=function(){t.setState({show:!1}),(0,a.safeInvoke)(t.props.onClose)},t.state={show:e.isOpen},t}return function _inherits(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)}(Dialog,i.Component),r(Dialog,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t={show:e.isOpen};this.setState(t)}},{key:"renderImage",value:function renderImage(e,t){var n=this.props.baseClassName+"__"+t;return(0,i.isValidElement)(e)?(0,i.createElement)("div",{className:n},e):"string"==typeof e?(0,i.createElement)("div",{className:n},(0,i.createElement)("img",{className:n+"-inner",src:e})):(0,i.createElement)("div",{className:n},(0,i.createElement)("img",o({className:n+"-inner"},e)))}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.children,a=(e.isOpen,e.banner),s=e.image,u=e.title,m=e.cancelTitle,h=e.buttons,b=e.form,g=e.size,A=(e.onClose,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","isOpen","banner","image","title","cancelTitle","buttons","form","size","onClose"])),v=this.state.show,C=m||(0,i.createElement)(f.default,{content:"Dialog.cancelButton",fallback:"Cancel"}),y=void 0;return b?(b.cancelButton=o({onClick:this.handleClose},b.cancelButton),b.footerClassName=(0,l.default)(b.footerClassName,t+"__form-footer"),b.applyButton=b.applyButton||!1,!b.cancelButton.children&&C&&(b.cancelButton.children=C),y=(0,i.createElement)(p.default,b,r)):y=r,(0,i.createElement)(c.default,o({className:(0,l.default)(t,n),isOpen:v,onClose:this.handleClose,canCloseOnBackdropClick:!1,size:g},A),u&&(0,i.createElement)("div",{className:t+"__heading"},(0,i.createElement)("h2",{className:t+"__heading-title"},u)),a&&this.renderImage(a,"banner"),(0,i.createElement)("div",{className:t+"__content"},s&&this.renderImage(s,"image"),y,!b&&(0,i.createElement)("div",{className:t+"__buttons"},h,(0,i.createElement)(d.default,{onClick:this.handleClose},C))))}}]),Dialog}();m.propTypes={isOpen:s.default.bool,banner:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),image:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),title:s.default.node,cancelTitle:s.default.node,buttons:s.default.node,form:s.default.object,size:s.default.oneOf(["sm","md","lg"]),onClose:s.default.func,children:s.default.node,className:s.default.string,baseClassName:s.default.string},m.defaultProps={isOpen:!1,banner:null,image:null,title:null,cancelTitle:null,buttons:null,form:null,size:"md",onClose:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"dialog"},t.default=m},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(67)),u=_interopRequireDefault(n(58)),c=_interopRequireDefault(n(236)),p=_interopRequireDefault(n(237));n(10),n(852);var d=function Drawer(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.title,d=e.subtitle,f=e.backButton,m=e.onClose,h=e.form,b=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","subtitle","backButton","onClose","form"]);return h?(h.footerClassName=(0,a.default)(h.footerClassName,t+"__form-footer"),h.className=(0,a.default)(t+"__form",h.className),h.cancelButton=o({onClick:m},h.cancelButton),i=(0,r.createElement)(u.default,h,i)):i=(0,r.createElement)("div",{className:t+"__inner-body"},i),(0,r.createElement)(l.default,o({className:(0,a.default)(t,_defineProperty({},t+"--form",h),n),onClose:m,canCloseOnBackdropClick:!1},b),(0,r.createElement)(c.default,{backButton:f,onClose:m},s),(0,r.createElement)(p.default,null,function(e){var n=e.direction,o=e.handleScroll;return(0,r.createElement)("div",{className:t+"__body",onScroll:o},(0,r.createElement)("div",null,d&&(0,r.createElement)("div",{className:(0,a.default)(t+"__subheader",_defineProperty({},t+"__subheader--hidden","down"===n))},(0,r.createElement)("h4",{className:t+"__subheader-title"},d)),i))}))};d.propTypes={isOpen:i.default.bool,title:i.default.node.isRequired,subtitle:i.default.node,backButton:i.default.bool,placement:i.default.oneOf(["left","right"]),size:i.default.oneOf(["sm","md","lg"]),onClose:i.default.func,form:i.default.object,children:i.default.node,className:i.default.string,baseClassName:i.default.string},d.defaultProps={isOpen:!1,subtitle:"",backButton:!1,placement:"left",size:"md",onClose:null,form:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"drawer"},t.default=d},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=n(3),s=n(28),l=_interopRequireDefault(n(0)),u=_interopRequireDefault(n(2)),c=n(4),p=_interopRequireDefault(n(11)),d=_interopRequireDefault(n(101)),f=_interopRequireDefault(n(146)),m=_interopRequireDefault(n(15));n(10),n(215),n(854);var h=function(e){function Dropdown(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Dropdown);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Dropdown.__proto__||Object.getPrototypeOf(Dropdown)).call.apply(e,[this].concat(i))),n.state={opened:!1},n.handleOpen=function(){n.setState({opened:!0})},n.handleClose=function(){setTimeout(function(){n.setState({opened:!1})},0)},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Dropdown,a.Component),i(Dropdown,[{key:"computePlacement",value:function computePlacement(e){var t=e.split("-"),n=r(t,2),o=n[0],i=n[1];return i&&(0,a.isRtl)()&&-1!==["top","bottom"].indexOf(o)?o+"-"+("start"===i?"end":"start"):e}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.children,i=e.menu,l=e.menuPlacement,h=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","menu","menuPlacement"]),b=this.state.opened,g=null,A=(0,a.cloneElement)(i,{onItemClick:(0,s.wrapFunction)(i.props.onItemClick,this.handleClose),className:(0,u.default)(t+"__menu",i.props.className)});return g=!r||"string"==typeof r||(0,a.isValidElement)(r)&&r.type===m.default?(0,a.createElement)(p.default,{caret:!0,onClick:this.handleOpen},r):(0,a.cloneElement)(r,{onClick:this.handleOpen}),(0,a.createElement)("div",o({className:(0,u.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--opened",b),n)},h),(0,a.createElement)(f.default,{target:g,placement:this.computePlacement(l),show:b,className:t+"__popper",zIndex:c.Z_INDEX_DROPDOWN},(0,a.createElement)(d.default,{onClose:this.handleClose},A)))}}]),Dropdown}();h.propTypes={menu:l.default.element.isRequired,menuPlacement:l.default.string,children:l.default.node,className:l.default.string,baseClassName:l.default.string},h.defaultProps={menuPlacement:"bottom-start",children:null,className:null,baseClassName:c.CLS_PREFIX+"dropdown"},t.default=h},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedStatusMessageSeparator=t.ExtendedStatusMessageActions=t.ExtendedStatusMessageDescription=t.ExtendedStatusMessageTitle=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(855);var l=function ExtendedStatusMessage(e){var t=e.baseClassName,n=e.className,i=e.intent,s=e.image,l=e.children,u=_objectWithoutProperties(e,["baseClassName","className","intent","image","children"]);return(0,r.createElement)("div",{className:t+"__container"},(0,r.createElement)("div",o({className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--"+i,i),n)},u),s?(0,r.createElement)("div",{className:t+"__image"},s):null,(0,r.createElement)("div",{className:t+"__body"},l)))};l.propTypes={image:i.default.any,intent:i.default.oneOf(["info","success","warning","danger"]),children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={image:null,intent:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"extended-status-message"};var u=function ExtendedStatusMessageTitle(e){var t=e.baseClassName,n=e.className,i=e.children,s=_objectWithoutProperties(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t+"__title",n)},s),i)};u.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"extended-status-message"};var c=function ExtendedStatusMessageDescription(e){var t=e.baseClassName,n=e.className,i=e.children,s=_objectWithoutProperties(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t+"__description",n)},s),i)};c.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},c.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"extended-status-message"};var p=function ExtendedStatusMessageActions(e){var t=e.baseClassName,n=e.className,i=e.children,s=_objectWithoutProperties(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t+"__actions",n)},s),i)};p.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},p.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"extended-status-message"};var d=function ExtendedStatusMessageSeparator(e){var t=e.className,n=_objectWithoutProperties(e,["className"]);return(0,r.createElement)("hr",o({className:(0,a.default)(t)},n))};d.propTypes={className:i.default.string},d.defaultProps={className:null},t.default=l,t.ExtendedStatusMessageTitle=u,t.ExtendedStatusMessageDescription=c,t.ExtendedStatusMessageActions=p,t.ExtendedStatusMessageSeparator=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(116);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}}),Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return o[e]}})})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(241),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=_interopRequireDefault(n(17)),c=n(4),p=_interopRequireDefault(n(11)),d=_interopRequireDefault(n(26)),f=_interopRequireDefault(n(41)),m=_interopRequireDefault(n(15));n(857);var h=function(e){function Form(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Form);var t=function _possibleConstructorReturn(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}(this,(Form.__proto__||Object.getPrototypeOf(Form)).call(this,e));return t.handleSubmit=function(e){e.preventDefault(),t.props.onSubmit&&t.props.onSubmit(t.state.values,!1)},t.handleSubmitClick=function(){t.props.onSubmit&&t.props.onSubmit(t.state.values,!1)},t.handleApplyClick=function(){t.props.onSubmit&&t.props.onSubmit(t.state.values,!0)},t.handleResize=function(e){var n=e.bounds,o=t.props.vertical;null===o?t.setState({vertical:n.width<450}):t.setState({vertical:o})},t.state={values:t.props.values,verticalSection:t.props.vertical||!1},t.form={getValue:function getValue(e,n){return(0,a.get)(t.state.values,e,n)},setValue:function setValue(e,n){t.setState((0,a.set)(t.state.values,e,n))},getErrors:function getErrors(e){return(0,a.get)(t.props.errors,e,{})},getRequiredMark:function getRequiredMark(){return t.props.requiredMark}},t}return function _inherits(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)}(Form,i.Component),r(Form,[{key:"getChildContext",value:function getChildContext(){return{form:this.form,verticalSection:this.state.vertical}}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.values;t!==this.state.values&&this.setState({values:t})}},{key:"renderRequiredLegend",value:function renderRequiredLegend(){return this.props.hideRequiredLegend||!this.props.requiredMark?"":(0,i.createElement)("span",null,this.props.requiredMark," ",(0,i.createElement)(m.default,{content:"Form.requiredLegend",fallback:"Required fields"}))}},{key:"renderSubmitButton",value:function renderSubmitButton(){var e=this.props,t=e.submitButton,n=e.state;return t?(0,i.createElement)(p.default,o({intent:"primary",state:"submit"===n?"loading":null,disabled:!!n,onClick:this.handleSubmitClick,children:(0,i.createElement)(m.default,{content:"Form.submitButton",fallback:"OK"})},t)):null}},{key:"renderApplyButton",value:function renderApplyButton(){var e=this.props,t=e.applyButton,n=e.state;return t?(0,i.createElement)(p.default,o({intent:"primary",state:"apply"===n?"loading":null,disabled:!!n,onClick:this.handleApplyClick,children:(0,i.createElement)(m.default,{content:"Form.applyButton",fallback:"Apply"})},t)):null}},{key:"renderCancelButton",value:function renderCancelButton(){var e=this.props,t=e.cancelButton,n=e.state;return t?(0,i.createElement)(p.default,o({state:"cancel"===n?"loading":null,disabled:!!n,children:(0,i.createElement)(m.default,{content:"Form.cancelButton",fallback:"Cancel"})},t)):null}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.children,s=(t.requiredMark,t.hideRequiredLegend,t.values,t.errors,t.submitButton,t.applyButton,t.cancelButton,t.onSubmit,t.additionalButtons),c=t.footerClassName,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","requiredMark","hideRequiredLegend","values","errors","submitButton","applyButton","cancelButton","onSubmit","additionalButtons","footerClassName"]);return(0,i.createElement)(u.default,{onResize:this.handleResize,bounds:!0},function(t){var u=t.measureRef;return(0,i.createElement)("form",o({ref:u,className:(0,l.default)(n,r),onSubmit:e.handleSubmit},p),a,(0,i.createElement)(f.default,{className:(0,l.default)(n+"__footer",c),title:" "},(0,i.createElement)(d.default,{label:e.renderRequiredLegend()},e.renderSubmitButton(),e.renderApplyButton(),s,e.renderCancelButton())))})}}]),Form}();h.propTypes={requiredMark:s.default.any,hideRequiredLegend:s.default.bool,values:s.default.object,errors:s.default.object,state:s.default.oneOf(["submit","apply","cancel"]),children:s.default.node,submitButton:s.default.oneOfType([s.default.bool,s.default.object]),applyButton:s.default.oneOfType([s.default.bool,s.default.object]),cancelButton:s.default.oneOfType([s.default.bool,s.default.object]),additionalButtons:s.default.array,onSubmit:s.default.func,footerClassName:s.default.string,vertical:s.default.bool,className:s.default.string,baseClassName:s.default.string},h.defaultProps={children:null,requiredMark:(0,i.createElement)("span",{className:c.CLS_PREFIX+"form__required"},"*"),hideRequiredLegend:!1,values:{},errors:{},state:null,submitButton:!0,applyButton:!0,cancelButton:!0,additionalButtons:[],onSubmit:null,className:null,footerClassName:null,vertical:null,baseClassName:c.CLS_PREFIX+"form"},h.childContextTypes={form:s.default.object,verticalSection:s.default.bool},t.default=h},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=n(41),c=_interopRequireDefault(n(61));n(858);var p=function(e){function FormField(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FormField);var t=function _possibleConstructorReturn(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}(this,(FormField.__proto__||Object.getPrototypeOf(FormField)).call(this,e));return t.state={value:t.props.value},t.fieldApi={getId:function getId(){return t.props.id?t.props.id:t.props.name?t.props.name.replace(/[[\]]+/g,"-").replace(/-+$/,""):null},getName:function getName(){return t.props.name},getValue:function getValue(e){return t.context.form&&t.props.name?t.context.form.getValue(t.props.name,e):t.state.value||e},setValue:function setValue(e){t.setState({value:e}),t.context.form&&t.props.name&&t.context.form.setValue(t.props.name,e),t.props.onChange&&t.props.onChange(e)},getErrors:function getErrors(){return t.context.form&&t.props.name?t.context.form.getErrors(t.props.name):t.props.errors},getRequiredMark:function getRequiredMark(){return t.context.form?t.context.form.getRequiredMark():null}},t}return function _inherits(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)}(FormField,i.Component),r(FormField,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.value;this.isControlled()&&this.setState({value:t})}},{key:"isControlled",value:function isControlled(){return void 0!==(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props).value}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=(e.id,e.name,e.value,e.onChange,e.label),a=e.description,l=(e.errors,e.required),p=e.children,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","id","name","value","onChange","label","description","errors","required","children"]),f=this.fieldApi.getErrors();return(0,i.createElement)(u.SectionItem,o({className:(0,s.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--error",Object.keys(this.fieldApi.getErrors()).length),n),title:null===r?null:(0,i.createElement)("label",{htmlFor:this.fieldApi.getId()},r," ",l?this.fieldApi.getRequiredMark():null)},d),"function"==typeof p?p(this.fieldApi):p,Object.keys(f).map(function(e){return(0,i.createElement)("span",{key:e,className:t+"__error"},f[e])}),a?(0,i.createElement)(c.default,{className:t+"__description"},a):null)}}]),FormField}();p.propTypes={id:a.default.string,name:a.default.string,value:a.default.any,onChange:a.default.func,label:a.default.any,description:a.default.any,errors:a.default.object,required:a.default.bool,children:a.default.oneOfType([a.default.node,a.default.func]),className:a.default.string,baseClassName:a.default.string},p.defaultProps={id:void 0,name:void 0,value:void 0,onChange:null,label:void 0,description:void 0,errors:{},required:!1,children:void 0,className:void 0,baseClassName:l.CLS_PREFIX+"form-field"},p.contextTypes={form:a.default.object},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(38)),u=_interopRequireDefault(n(26));n(10),n(859);var c=function FormFieldCheckbox(e){var t=e.baseClassName,n=e.className,i=e.disabled,s=e.label,c=e.required,p=e.checkedValue,d=e.uncheckedValue,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","disabled","label","required","checkedValue","uncheckedValue"]);return(0,r.createElement)(u.default,o({className:(0,a.default)(t,n),label:null},f),function(e){var t=e.getId,n=e.getName,o=e.getValue,a=e.setValue,u=e.getRequiredMark;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("input",{type:"hidden",name:n(),value:d}),(0,r.createElement)(l.default,{checked:o()===p,onChange:function onChange(e){return a(e?p:d)},inputProps:{id:t(),name:n(),value:p},disabled:i},s," ",c?u():null))})};c.propTypes={disabled:i.default.bool,checkedValue:i.default.oneOfType([i.default.bool,i.default.string]),uncheckedValue:i.default.oneOfType([i.default.bool,i.default.string]),label:i.default.any,required:i.default.bool,className:i.default.string,baseClassName:i.default.string},c.defaultProps={disabled:!1,checkedValue:!0,uncheckedValue:!1,label:void 0,required:!1,className:void 0,baseClassName:s.CLS_PREFIX+"form-field-checkbox"},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(11)),c=_interopRequireDefault(n(26)),p=_interopRequireDefault(n(39)),d=_interopRequireDefault(n(68)),f=_interopRequireDefault(n(15)),m=_interopRequireDefault(n(245)),h=_interopRequireDefault(n(244));n(860);var b={upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",lower:"abcdefghijklmnopqrstuvwxyz",number:"0123456789",special:"!@#$%^&*?_~"},g=function(e){function FormFieldPassword(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FormFieldPassword);var t=function _possibleConstructorReturn(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}(this,(FormFieldPassword.__proto__||Object.getPrototypeOf(FormFieldPassword)).call(this,e));return t.handleToggleClick=function(){t.setState({visible:!t.state.visible})},t.handleFocus=function(){t.setState({focus:!0})},t.handleBlur=function(){t.setState({focus:!1,passwordMeterVisible:!1})},t.state={visible:!1,focus:!1,passwordMeterVisible:!1},t}return function _inherits(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)}(FormFieldPassword,i.Component),r(FormFieldPassword,[{key:"generatePassword",value:function generatePassword(){return["upper","lower","lower","lower","number","number","special","number","upper","upper","lower","lower","lower","lower","lower","lower"].sort(function(e,t){return Math.floor(t.length*Math.random())-Math.floor(e.length*Math.random())}).map(function(e){return b[e][Math.floor(b[e].length*Math.random())]}).join("")}},{key:"passwordScore",value:function passwordScore(e){if(!e)return{intent:null,strength:null,unusedRules:[]};var t=(0,m.default)(e),n=t.score,o=t.unusedRules,r="success",a=(0,i.createElement)(f.default,{content:"FormFieldPassword.strengthStrong",fallback:h.default.strengthStrong});return n<25?(r="danger",a=(0,i.createElement)(f.default,{content:"FormFieldPassword.strengthWeak",fallback:h.default.strengthWeak})):n<35&&(r="warning",a=(0,i.createElement)(f.default,{content:"FormFieldPassword.strengthMedium",fallback:h.default.strengthMedium})),{intent:r,strength:a,unusedRules:o}}},{key:"renderPasswordMeter",value:function renderPasswordMeter(e,t){var n=this.state.passwordMeterVisible,o=this.passwordScore(e),r=o.intent,a=o.strength,s=o.unusedRules;return(0,i.createElement)(d.default,{visible:n&&!!e,target:t,placement:"bottom-right",key:"passwordMeter",intent:r,canCloseOnEscapePress:!1},(0,i.createElement)(f.default,{content:"FormFieldPassword.passwordStrength",fallback:h.default.passwordStrength,params:{strength:(0,i.createElement)("b",null,a)}}),(0,i.createElement)("br",null),s.length?(0,i.createElement)(f.default,{content:"FormFieldPassword.improvePassword",fallback:h.default.improvePassword}):null,s.length?(0,i.createElement)("br",null):null,s.length?(0,i.createElement)("ul",null,s.slice(0,3).map(function(e){var t=e.rule;return(0,i.createElement)("li",{key:t},(0,i.createElement)(f.default,{content:"FormFieldPassword."+t,fallback:h.default[t]}))})):(0,i.createElement)(f.default,{content:"FormFieldPassword.yourPasswordIsStrong",fallback:h.default.yourPasswordIsStrong}))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.hideShowButton,l=t.hideGenerateButton,d=t.hidePasswordMeter,m=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","hideShowButton","hideGenerateButton","hidePasswordMeter"]);return(0,i.createElement)(c.default,o({className:(0,s.default)(n,r)},m),function(t){var n=t.getId,o=t.getName,r=t.getValue,s=t.setValue,c=(0,i.createElement)(p.default,{id:n(),key:"input",name:o(),type:e.state.visible?"text":"password",value:r(""),onChange:function onChange(t){s(t.target.value),e.setState({passwordMeterVisible:!d&&e.state.focus})},onFocus:e.handleFocus,onBlur:e.handleBlur});return[d?c:e.renderPasswordMeter(r(),c),a?null:(0,i.createElement)(u.default,{key:"toggleButton",onClick:e.handleToggleClick,icon:e.state.visible?"visible":"invisible",tooltip:e.state.visible?(0,i.createElement)(f.default,{content:"FormFieldPassword.hidePassword",fallback:h.default.hidePassword}):(0,i.createElement)(f.default,{content:"FormFieldPassword.showPassword",fallback:h.default.showPassword})}),l?null:" ",l?null:(0,i.createElement)(u.default,{key:"generateButton",onClick:function onClick(){return s(e.generatePassword())},tooltip:(0,i.createElement)(f.default,{content:"FormFieldPassword.generateButtonHint",fallback:h.default.generateButtonHint})},(0,i.createElement)(f.default,{content:"FormFieldPassword.generateButton",fallback:h.default.generateButton}))]})}}]),FormFieldPassword}();g.propTypes={hideShowButton:a.default.bool,hideGenerateButton:a.default.bool,hidePasswordMeter:a.default.bool,className:a.default.string,baseClassName:a.default.string},g.defaultProps={hideShowButton:!1,hideGenerateButton:!1,hidePasswordMeter:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-password"},t.default=g},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(26)),c=_interopRequireDefault(n(61)),p=_interopRequireDefault(n(262));n(861);var d=function(e){function FormFieldRadioButtons(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FormFieldRadioButtons),function _possibleConstructorReturn(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}(this,(FormFieldRadioButtons.__proto__||Object.getPrototypeOf(FormFieldRadioButtons)).apply(this,arguments))}return function _inherits(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)}(FormFieldRadioButtons,i.Component),r(FormFieldRadioButtons,[{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.options,a=e.disabled,l=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","options","disabled"]);return(0,i.createElement)(u.default,o({className:(0,s.default)(t,n)},l),function(e){var t=e.getId,n=e.getName,o=e.getValue,s=e.setValue;return r.map(function(e){var r=e.value,l=e.label,d=e.description,f=e.disabled,m=e.indentFields,h=void 0===m?[]:m;return(0,i.createElement)(p.default,{key:r,name:n(),label:l||r,checked:o()===r,onChange:function onChange(e){e&&s(r)},disabled:a||f,inputProps:{id:t()?t()+"-"+r:null,name:n(),value:r}},d?(0,i.createElement)(c.default,{className:u.default.defaultProps.baseClassName+"__description"},d):null,h.map(function(e){return a||f||o()!==r?(0,i.cloneElement)(e,{disabled:!0}):e}))})})}}]),FormFieldRadioButtons}();d.propTypes={options:a.default.arrayOf(a.default.shape({value:a.default.string.isRequired,label:a.default.node.isRequired,description:a.default.node,disabled:a.default.bool,indentFields:a.default.array})).isRequired,value:a.default.string.isRequired,disabled:a.default.bool,className:a.default.string,baseClassName:a.default.string},d.defaultProps={disabled:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-radio-buttons"},t.default=d},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(26)),c=_interopRequireDefault(n(39));n(862);var p=function(e){function FormFieldText(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FormFieldText),function _possibleConstructorReturn(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}(this,(FormFieldText.__proto__||Object.getPrototypeOf(FormFieldText)).apply(this,arguments))}return function _inherits(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)}(FormFieldText,i.Component),r(FormFieldText,[{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.size,a=e.placeholder,l=e.disabled,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","size","placeholder","disabled"]);return(0,i.createElement)(u.default,o({className:(0,s.default)(t,n)},p),function(e){var n=e.getId,o=e.getName,s=e.getValue,u=e.setValue;return(0,i.createElement)(c.default,{id:n(),name:o(),className:t+"__input",value:s(""),onChange:function onChange(e){return u(e.target.value)},disabled:l,size:r,placeholder:a})})}}]),FormFieldText}();p.propTypes={size:a.default.oneOf(["sm","md","lg","xl","fill"]),placeholder:a.default.string,disabled:a.default.bool,className:a.default.string,baseClassName:a.default.string},p.defaultProps={size:void 0,placeholder:void 0,disabled:!1,className:void 0,baseClassName:l.CLS_PREFIX+"form-field-text"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4);n(863);var c=function(e){function Grid(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Grid);var t=function _possibleConstructorReturn(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}(this,(Grid.__proto__||Object.getPrototypeOf(Grid)).call(this,e));return t.handleResize=function(e){var n=e.entry.width,o=t.props.maxColumnsNumber;"function"==typeof o&&(o=o({width:n}));var r=Math.max(Math.floor((n+t.getGapSize())/(t.props.minColumnWidth+t.getGapSize())),1);t.setState({xs:Math.min(r,o)}),t.props.onColumnsChange&&t.props.onColumnsChange(r)},t.state={xs:t.props.xs},t}return function _inherits(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)}(Grid,i.Component),r(Grid,[{key:"getGapSize",value:function getGapSize(){switch(this.props.gap){case"xs":return 8;case"sm":return 12;case"md":return 16;case"lg":return 24;case"xl":return 32;default:return 0}}},{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,r=t.className,a=t.minColumnWidth,u=(t.onColumnsChange,t.maxColumnsNumber,t.xs,t.sm),c=t.md,p=t.lg,d=t.xl,f=t.gap,m=t.children,h=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","minColumnWidth","onColumnsChange","maxColumnsNumber","xs","sm","md","lg","xl","gap","children"]),b=(0,s.default)(n,(e={},_defineProperty(e,n+"--xs-"+this.state.xs,this.state.xs),_defineProperty(e,n+"--sm-"+u,u),_defineProperty(e,n+"--md-"+c,c),_defineProperty(e,n+"--lg-"+p,p),_defineProperty(e,n+"--xl-"+d,d),_defineProperty(e,n+"--gap-xs","xs"===f),_defineProperty(e,n+"--gap-sm","sm"===f),_defineProperty(e,n+"--gap-md","md"===f),_defineProperty(e,n+"--gap-lg","lg"===f),_defineProperty(e,n+"--gap-xl","xl"===f),e),r),g=(0,i.createElement)("div",o({className:b},h),a>0&&!this.state.xs?null:m);return a>0?(0,i.createElement)(l.default,{onResize:this.handleResize},function(e){var t=e.measureRef;return(0,i.cloneElement)(g,{ref:t})}):g}}]),Grid}();c.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string,minColumnWidth:a.default.number,maxColumnsNumber:a.default.oneOfType([a.default.number,a.default.func]),xs:a.default.PropTypes.oneOf([1,2,3,4,5,6,"auto"]),sm:a.default.oneOf([1,2,3,4,5,6,"auto"]),md:a.default.oneOf([1,2,3,4,5,6,"auto"]),lg:a.default.oneOf([1,2,3,4,5,6,"auto"]),xl:a.default.oneOf([1,2,3,4,5,6,"auto"]),gap:a.default.oneOf(["xs","sm","md","lg","xl"]),onColumnsChange:a.default.func},c.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"grid",minColumnWidth:null,maxColumnsNumber:6,xs:null,sm:null,md:null,lg:null,xl:null,gap:null,onColumnsChange:null},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=_interopRequireDefault(n(2)),a=n(4),s=function GridCol(e){var t,n=e.baseClassName,r=e.className,a=e.children,s=e.xs,l=e.sm,u=e.md,c=e.lg,p=e.xl,d=(0,i.default)(n,(t={},_defineProperty(t,n+"--xs-"+s,s),_defineProperty(t,n+"--sm-"+l,l),_defineProperty(t,n+"--md-"+u,u),_defineProperty(t,n+"--lg-"+c,c),_defineProperty(t,n+"--xl-"+p,p),t),r);return(0,o.createElement)("div",{className:d},a)};s.propTypes={children:r.default.node,className:r.default.string,baseClassName:r.default.string,xs:r.default.number,sm:r.default.number,md:r.default.number,lg:r.default.number,xl:r.default.number},s.defaultProps={children:null,className:null,baseClassName:a.CLS_PREFIX+"grid__col",xs:null,sm:null,md:null,lg:null,xl:null},t.default=s},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(10),n(864);var l=function Hint(e){var t=e.baseClassName,n=e.className,i=e.children,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("span",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"hint"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(10),n(867);var l=function Input(e){var t=e.size,n=e.className,i=e.baseClassName,s=e.innerRef,l=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["size","className","baseClassName","innerRef"]),u=-1!==["sm","md","lg","xl","fill"].indexOf(t);return(0,r.createElement)("input",o({ref:s,className:(0,a.default)(i,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},i+"--size-"+t,u),n),size:u?null:t},l))};l.propTypes={type:i.default.string,size:i.default.oneOfType([i.default.number,i.default.oneOf(["sm","md","lg","xl","fill"])]),className:i.default.string,baseClassName:i.default.string,innerRef:i.default.func},l.defaultProps={type:"text",size:"md",className:void 0,baseClassName:s.CLS_PREFIX+"input",innerRef:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="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},i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=n(3),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4),c=_interopRequireDefault(n(12));n(868);var p=function(e){function Item(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Item);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Item.__proto__||Object.getPrototypeOf(Item)).call.apply(e,[this].concat(i))),n.defaultSize="md",o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Item,a.Component),i(Item,[{key:"renderTitle",value:function renderTitle(e){var t=this.props.baseClassName;return"string"==typeof e?e=(0,a.createElement)("span",null,e):"object"!==(void 0===e?"undefined":r(e))||(0,a.isValidElement)(e)||(e=(0,a.createElement)("a",e)),(0,a.isValidElement)(e)&&(e=(0,a.cloneElement)(e,{className:(0,l.default)(t+"__title",e.props.className)})),e}},{key:"renderIcon",value:function renderIcon(e){return"string"==typeof e?c.default.create({},{size:this.defaultSize,src:e}):c.default.create(e,{size:this.defaultSize})}},{key:"render",value:function render(){var e=this.props,t=e.children,n=e.baseClassName,r=e.component,i=e.className,s=e.icon,u=e.title,c=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["children","baseClassName","component","className","icon","title"]),p=this.renderIcon(s),d=p.props.size||this.defaultSize;return(0,a.createElement)(r,o({className:(0,l.default)(n,n+"--size-"+d,i)},c),(0,a.createElement)("div",{className:n+"__icon"},p),(0,a.createElement)("div",{className:n+"__content"},this.renderTitle(u),t&&(0,a.createElement)("div",{className:n+"__body"},t)))}}]),Item}();p.propTypes={component:s.default.oneOfType([s.default.string,s.default.func]),icon:s.default.oneOfType([s.default.string,s.default.object,s.default.element]).isRequired,title:s.default.oneOfType([s.default.string,s.default.object,s.default.element]),children:s.default.node,className:s.default.string,baseClassName:s.default.string},p.defaultProps={component:"div",title:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"item"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(128);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(59)),c=_interopRequireDefault(n(60));n(869);var p=function(e){function ItemList(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ItemList);var t=function _possibleConstructorReturn(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}(this,(ItemList.__proto__||Object.getPrototypeOf(ItemList)).call(this,e));return t.state={ReorderableGrid:null,ReorderableGridCol:null},t}return function _inherits(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)}(ItemList,i.Component),r(ItemList,[{key:"componentDidMount",value:function componentDidMount(){var e=this;this.props.reorderable&&n.e(0).then(n.bind(null,905)).then(function(t){var n=t.sortableContainer,o=t.sortableElement;e.setState({ReorderableGrid:n(u.default),ReorderableGridCol:o(c.default)})})}},{key:"renderNormal",value:function renderNormal(e){var t=this.props,n=t.baseClassName,o=t.children;return(0,i.createElement)(u.default,e,i.Children.map(o,function(e){return(0,i.createElement)(c.default,null,(0,i.cloneElement)(e,{className:(0,s.default)(n+"__item",e.props.className)}))}))}},{key:"renderReorderable",value:function renderReorderable(e){var t,n=this.props,r=n.baseClassName,a=n.onReorderEnd,l=n.children,u=this.state,c=u.ReorderableGrid,p=u.ReorderableGridCol;if(!c)return null;var d=(0,s.default)((t={},_defineProperty(t,r+"__col--gap-xs","xs"===e.gap),_defineProperty(t,r+"__col--gap-sm","sm"===e.gap),_defineProperty(t,r+"__col--gap-md","md"===e.gap),_defineProperty(t,r+"__col--gap-lg","lg"===e.gap),_defineProperty(t,r+"__col--gap-xl","xl"===e.gap),t));return(0,i.createElement)(c,o({axis:"xy",helperClass:d,onSortEnd:a},e),i.Children.map(l,function(e,t){return(0,i.createElement)(p,{index:t},(0,i.cloneElement)(e,{className:(0,s.default)(r+"__item",r+"__item--reorderable",e.props.className)}))}))}},{key:"render",value:function render(){var e=this.props,t=e.className,n=e.baseClassName,o=e.reorderable,r=(e.onReorderEnd,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["className","baseClassName","reorderable","onReorderEnd"]));return(0,i.createElement)("div",{className:(0,s.default)(n,t)},o?this.renderReorderable(r):this.renderNormal(r))}}]),ItemList}();p.propTypes={reorderable:a.default.bool,onReorderEnd:a.default.func,children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={reorderable:!1,onReorderEnd:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"item-list"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(870);var l=function Label(e){var t=e.baseClassName,n=e.className,i=e.intent,s=e.children,l=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","intent","children"]);return(0,r.createElement)("span",o({className:(0,a.default)(t,i&&t+"--"+i,n)},l),s)};l.propTypes={children:i.default.any,intent:i.default.oneOf(["inactive","success","warning","danger","info"]),className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,intent:null,className:null,baseClassName:s.CLS_PREFIX+"label"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=n(3),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4);n(871);var c=function(e){function List(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,List);var t=function _possibleConstructorReturn(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}(this,(List.__proto__||Object.getPrototypeOf(List)).call(this,e));return t.state={sortColumn:t.props.sortColumn,sortDirection:t.props.sortDirection,selection:t.props.selection,headerChecked:!1},t.handleRowSelectionChange=t.handleRowSelectionChange.bind(t),t.handleGlobalSelectionChange=t.handleGlobalSelectionChange.bind(t),t}return function _inherits(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)}(List,a.Component),i(List,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.sortColumn,n=e.sortDirection,o=e.selection;this.state.sortColumn===t&&this.state.sortDirection===n||this.setState({sortColumn:t,sortDirection:n}),o&&this.state.selection!==o&&this.setState({selection:o,headerChecked:o.length===this.props.data.filter(function(e){return!e.disabled}).length})}},{key:"getData",value:function getData(){var e=this.state,t=e.sortColumn,n=e.sortDirection,o=this.props.columns.filter(function(e){return e.key===t}),i=r(o,1)[0];return i?this.props.data.sort(function(e,o){return(i.sort?i.sort(e,o):function defaultSort(e,t){return e>t?1:e<t?-1:0}(e[t],o[t]))*("ASC"===n?1:-1)}):this.props.data}},{key:"sort",value:function sort(e){var t=this.state,n=t.sortColumn,o=t.sortDirection;o=n===e&&"ASC"===o?"DESC":"ASC",n=e,this.setState({sortColumn:n,sortDirection:o}),this.props.onSortChange&&this.props.onSortChange({sortColumn:n,sortDirection:o})}},{key:"isRowSelected",value:function isRowSelected(e){return-1!==this.state.selection.indexOf(this.getRowKey(e))}},{key:"handleRowSelectionChange",value:function handleRowSelectionChange(e){this.setState({headerChecked:!1});var t=void 0;e.target.checked?(t=this.state.selection.slice()).push(e.target.value):t=this.state.selection.filter(function(t){return t!==e.target.value}),this.setSelection(t)}},{key:"handleGlobalSelectionChange",value:function handleGlobalSelectionChange(e){var t=this,n=e.target.checked;this.setState({headerChecked:n});var o=n?this.props.data.filter(function(e){return!e.disabled}).map(function(e){return t.getRowKey(e)}):[];this.setSelection(o)}},{key:"setSelection",value:function setSelection(e){this.setState({selection:e}),this.props.onSelectionChange&&this.props.onSelectionChange(e.slice())}},{key:"getRowKey",value:function getRowKey(e){var t=this.props.rowKey;return"function"==typeof t?t(e):e[t]}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,i=(t.data,t.columns),s=(t.sortColumn,t.sortDirection,t.onSortChange,t.selection,t.onSelectionChange),u=(t.rowKey,_objectWithoutProperties(t,["baseClassName","className","data","columns","sortColumn","sortDirection","onSortChange","selection","onSelectionChange","rowKey"])),c=[].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(i));return s&&c.unshift({key:"selection",className:"cell-shrink",title:(0,a.createElement)("input",{type:"checkbox",className:"checkbox",checked:this.state.headerChecked,onChange:this.handleGlobalSelectionChange}),render:function render(t){return(0,a.createElement)("input",{type:"checkbox",className:"checkbox",value:e.getRowKey(t),checked:e.isRowSelected(t),disabled:t.disabled,onChange:e.handleRowSelectionChange})}}),(0,a.createElement)("table",o({className:(0,l.default)(n,r)},u),(0,a.createElement)("thead",null,(0,a.createElement)("tr",null,c.map(function(t){var n=t.key,r=t.title,i=t.sortable,s=(t.render,_objectWithoutProperties(t,["key","title","sortable","render"]));return i&&(r=(0,a.createElement)("div",{className:"th__action"},r),s.className=(0,l.default)({"is-sortable":i,"is-sorted is-sorted--up":e.state.sortColumn===n&&"ASC"===e.state.sortDirection,"is-sorted is-sorted--down":e.state.sortColumn===n&&"DESC"===e.state.sortDirection},s.className),s.onClick=function(){return e.sort(n)}),(0,a.createElement)("th",o({key:n},s),r)}))),(0,a.createElement)("tbody",null,this.getData().map(function(t){return(0,a.createElement)("tr",{key:e.getRowKey(t),className:e.isRowSelected(t)?"is-selected":null},c.map(function(e){var n=e.key,o=e.render;return(0,a.createElement)("td",{key:n},o?o(t):t[n])}))})))}}]),List}();c.propTypes={columns:s.default.arrayOf(s.default.shape({key:s.default.string.isRequired,title:s.default.node,render:s.default.func,sortable:s.default.bool,sort:s.default.func})).isRequired,data:s.default.arrayOf(s.default.shape({key:s.default.string,disabled:s.default.bool})),sortColumn:s.default.string,sortDirection:s.default.oneOf(["ASC","DESC"]),onSortChange:s.default.func,selection:s.default.array,onSelectionChange:s.default.func,rowKey:s.default.oneOfType([s.default.string,s.default.func]),className:s.default.string,baseClassName:s.default.string},c.defaultProps={data:[],sortColumn:null,sortDirection:"ASC",onSortChange:null,onSelectionChange:null,selection:[],rowKey:"key",className:null,baseClassName:u.CLS_PREFIX+"list"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyParams=void 0;var o="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},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),s=function applyParams(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],o=!1,r=void 0;r=e.match(/%%(\w+)%%/);)r.index>0&&n.push(e.substr(0,r.index)),void 0===t[r[1]]?n.push(r[0]):(0,i.isValidElement)(t[r[1]])?(n.push((0,i.cloneElement)(t[r[1]],{key:r[1]})),o=!0):n.push(t[r[1]]),e=e.substr(r.index+r[0].length);return""!==e&&n.push(e),o?n:n.join("")},l=function(e){function LocaleProvider(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,LocaleProvider);var t=function _possibleConstructorReturn(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}(this,(LocaleProvider.__proto__||Object.getPrototypeOf(LocaleProvider)).call(this,e));return t.lmsg=t.lmsg.bind(t),t}return function _inherits(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)}(LocaleProvider,i.Component),r(LocaleProvider,[{key:"getChildContext",value:function getChildContext(){return{locale:{lmsg:this.lmsg}}}},{key:"lmsg",value:function lmsg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("string"!=typeof e)return"";var o=this.getMessage(e,this.props.messages);return"string"!=typeof o&&(o=null===n?"["+e+"]":n),s(o,t)}},{key:"getMessage",value:function getMessage(e,t){var n=function _toArray(e){return Array.isArray(e)?e:Array.from(e)}(e.split(".")),r=n[0],i=n.slice(1);return"object"===o(t[r])&&i.length?this.getMessage(i.join("."),t[r]):t[e]}},{key:"render",value:function render(){return this.props.children}}]),LocaleProvider}();l.propTypes={messages:a.default.object.isRequired,children:a.default.node},l.defaultProps={children:null},l.childContextTypes={locale:a.default.object},t.default=l,t.applyParams=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(133);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}}),Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return o[e]}})})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=_interopRequireDefault(n(2)),a=_interopRequireDefault(n(586)),s=n(4);n(872);var l=function Markdown(e){var t=e.baseClassName,n=e.className,r=e.compact,s=void 0!==r&&r,l=e.children;return(0,o.createElement)("div",{className:(0,i.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--compact",s),n),dangerouslySetInnerHTML:{__html:(0,a.default)(l,{sanitize:!0})}})};l.propTypes={children:r.default.string.isRequired,compact:r.default.bool,className:r.default.string,baseClassName:r.default.string},l.defaultProps={compact:!1,className:null,baseClassName:s.CLS_PREFIX+"markdown"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(12));n(873);var u=function Media(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.title,u=e.titleAddon,c=e.titleSize,p=e.image,d=e.imageSpacing,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","titleAddon","titleSize","image","imageSpacing"]);return!d&&(0,r.isValidElement)(p)&&p.type===l.default&&(d="icon-"+p.props.size),(0,r.createElement)("div",o({className:(0,a.default)(t,n)},f),p&&(0,r.createElement)("figure",{className:(0,a.default)(t+"__figure",_defineProperty({},t+"__figure--"+d,d))},p),(0,r.createElement)("div",{className:t+"__body"},s||u?(0,r.createElement)("div",{className:(0,a.default)(t+"__header",_defineProperty({},t+"__header--"+c,c))},s&&(0,r.createElement)("h4",{className:t+"__title"},s),u&&(0,r.createElement)("div",{className:t+"__title-addon"},u)):null,(0,r.createElement)("div",{className:t+"__content"},i)))};u.propTypes={title:i.default.node,titleAddon:i.default.node,titleSize:i.default.oneOf(["md","lg","xl"]),image:i.default.any,imageSpacing:i.default.oneOf(["sm","md","lg","xl","xxl"]),children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={title:null,titleAddon:null,titleSize:null,image:null,imageSpacing:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"media"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=function MediaSection(e){var t=e.baseClassName,n=e.className,i=e.children,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"media-section"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=n(28),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(40)),c=_interopRequireDefault(n(66));n(10),n(215);var p=function Menu(e){var t=e.baseClassName,n=e.className,a=e.children,l=e.onItemClick,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onItemClick"]);return(0,r.createElement)("ul",o({className:(0,s.default)(t,n,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--icons",function hasIconItem(e){var t=!1;return r.Children.forEach(e,function(e){(e.type===u.default&&e.props.icon||e.type===c.default)&&(t=!0)}),t}(a)))},p),r.Children.map(a,function(e,t){return l&&e&&(e.type===u.default||e.type===c.default)?(0,r.cloneElement)(e,{onClick:(0,i.wrapFunction)(e.props.onClick,l.bind(null,e,t))}):e}))};p.propTypes={onItemClick:a.default.func,children:a.default.node,className:a.default.string,baseClassName:a.default.string},p.defaultProps={onItemClick:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"menu"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=function MenuDivider(e){var t=e.baseClassName,n=e.className,i=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className"]);return(0,r.createElement)("li",o({className:(0,a.default)(t,n)},i))};l.propTypes={className:i.default.string,baseClassName:i.default.string},l.defaultProps={className:null,baseClassName:s.CLS_PREFIX+"menu__divider"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(65)),u=function MenuHeader(e){var t=e.baseClassName,n=e.className,i=e.children,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n)},s),i)};u.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"menu__header"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(11)),u=_interopRequireDefault(n(69)),c=_interopRequireDefault(n(32)),p=_interopRequireDefault(n(15));n(875);var d=function range(e,t){return[].concat(_toConsumableArray(Array(t))).map(function(t,n){return e+n})},f=function getButton(e){return{value:e,title:e}},m=function getEllipsis(e){return{value:e,title:"...",tabIndex:-1,style:{pointerEvents:"none"}}},h=function Pagination(e){var t=e.baseClassName,n=e.className,i=e.current,s=e.total,h=e.onSelect,b=e.maxPageButtons,g=e.isShowPageButtons,A=e.isShowNavigationButtons,v=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","current","total","onSelect","maxPageButtons","isShowPageButtons","isShowNavigationButtons"]);return g=null===g?!(A&&s<3):g,(0,r.createElement)("div",o({className:(0,a.default)(t,n)},v),g&&(0,r.createElement)(u.default,{className:t+"__page-buttons",buttons:function pageRange(e,t,n){var o=n>e,r=o&&e-3<t,i=o&&t<n-e+4;if(!o)return d(1,n).map(f);if(r&&!i){var a=e-2;return[f(1),m("startEllipsis")].concat(_toConsumableArray(d(n-a+1,a).map(f)))}if(!r&&i)return[].concat(_toConsumableArray(d(1,e-2).map(f)),[m("endEllipsis"),f(n)]);var s=e-4;return[f(1),m("startEllipsis")].concat(_toConsumableArray(d(t-Math.floor(s/2),s).map(f)),[m("endEllipsis"),f(n)])}(b,i,s),monospaced:!0,selected:i,onChange:function onChange(e){return h(e)}}),A&&(0,r.createElement)(c.default,{className:t+"__navigation-buttons"},(0,r.createElement)(l.default,{disabled:1===i,onClick:function onClick(){return h(i-1)}},(0,r.createElement)(p.default,{content:"Pagination.previous",fallback:"Previous"})),(0,r.createElement)(l.default,{disabled:i===s,onClick:function onClick(){return h(i+1)}},(0,r.createElement)(p.default,{content:"Pagination.next",fallback:"Next"}))),!g&&(0,r.createElement)("div",{className:t+"__total"},(0,r.createElement)(p.default,{content:"Pagination.total",fallback:"%%current%% of %%total%%",params:{current:i,total:s}})))};h.propTypes={total:i.default.number.isRequired,current:i.default.number,onSelect:i.default.func.isRequired,maxPageButtons:i.default.number,isShowPageButtons:i.default.bool,isShowNavigationButtons:i.default.bool,className:i.default.string,baseClassName:i.default.string},h.defaultProps={current:1,maxPageButtons:11,isShowPageButtons:null,isShowNavigationButtons:!0,className:null,baseClassName:s.CLS_PREFIX+"pagination"},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(141);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(27));n(876);var u=function(e){function Panel(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Panel);var t=function _possibleConstructorReturn(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}(this,(Panel.__proto__||Object.getPrototypeOf(Panel)).call(this,e));return t.state={collapsed:t.props.collapsible&&t.props.collapsed},t.toggle=t.toggle.bind(t),t}return function _inherits(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)}(Panel,r.Component),o(Panel,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.collapsed;this.state.collapsed!==t&&this.setState({collapsed:t})}},{key:"toggle",value:function toggle(){var e=!this.state.collapsed;this.setState({collapsed:e}),this.props.onToggle&&this.props.onToggle(e)}},{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,o=t.className,i=t.title,s=t.collapsible,u=t.children,c=this.state.collapsed;return(0,r.createElement)("div",{className:(0,a.default)(n,(e={},_defineProperty(e,n+"--collapsible",s),_defineProperty(e,n+"--collapsed",c),_defineProperty(e,n+"--expanded",!c),e),o)},i&&(0,r.createElement)("div",{className:n+"__header",onClick:this.props.collapsible?this.toggle:null},(0,r.createElement)("h4",{className:n+"__title"},i),this.props.collapsible&&(0,r.createElement)(l.default,{className:(0,a.default)(n+"__control-button",n+"__control-button--collapse"),icon:c?"i-arrow-down-07":"i-arrow-up-07"})),(0,r.createElement)("div",{className:n+"__content"},u))}}]),Panel}();u.propTypes={title:i.default.node,collapsible:i.default.bool,collapsed:i.default.bool,onToggle:i.default.func,children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={title:null,collapsible:!1,collapsed:!1,onToggle:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"panel"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=_interopRequireDefault(n(2)),a=n(4);n(877);var s=function Plaintext(e){var t=e.baseClassName,n=e.className,r=e.children;return(0,o.createElement)("pre",{className:(0,i.default)(t,n)},r)};s.propTypes={children:r.default.string.isRequired,className:r.default.string,baseClassName:r.default.string},s.defaultProps={className:null,baseClassName:a.CLS_PREFIX+"plaintext"},t.default=s},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var n=[],o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=n(272),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=_interopRequireDefault(n(17)),c=n(4),p=_interopRequireDefault(n(146)),d=_interopRequireDefault(n(27));n(878);var f={"top-left":"top-end","top-right":"top-start","right-top":"right-end","right-bottom":"right-start","bottom-left":"bottom-end","bottom-right":"bottom-start","left-top":"left-end","left-bottom":"left-start"},m=26,h=function(e){function Popover(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Popover);var t=function _possibleConstructorReturn(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}(this,(Popover.__proto__||Object.getPrototypeOf(Popover)).call(this,e));t.checkArrowPosition=function(){var e=t.props.title,n=t.state,o=n.show,i=n.arrowInHeader,a=t.popperData,s=a.actualPlacement,l=a.arrowStyle.top,u=s.split("-"),c=r(u,1)[0];if(o){var p=!1,d="bottom"===c||null!==l&&t.headerBounds&&l<t.headerBounds.height-m/2,f="top"!==c&&d;e&&t.headerBounds&&f&&(p=!0),i!==p&&t.setState({arrowInHeader:p})}},t.hotkeyHandler=function(e){e.isDefaultPrevented()||"Escape"!==e.key||(t.handleClose(),e.preventDefault())},t.handleClose=function(){if(t.state.show){var e=t.props,n=e.onClose,o=e.canCloseOnEscapePress;n?n():t.setState({show:!1}),o&&t.prevFocusElement&&(!document.activeElement||t.popover.contains(document.activeElement))&&t.prevFocusElement.focus()}},t.handleHeaderResize=function(e){t.headerBounds=e.bounds,t.checkArrowPosition()},t.handlePopperUpdate=function(e){t.popperData=e,t.checkArrowPosition()};var n=null!==e.visible;return t.state={controlled:n,show:n?e.visible:e.defaultVisible||!1,arrowInHeader:!1},t}return function _inherits(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)}(Popover,a.Component),i(Popover,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=this,n=null!==e.visible,o={controlled:n,show:n?e.visible:e.defaultVisible||!1};this.setState(o),e.canCloseOnEscapePress&&o.show&&setTimeout(function(){return t.focus()},0)}},{key:"focus",value:function focus(){if(null!==this.popover&&null!==document.activeElement&&this.state.show){this.prevFocusElement=document.activeElement;if(!this.popover.contains(document.activeElement)){var e=this.popover.querySelector("[autofocus]"),t=this.popover;null!==e?e.focus():null!==t&&t.focus()}}}},{key:"render",value:function render(){var e,t=this,n=this.props,i=n.baseClassName,s=n.className,m=(n.visible,n.defaultVisible,n.title),h=n.placement,b=n.canCloseOnOutsideClick,g=n.canCloseOnEscapePress,A=n.target,v=n.intent,C=(n.onClose,n.children),y=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(n,["baseClassName","className","visible","defaultVisible","title","placement","canCloseOnOutsideClick","canCloseOnEscapePress","target","intent","onClose","children"]),_=this.state,w=_.controlled,x=_.show,B=_.arrowInHeader,k=void 0;if("auto"!==h){var E=h.split("-"),S=r(E,1)[0];"top"===S?k=["top","bottom","right","left"]:"right"===S?k=["right","left","bottom","top"]:"bottom"===S?k=["bottom","top","left","right"]:"left"===S&&(k=["left","right","top","bottom"])}var P=(0,a.createElement)(d.default,{className:(0,l.default)(i+"__close",m&&i+"__close--heading"),onClick:this.handleClose,icon:"i-cross-mark"}),D=m&&(0,a.createElement)(u.default,{onResize:this.handleHeaderResize,bounds:!0},function(e){var t=e.measureRef;return(0,a.createElement)("div",{ref:t,className:i+"__heading"},P,(0,a.createElement)("h4",{className:i+"__title"},m))}),O=void 0;O=w?A:(0,a.cloneElement)(A,{onClick:function onClick(){t.setState({show:!0}),g&&setTimeout(function(){return t.focus()},0)}});var R=f[h]||h,T=(0,a.createElement)("div",{ref:function ref(e){return t.popover=e},onKeyUp:g&&x?this.hotkeyHandler:null,tabIndex:g?0:null,className:i+"__inner"},D||P,(0,a.createElement)("div",{className:i+"__content"},C));return(0,a.createElement)(p.default,o({target:O,arrow:(0,a.createElement)("span",{className:(0,l.default)(i+"__arrow",B&&i+"__arrow--heading")}),placement:R,onUpdate:this.handlePopperUpdate,className:(0,l.default)((e={},_defineProperty(e,i+"--hidden",!x),_defineProperty(e,i+"--heading",m),_defineProperty(e,i+"--intent-"+v,v),e),s),baseClassName:i,behavior:k,zIndex:c.Z_INDEX_POPOVER},y),b?(0,a.createElement)(a.AutoClosable,{onClose:this.handleClose},T):T)}}]),Popover}();h.propTypes={target:s.default.element.isRequired,visible:s.default.bool,defaultVisible:s.default.bool,title:s.default.node,onClose:s.default.func,placement:s.default.oneOf(["auto","top-left","top","top-right","right-top","right","right-bottom","bottom-right","bottom","bottom-left","left-bottom","left","left-top"]),canCloseOnOutsideClick:s.default.bool,canCloseOnEscapePress:s.default.bool,children:s.default.node,intent:s.default.oneOf(["info","success","warning","danger"]),className:s.default.string,baseClassName:s.default.string},h.defaultProps={visible:null,defaultVisible:!1,title:null,onClose:null,placement:"auto",canCloseOnOutsideClick:!0,canCloseOnEscapePress:!0,children:null,intent:null,className:null,baseClassName:c.CLS_PREFIX+"popover"},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(260);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(880);var l=function Rating(e){var t,n=e.baseClassName,i=e.className,s=e.value,l=e.small,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","value","small"]);return(0,r.createElement)("div",o({className:(0,a.default)((t={},_defineProperty(t,n,!0),_defineProperty(t,n+"--static",!0),_defineProperty(t,n+"--small",l),_defineProperty(t,i,!0),t))},u),(0,r.createElement)("div",{className:n+"__rates",style:{width:function width(e){var t=5*Math.ceil(20*e/5);return t%20==5?t+=2:t%20==15&&(t-=2),t}(s)+"%"}}))};l.propTypes={value:i.default.number,small:i.default.bool,className:i.default.string,baseClassName:i.default.string},l.defaultProps={value:0,small:!1,className:null,baseClassName:s.CLS_PREFIX+"rating"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4),c=_interopRequireDefault(n(12)),p=_interopRequireDefault(n(11)),d=_interopRequireDefault(n(27));n(881);var f=function(e){function Section(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Section);var t=function _possibleConstructorReturn(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}(this,(Section.__proto__||Object.getPrototypeOf(Section)).call(this,e));return t.handleResize=function(e){var n=e.bounds,o=t.props.vertical;if(null===o){var r=t.context.verticalSection;void 0===r?t.setState({vertical:n.width<450}):t.setState({vertical:r})}else t.setState({vertical:o})},t.handleCollapse=function(){t.setState({collapsed:!t.state.collapsed})},t.handleEdit=function(){t.setState({editing:!t.state.editing,title:t.props.title})},t.handleEditKey=function(e){"Escape"===e.key?t.handleEdit():"Enter"===e.key&&t.handleEditOk()},t.handleTitleChange=function(e){t.setState({title:e.target.value})},t.handleEditOk=function(){t.props.onTitleChange(t.state.title),t.handleEdit()},t.state={collapsed:e.collapsed,editing:!1,title:e.title,vertical:e.vertical||!1},t}return function _inherits(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)}(Section,i.Component),r(Section,[{key:"getChildContext",value:function getChildContext(){return{verticalSection:this.state.vertical}}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.title,n=e.collapsed,o={title:t};n!==this.props.collapsed&&(o.collapsed=n),this.setState(o)}},{key:"renderCollapseButton",value:function renderCollapseButton(){var e=this.props,t=e.baseClassName,n=e.collapsible,o=this.state.collapsed;return n&&(0,i.createElement)(d.default,{className:(0,s.default)(t+"__control-button",t+"__control-button--collapse"),icon:o?"i-arrow-down-07":"i-arrow-up-07",onClick:this.handleCollapse})}},{key:"renderCloseButton",value:function renderCloseButton(){var e=this.props,t=e.baseClassName,n=e.onClose,o=e.buttons;return(n||o)&&(0,i.createElement)("div",{className:t+"__header-buttons"},o,n&&(0,i.createElement)(d.default,{className:(0,s.default)(t+"__control-button",t+"__control-button--close"),onClick:n,icon:"i-cross-mark"}))}},{key:"renderTitleEditing",value:function renderTitleEditing(){var e=this.props.baseClassName,t=this.state,n=t.title;return t.editing?(0,i.createElement)("div",{className:e+"__title-edit"},(0,i.createElement)("input",{type:"text",value:n,onChange:this.handleTitleChange,onKeyDown:this.handleEditKey,autoFocus:!0}),(0,i.createElement)("div",{className:e+"__title-edit-actions"},(0,i.createElement)(p.default,{key:"editOk",icon:(0,i.createElement)(c.default,{name:"i-check-mark"}),onClick:this.handleEditOk}),(0,i.createElement)(p.default,{key:"editCancel",icon:(0,i.createElement)(c.default,{name:"i-cross-mark"}),onClick:this.handleEdit}))):n}},{key:"renderTitle",value:function renderTitle(){var e=this.props,t=e.baseClassName,n=e.onTitleChange,o=this.state,r=o.title,a=o.editing;return r&&(0,i.createElement)("div",{className:t+"__title"},this.renderTitleEditing(),n&&!a&&(0,i.createElement)(d.default,{className:(0,s.default)(t+"__control-button",t+"__control-button--edit"),onClick:this.handleEdit,icon:(0,i.createElement)(c.default,{name:"i-pencil",className:t+"__control-button-icon",thin:!0})}))}},{key:"renderContent",value:function renderContent(){var e=this.props,t=e.collapsible,n=e.children,o=this.state.collapsed;return t&&o?null:n}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.intent,u=t.collapsible,c=t.title,p=(t.collapsed,t.onTitleChange,t.onClose,t.buttons,t.vertical,t.children,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","intent","collapsible","title","collapsed","onTitleChange","onClose","buttons","vertical","children"]));return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var l,d=t.measureRef;return(0,i.createElement)("div",o({ref:d,className:(0,s.default)(n,(l={},_defineProperty(l,n+"--"+a,a),_defineProperty(l,n+"--collapsible",u),_defineProperty(l,n+"--vertical",e.state.vertical),l),r)},p),c&&(0,i.createElement)("div",{className:n+"__header"},e.renderCollapseButton(),e.renderTitle(),e.renderCloseButton()),e.renderContent())})}}]),Section}();f.propTypes={title:a.default.node,intent:a.default.oneOf(["danger","warning","success","inactive"]),collapsible:a.default.bool,collapsed:a.default.bool,onTitleChange:a.default.func,onClose:a.default.func,buttons:a.default.arrayOf(a.default.element),vertical:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={title:null,intent:null,collapsible:!1,collapsed:!1,onTitleChange:null,onClose:null,buttons:null,vertical:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"section"},f.childContextTypes={verticalSection:a.default.bool},f.contextTypes={verticalSection:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(882);var l=function SectionItem(e,t){var n,i=t.verticalSection,s=e.baseClassName,l=e.className,u=e.children,c=e.title,p=e.actions,d=e.vertical,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","actions","vertical"]);return(0,r.createElement)("div",o({className:(0,a.default)(s,(n={},_defineProperty(n,s+"--actions",p),_defineProperty(n,s+"--vertical",null===d?i:d),n),l)},f),null===c?null:(0,r.createElement)("div",{className:s+"__title"},c),(0,r.createElement)("div",{className:s+"__value"},u))};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string,title:i.default.node,actions:i.default.bool,vertical:i.default.bool},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"section-item",title:null,actions:!1,vertical:null},l.contextTypes={verticalSection:i.default.bool},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4),c=_interopRequireDefault(n(32)),p=_interopRequireDefault(n(11));n(10),n(883);var d=function alphaSort(e,t){return e>t?1:-1},f=function(e){function SegmentedControl(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SegmentedControl);var t=function _possibleConstructorReturn(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}(this,(SegmentedControl.__proto__||Object.getPrototypeOf(SegmentedControl)).call(this,e));m.call(t);var n=e.selected;return t.state={selected:n,collapsed:!1,monoWidth:0,monoWidthButton:null},t.items={},t.maxWidth=null,t.minWidth=null,t}return function _inherits(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)}(SegmentedControl,i.Component),r(SegmentedControl,[{key:"getChildContext",value:function getChildContext(){return{responsive:this.isResponsive()}}},{key:"componentDidMount",value:function componentDidMount(){this.loadItems()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.selected,n=e.multiple,o={};o.selected=this.state.selected,t!==this.props.selected&&(o.selected=t),!n||!o.selected||o.selected instanceof Array||(o.selected=[o.selected]),o.selected!==this.state.selected&&this.setState(o)}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.loadItems()}},{key:"isResponsive",value:function isResponsive(){return void 0===this.context.responsive?this.state.collapsed:this.context.responsive}},{key:"loadItems",value:function loadItems(){var e=this;setTimeout(function(){if(e.groupRef){var t=e.props,n=t.baseClassName,o=t.buttons,r=Array.prototype.map.call(e.groupRef.querySelectorAll("."+n+"__button"),function(e){return e.getBoundingClientRect().width});e.items=r.reduce(function(e,t,n){return e[o[n].value]=t,e},{}),e.itemsWidth=r.reduce(function(e,t){return e+t},0),e.checkAdaptive()}},0)}},{key:"renderButtonGroup",value:function renderButtonGroup(){var e=this,t=this.props,n=t.buttons,r=t.monospaced,a=t.multiple,l=t.onChange,u=t.baseClassName,d=this.state,f=d.selected,m=d.monoWidth,h=d.monoWidthButton,b=this.isResponsive();return(0,i.createElement)(c.default,{innerRef:function innerRef(t){return e.groupRef=t},className:u+"__button-group"},n.map(function(t){var n=t.value,c=t.title,d=_objectWithoutProperties(t,["value","title"]),g={};null!==l&&(g.onClick=e.handleChange(n));var A=!1;return a&&f&&f instanceof Array&&-1!==f.indexOf(n)?A=!0:a||f!==n||(A=!0),d.className=(0,s.default)(d.className,u+"__button"),!b&&r&&m&&h!==n&&(d.style=o({width:m},d.style)),(0,i.createElement)(p.default,o({key:n,selected:A},g,d),c)}))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.label,r=t.labelPlacement,a=(t.buttons,t.monospaced,t.multiple,t.selected,t.onChange,t.inline),u=(t.children,t.className),c=t.baseClassName,p=_objectWithoutProperties(t,["label","labelPlacement","buttons","monospaced","multiple","selected","onChange","inline","children","className","baseClassName"]),d=this.isResponsive();return(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var l,f=t.measureRef;return(0,i.createElement)("div",o({ref:f,className:(0,s.default)(c,(l={},_defineProperty(l,c+"--inline",a),_defineProperty(l,c+"--collapsed",d),_defineProperty(l,c+"--vertical",n&&"top"===r),l),u)},p),n&&(0,i.createElement)("div",{className:c+"__label"},n),e.renderButtonGroup())})}}]),SegmentedControl}(),m=function _initialiseProps(){var e=this;this.checkAdaptive=function(){if(e.group&&e.items&&Object.keys(e.items).length===e.props.buttons.length){var t=e.props,n=t.buttons,o=t.monospaced,r=e.state,i=r.collapsed,a=r.monoWidth,s=r.monoWidthButton,l={};if((!e.maxWidth||e.itemsWidth>e.maxWidth)&&(e.maxWidth=e.itemsWidth),(!e.minWidth||e.itemsWidth<e.minWidth)&&(e.minWidth=e.itemsWidth),!i&&o){for(var u=0,c=null,p=0;p<n.length;p++){var d=n[p].value,f=e.items[d];f>a&&f>u&&(u=f,c=d)}u&&u!==a&&(l.monoWidth=u),c&&c!==s&&(l.monoWidthButton=c)}var m=e.groupRef.getBoundingClientRect().left-e.group.left;!i&&e.group.width<e.itemsWidth+m?l.collapsed=!0:i&&e.group.width>=e.maxWidth+m&&(l.collapsed=!1),Object.keys(l).length&&e.setState(l,function(){setTimeout(e.checkAdaptive,0)})}},this.handleChange=function(t){return function(){var n=e.props,o=n.multiple,r=n.onChange,i=e.state.selected,a=void 0;o?(a=i?i.slice():[],i&&i instanceof Array&&-1!==i.indexOf(t)?a.splice(i.indexOf(t),1):a.push(t),a.sort(d)):a=t,i instanceof Array&&i.sort(d),JSON.stringify(a)!==JSON.stringify(i)&&(e.setState({selected:a}),r(a))}},this.handleResize=function(t){e.group=t.bounds,e.checkAdaptive()}};f.propTypes={label:a.default.node,labelPlacement:a.default.oneOf(["top","left"]),buttons:a.default.arrayOf(a.default.shape({value:a.default.any.isRequired,title:a.default.node})).isRequired,monospaced:a.default.bool,multiple:a.default.bool,selected:a.default.oneOfType([a.default.any,a.default.arrayOf(a.default.any)]).isRequired,onChange:a.default.func,inline:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={label:null,labelPlacement:"top",monospaced:!1,multiple:!1,onChange:null,inline:!1,children:null,className:null,baseClassName:u.CLS_PREFIX+"segmented-control"},f.contextTypes={responsive:a.default.bool},f.childContextTypes={responsive:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(11)),u=_interopRequireDefault(n(32)),c=_interopRequireDefault(n(25));n(884);var p=function SplitButton(e){var t=e.baseClassName,n=e.className,i=e.menu,s=e.children,p=(e.opened,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","menu","children","opened"]));return(0,r.createElement)(u.default,o({className:(0,a.default)(t,n)},p),(0,r.createElement)(l.default,null,s),(0,r.createElement)(c.default,{className:t+"__dropdown-trigger",menu:i,menuPlacement:"bottom-end"}))};p.propTypes={menu:i.default.any,opened:i.default.bool,children:i.default.node,className:i.default.string,baseClassName:i.default.string},p.defaultProps={menu:null,opened:!1,children:null,className:null,baseClassName:s.CLS_PREFIX+"split-button"},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(98)),u=_interopRequireDefault(n(12));n(10),n(885);var c={success:"i-circle-check-mark-02",info:"i-circle-info-02",warning:"i-circle-exclamation-mark-02",danger:"i-circle-exclamation-mark-02"},p=function Status(e){var t=e.baseClassName,n=e.className,i=e.children,s=e.icon,p=e.intent,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","icon","intent"]);return(0,r.createElement)(l.default,o({component:"span",icon:u.default.create(s||c[p],{name:c[p]}),className:(0,a.default)(t,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t+"--"+p,p),n)},d),i)};p.propTypes={children:i.default.node,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]),intent:i.default.oneOf(["danger","warning","success","info","inactive"]),rightAddon:i.default.node,bottomAddon:i.default.node,className:i.default.string,baseClassName:i.default.string},p.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"status",icon:null,intent:null,rightAddon:null,bottomAddon:null},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.SubnavItem=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(886);var l=function Subnav(e){var t=e.baseClassName,n=e.className,i=e.children,s=_objectWithoutProperties(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"subnav"};var u=function SubnavItem(e){var t=e.baseClassName,n=e.className,i=e.active,s=e.children,l=_objectWithoutProperties(e,["baseClassName","className","active","children"]);return(0,r.cloneElement)(s,o({className:(0,a.default)(t,i&&t+"--active",n)},l))};u.propTypes={active:i.default.bool,children:i.default.element.isRequired,className:i.default.string,baseClassName:i.default.string},u.defaultProps={className:null,baseClassName:s.CLS_PREFIX+"subnav__item"},t.default=l,t.SubnavItem=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(153);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}}),Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return o[e]}})})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(42));n(887);var c=function(e){function Switch(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Switch);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Switch.__proto__||Object.getPrototypeOf(Switch)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,o=t.disabled,r=t.onChange;!o&&r&&r(e.target.checked)},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Switch,i.Component),r(Switch,[{key:"render",value:function render(){var e,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=(t.onChange,t.tooltip),c=t.intent,p=t.checked,d=t.defaultChecked,f=t.disabled,m=t.loading,h=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","onChange","tooltip","intent","checked","defaultChecked","disabled","loading"]),b=(0,i.createElement)("label",o({className:(0,s.default)(n,(e={},_defineProperty(e,n+"--"+c,c),_defineProperty(e,n+"--loading",m),e),r)},h),a?(0,i.createElement)("span",{className:n+"__label"},a):null,(0,i.createElement)("input",{type:"checkbox",onChange:this.handleChange,checked:p,defaultChecked:d,disabled:f||m}),(0,i.createElement)("span",{className:n+"__indicator"}));return l&&(b=(0,i.createElement)(u.default,{title:l},b)),b}}]),Switch}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,tooltip:a.default.any,intent:a.default.oneOf(["warning","danger"]),disabled:a.default.bool,loading:a.default.bool,children:a.default.node,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,tooltip:void 0,intent:void 0,disabled:!1,loading:!1,children:void 0,className:void 0,baseClassName:l.CLS_PREFIX+"switch"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(155);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(41));n(10),n(888);var u=function SwitchesPanel(e){var t=e.baseClassName,n=e.className,i=e.children,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)(l.default,o({className:(0,a.default)(t,n)},s),(0,r.createElement)("div",{className:t+"__items"},i&&r.Children.map(i,function(e){return(0,r.cloneElement)(e,{className:(0,a.default)(e.props.className,t+"__item")})})))};u.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},u.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"switches-panel"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(156)),c=_interopRequireDefault(n(11)),p=_interopRequireDefault(n(27)),d=_interopRequireDefault(n(68));n(10),n(889);var f=function(e){function SwitchesPanelItem(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SwitchesPanelItem);var t=function _possibleConstructorReturn(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}(this,(SwitchesPanelItem.__proto__||Object.getPrototypeOf(SwitchesPanelItem)).call(this,e));return t.handleChange=function(e){t.setState({checked:e}),t.props.onChange(e)},t.state={checked:e.defaultChecked},t}return function _inherits(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)}(SwitchesPanelItem,i.Component),r(SwitchesPanelItem,[{key:"render",value:function render(){var e=this.props,t=(e.onChange,e.defaultChecked),n=e.intent,r=e.title,a=e.description,l=e.fullDescription,f=e.baseClassName,m=e.className,h=e.children,b=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["onChange","defaultChecked","intent","title","description","fullDescription","baseClassName","className","children"]),g=this.state.checked;return(0,i.createElement)("div",o({className:(0,s.default)(f,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},f+"--"+n,n&&g),m)},b),(0,i.createElement)("h5",{className:f+"__title"},r),a&&(0,i.createElement)("p",{className:f+"__description"},a),(0,i.createElement)("div",{className:f+"__actions"},(0,i.createElement)(u.default,{className:f+"__switch",intent:n,onChange:this.handleChange,defaultChecked:t}),(l||h)&&(0,i.createElement)("div",{className:f+"__controls"},h&&i.Children.map(h,function(e){return e.type===c.default?(0,i.cloneElement)(e,{className:(0,s.default)(e.props.className,f+"__controls-button")}):e}),l&&(0,i.createElement)(d.default,{target:(0,i.createElement)(p.default,{className:f+"__controls-button",icon:"i-circle-question-mark"}),placement:"bottom"},l))))}}]),SwitchesPanelItem}();f.propTypes={onChange:a.default.func.isRequired,defaultChecked:a.default.bool,intent:a.default.oneOf(["warning","danger"]),title:a.default.string.isRequired,description:a.default.string,fullDescription:a.default.node,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={defaultChecked:!1,intent:null,description:null,fullDescription:null,children:null,className:null,baseClassName:l.CLS_PREFIX+"switches-panel-item"},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(32)),c=_interopRequireDefault(n(39)),p=_interopRequireDefault(n(11)),d=_interopRequireDefault(n(12)),f=_interopRequireDefault(n(27)),m=n(33),h=_interopRequireDefault(m);n(890);var b=function(e){function SearchBar(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SearchBar);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=SearchBar.__proto__||Object.getPrototypeOf(SearchBar)).call.apply(e,[this].concat(i))),n.state={focused:!1,overMenu:!1,value:"",highlightedValue:null},n.keyboardNavigation=function(e){var t=n.props,o=t.onItemSelect,r=t.results,i=n.getHighlightedValue();if(r&&o){var a=n.getResults(),s=a.indexOf(i),l=void 0;"ArrowUp"===e?l=Math.max(s-1,0):"ArrowDown"===e&&(l=Math.min(s+1,a.length-1)),n.setState({highlightedValue:-1===s?null:a[l]})}},n.handleFocus=function(){n.setState({focused:!0}),n.search&&n.search.focus()},n.handleBlur=function(){n.setState({focused:!1}),n.search&&n.search.blur()},n.handleMenuMouseOver=function(){n.setState({overMenu:!0})},n.handleMenuMouseOut=function(){n.setState({overMenu:!1})},n.handleKeyDown=function(e){var t=n.props.onTyping,o=e.target.value;-1===["Enter","Escape","ArrowUp","ArrowDown"].indexOf(e.key)?(n.setState({value:o}),t&&t(o,function(){return n.clearInput()})):n.checkKeys(e.key)},n.handleSearch=function(){var e=n.props,t=e.onSearch,o=e.onTyping,r=n.state.value;t?t(r,function(){return n.clearInput()}):o&&o(r,function(){return n.clearInput()})},n.handleReset=function(){n.clearInput(),n.handleFocus()},n.handleSelect=function(e){return function(){var t=n.props.onItemSelect;n.setState({highlightedValue:null}),n.handleBlur(),t?t(e,function(){return n.clearInput()}):n.clearInput()}},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(SearchBar,i.Component),r(SearchBar,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(){this.setState({highlightedValue:null})}},{key:"isResponsive",value:function isResponsive(){return null===this.props.responsive?this.context.responsive||!1:this.props.responsive}},{key:"getResults",value:function getResults(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props.results;if(!t)return[];if(t.type===h.default||e){for(var n=[],o=e||t.props.children,r=0;r<o.length;r++){var i=o[r];i&&(i instanceof Array?n=n.concat(this.getResults(i)):i.type!==m.MenuItem&&i.type!==m.MenuSelectableItem||n.push(i.key))}return n}return t.map(function(e){return e.value})}},{key:"getHighlightedValue",value:function getHighlightedValue(){return this.state.highlightedValue||this.getResults()[0]}},{key:"searchAction",value:function searchAction(){var e=this.props,t=e.onItemSelect,n=e.results,o=this.getHighlightedValue();if(t&&n){-1===this.getResults().indexOf(o)?this.handleSearch():this.handleSelect(o)()}else this.handleSearch()}},{key:"checkKeys",value:function checkKeys(e){"Enter"===e?this.searchAction():"Escape"===e?this.state.value?this.handleReset():(this.handleBlur(),this.handleMenuMouseOut()):"ArrowUp"!==e&&"ArrowDown"!==e||this.keyboardNavigation(e)}},{key:"clearInput",value:function clearInput(){this.setState({value:""},this.handleSearch)}},{key:"elementsIndexToKeyMapping",value:function elementsIndexToKeyMapping(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];o&&(o instanceof Array?t=t.concat(this.elementsIndexToKeyMapping(o)):t.push(o.key))}return t}},{key:"renderResults",value:function renderResults(){var e=this,t=this.props,n=t.baseClassName,o=t.results,r=this.state,a=r.focused,l=r.overMenu,u=this.getHighlightedValue();return o&&0!==o.length?(0,i.createElement)(h.default,{className:(0,s.default)(n+"__results",_defineProperty({},n+"__results--hidden",!a&&!l)),onMouseOver:this.handleMenuMouseOver,onMouseOut:this.handleMenuMouseOut},o.map(function(t){return(0,i.createElement)(m.MenuItem,{key:t.value,active:t.value===u,onClick:e.handleSelect(t.value)},t.title)})):null}},{key:"renderResultsMenu",value:function renderResultsMenu(){var e=this,t=this.props,n=t.baseClassName,o=t.results,r=t.onItemSelect,a=this.state,l=a.focused,u=a.overMenu,c=this.getHighlightedValue();return o?(0,i.cloneElement)(o,{className:(0,s.default)(n+"__results",_defineProperty({},n+"__results--hidden",!l&&!u),o.className),onMouseOver:this.handleMenuMouseOver,onMouseOut:this.handleMenuMouseOut,onItemClick:function onItemClick(t,n){var r=e.elementsIndexToKeyMapping(o.props.children);e.handleSelect(r[n])()},children:i.Children.map(o.props.children,function(e){return r&&e&&(e.type===m.MenuItem||e.type===m.MenuSelectableItem)?(0,i.cloneElement)(e,{active:e.key===c}):e})}):null}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.maxWidth,l=t.minWidth,m=t.leftAddon,b=t.loading,g=(t.responsive,t.onSearch,t.onTyping,t.onItemSelect,t.results),A=t.inputProps,v=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","maxWidth","minWidth","leftAddon","loading","responsive","onSearch","onTyping","onItemSelect","results","inputProps"]),C=this.state,y=C.focused,_=C.value,w=this.isResponsive();return(0,i.createElement)("div",o({className:(0,s.default)(n,_defineProperty({},n+"--focused",y),r),style:w?null:{maxWidth:a,minWidth:l}},v),(0,i.createElement)(u.default,{className:n+"__group"},m,!w&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(c.default,o({innerRef:function innerRef(t){return e.search=t},className:n+"__input",size:"fill",value:_,onChange:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown},A)),_&&(0,i.createElement)(f.default,{className:n+"__reset-button",icon:"i-trashcan",onClick:this.handleReset})),(0,i.createElement)(p.default,{className:n+"__search-button",intent:y?"primary":null,icon:(0,i.createElement)(d.default,{name:"i-magnifying-glass",thin:!0}),onClick:this.handleSearch,state:b?"loading":null})),g&&g.type===h.default?this.renderResultsMenu():this.renderResults())}}]),SearchBar}();b.propTypes={className:a.default.string,baseClassName:a.default.string,maxWidth:a.default.number,minWidth:a.default.number,leftAddon:a.default.element,loading:a.default.bool,responsive:a.default.bool,onSearch:a.default.func,onTyping:a.default.func,onItemSelect:a.default.func,results:a.default.oneOfType([a.default.arrayOf(a.default.shape({value:a.default.string.isRequired,title:a.default.string.isRequired})),a.default.element]),inputProps:a.default.object},b.defaultProps={className:null,baseClassName:l.CLS_PREFIX+"search-bar",maxWidth:500,minWidth:270,leftAddon:null,loading:!1,responsive:null,onSearch:null,onTyping:null,onItemSelect:null,results:null,inputProps:{}},b.contextTypes={responsive:a.default.bool},t.default=b},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4),c=_interopRequireDefault(n(12)),p=_interopRequireDefault(n(63)),d=_interopRequireDefault(n(11)),f=_interopRequireDefault(n(25)),m=n(33),h=_interopRequireDefault(m),b=_interopRequireDefault(n(70));n(10),n(891);var g=5,A=150,v=60,C=10,y=function(e){function Tabs(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Tabs);var t=function _possibleConstructorReturn(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}(this,(Tabs.__proto__||Object.getPrototypeOf(Tabs)).call(this,e));return t.checkAdaptive=function(){var e=t.state,n=e.compact,o=e.searching,r=t.state.tabsLoaded,i=t.props,a=i.addonMinWidth,s=i.search,l=i.monospaced,u=t.tablist,c=t.addon,p=t.tabsnavRef,d=JSON.parse(JSON.stringify(t.state.collapsedTabs)),f=JSON.parse(JSON.stringify(t.tabs)),m=a||g+(s?s.props.minWidth:A);if(u&&r&&f.length&&p){var h=p.offsetLeft+p.offsetWidth,b=n&&s?v+g:0,y=u.left,_=f.length-1-d.length,w=null;if(l){w=f.reduce(function(e,t,n){return n<=_&&t.width>e?t.width:e},0);for(var x=0;x<=_;x++)f[x].width=w}var B=null;if(_>=0){B=y;for(var k=0;k<=_;++k)B+=f[k].width}c&&!d.length&&!n&&h-B-C<=m+g&&(n=!0);var E=h-b;if(d.length&&t.moreTabsRef)E-=t.moreTabsRef.offsetLeft+t.moreTabsRef.offsetWidth;else{if(!B)return;E-=B}if(E-C<0)for(var S=function _loop(e){if(E-C>0)return"break";var t=f[e],n=t.index,o=t.width;E+=o,d.some(function(e){return e.index===n})||(--_,d.push({index:n,width:o}))},P=_;P>=0;--P){if("break"===S(P))break}else{t.moreTabsRef&&1===d.length&&(E+=t.moreTabsRef.offsetWidth);for(var D=d.length-1;D>=0;--D){var O=d[D].width;if(l&&O>w&&(O+=(O-w)*(_+1)),E-C<O)break;E-=O,B+=O,++_,d.pop()}}(d.length||n)&&(d.length?n=!0:n&&h-B-C>=m+g&&(n=!1,o=!1));for(var R={compact:n,searching:o,collapsedTabs:d},T=Object.keys(R),j=0;j<T.length;j++){var N=T[j];JSON.stringify(R[N])===JSON.stringify(t.state[N])&&delete R[N]}Object.keys(R).length&&t.setState(R,function(){R.collapsedTabs&&t.state.collapsedTabs.length!==R.collapsedTabs.length&&t.checkAdaptive()})}},t.handleStartSearching=function(){t.setState({searching:!0})},t.handleCancelSearching=function(){t.setState({searching:!1},t.checkAdaptive)},t.handleResize=function(e){t.tablist=e.bounds,t.checkAdaptive()},t.handleAddonResize=function(e){t.addon=e.bounds,t.checkAdaptive()},t.state={active:t.props.active,collapsedTabs:[],compact:!1,searching:!1,tabsLoaded:!1},t.tabs=[],t.tablist=null,t}return function _inherits(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)}(Tabs,i.Component),r(Tabs,[{key:"getChildContext",value:function getChildContext(){return{responsive:this.state.compact}}},{key:"componentDidMount",value:function componentDidMount(){this.updateTabs()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){e.active!==this.state.active&&this.setState({active:e.active}),e.children.length!==this.tabs.length&&(this.tabs=[],this.setState({tabsLoaded:!1}))}},{key:"componentDidUpdate",value:function componentDidUpdate(){this.state.tabsLoaded||this.updateTabs()}},{key:"updateTabs",value:function updateTabs(){var e=this,t=this.props.baseClassName;setTimeout(function(){var n=e.tabsnavRef.querySelectorAll("."+t+"__tab");e.tabs=Array.prototype.map.call(n,function(e,t){return{index:t,width:e.offsetWidth}}),e.setState({tabsLoaded:!0}),e.checkAdaptive()},0)}},{key:"onClick",value:function onClick(e){this.setState({active:e});var t=this.props.children[e-1].props.onActivate;t&&t()}},{key:"renderTabLabel",value:function renderTabLabel(e,t){var n=this.props.baseClassName;return"string"==typeof t?(0,i.createElement)(p.default,{key:"label",className:n+"__"+e+"-label",intent:"danger"},t):(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{key:"label",className:(0,s.default)(n+"__"+e+"-label",t.props.className)}):null}},{key:"renderTabClose",value:function renderTabClose(e,t){var n=this.props.baseClassName;return"function"==typeof t?(0,i.createElement)("button",{key:"close",className:n+"__"+e+"-close",type:"button",onClick:t},(0,i.createElement)(c.default,{className:n+"__"+e+"-close-icon",name:"i-cross-mark"})):null}},{key:"renderTablist",value:function renderTablist(){var e=this,t=this.props,n=t.baseClassName,r=t.children,a=t.monospaced,l=this.state,u=l.collapsedTabs,p=l.tabsLoaded,d=null,g=!1,A=i.Children.count(r);if(!A)return null;var v=A-1-u.length,C=null;return a&&p&&(C=this.tabs.reduce(function(e,t,n){return n<=v&&t.width>e?t.width:e},0)),(0,i.createElement)("ul",{className:n+"__tab-list",role:"tablist"},i.Children.map(r,function(t,r){if(!t||t.type!==b.default)return null;var a=t.props,l=a.title,u=a.label,p=a.icon,f=(a.onActivate,a.onClose),h=_objectWithoutProperties(a,["title","label","icon","onActivate","onClose"]),A=r+1===e.state.active,y=c.default.create(p,{size:"sm",className:n+"__tab-icon"});if(r>v)return A&&(g=!0),(d=d||[]).push((0,i.createElement)(m.MenuItem,{key:d.length,icon:y,label:[e.renderTabLabel("menu-item",u),e.renderTabClose("menu-item",f)],active:A,onClick:function onClick(){return e.onClick(r+1)}},l)),null;var _=e.renderTabClose("tab",f);return(0,i.createElement)("li",{key:r,className:(0,s.default)(n+"__tab",A&&n+"__tab--selected",_&&n+"__tab--closable"),style:{width:C},role:"presentation"},(0,i.createElement)("a",o({className:n+"__link",onClick:function onClick(){return e.onClick(r+1)},role:"tab",tabIndex:"0","aria-selected":A||null},h),y,(0,i.createElement)("span",{className:n+"__tab-title"},l),e.renderTabLabel("tab",u)),_)}),d&&(0,i.createElement)("li",{ref:function ref(t){return e.moreTabsRef=t},key:A,className:(0,s.default)(n+"__tab",g&&n+"__tab--selected",n+"__tab--more"),role:"presentation","aria-selected":g||null},(0,i.createElement)(f.default,{className:n+"__dropdown",menu:(0,i.createElement)(h.default,null,d),menuPlacement:"bottom-end"},(0,i.createElement)("a",{className:n+"__link",role:"tab",tabIndex:"0","aria-selected":g||null},(0,i.createElement)(c.default,{name:"i-three-dots"})))))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.addon,u=t.placeholder,p=t.children,f=(t.active,t.addonMinWidth,t.monospaced,t.search),m=_objectWithoutProperties(t,["baseClassName","className","addon","placeholder","children","active","addonMinWidth","monospaced","search"]),h=this.state,b=h.compact,g=h.searching;if(!i.Children.count(p))return null;var A=a||u,v={},C=null;if(f){var y={className:(0,s.default)(n+"__search",f.props.className)};b?(g?(y.maxWidth=null,y.autoFocus=!0,y.responsive=!1,y.leftAddon=(0,i.createElement)(d.default,{icon:(0,i.createElement)(c.default,{name:"i-arrow-right-07",thin:!0}),onClick:this.handleCancelSearching})):(y.leftAddon=(0,i.createElement)(d.default,{icon:(0,i.createElement)(c.default,{name:"i-arrow-left-07",thin:!0}),onClick:this.handleStartSearching}),y.onSearch=this.handleStartSearching),C=(0,i.cloneElement)(f,y)):A?(y.key=1,A=[(0,i.cloneElement)(f,y),(0,i.cloneElement)(A,{key:2})]):(v.style={maxWidth:f.props.maxWidth},A=(0,i.cloneElement)(f,y))}return(0,i.createElement)("div",o({className:(0,s.default)(n,r)},m),(0,i.createElement)("div",{className:(0,s.default)(n+"__nav",b&&n+"__nav--compact",g&&n+"__nav--searching"),ref:function ref(t){return e.tabsnavRef=t}},(0,i.createElement)(l.default,{onResize:this.handleResize,bounds:!0},function(t){var n=t.measureRef;return(0,i.cloneElement)(e.renderTablist(),{ref:n})}),C,A&&(0,i.createElement)(l.default,{onResize:this.handleAddonResize,bounds:!0},function(e){var t=e.measureRef;return(0,i.createElement)("div",o({className:n+"__addon",ref:t},v),A)})),(0,i.createElement)("div",{className:n+"__tab-panel",role:"tabpanel"},i.Children.map(p,function(t,n){return n+1===e.state.active?t:null})))}}]),Tabs}();y.propTypes={active:a.default.number,addon:a.default.element,placeholder:a.default.element,addonMinWidth:a.default.number,monospaced:a.default.bool,search:a.default.element,children:a.default.oneOfType([a.default.arrayOf(a.default.element),a.default.element]),className:a.default.string,baseClassName:a.default.string},y.defaultProps={active:1,addon:null,placeholder:null,addonMinWidth:null,monospaced:null,search:null,children:null,className:null,baseClassName:u.CLS_PREFIX+"tabs"},y.childContextTypes={responsive:a.default.bool},t.default=y},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(93),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4),c=_interopRequireDefault(n(270)),p=_interopRequireDefault(n(64));n(893);var d=0,f=function(e){function Toaster(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Toaster);var t=function _possibleConstructorReturn(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}(this,(Toaster.__proto__||Object.getPrototypeOf(Toaster)).call(this,e));return t.state={toasts:(t.props.toasts||[]).map(function(e){return o({key:"toast-"+d++},e)})},t}return function _inherits(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)}(Toaster,i.Component),r(Toaster,[{key:"add",value:function add(e){var t="toast-"+d++;return this.setState(function(n){var r=n.toasts;return{toasts:[o({},e,{key:t})].concat(function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r))}}),t}},{key:"update",value:function update(e,t){return this.setState(function(n){return{toasts:n.toasts.map(function(n){return n.key===e?o({},t,{key:e}):n})}}),e}},{key:"remove",value:function remove(e){this.setState(function(t){return{toasts:t.toasts.filter(function(t){return t.key!==e})}})}},{key:"clear",value:function clear(){this.setState({toasts:[]})}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,s=(t.toasts,t.position),d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","toasts","position"]);return(0,i.createElement)(p.default,{level:u.Z_INDEX_TOASTER},(0,i.createElement)("div",o({className:(0,l.default)(n,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n+"--"+s,s),r)},d),(0,i.createElement)(a.TransitionGroup,{component:"span"},this.state.toasts.map(function(t){return(0,i.createElement)(a.CSSTransition,{key:t.key,classNames:c.default.defaultProps.baseClassName+"-",timeout:{enter:300,exit:300}},(0,i.createElement)(c.default,o({},t,{onClose:function onClose(){return e.remove(t.key)}})))}))))}}]),Toaster}();f.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=document.createElement("div");return t.appendChild(n),(0,i.render)((0,i.createElement)(f,e),n)},f.propTypes={position:s.default.oneOf(["top"]),toasts:s.default.array,className:s.default.string,baseClassName:s.default.string},f.defaultProps={position:"top",toasts:null,className:null,baseClassName:u.CLS_PREFIX+"toaster"},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=_interopRequireDefault(n(17)),u=n(4);n(10),n(894);var c=function(e){function Toolbar(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Toolbar);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Toolbar.__proto__||Object.getPrototypeOf(Toolbar)).call.apply(e,[this].concat(i))),n.state={minWidth:0,responsive:!1},n.handleResize=function(e){var t=e.entry,o=e.scroll,r=o.width>t.width?o.width:n.state.minWidth;n.setState({minWidth:r,responsive:r>0&&t.width<r})},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Toolbar,i.Component),r(Toolbar,[{key:"getChildContext",value:function getChildContext(){return{responsive:this.state.responsive}}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.children,a=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,i.createElement)(l.default,{onResize:this.handleResize,scroll:!0},function(e){var l=e.measureRef;return(0,i.createElement)("div",o({ref:l,className:(0,s.default)(t,n)},a),r)})}}]),Toolbar}();c.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string},c.defaultProps={children:null,className:null,baseClassName:u.CLS_PREFIX+"toolbar"},c.childContextTypes={responsive:a.default.bool},t.default=c},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=function ToolbarExpander(e){var t=e.baseClassName,n=e.className,i=e.children,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children"]);return(0,r.createElement)("div",o({className:(0,a.default)(t,n)},s),i)};l.propTypes={children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={children:null,className:null,baseClassName:s.CLS_PREFIX+"toolbar__expander"},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=n(33),c=_interopRequireDefault(u),p=_interopRequireDefault(n(25)),d=_interopRequireDefault(n(11)),f=function(e){function ToolbarGroup(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ToolbarGroup),function _possibleConstructorReturn(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}(this,(ToolbarGroup.__proto__||Object.getPrototypeOf(ToolbarGroup)).apply(this,arguments))}return function _inherits(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)}(ToolbarGroup,i.Component),r(ToolbarGroup,[{key:"isResponsive",value:function isResponsive(){return this.context.responsive&&i.Children.count(this.props.children)>1}},{key:"convertToMenu",value:function convertToMenu(e,t){return e.type===d.default?(0,i.createElement)(u.MenuItem,{disabled:e.props.disabled,icon:"string"==typeof e.props.icon?null:e.props.icon},e.props.children):e.type===p.default?[e.props.children?(0,i.createElement)(u.MenuHeader,null,e.props.children):null,e.props.menu.props.children,t?null:(0,i.createElement)(u.MenuDivider,null)]:(0,i.createElement)(u.MenuBaseItem,null,e)}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=t.title,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","title"]),d=i.Children.count(a),f=this.isResponsive(),m=i.Children.map(a,function(t,o){return(0,i.isValidElement)(t)?f?e.convertToMenu(t,o===d-1):(0,i.cloneElement)(t,{className:(0,s.default)(n+"-item",t.props.className)}):t});return f&&(m=(0,i.createElement)(p.default,{menu:(0,i.createElement)(c.default,null,m)},l)),(0,i.createElement)("div",o({className:(0,s.default)(n,r)},u),m)}}]),ToolbarGroup}();f.propTypes={title:a.default.node.isRequired,children:a.default.node,className:a.default.string,baseClassName:a.default.string},f.defaultProps={children:null,className:null,baseClassName:l.CLS_PREFIX+"toolbar__group"},f.contextTypes={responsive:a.default.bool},t.default=f},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(162);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(164);Object.defineProperty(t,"ToolbarGroup",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(163);Object.defineProperty(t,"ToolbarExpander",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=n(31),l=_interopRequireDefault(n(2)),u=n(4);n(895);var c=function(e){function Tooltip(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Tooltip);var t=function _possibleConstructorReturn(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}(this,(Tooltip.__proto__||Object.getPrototypeOf(Tooltip)).call(this,e));return t.handleShow=function(){t.showTimer&&(clearTimeout(t.showTimer),t.showTimer=null),t.node=document.createElement("div"),document.body.appendChild(t.node),(0,s.unstable_renderSubtreeIntoContainer)(t,t.renderTooltip(),t.node)},t.handleHide=function(){t.showTimer&&(clearTimeout(t.showTimer),t.showTimer=null),t.node&&((0,s.unmountComponentAtNode)(t.node),document.body.removeChild(t.node),t.node=null)},t.handleMouseEnter=function(){t.showTimer||t.node||(t.showTimer=setTimeout(t.handleShow,t.props.delay))},t.handleMouseMove=function(e){var n=t.getTooltipPosition(e),o=t.getTooltipOffset();t.setState({left:n.x+o.x,top:n.y+o.y})},t.handleMouseLeave=function(){t.handleHide()},t.state={left:0,top:0},t}return function _inherits(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)}(Tooltip,i.Component),r(Tooltip,[{key:"componentDidUpdate",value:function componentDidUpdate(){this.node&&(0,s.unstable_renderSubtreeIntoContainer)(this,this.renderTooltip(),this.node)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.handleHide()}},{key:"getTooltipPosition",value:function getTooltipPosition(e){return{x:e.clientX+(window.scrollX||window.pageXOffset),y:e.clientY+(window.scrollY||window.pageYOffset)}}},{key:"getTooltipOffset",value:function getTooltipOffset(){return{x:5,y:13}}},{key:"renderTooltip",value:function renderTooltip(){var e=this.props,t=e.baseClassName,n=e.className,r=(e.children,e.title),a=e.style,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","title","style"]),u=this.state,c=u.left,p=u.top;return(0,i.createElement)("span",o({className:(0,l.default)(t,n),style:o({},a,{left:c+"px",top:p+"px"}),role:"tooltip"},s),r)}},{key:"render",value:function render(){return(0,i.cloneElement)(this.props.children,{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave})}}]),Tooltip}();c.propTypes={title:a.default.node.isRequired,delay:a.default.number,children:a.default.element.isRequired,style:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={delay:550,style:void 0,className:void 0,baseClassName:u.CLS_PREFIX+"tooltip"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=n(134),a=function Translate(e,t){var n=t.locale,r=e.component,a=e.content,s=e.children,l=e.params,u=e.unsafe,c=e.fallback,p=void 0===c?null:c,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["component","content","children","params","unsafe","fallback"]),f=a||s,m=n&&n.lmsg(f,l,p);return void 0===m&&(m=null===p?"["+f+"]":(0,i.applyParams)(p,l)),u?d.dangerouslySetInnerHTML={__html:m}:d.children=m,(0,o.createElement)(r,d)};a.contextTypes={locale:r.default.object},a.propTypes={content:r.default.string,params:r.default.object,fallback:r.default.string,component:r.default.string,unsafe:r.default.bool,children:r.default.string},a.defaultProps={content:null,params:null,component:"span",unsafe:null,fallback:null,children:null},t.default=a},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(98);Object.defineProperty(t,"Action",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(225);Object.defineProperty(t,"Alert",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(101);Object.defineProperty(t,"AutoClosable",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(226);Object.defineProperty(t,"AuxiliaryActions",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var s=n(104);Object.defineProperty(t,"Badge",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var l=n(11);Object.defineProperty(t,"Button",{enumerable:!0,get:function get(){return _interopRequireDefault(l).default}});var u=n(32);Object.defineProperty(t,"ButtonGroup",{enumerable:!0,get:function get(){return _interopRequireDefault(u).default}});var c=n(228);Object.defineProperty(t,"Card",{enumerable:!0,get:function get(){return _interopRequireDefault(c).default}}),Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return c[e]}})});var p=n(230);Object.defineProperty(t,"CardList",{enumerable:!0,get:function get(){return _interopRequireDefault(p).default}});var d=n(231);Object.defineProperty(t,"Carousel",{enumerable:!0,get:function get(){return _interopRequireDefault(d).default}});var f=n(38);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function get(){return _interopRequireDefault(f).default}});var m=n(232);Object.defineProperty(t,"CodeEditor",{enumerable:!0,get:function get(){return _interopRequireDefault(m).default}});var h=n(233);Object.defineProperty(t,"ConsoleOutput",{enumerable:!0,get:function get(){return _interopRequireDefault(h).default}});var b=n(234);Object.defineProperty(t,"Cuttable",{enumerable:!0,get:function get(){return _interopRequireDefault(b).default}});var g=n(235);Object.defineProperty(t,"Dialog",{enumerable:!0,get:function get(){return _interopRequireDefault(g).default}});var A=n(238);Object.defineProperty(t,"Drawer",{enumerable:!0,get:function get(){return _interopRequireDefault(A).default}});var v=n(25);Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function get(){return _interopRequireDefault(v).default}});var C=n(117);Object.defineProperty(t,"ExtendedStatusMessage",{enumerable:!0,get:function get(){return _interopRequireDefault(C).default}}),Object.keys(C).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return C[e]}})});var y=n(240);Object.defineProperty(t,"Figure",{enumerable:!0,get:function get(){return _interopRequireDefault(y).default}});var _=n(58);Object.defineProperty(t,"Form",{enumerable:!0,get:function get(){return _interopRequireDefault(_).default}});var w=n(26);Object.defineProperty(t,"FormField",{enumerable:!0,get:function get(){return _interopRequireDefault(w).default}});var x=n(242);Object.defineProperty(t,"FormFieldCheckbox",{enumerable:!0,get:function get(){return _interopRequireDefault(x).default}});var B=n(243);Object.defineProperty(t,"FormFieldPassword",{enumerable:!0,get:function get(){return _interopRequireDefault(B).default}});var k=n(246);Object.defineProperty(t,"FormFieldRadioButtons",{enumerable:!0,get:function get(){return _interopRequireDefault(k).default}});var E=n(247);Object.defineProperty(t,"FormFieldText",{enumerable:!0,get:function get(){return _interopRequireDefault(E).default}});var S=n(59);Object.defineProperty(t,"Grid",{enumerable:!0,get:function get(){return _interopRequireDefault(S).default}});var P=n(60);Object.defineProperty(t,"GridCol",{enumerable:!0,get:function get(){return _interopRequireDefault(P).default}});var D=n(61);Object.defineProperty(t,"Hint",{enumerable:!0,get:function get(){return _interopRequireDefault(D).default}});var O=n(12);Object.defineProperty(t,"Icon",{enumerable:!0,get:function get(){return _interopRequireDefault(O).default}});var R=n(39);Object.defineProperty(t,"Input",{enumerable:!0,get:function get(){return _interopRequireDefault(R).default}});var T=n(129);Object.defineProperty(t,"Item",{enumerable:!0,get:function get(){return _interopRequireDefault(T).default}});var j=n(249);Object.defineProperty(t,"ItemList",{enumerable:!0,get:function get(){return _interopRequireDefault(j).default}});var N=n(63);Object.defineProperty(t,"Label",{enumerable:!0,get:function get(){return _interopRequireDefault(N).default}});var I=n(251);Object.defineProperty(t,"List",{enumerable:!0,get:function get(){return _interopRequireDefault(I).default}});var q=n(134);Object.defineProperty(t,"LocaleProvider",{enumerable:!0,get:function get(){return _interopRequireDefault(q).default}});var M=n(252);Object.defineProperty(t,"Markdown",{enumerable:!0,get:function get(){return _interopRequireDefault(M).default}});var z=n(253);Object.defineProperty(t,"Media",{enumerable:!0,get:function get(){return _interopRequireDefault(z).default}}),Object.keys(z).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return z[e]}})});var L=n(33);Object.defineProperty(t,"Menu",{enumerable:!0,get:function get(){return _interopRequireDefault(L).default}}),Object.keys(L).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return L[e]}})});var F=n(255);Object.defineProperty(t,"Modal",{enumerable:!0,get:function get(){return _interopRequireDefault(F).default}});var W=n(67);Object.defineProperty(t,"Overlay",{enumerable:!0,get:function get(){return _interopRequireDefault(W).default}});var U=n(142);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function get(){return _interopRequireDefault(U).default}});var V=n(258);Object.defineProperty(t,"Panel",{enumerable:!0,get:function get(){return _interopRequireDefault(V).default}});var G=n(259);Object.defineProperty(t,"Plaintext",{enumerable:!0,get:function get(){return _interopRequireDefault(G).default}});var Y=n(68);Object.defineProperty(t,"Popover",{enumerable:!0,get:function get(){return _interopRequireDefault(Y).default}});var X=n(263);Object.defineProperty(t,"Rating",{enumerable:!0,get:function get(){return _interopRequireDefault(X).default}});var H=n(41);Object.defineProperty(t,"Section",{enumerable:!0,get:function get(){return _interopRequireDefault(H).default}}),Object.keys(H).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return H[e]}})});var K=n(69);Object.defineProperty(t,"SegmentedControl",{enumerable:!0,get:function get(){return _interopRequireDefault(K).default}});var $=n(264);Object.defineProperty(t,"SplitButton",{enumerable:!0,get:function get(){return _interopRequireDefault($).default}});var Z=n(265);Object.defineProperty(t,"Status",{enumerable:!0,get:function get(){return _interopRequireDefault(Z).default}});var J=n(154);Object.defineProperty(t,"Subnav",{enumerable:!0,get:function get(){return _interopRequireDefault(J).default}}),Object.keys(J).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return J[e]}})});var Q=n(156);Object.defineProperty(t,"Switch",{enumerable:!0,get:function get(){return _interopRequireDefault(Q).default}});var ee=n(266);Object.defineProperty(t,"SwitchesPanel",{enumerable:!0,get:function get(){return _interopRequireDefault(ee).default}});var te=n(267);Object.defineProperty(t,"SwitchesPanelItem",{enumerable:!0,get:function get(){return _interopRequireDefault(te).default}});var ne=n(268);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function get(){return _interopRequireDefault(ne).default}}),Object.keys(ne).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return ne[e]}})});var oe=n(271);Object.defineProperty(t,"Toaster",{enumerable:!0,get:function get(){return _interopRequireDefault(oe).default}});var re=n(165);Object.defineProperty(t,"Toolbar",{enumerable:!0,get:function get(){return _interopRequireDefault(re).default}}),Object.keys(re).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return re[e]}})});var ie=n(42);Object.defineProperty(t,"Tooltip",{enumerable:!0,get:function get(){return _interopRequireDefault(ie).default}});var ae=n(15);Object.defineProperty(t,"Translate",{enumerable:!0,get:function get(){return _interopRequireDefault(ae).default}})},function(e,t,n){"use strict";(function(e){function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(e,t){if(kMaxLength()<t)throw new RangeError("Invalid typed array length");return Buffer.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Buffer.prototype:(null===e&&(e=new Buffer(t)),e.length=t),e}function Buffer(e,t,n){if(!(Buffer.TYPED_ARRAY_SUPPORT||this instanceof Buffer))return new Buffer(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return allocUnsafe(this,e)}return from(this,e,t,n)}function from(e,t,n,o){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function fromArrayBuffer(e,t,n,o){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(o||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===o?new Uint8Array(t):void 0===o?new Uint8Array(t,n):new Uint8Array(t,n,o);Buffer.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Buffer.prototype:e=fromArrayLike(e,t);return e}(e,t,n,o):"string"==typeof t?function fromString(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!Buffer.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var o=0|byteLength(t,n),r=(e=createBuffer(e,o)).write(t,n);r!==o&&(e=e.slice(0,r));return e}(e,t,n):function fromObject(e,t){if(Buffer.isBuffer(t)){var n=0|checked(t.length);return 0===(e=createBuffer(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function isnan(e){return e!=e}(t.length)?createBuffer(e,0):fromArrayLike(e,t);if("Buffer"===t.type&&i(t.data))return fromArrayLike(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function assertSize(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function allocUnsafe(e,t){if(assertSize(t),e=createBuffer(e,t<0?0:0|checked(t)),!Buffer.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function fromArrayLike(e,t){var n=t.length<0?0:0|checked(t.length);e=createBuffer(e,n);for(var o=0;o<n;o+=1)e[o]=255&t[o];return e}function checked(e){if(e>=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|e}function byteLength(e,t){if(Buffer.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return utf8ToBytes(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return base64ToBytes(e).length;default:if(o)return utf8ToBytes(e).length;t=(""+t).toLowerCase(),o=!0}}function slowToString(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return function hexSlice(e,t,n){var o=e.length;(!t||t<0)&&(t=0);(!n||n<0||n>o)&&(n=o);for(var r="",i=t;i<n;++i)r+=function toHex(e){return e<16?"0"+e.toString(16):e.toString(16)}(e[i]);return r}(this,t,n);case"utf8":case"utf-8":return utf8Slice(this,t,n);case"ascii":return function asciiSlice(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(127&e[r]);return o}(this,t,n);case"latin1":case"binary":return function latin1Slice(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;r<n;++r)o+=String.fromCharCode(e[r]);return o}(this,t,n);case"base64":return function base64Slice(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function utf16leSlice(e,t,n){for(var o=e.slice(t,n),r="",i=0;i<o.length;i+=2)r+=String.fromCharCode(o[i]+256*o[i+1]);return r}(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function swap(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function bidirectionalIndexOf(e,t,n,o,r){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=Buffer.from(t,o)),Buffer.isBuffer(t))return 0===t.length?-1:arrayIndexOf(e,t,n,o,r);if("number"==typeof t)return t&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):arrayIndexOf(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(e,t,n,o,r){function read(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,a=e.length,s=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;i=2,a/=2,s/=2,n/=2}var l;if(r){var u=-1;for(l=n;l<a;l++)if(read(e,l)===read(t,-1===u?0:l-u)){if(-1===u&&(u=l),l-u+1===s)return u*i}else-1!==u&&(l-=l-u),u=-1}else for(n+s>a&&(n=a-s),l=n;l>=0;l--){for(var c=!0,p=0;p<s;p++)if(read(e,l+p)!==read(t,p)){c=!1;break}if(c)return l}return-1}function hexWrite(e,t,n,o){n=Number(n)||0;var r=e.length-n;o?(o=Number(o))>r&&(o=r):o=r;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var a=0;a<o;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function utf8Write(e,t,n,o){return blitBuffer(utf8ToBytes(t,e.length-n),e,n,o)}function asciiWrite(e,t,n,o){return blitBuffer(function asciiToBytes(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,o)}function latin1Write(e,t,n,o){return asciiWrite(e,t,n,o)}function base64Write(e,t,n,o){return blitBuffer(base64ToBytes(t),e,n,o)}function ucs2Write(e,t,n,o){return blitBuffer(function utf16leToBytes(e,t){for(var n,o,r,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),o=n>>8,r=n%256,i.push(r),i.push(o);return i}(t,e.length-n),e,n,o)}function utf8Slice(e,t,n){n=Math.min(e.length,n);for(var o=[],r=t;r<n;){var i=e[r],s=null,l=i>239?4:i>223?3:i>191?2:1;if(r+l<=n){var u,c,p,d;switch(l){case 1:i<128&&(s=i);break;case 2:128==(192&(u=e[r+1]))&&(d=(31&i)<<6|63&u)>127&&(s=d);break;case 3:u=e[r+1],c=e[r+2],128==(192&u)&&128==(192&c)&&(d=(15&i)<<12|(63&u)<<6|63&c)>2047&&(d<55296||d>57343)&&(s=d);break;case 4:u=e[r+1],c=e[r+2],p=e[r+3],128==(192&u)&&128==(192&c)&&128==(192&p)&&(d=(15&i)<<18|(63&u)<<12|(63&c)<<6|63&p)>65535&&d<1114112&&(s=d)}}null===s?(s=65533,l=1):s>65535&&(s-=65536,o.push(s>>>10&1023|55296),s=56320|1023&s),o.push(s),r+=l}return function decodeCodePointsArray(e){var t=e.length;if(t<=a)return String.fromCharCode.apply(String,e);var n="",o=0;for(;o<t;)n+=String.fromCharCode.apply(String,e.slice(o,o+=a));return n}(o)}function checkOffset(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function checkInt(e,t,n,o,r,i){if(!Buffer.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||t<i)throw new RangeError('"value" argument is out of bounds');if(n+o>e.length)throw new RangeError("Index out of range")}function objectWriteUInt16(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-n,2);r<i;++r)e[n+r]=(t&255<<8*(o?r:1-r))>>>8*(o?r:1-r)}function objectWriteUInt32(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-n,4);r<i;++r)e[n+r]=t>>>8*(o?r:3-r)&255}function checkIEEE754(e,t,n,o,r,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function writeFloat(e,t,n,o,i){return i||checkIEEE754(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function writeDouble(e,t,n,o,i){return i||checkIEEE754(e,0,n,8),r.write(e,t,n,o,52,8),n+8}function utf8ToBytes(e,t){t=t||1/0;for(var n,o=e.length,r=null,i=[],a=0;a<o;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function base64ToBytes(e){return o.toByteArray(function base64clean(e){if((e=function stringtrim(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(s,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function blitBuffer(e,t,n,o){for(var r=0;r<o&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}var o=n(273),r=n(453),i=n(455);t.Buffer=Buffer,t.SlowBuffer=function SlowBuffer(e){return+e!=e&&(e=0),Buffer.alloc(+e)},t.INSPECT_MAX_BYTES=50,Buffer.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function typedArraySupport(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=kMaxLength(),Buffer.poolSize=8192,Buffer._augment=function(e){return e.__proto__=Buffer.prototype,e},Buffer.from=function(e,t,n){return from(null,e,t,n)},Buffer.TYPED_ARRAY_SUPPORT&&(Buffer.prototype.__proto__=Uint8Array.prototype,Buffer.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Buffer[Symbol.species]===Buffer&&Object.defineProperty(Buffer,Symbol.species,{value:null,configurable:!0})),Buffer.alloc=function(e,t,n){return function alloc(e,t,n,o){return assertSize(t),t<=0?createBuffer(e,t):void 0!==n?"string"==typeof o?createBuffer(e,t).fill(n,o):createBuffer(e,t).fill(n):createBuffer(e,t)}(null,e,t,n)},Buffer.allocUnsafe=function(e){return allocUnsafe(null,e)},Buffer.allocUnsafeSlow=function(e){return allocUnsafe(null,e)},Buffer.isBuffer=function isBuffer(e){return!(null==e||!e._isBuffer)},Buffer.compare=function compare(e,t){if(!Buffer.isBuffer(e)||!Buffer.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r<i;++r)if(e[r]!==t[r]){n=e[r],o=t[r];break}return n<o?-1:o<n?1:0},Buffer.isEncoding=function isEncoding(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Buffer.concat=function concat(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Buffer.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var o=Buffer.allocUnsafe(t),r=0;for(n=0;n<e.length;++n){var a=e[n];if(!Buffer.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(o,r),r+=a.length}return o},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)swap(this,t,t+1);return this},Buffer.prototype.swap32=function swap32(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)swap(this,t,t+3),swap(this,t+1,t+2);return this},Buffer.prototype.swap64=function swap64(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)swap(this,t,t+7),swap(this,t+1,t+6),swap(this,t+2,t+5),swap(this,t+3,t+4);return this},Buffer.prototype.toString=function toString(){var e=0|this.length;return 0===e?"":0===arguments.length?utf8Slice(this,0,e):slowToString.apply(this,arguments)},Buffer.prototype.equals=function equals(e){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Buffer.compare(this,e)},Buffer.prototype.inspect=function inspect(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},Buffer.prototype.compare=function compare(e,t,n,o,r){if(!Buffer.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,o>>>=0,r>>>=0,this===e)return 0;for(var i=r-o,a=n-t,s=Math.min(i,a),l=this.slice(o,r),u=e.slice(t,n),c=0;c<s;++c)if(l[c]!==u[c]){i=l[c],a=u[c];break}return i<a?-1:a<i?1:0},Buffer.prototype.includes=function includes(e,t,n){return-1!==this.indexOf(e,t,n)},Buffer.prototype.indexOf=function indexOf(e,t,n){return bidirectionalIndexOf(this,e,t,n,!0)},Buffer.prototype.lastIndexOf=function lastIndexOf(e,t,n){return bidirectionalIndexOf(this,e,t,n,!1)},Buffer.prototype.write=function write(e,t,n,o){if(void 0===t)o="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)o=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var r=this.length-t;if((void 0===n||n>r)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return hexWrite(this,e,t,n);case"utf8":case"utf-8":return utf8Write(this,e,t,n);case"ascii":return asciiWrite(this,e,t,n);case"latin1":case"binary":return latin1Write(this,e,t,n);case"base64":return base64Write(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var a=4096;Buffer.prototype.slice=function slice(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var o;if(Buffer.TYPED_ARRAY_SUPPORT)(o=this.subarray(e,t)).__proto__=Buffer.prototype;else{var r=t-e;o=new Buffer(r,void 0);for(var i=0;i<r;++i)o[i]=this[i+e]}return o},Buffer.prototype.readUIntLE=function readUIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=this[e],r=1,i=0;++i<t&&(r*=256);)o+=this[e+i]*r;return o},Buffer.prototype.readUIntBE=function readUIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=this[e+--t],r=1;t>0&&(r*=256);)o+=this[e+--t]*r;return o},Buffer.prototype.readUInt8=function readUInt8(e,t){return t||checkOffset(e,1,this.length),this[e]},Buffer.prototype.readUInt16LE=function readUInt16LE(e,t){return t||checkOffset(e,2,this.length),this[e]|this[e+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(e,t){return t||checkOffset(e,2,this.length),this[e]<<8|this[e+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(e,t){return t||checkOffset(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(e,t){return t||checkOffset(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Buffer.prototype.readIntLE=function readIntLE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=this[e],r=1,i=0;++i<t&&(r*=256);)o+=this[e+i]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*t)),o},Buffer.prototype.readIntBE=function readIntBE(e,t,n){e|=0,t|=0,n||checkOffset(e,t,this.length);for(var o=t,r=1,i=this[e+--o];o>0&&(r*=256);)i+=this[e+--o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},Buffer.prototype.readInt8=function readInt8(e,t){return t||checkOffset(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Buffer.prototype.readInt16LE=function readInt16LE(e,t){t||checkOffset(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt16BE=function readInt16BE(e,t){t||checkOffset(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Buffer.prototype.readInt32LE=function readInt32LE(e,t){return t||checkOffset(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(e,t){return t||checkOffset(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Buffer.prototype.readFloatLE=function readFloatLE(e,t){return t||checkOffset(e,4,this.length),r.read(this,e,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(e,t){return t||checkOffset(e,4,this.length),r.read(this,e,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(e,t){return t||checkOffset(e,8,this.length),r.read(this,e,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(e,t){return t||checkOffset(e,8,this.length),r.read(this,e,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(e,t,n,o){if(e=+e,t|=0,n|=0,!o){checkInt(this,e,t,n,Math.pow(2,8*n)-1,0)}var r=1,i=0;for(this[t]=255&e;++i<n&&(r*=256);)this[t+i]=e/r&255;return t+n},Buffer.prototype.writeUIntBE=function writeUIntBE(e,t,n,o){if(e=+e,t|=0,n|=0,!o){checkInt(this,e,t,n,Math.pow(2,8*n)-1,0)}var r=n-1,i=1;for(this[t+r]=255&e;--r>=0&&(i*=256);)this[t+r]=e/i&255;return t+n},Buffer.prototype.writeUInt8=function writeUInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeIntLE=function writeIntLE(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);checkInt(this,e,t,n,r-1,-r)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},Buffer.prototype.writeIntBE=function writeIntBE(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);checkInt(this,e,t,n,r-1,-r)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},Buffer.prototype.writeInt8=function writeInt8(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Buffer.prototype.writeInt16LE=function writeInt16LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):objectWriteUInt16(this,e,t,!0),t+2},Buffer.prototype.writeInt16BE=function writeInt16BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):objectWriteUInt16(this,e,t,!1),t+2},Buffer.prototype.writeInt32LE=function writeInt32LE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):objectWriteUInt32(this,e,t,!0),t+4},Buffer.prototype.writeInt32BE=function writeInt32BE(e,t,n){return e=+e,t|=0,n||checkInt(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Buffer.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):objectWriteUInt32(this,e,t,!1),t+4},Buffer.prototype.writeFloatLE=function writeFloatLE(e,t,n){return writeFloat(this,e,t,!0,n)},Buffer.prototype.writeFloatBE=function writeFloatBE(e,t,n){return writeFloat(this,e,t,!1,n)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(e,t,n){return writeDouble(this,e,t,!0,n)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(e,t,n){return writeDouble(this,e,t,!1,n)},Buffer.prototype.copy=function copy(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<n&&(o=n),o===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-n&&(o=e.length-t+n);var r,i=o-n;if(this===e&&n<t&&t<o)for(r=i-1;r>=0;--r)e[r+t]=this[r+n];else if(i<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(r=0;r<i;++r)e[r+t]=this[r+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},Buffer.prototype.fill=function fill(e,t,n,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!Buffer.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=Buffer.isBuffer(e)?e:utf8ToBytes(new Buffer(e,o).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var s=/[^+\/0-9A-Za-z-_]/g}).call(t,n(18))},function(e,t,n){"use strict";var o={};e.exports=o},function(e,t,n){e.exports=n.p+"images/rating.svg"},function(e,t){e.exports={name:"@plesk/ui-library",version:"0.4.1",description:"Plesk UI Library",main:"dist/plesk-ui-library.js",scripts:{pretest:"yarn lint",test:"jest",build:"webpack --config ./configs/build.config.js",lint:"yarn lint:es && yarn lint:style","lint:es":"eslint --ext js,md src configs scripts","lint:style":'stylelint "src/**/*.less"',styleguide:"styleguidist server --config ./configs/styleguide.config.js","styleguide:build":"styleguidist build --config ./configs/styleguide.config.js","create-component":"node scripts/create-component.js",prepublishOnly:"git checkout master && git pull origin master && yarn install && yarn test && yarn build && yarn styleguide:build",postversion:"git push && git push --tags"},files:["dist","styleguide"],dependencies:{classnames:"^2.2.5",codemirror:"^5.34.0",marked:"^0.3.6","popper.js":"^1.12.6","prop-types":"^15.6.0",react:"^16.0.0","react-dom":"^16.0.0","react-measure":"^2.0.2","react-sortable-hoc":"^0.6.8","react-transition-group":"^2.2.1",svg4everybody:"^2.1.9"},devDependencies:{"@plesk/eslint-config":"0.0.6","@plesk/stylelint-config":"0.0.3","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-dynamic-import-node":"^1.1.0","babel-preset-env":"^1.6.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","clean-webpack-plugin":"^0.1.18","css-loader":"^0.28.0",enzyme:"^3.0.0","enzyme-adapter-react-16":"^1.0.0","eslint-plugin-markdown":"^1.0.0-beta.6","extract-text-webpack-plugin":"^2.1.2","file-loader":"^1.1.4",inquirer:"^3.2.1",jest:"^20.0.4","json-loader":"^0.5.7",less:"^2.7.2","less-loader":"^4.0.5","postcss-loader":"^2.0.6","react-styleguidist":"^6.2.2","react-test-renderer":"^16.0.0",rtlcss:"^2.2.0","style-loader":"^0.18.2",webpack:"^2.7.0"},browserslist:["last 2 versions",">1%"],jest:{rootDir:"src",setupFiles:["<rootDir>/test/shim.js","<rootDir>/test/setup.js"],moduleNameMapper:{"\\.(png|jpg|gif|svg|woff|woff2)$":"<rootDir>/test/fileMock.js","\\.(css|less)$":"<rootDir>/test/styleMock.js"}},author:"Plesk Developers <plesk-dev-leads@plesk.com> (https://www.plesk.com/)",license:"Apache-2.0"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function(){function SheetsRegistry(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SheetsRegistry),this.registry=[]}return o(SheetsRegistry,[{key:"add",value:function add(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var o=0;o<t.length;o++)if(t[o].options.index>n)return void t.splice(o,0,e)}},{key:"reset",value:function reset(){this.registry=[]}},{key:"remove",value:function remove(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function toString(e){return this.registry.filter(function(e){return e.attached}).map(function(t){return t.toString(e)}).join("\n")}},{key:"index",get:function get(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),SheetsRegistry}();t.default=r},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=_interopRequireDefault(n(178)),a=_interopRequireDefault(n(34)),s=function(){function StyleSheet(e,t){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,StyleSheet),this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=o({},t,{sheet:this,parent:this,classes:this.classes}),this.renderer=new t.Renderer(this),this.rules=new a.default(this.options);for(var n in e)this.rules.add(n,e[n]);this.rules.process()}return r(StyleSheet,[{key:"attach",value:function attach(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function detach(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function addRule(e,t,n){var o=this.queue;this.attached&&!o&&(this.queue=[]);var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),this.attached?this.deployed?(o?o.push(r):(this.insertRule(r),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),r):r:(this.deployed=!1,r)}},{key:"insertRule",value:function insertRule(e){var t=this.renderer.insertRule(e);t&&this.options.link&&(0,i.default)(e,t)}},{key:"addRules",value:function addRules(e,t){var n=[];for(var o in e)n.push(this.addRule(o,e[o],t));return n}},{key:"getRule",value:function getRule(e){return this.rules.get(e)}},{key:"deleteRule",value:function deleteRule(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function indexOf(e){return this.rules.indexOf(e)}},{key:"deploy",value:function deploy(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function link(){var e=this.renderer.getRules();return e&&this.rules.link(e),this.linked=!0,this}},{key:"update",value:function update(e,t){return this.rules.update(e,t),this}},{key:"toString",value:function toString(e){return this.rules.toString(e)}}]),StyleSheet}();t.default=s},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=void 0;var o=n(480);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(45);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(173);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}});var a=n(467);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function get(){return _interopRequireDefault(a).default}});var s=n(34);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function get(){return _interopRequireDefault(s).default}});var l=n(71);Object.defineProperty(t,"sheets",{enumerable:!0,get:function get(){return _interopRequireDefault(l).default}});var u=n(176);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function get(){return _interopRequireDefault(u).default}});var c=_interopRequireDefault(n(465)),p=t.create=function create(e){return new c.default(e)};t.default=p()},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(21)),r=(_interopRequireDefault(n(174)),_interopRequireDefault(n(482)));t.default=function(){var e=0;return function(t,n){(e+=1)>1e10&&(0,o.default)(!1,"[JSS] You might have a memory leak. Rule counter is at %s.",e);var i="c",a="";return n&&(i=n.options.classNamePrefix||"c",null!=n.options.jss.id&&(a+=n.options.jss.id)),""+i+r.default+a+e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(898));t.default=function(e){return e&&e[o.default]&&e===e[o.default]()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function linkRule(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},function(e,t,n){var o=n(13).Uint8Array;e.exports=o},function(e,t,n){var o=n(511),r=n(54),i=n(14),a=n(79),s=n(76),l=n(82),u=Object.prototype.hasOwnProperty;e.exports=function arrayLikeKeys(e,t){var n=i(e),c=!n&&r(e),p=!n&&!c&&a(e),d=!n&&!c&&!p&&l(e),f=n||c||p||d,m=f?o(e.length,String):[],h=m.length;for(var b in e)!t&&!u.call(e,b)||f&&("length"==b||p&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||m.push(b);return m}},function(e,t,n){var o=n(48),r=n(35);e.exports=function assignMergeValue(e,t,n){(void 0===n||r(e[t],n))&&(void 0!==n||t in e)||o(e,t,n)}},function(e,t,n){var o=n(522)();e.exports=o},function(e,t,n){var o=n(182),r=n(55);e.exports=function baseForOwn(e,t){return e&&o(e,t,r)}},function(e,t,n){var o=n(186),r=n(51);e.exports=function baseGet(e,t){for(var n=0,i=(t=o(t,e)).length;null!=e&&n<i;)e=e[r(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){function baseIsEqual(e,t,n,i,a){return e===t||(null==e||null==t||!r(e)&&!r(t)?e!=e&&t!=t:o(e,t,n,i,baseIsEqual,a))}var o=n(498),r=n(20);e.exports=baseIsEqual},function(e,t,n){var o=n(14),r=n(77),i=n(567),a=n(584);e.exports=function castPath(e,t){return o(e)?e:r(e,t)?[e]:i(a(e))}},function(e,t,n){var o=n(23),r=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){var o=n(487),r=n(491),i=n(513),a=1,s=2;e.exports=function equalArrays(e,t,n,l,u,c){var p=n&a,d=e.length,f=t.length;if(d!=f&&!(p&&f>d))return!1;var m=c.get(e);if(m&&c.get(t))return m==t;var h=-1,b=!0,g=n&s?new o:void 0;for(c.set(e,t),c.set(t,e);++h<d;){var A=e[h],v=t[h];if(l)var C=p?l(v,A,h,t,e,c):l(A,v,h,e,t,c);if(void 0!==C){if(C)continue;b=!1;break}if(g){if(!r(t,function(e,t){if(!i(g,t)&&(A===e||u(A,e,n,l,c)))return g.push(t)})){b=!1;break}}else if(A!==v&&!u(A,v,n,l,c)){b=!1;break}}return c.delete(e),c.delete(t),b}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(18))},function(e,t,n){var o=n(193)(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){var o=n(16);e.exports=function isStrictComparable(e){return e==e&&!o(e)}},function(e,t){e.exports=function matchesStrictComparable(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},function(e,t){e.exports=function overArg(e,t){return function(n){return e(t(n))}}},function(e,t){var n=Function.prototype.toString;e.exports=function toSource(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var o=n(180),r=n(503),i=n(24);e.exports=function keysIn(e){return i(e)?o(e,!0):r(e)}},function(e,t,n){var o=n(96),r=n(95),i=n(219),a=n(14);e.exports=function map(e,t){return(a(e)?o:i)(e,r(t,3))}},function(e,t,n){"use strict";var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,s=function toObject(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var u in n)r.call(n,u)&&(s[u]=n[u]);if(o){a=o(n);for(var c=0;c<a.length;c++)i.call(n,a[c])&&(s[a[c]]=n[a[c]])}}return s}},function(e,t,n){function Group(e){var t=e.children?function castArray(e){return Array.isArray(e)?e:[e]}(e.children):[],n=t=t.filter(function(e){return!!e}),r=e.separator,i=o.isValidElement(r);return t.length>1&&(n=[t.shift()],t.forEach(function(e,t){if(i){var a="separator-"+(e.key||t);r=o.cloneElement(r,{key:a})}return n.push(r,e)})),o.createElement(e.inline?"span":"div",{className:e.className},n)}var o=n(1),r=n(0);Group.propTypes={children:r.node,inline:r.bool,separator:r.node,className:r.string},Group.defaultProps={separator:" "},e.exports=Group},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(1),a=(_interopRequireDefault(i),_interopRequireDefault(n(0))),s=_interopRequireDefault(n(836)),l=_interopRequireDefault(n(597)),u=_interopRequireDefault(n(596));t.default=function withContentRect(e){return function(t){var n,c;return c=n=function(n){function _class(){var t,n,o,r;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class);for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=o=_possibleConstructorReturn(this,(t=_class.__proto__||Object.getPrototypeOf(_class)).call.apply(t,[this].concat(a))),o.state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},o.measure=function(t){var n=(0,u.default)(o._node,e||(0,l.default)(o.props));t&&(n.entry=t[0].contentRect),o.setState({contentRect:n}),"function"==typeof o.props.onResize&&o.props.onResize(n)},o._handleRef=function(e){o._resizeObserver&&(e?o._resizeObserver.observe(e):o._resizeObserver.disconnect(o._node)),o._node=e,"function"==typeof o.props.innerRef&&o.props.innerRef(e)},r=n,_possibleConstructorReturn(o,r)}return function _inherits(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)}(_class,i.Component),r(_class,[{key:"componentWillMount",value:function componentWillMount(){this._resizeObserver=new s.default(this.measure)}},{key:"render",value:function render(){var e=this.props,n=(e.innerRef,e.onResize,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["innerRef","onResize"]));return(0,i.createElement)(t,o({},n,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))}}]),_class}(),n.propTypes={client:a.default.bool,offset:a.default.bool,scroll:a.default.bool,bounds:a.default.bool,margin:a.default.bool,innerRef:a.default.func,onResize:a.default.func,children:a.default.func},c}},e.exports=t.default},function(e,t,n){"use strict";var o=n(600);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(612);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(616);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(646);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(648);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(655);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(656);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(660);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(661);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(662);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";t.a=function getFilterRegExp(e){return e=e.replace(/[^a-z0-9]/gi,"").split("").join(".*"),new RegExp(e,"i")}},function(e,t,n){"use strict";t.a=function getUrl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.slug,o=e.example,r=e.anchor,i=e.isolated,a=e.nochrome,s=e.absolute,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location,u=l.origin,c=l.pathname;return a&&(c+="?nochrome"),r?c+="#"+n:(i||a)&&(c+="#!/"+t),void 0!==o&&(c+="/"+o),s?u+c:c}},function(e,t,n){"use strict";e.exports={HOMEPAGE:"https://react-styleguidist.js.org/",BUGS:"https://github.com/styleguidist/react-styleguidist/issues",DOCS_CONFIG:"https://react-styleguidist.js.org/docs/configuration.html",DOCS_COMPONENTS:"https://react-styleguidist.js.org/docs/components.html",DOCS_WEBPACK:"https://react-styleguidist.js.org/docs/webpack.html",DOCS_DOCUMENTING:"https://react-styleguidist.js.org/docs/documenting.html",DOCS_THIRDPARTIES:"https://react-styleguidist.js.org/docs/thirdparties.html"}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function noop(){}t.__esModule=!0,t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var o=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(31)),a=(n(214),t.UNMOUNTED="unmounted"),s=t.EXITED="exited",l=t.ENTERING="entering",u=t.ENTERED="entered",c=t.EXITING="exiting",p=function(e){function Transition(t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Transition);var o=function _possibleConstructorReturn(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}(this,e.call(this,t,n)),r=n.transitionGroup,i=r&&!r.isMounting?t.enter:t.appear,c=void 0;return o.nextStatus=null,t.in?i?(c=s,o.nextStatus=l):c=u:c=t.unmountOnExit||t.mountOnEnter?a:s,o.state={status:c},o.nextCallback=null,o}return function _inherits(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)}(Transition,e),Transition.prototype.getChildContext=function getChildContext(){return{transitionGroup:null}},Transition.prototype.componentDidMount=function componentDidMount(){this.updateStatus(!0)},Transition.prototype.componentWillReceiveProps=function componentWillReceiveProps(e){var t=(this.pendingState||this.state).status;e.in?(t===a&&this.setState({status:s}),t!==l&&t!==u&&(this.nextStatus=l)):t!==l&&t!==u||(this.nextStatus=c)},Transition.prototype.componentDidUpdate=function componentDidUpdate(){this.updateStatus()},Transition.prototype.componentWillUnmount=function componentWillUnmount(){this.cancelNextCallback()},Transition.prototype.getTimeouts=function getTimeouts(){var e=this.props.timeout,t=void 0,n=void 0,o=void 0;return t=n=o=e,null!=e&&"number"!=typeof e&&(t=e.exit,n=e.enter,o=e.appear),{exit:t,enter:n,appear:o}},Transition.prototype.updateStatus=function updateStatus(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.nextStatus;if(null!==t){this.nextStatus=null,this.cancelNextCallback();var n=i.default.findDOMNode(this);t===l?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===s&&this.setState({status:a})},Transition.prototype.performEnter=function performEnter(e,t){var n=this,o=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts();t||o?(this.props.onEnter(e,r),this.safeSetState({status:l},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,i.enter,function(){n.safeSetState({status:u},function(){n.props.onEntered(e,r)})})})):this.safeSetState({status:u},function(){n.props.onEntered(e)})},Transition.prototype.performExit=function performExit(e){var t=this,n=this.props.exit,o=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:c},function(){t.props.onExiting(e),t.onTransitionEnd(e,o.exit,function(){t.safeSetState({status:s},function(){t.props.onExited(e)})})})):this.safeSetState({status:s},function(){t.props.onExited(e)})},Transition.prototype.cancelNextCallback=function cancelNextCallback(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},Transition.prototype.safeSetState=function safeSetState(e,t){var n=this;this.pendingState=e,t=this.setNextCallback(t),this.setState(e,function(){n.pendingState=null,t()})},Transition.prototype.setNextCallback=function setNextCallback(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},Transition.prototype.onTransitionEnd=function onTransitionEnd(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},Transition.prototype.render=function render(){var e=this.state.status;if(e===a)return null;var t=this.props,n=t.children,o=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return n(e,o);var i=r.default.Children.only(n);return r.default.cloneElement(i,o)},Transition}(r.default.Component);p.contextTypes={transitionGroup:o.object},p.childContextTypes={transitionGroup:function transitionGroup(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop,onEntering:noop,onEntered:noop,onExit:noop,onExiting:noop,onExited:noop},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4,t.default=p},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,t.transitionTimeout=function transitionTimeout(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0));t.timeoutsShape=o.default.oneOfType([o.default.number,o.default.shape({enter:o.default.number,exit:o.default.number}).isRequired]),t.classNamesShape=o.default.oneOfType([o.default.string,o.default.shape({enter:o.default.string,exit:o.default.string,active:o.default.string}),o.default.shape({enter:o.default.string,enterActive:o.default.string,exit:o.default.string,exitActive:o.default.string})])},function(e,t,n){var o=n(315);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(598),n(673);var o=n(31),r=n.n(o),i=n(691),a=0,s=function render(){var e=n(830);r.a.render(n.i(i.a)(e,a),document.getElementById("app"))};window.addEventListener("hashchange",s),s()},function(e,t,n){function addStylesToDom(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(addStyle(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(addStyle(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function listToStyles(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):n.push(o[a]={id:a,parts:[s]})}return n}function insertStyleElement(e,t){var n=i(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=l[l.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),l.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=i(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,r)}}function removeStyleElement(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=l.indexOf(e);t>=0&&l.splice(t,1)}function createStyleElement(e){var t=document.createElement("style");return e.attrs.type="text/css",addAttrs(t,e.attrs),insertStyleElement(e,t),t}function addAttrs(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function addStyle(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var l=s++;n=a||(a=createStyleElement(t)),o=applyToSingletonTag.bind(null,n,l,!1),r=applyToSingletonTag.bind(null,n,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function createLinkElement(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",addAttrs(t,e.attrs),insertStyleElement(e,t),t}(t),o=function updateLink(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=u(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),r=function(){removeStyleElement(n),n.href&&URL.revokeObjectURL(n.href)}):(n=createStyleElement(t),o=function applyToTag(e,t){var n=t.css,o=t.media;o&&e.setAttribute("media",o);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){removeStyleElement(n)});return o(e),function updateStyle(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function applyToSingletonTag(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=c(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}var o={},r=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),i=function(e){var t={};return function(e){if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,s=0,l=[],u=n(831);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=r()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=listToStyles(e,t);return addStylesToDom(n,t),function update(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}if(e){addStylesToDom(listToStyles(e,t),t)}for(i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var c=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function arrayPush(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},function(e,t,n){var o=n(494),r=n(24);e.exports=function baseMap(e,t){var n=-1,i=r(e)?Array(e.length):[];return o(e,function(e,o,r){i[++n]=t(e,o,r)}),i}},function(e,t,n){var o=n(53),r=n(556),i=n(560);e.exports=function baseRest(e,t){return i(r(e,t,o),e+"")}},function(e,t){e.exports=function baseUnary(e){return function(t){return e(t)}}},function(e,t,n){var o=n(35),r=n(24),i=n(76),a=n(16);e.exports=function isIterateeCall(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?r(n)&&i(t,n.length):"string"==s&&t in n)&&o(n[t],e)}},function(e,t,n){var o=n(16),r=n(579),i=n(224),a="Expected a function",s=Math.max,l=Math.min;e.exports=function debounce(e,t,n){function invokeFunc(t){var n=u,o=c;return u=c=void 0,h=t,d=e.apply(o,n)}function shouldInvoke(e){var n=e-m;return void 0===m||n>=t||n<0||g&&e-h>=p}function timerExpired(){var e=r();if(shouldInvoke(e))return trailingEdge(e);f=setTimeout(timerExpired,function remainingWait(e){var n=t-(e-m);return g?l(n,p-(e-h)):n}(e))}function trailingEdge(e){return f=void 0,A&&u?invokeFunc(e):(u=c=void 0,d)}function debounced(){var e=r(),n=shouldInvoke(e);if(u=arguments,c=this,m=e,n){if(void 0===f)return function leadingEdge(e){return h=e,f=setTimeout(timerExpired,t),b?invokeFunc(e):d}(m);if(g)return f=setTimeout(timerExpired,t),invokeFunc(m)}return void 0===f&&(f=setTimeout(timerExpired,t)),d}var u,c,p,d,f,m,h=0,b=!1,g=!1,A=!0;if("function"!=typeof e)throw new TypeError(a);return t=i(t)||0,o(n)&&(b=!!n.leading,p=(g="maxWait"in n)?s(i(n.maxWait)||0,t):p,A="trailing"in n?!!n.trailing:A),debounced.cancel=function cancel(){void 0!==f&&clearTimeout(f),h=0,u=m=c=f=void 0},debounced.flush=function flush(){return void 0===f?d:trailingEdge(r())},debounced}},function(e,t,n){var o=n(16),r=n(37),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function toNumber(e){if("number"==typeof e)return e;if(r(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?i:+e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(99);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(102));t.default=o.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=n(4),s=_interopRequireDefault(n(11)),l=_interopRequireDefault(n(12)),u=function CardButton(e){var t=e.icon,n=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["icon"]);return(0,r.createElement)(s.default,o({icon:l.default.create(t)},n))};u.propTypes={baseClassName:i.default.string,icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]).isRequired},u.defaultProps={baseClassName:a.CLS_PREFIX+"card-button"},t.default=u},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(107);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(56);Object.defineProperty(t,"PreviewPanel",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=_interopRequireDefault(n(0)),i=n(4),a=_interopRequireDefault(n(15)),s=_interopRequireDefault(n(11)),l=_interopRequireDefault(n(12)),u=n(165),c=_interopRequireDefault(u),p=_interopRequireDefault(n(25)),d=_interopRequireDefault(n(69)),f=n(33),m=_interopRequireDefault(f),h=_interopRequireDefault(n(38)),b=_interopRequireDefault(n(104)),g=n(57),A=function isToolbarExpander(e){return(0,o.isValidElement)(e)&&e.type===u.ToolbarExpander},v=function CardListToolbar(e){var t=e.baseClassName,n=e.selection,r=e.onViewChange,i=e.currentView,v=e.groups,C=[];if(n&&C.push(function renderSelection(e){var t=e.onSelectAll,n=e.onSelectNone,r=e.checked,i=e.badge,l=e.total,c=e.menuItems,d=void 0===c?[]:c,g=(0,o.createElement)(s.default,{caret:!0},(0,o.createElement)(h.default,{checked:r,onChange:function onChange(e){e?t():n()},onClick:function onClick(e){return e.stopPropagation()}}));return i&&("string"==typeof i&&(i={label:i}),g=(0,o.createElement)(b.default,i,g)),d=[(0,o.createElement)(f.MenuItem,{key:"selectAll",onClick:t,label:l},(0,o.createElement)(a.default,{content:"Card.selectAll",fallback:"Select all"})),(0,o.createElement)(f.MenuItem,{key:"selectNone",onClick:n},(0,o.createElement)(a.default,{content:"Card.selectNone",fallback:"Select none"}))].concat(d),(0,o.createElement)(u.ToolbarGroup,{key:"selection",title:(0,o.createElement)(a.default,{content:"CardList.toolbarSelect",fallback:"Select"})},(0,o.createElement)(p.default,{menu:(0,o.createElement)(m.default,null,d)},g))}(n)),C=C.concat(v),r&&i!==g.VIEW_RESPONSIVE){v.filter(A).length>0||C.push((0,o.createElement)(u.ToolbarExpander,{key:"expander"})),C.push(function renderView(e,t){var n=[{value:g.VIEW_EXTENDED,title:(0,o.createElement)(a.default,{content:"CardList.viewCards",fallback:"Cards"}),icon:(0,o.createElement)(l.default,{name:"i-www-site-picture-text",thin:!0})},{value:g.VIEW_TILE,title:(0,o.createElement)(a.default,{content:"CardList.viewTiles",fallback:"Tiles"}),icon:(0,o.createElement)(l.default,{name:"i-four-squares",thin:!0})},{value:g.VIEW_ROW,title:(0,o.createElement)(a.default,{content:"CardList.viewList",fallback:"List"}),icon:(0,o.createElement)(l.default,{name:"i-list",thin:!0})}];return(0,o.createElement)(u.ToolbarGroup,{key:"view",title:(0,o.createElement)(a.default,{content:"CardList.toolbarView",fallback:"View"})},(0,o.createElement)(d.default,{buttons:n,selected:t,onChange:function onChange(t){return e(t)}}))}(r,i))}return 0===C.length?null:(0,o.createElement)(c.default,{className:t},C)};v.propTypes={selection:r.default.object,groups:r.default.arrayOf(r.default.element).isRequired,onViewChange:r.default.func,currentView:r.default.string.isRequired,baseClassName:r.default.string},v.defaultProps={selection:null,onViewChange:null,baseClassName:i.CLS_PREFIX+"card-list__toolbar"},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(57);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(108);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(110);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(111);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(112);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(113);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=n(4),s=_interopRequireDefault(n(27)),l=_interopRequireDefault(n(12));n(853);var u=function Header(e){var t=e.baseClassName,n=e.onClose,i=e.children,a=e.backButton,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","onClose","children","backButton"]);return(0,r.createElement)("div",o({className:t},u),a&&n&&(0,r.createElement)(s.default,{className:t+"__back-button",icon:(0,r.createElement)(l.default,{name:"i-arrow-left-07",className:t+"__icon"}),onClick:n}),(0,r.createElement)("h4",{className:t+"__title"},i),n&&!a&&(0,r.createElement)(s.default,{icon:(0,r.createElement)(l.default,{name:"i-cross-mark",className:t+"__icon"}),onClick:n}))};u.propTypes={baseClassName:i.default.string,onClose:i.default.func,children:i.default.node.isRequired,backButton:i.default.bool},u.defaultProps={onClose:null,baseClassName:a.CLS_PREFIX+"drawer-header",backButton:!1},t.default=u},function(e,t,n){"use strict";function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=n(3),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(0)),a=function(e){function ScrollDirection(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ScrollDirection);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=ScrollDirection.__proto__||Object.getPrototypeOf(ScrollDirection)).call.apply(e,[this].concat(i))),n.state={direction:"up"},n.prevScrollTop=0,n.handleScroll=function(e){var t=e.target.scrollTop,o=t>n.prevScrollTop?"down":"up";n.prevScrollTop=t,n.setState({direction:o})},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(ScrollDirection,r.Component),o(ScrollDirection,[{key:"render",value:function render(){return(0,this.props.children)({direction:this.state.direction,handleScroll:this.handleScroll})}}]),ScrollDirection}();a.propTypes={children:i.default.func.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(114);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4);n(856);var l=function Figure(e){var t=e.baseClassName,n=e.className,i=e.href,s=e.caption,l=e.children,u=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","href","caption","children"]);return(0,r.createElement)("figure",o({className:(0,a.default)(t,n)},u),l,i&&(0,r.createElement)("a",{href:i,className:(0,a.default)(t+"__overlay",t+"__overlay--cover",t+"__action")}),s&&(0,r.createElement)("figcaption",{className:(0,a.default)(t+"__overlay",t+"__overlay--bottom")},s))};l.propTypes={href:i.default.string,caption:i.default.any,children:i.default.node,className:i.default.string,baseClassName:i.default.string},l.defaultProps={href:null,caption:null,children:null,className:null,baseClassName:s.CLS_PREFIX+"figure"},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(239);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=function nameToPath(e){return e.replace(/]/g,"").split("[")},i=function fixObj(e,t){return isNaN(t)&&(Array.isArray(e)||"object"!==(void 0===e?"undefined":o(e))||null===e)?{}:isNaN(t)||Array.isArray(e)?e:[]};t.get=function get(e,t,n){var o=r(t),i=void 0;try{i=o.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0===i?n:i},t.set=function set(e,t,n){for(var o=r(t),a=void 0,s=e=i(e,o[0]);(a=o.shift())&&o.length;)s[a]=i(s[a],o[0]),s=s[a];return s[a]=n,e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(120);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(121);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={improvePassword:"To improve your password:",passwordTooShort:"Make the password longer.",lettersLowerCase:"Use at least one lower-case character.",lettersUpperCase:"Use at least one upper-case character.",numbers1:"Use at least one number.",numbers3:"Use at least three numbers.",specialChar1:"Use at least one special character (for example: !, @, #, $, % ,^, &, *, ?, _, ~).",specialChar2:"Use at least two special characters (for example: !, @, #, $, %, ^, &, *, ?, _, ~).",comboUpperAndLower:"Use both upper and lower-case characters.",comboLettersAndNumbers:"Use both numbers and characters.",comboLettersNumbersSpecial:"Use numbers, characters and special characters.",yourPasswordIsStrong:"You can make it even stronger by increasing its length.",passwordStrength:"The password strength is %%strength%%.",strengthStrong:"STRONG",strengthWeak:"WEAK",strengthMedium:"MEDIUM",hidePassword:"Hide password",showPassword:"Show password",generateButton:"Generate",generateButtonHint:"Generate strength password"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o={passwordTooShort:function passwordTooShort(e){return e.length<5?-1:0},passwordLength:function passwordLength(e){return e.length<5?3:e.length>4&&e.length<8?6:e.length>7&&e.length<16?12:18},lettersLowerCase:function lettersLowerCase(e){return e.match(/[a-z]/)?1:-1},lettersUpperCase:function lettersUpperCase(e){return e.match(/[A-Z]/)?5:-1},numbers1:function numbers1(e){return e.match(/\d+/)?5:-1},numbers3:function numbers3(e){return e.match(/(.*[0-9].*[0-9].*[0-9])/)?5:-1},specialChar1:function specialChar1(e){return e.match(/[!@#$%^&*?_~]/)?5:-1},specialChar2:function specialChar2(e){return e.match(/(.*[!@#$%^&*?_~].*[!@#$%^&*?_~])/)?5:-1},comboUpperAndLower:function comboUpperAndLower(e){return e.match(/([a-z].*[A-Z])|([A-Z].*[a-z])/)?2:-1},comboLettersAndNumbers:function comboLettersAndNumbers(e){return e.match(/([a-zA-Z])/)&&e.match(/([0-9])/)?2:-1},comboLettersNumbersSpecial:function comboLettersNumbersSpecial(e){return e.match(/([a-zA-Z0-9].*[!@#$%^&*?_~])|([!@#$%^&*?_~].*[a-zA-Z0-9])/)?2:-1}};t.default=function passwordScore(e){var t=[],n=0;return Object.keys(o).forEach(function(r){var i=o[r](e);i<0?t.push({rule:r,value:-i}):n+=i}),{score:n,unusedRules:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(122);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(123);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=_interopRequireDefault(n(12));n(10),n(866);var u=function IconButton(e){var t=e.baseClassName,n=e.className,i=e.icon,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","icon"]);return(0,r.createElement)("button",o({className:(0,a.default)(t,n)},s),l.default.create(i))};u.propTypes={icon:i.default.oneOfType([i.default.string,i.default.object,i.default.element]).isRequired,className:i.default.string,baseClassName:i.default.string},u.defaultProps={className:null,baseClassName:s.CLS_PREFIX+"icon-button"},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(130);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=function(e){function Layer(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Layer),function _possibleConstructorReturn(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}(this,(Layer.__proto__||Object.getPrototypeOf(Layer)).apply(this,arguments))}return function _inherits(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)}(Layer,i.Component),r(Layer,[{key:"getChildContext",value:function getChildContext(){var e=this.context.parentLayer,t=this.props.level;return{parentLayer:{level:(e?e.level:0)+t}}}},{key:"renderChildren",value:function renderChildren(){var e=this.props,t=e.children,n=e.level,r=this.context.parentLayer,a=r?r.level:0;return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{style:o({},t.props.style,{zIndex:a+n})}):t}},{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=(e.children,e.innerRef),a=(e.level,e.style,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","innerRef","level","style"]));return(0,i.createPortal)((0,i.createElement)("div",o({className:(0,s.default)(t,n),ref:r},a),this.renderChildren()),document.body)}}]),Layer}();u.propTypes={children:a.default.node,className:a.default.string,baseClassName:a.default.string,innerRef:a.default.func,style:a.default.object,level:a.default.oneOfType([a.default.number,a.default.string])},u.defaultProps={children:null,className:null,baseClassName:l.CLS_PREFIX+"layer",innerRef:null,style:null,level:null},u.childContextTypes={parentLayer:a.default.shape({level:a.default.number})},u.contextTypes={parentLayer:a.default.shape({level:a.default.number})},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(132);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(135);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(136);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(137);Object.defineProperty(t,"MediaSection",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=n(3),i=void 0,a=function(e){function Modal(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Modal),function _possibleConstructorReturn(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}(this,(Modal.__proto__||Object.getPrototypeOf(Modal)).apply(this,arguments))}return function _inherits(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)}(Modal,r.Component),o(Modal,[{key:"componentWillMount",value:function componentWillMount(){!function initScrollbarSpacer(){if(!i){var e=document.createElement("div");e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;document.body.removeChild(e),i=document.createElement("style"),document.head.appendChild(i),i.sheet.insertRule(".modal-open { margin-right: "+t+"px; }",0),i.sheet.insertRule(".modal-open .js-scrollbar-spacer { margin-right: "+t+"px; }",1)}}(),document.documentElement.classList.add("modal-open")}},{key:"componentWillUnmount",value:function componentWillUnmount(){document.documentElement.classList.remove("modal-open")}},{key:"render",value:function render(){return(0,r.createElement)("div",null,(0,r.createElement)("div",{className:"main-disabled-block"}),this.props.children)}}]),Modal}();a.propTypes={children:r.PropTypes.node},a.defaultProps={children:null},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(254);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(3),i=_interopRequireDefault(n(0)),a=_interopRequireDefault(n(2)),s=n(4),l=function Backdrop(e){var t=e.baseClassName,n=e.className,i=e.innerRef,s=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","innerRef"]);return(0,r.createElement)("div",o({ref:i,className:(0,a.default)(t,n)},s))};l.propTypes={innerRef:i.default.func,className:i.default.string,baseClassName:i.default.string},l.defaultProps={innerRef:null,baseClassName:s.CLS_PREFIX+"overlay__backdrop",className:null},t.default=l},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=n(28),s=_interopRequireDefault(n(0)),l=_interopRequireDefault(n(2)),u=n(4),c=n(93),p=_interopRequireDefault(n(256)),d=_interopRequireDefault(n(64));n(10),n(874);var f=function(e){function Overlay(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Overlay);for(var r=arguments.length,i=Array(r),s=0;s<r;s++)i[s]=arguments[s];return t=n=_possibleConstructorReturn(this,(e=Overlay.__proto__||Object.getPrototypeOf(Overlay)).call.apply(e,[this].concat(i))),n.containerElement=null,n.prevFocusElement=null,n.backdropElement=null,n.handleBackdropClick=function(){var e=n.props,t=e.onClose;e.canCloseOnBackdropClick?(0,a.safeInvoke)(t):n.focus()},n.handleContentKeyUp=function(e){var t=n.props.onClose;e.isDefaultPrevented()||"Escape"!==e.key||((0,a.safeInvoke)(t),e.preventDefault())},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Overlay,i.Component),r(Overlay,[{key:"componentDidMount",value:function componentDidMount(){this.props.isOpen&&this.overlayWillOpen()}},{key:"componentDidUpdate",value:function componentDidUpdate(e){!this.props.isOpen&&e.isOpen?this.overlayWillClose():this.props.isOpen&&!e.isOpen&&this.overlayWillOpen()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.props.isOpen&&this.overlayWillClose()}},{key:"overlayWillOpen",value:function overlayWillOpen(){this.prevFocusElement=document.activeElement,(0,i.disableDocumentScroll)(),this.focus()}},{key:"overlayWillClose",value:function overlayWillClose(){(0,i.enableDocumentScroll)(),this.prevFocusElement&&(this.prevFocusElement.focus(),this.prevFocusElement=null)}},{key:"focus",value:function focus(){if(null!==this.containerElement&&null!==document.activeElement&&this.props.isOpen){if(!this.containerElement.contains(document.activeElement)){var e=this.containerElement.querySelector("[autofocus]"),t=this.containerElement.querySelector("[tabindex]");null!==e?e.focus():null!==t&&t.focus()}}}},{key:"renderContent",value:function renderContent(){var e=this.props,t=e.baseClassName,n=e.children,o=e.canCloseOnEscapePress;return(0,i.createElement)(c.CSSTransition,{classNames:t+"-",timeout:300},(0,i.createElement)("div",{className:t+"__content",tabIndex:0,onKeyUp:o?this.handleContentKeyUp:null},n))}},{key:"renderBackdrop",value:function renderBackdrop(){var e=this,t=this.props.baseClassName;return(0,i.createElement)(c.CSSTransition,{classNames:t+"-",timeout:200},(0,i.createElement)(p.default,{innerRef:function innerRef(t){e.backdropElement=t},onClick:function onClick(){return e.handleBackdropClick()}}))}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=(t.children,t.isOpen),s=t.placement,p=t.size,f=(t.onClose,t.canCloseOnBackdropClick,t.canCloseOnEscapePress,function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","isOpen","placement","size","onClose","canCloseOnBackdropClick","canCloseOnEscapePress"]));return(0,i.createElement)(d.default,{innerRef:function innerRef(t){return e.containerElement=t},level:u.Z_INDEX_OVERLAY},(0,i.createElement)(c.TransitionGroup,o({style:{display:a?"":"none"},className:(0,l.default)(n,n+"--"+s,n+"--"+p,r),role:"dialog","aria-modal":"true"},f),a?this.renderBackdrop():null,a?this.renderContent():null))}}]),Overlay}();f.propTypes={isOpen:s.default.bool,placement:s.default.oneOf(["center","left","right"]),size:s.default.oneOf(["sm","md","lg"]),onClose:s.default.func,canCloseOnBackdropClick:s.default.bool,canCloseOnEscapePress:s.default.bool,children:s.default.node,className:s.default.string,baseClassName:s.default.string},f.defaultProps={isOpen:!1,placement:"center",size:"md",onClose:null,canCloseOnBackdropClick:!0,canCloseOnEscapePress:!0,children:null,className:null,baseClassName:u.CLS_PREFIX+"overlay"},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(143);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(144);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(587)),c=_interopRequireDefault(n(64)),p=function(e){function Popper(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Popper);var t=function _possibleConstructorReturn(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}(this,(Popper.__proto__||Object.getPrototypeOf(Popper)).call(this,e));return t.popper=null,t.contentRef=null,t.extractStyles=function(e){if(e){var n=t.props,o=n.arrow,r=n.onUpdate,i=e.offsets.popper,a=i.left,s=i.top,l={popperStyle:{position:e.offsets.popper.position||null,left:a||null,top:s||null},actualPlacement:e.placement,arrowStyle:o&&{position:e.offsets.arrow.position||null,left:e.offsets.arrow.left||null,top:e.offsets.arrow.top||null}};o&&null===l.arrowStyle.left&&null===l.arrowStyle.top&&(l.arrowStyle.top=0),t.setState(l),r&&r(l)}},t.state={popperStyle:null,arrowStyle:null,actualPlacement:e.placement},t}return function _inherits(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)}(Popper,i.Component),r(Popper,[{key:"componentDidMount",value:function componentDidMount(){this.updatePopper(this.props)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=this;setTimeout(function(){t.updatePopper(e)},0)}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.popper&&this.popper.destroy()}},{key:"updatePopper",value:function updatePopper(e){if(this.contentRef){this.popper&&this.popper.destroy();var t={placement:e.placement,modifiers:{applyStyle:{enabled:!1},applyReactStyle:{enabled:!0,fn:this.extractStyles,order:900},hide:{enabled:!1},offset:{enabled:!0,offset:e.offset},flip:{enabled:!0,padding:0,behavior:e.behavior},preventOverflow:{enabled:!0,boundariesElement:"viewport"},arrow:e.arrow&&{enabled:!0,element:this.arrowRef}}};this.popper=new u.default((0,i.findDOMNode)(this),this.contentRef,t)}}},{key:"render",value:function render(){var e=this,t=this.props,n=t.baseClassName,r=t.className,a=t.children,l=t.target,u=t.arrow,p=(t.placement,t.behavior,t.offset,t.onUpdate,t.zIndex),d=t.show,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["baseClassName","className","children","target","arrow","placement","behavior","offset","onUpdate","zIndex","show"]),m=this.state,h=m.popperStyle,b=m.arrowStyle,g=m.actualPlacement,A=u&&(0,i.cloneElement)(u,{ref:function ref(t){return e.arrowRef=t},style:b});return(0,i.createElement)(i.Fragment,null,l,d?(0,i.createElement)(c.default,{level:p},(0,i.createElement)("div",o({ref:function ref(t){return e.contentRef=t},className:(0,s.default)(n,r,n+"--placement-"+g),style:o({position:"absolute"},h)},f),a,A)):null)}}]),Popper}();p.propTypes={show:a.default.bool,children:a.default.node,target:a.default.any.isRequired,arrow:a.default.element,placement:a.default.oneOf(["auto","auto-start","auto-end","auto-top","auto-right","auto-bottom","auto-left","top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"]),behavior:a.default.oneOfType([a.default.oneOf(["flip","clockwise","counterclockwise"]),a.default.arrayOf(a.default.string)]),offset:a.default.oneOfType([a.default.string,a.default.number]),onUpdate:a.default.func,className:a.default.string,baseClassName:a.default.string,zIndex:a.default.oneOfType([a.default.number,a.default.string])},p.defaultProps={show:!0,children:null,arrow:null,placement:"bottom-start",behavior:"flip",offset:"0, 0",onUpdate:null,className:null,baseClassName:l.CLS_PREFIX+"popper",zIndex:null},t.default=p},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4);n(879);var u=0,c=function(e){function Radio(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Radio);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=Radio.__proto__||Object.getPrototypeOf(Radio)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=n.props,o=t.disabled,r=t.onChange;!o&&r&&r(e.target.checked)},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(Radio,i.Component),r(Radio,[{key:"render",value:function render(){var e=this.props,t=e.baseClassName,n=e.className,r=e.children,a=(e.onChange,e.checked),l=e.defaultChecked,c=e.disabled,p=e.inputProps,d=e.label,f=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","children","onChange","checked","defaultChecked","disabled","inputProps","label"]);return p.id||(p.id="radio-"+u++),(0,i.createElement)("div",o({className:(0,s.default)(t,n)},f),(0,i.createElement)("input",o({className:t+"__input",type:"radio",onChange:this.handleChange,checked:a,defaultChecked:l,disabled:c},p)),d?(0,i.createElement)("label",{htmlFor:p.id},d):null,r)}}]),Radio}();c.propTypes={checked:a.default.bool,defaultChecked:a.default.bool,onChange:a.default.func,disabled:a.default.bool,label:a.default.node,children:a.default.node,inputProps:a.default.object,className:a.default.string,baseClassName:a.default.string},c.defaultProps={checked:void 0,defaultChecked:void 0,onChange:void 0,disabled:!1,label:void 0,children:void 0,inputProps:{},className:void 0,baseClassName:l.CLS_PREFIX+"radio"},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(261);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(147);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(151);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(152);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(157));t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(158));t.default=o.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(160);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return _interopRequireDefault(o).default}});var r=n(70);Object.defineProperty(t,"Tab",{enumerable:!0,get:function get(){return _interopRequireDefault(r).default}});var i=n(159);Object.defineProperty(t,"SearchBar",{enumerable:!0,get:function get(){return _interopRequireDefault(i).default}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=n(3),a=_interopRequireDefault(n(0)),s=_interopRequireDefault(n(2)),l=n(4),u=_interopRequireDefault(n(12));n(892);var c=(o={},_defineProperty(o,"info","i-circle-info-02"),_defineProperty(o,"success","i-circle-check-mark-02"),_defineProperty(o,"warning","i-circle-exclamation-mark-02"),_defineProperty(o,"danger","i-circle-exclamation-mark-02"),o),p=function Toast(e){var t=e.baseClassName,n=e.className,o=e.message,a=e.intent,l=e.onClose,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["baseClassName","className","message","intent","onClose"]);return(0,i.createElement)("div",r({tabIndex:"0",className:(0,s.default)(t,t+"--"+a,n)},p),(0,i.createElement)("span",{className:t+"__icon"},(0,i.createElement)(u.default,{name:c[a]})),(0,i.createElement)("span",{className:t+"__content"},o),(0,i.createElement)("span",{className:t+"__action"},(0,i.createElement)("button",{className:t+"__close",type:"button",onClick:l},(0,i.createElement)(u.default,{name:"i-cross-mark",className:t+"__close-x",thin:!0}))))};p.propTypes={intent:a.default.oneOf(["info","success","warning","danger"]).isRequired,message:a.default.any,onClose:a.default.func,className:a.default.string,baseClassName:a.default.string},p.defaultProps={message:null,onClose:null,className:null,baseClassName:l.CLS_PREFIX+"toast"},t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(269);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(161);Object.defineProperty(t,"default",{enumerable:!0,get:function get(){return function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o).default}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.version=void 0;var o="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},r=n(172);Object.defineProperty(t,"version",{enumerable:!0,get:function get(){return r.version}});var i=n(3);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return i[e]}})});var a=n(168);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function get(){return a[e]}})});(0,function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(897)).default)();var s="";"object"===("undefined"==typeof window?"undefined":o(window))&&"function"==typeof window.require&&"function"==typeof window.require.toUrl&&(s=(s=window.require.toUrl("plesk-ui-library")).substr(0,s.lastIndexOf("/")+1)),n.p=s},function(e,t,n){"use strict";function placeHoldersCount(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function tripletToBase64(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function encodeChunk(e,t,n){for(var o,r=[],i=t;i<n;i+=3)o=(e[i]<<16)+(e[i+1]<<8)+e[i+2],r.push(tripletToBase64(o));return r.join("")}t.byteLength=function byteLength(e){return 3*e.length/4-placeHoldersCount(e)},t.toByteArray=function toByteArray(e){var t,n,o,a,s,l=e.length;a=placeHoldersCount(e),s=new i(3*l/4-a),n=a>0?l-4:l;var u=0;for(t=0;t<n;t+=4)o=r[e.charCodeAt(t)]<<18|r[e.charCodeAt(t+1)]<<12|r[e.charCodeAt(t+2)]<<6|r[e.charCodeAt(t+3)],s[u++]=o>>16&255,s[u++]=o>>8&255,s[u++]=255&o;return 2===a?(o=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,s[u++]=255&o):1===a&&(o=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s},t.fromByteArray=function fromByteArray(e){for(var t,n=e.length,r=n%3,i="",a=[],s=0,l=n-r;s<l;s+=16383)a.push(encodeChunk(e,s,s+16383>l?l:s+16383));return 1===r?(t=e[n-1],i+=o[t>>2],i+=o[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=o[t>>10],i+=o[t>>4&63],i+=o[t<<2&63],i+="="),a.push(i),a.join("")};for(var o=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)o[s]=a[s],r[a.charCodeAt(s)]=s;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,t,n){(function(e,o){var r,i,a;!function(e,n){n(t)}(0,function(t){"use strict";function __commonjs(e,t){return t={exports:{}},e(t,t.exports,s),t.exports}function toJSON(e){var t={};return Object.keys(e).forEach(function(n){"parent"!==n&&"program"!==n&&"keys"!==n&&"__wrapped"!==n&&(Array.isArray(e[n])?t[n]=e[n].map(toJSON):e[n]&&e[n].toJSON?t[n]=e[n].toJSON():t[n]=e[n])}),t}function isArguments(e){return"Identifier"===e.type&&"arguments"===e.name}function spread(e,t,n,o,r){for(var i=t.length,a=-1;i--;){var s=t[i];s&&"SpreadElement"===s.type&&(isArguments(s.argument)&&e.overwrite(s.argument.start,s.argument.end,o),a=i)}if(-1===a)return!1;if(r){for(i=0;i<t.length;i+=1){var l=t[i];"SpreadElement"===l.type?e.remove(l.start,l.argument.start):(e.insertRight(l.start,"["),e.insertRight(l.end,"]"))}return!0}var u=t[a],c=t[a-1];for(c?e.overwrite(c.end,u.start," ].concat( "):(e.remove(n,u.start),e.overwrite(u.end,t[1].start,".concat( ")),i=a;i<t.length;i+=1)(u=t[i])&&("SpreadElement"===u.type?e.remove(u.start,u.argument.start):(e.insertLeft(u.start,"["),e.insertLeft(u.end,"]")));return!0}function repeat(e,t){for(var n="";t--;)n+=e;return n}function getSnippet(e,t,n){void 0===n&&(n=1);var o=Math.max(t.line-5,0),r=t.line,i=String(r).length,a=e.split("\n").slice(o,r),s=a[a.length-1].slice(0,t.column).replace(/\t/g," ").length,l=a.map(function(e,t){return function pad(e,t){var n=String(e);return n+repeat(" ",t-n.length)}(t+o+1,i)+" : "+e.replace(/\t/g," ")}).join("\n");return l+="\n"+repeat(" ",i+3+s)+repeat("^",n)}function findIndex(e,t){for(var n=0;n<e.length;n+=1)if(t(e[n],n))return n;return-1}function extractNames(e){var t=[];return M[e.type](t,e),t}function destructure(e,t,n,o,r,i){F[n.type](e,t,n,o,r,i)}function destructureIdentifier(e,t,n,o,r,i){i.push(function(t,i,a){e.insertRight(n.start,r?i:i+"var "),e.insertLeft(n.end," = "+o+a),e.move(n.start,n.end,t)})}function handleProperty(e,t,n,o,r,i,a){switch(o.type){case"Identifier":e.remove(n,o.start),destructureIdentifier(e,0,o,r,i,a);break;case"AssignmentPattern":var s,l="Identifier"===o.left.type;if(l){s=o.left.name;var u=t.findDeclaration(s);u&&(s=u.name)}else s=t.createIdentifier(r);a.push(function(t,n,a){i?(e.insertRight(o.right.start,s+" = "+r+" === undefined ? "),e.insertLeft(o.right.end," : "+r)):(e.insertRight(o.right.start,n+"var "+s+" = "+r+"; if ( "+s+" === void 0 ) "+s+" = "),e.insertLeft(o.right.end,a)),e.move(o.right.start,o.right.end,t)}),l?e.remove(n,o.right.start):(e.remove(n,o.left.start),e.remove(o.left.end,o.right.start),handleProperty(e,t,n,o.left,s,i,a));break;case"ObjectPattern":if(e.remove(n,n=o.start),o.properties.length>1){var c=t.createIdentifier(r);a.push(function(t,i,a){e.insertRight(o.start,i+"var "+c+" = "),e.overwrite(o.start,n=o.start+1,r),e.insertLeft(n,a),e.move(o.start,n,t)}),o.properties.forEach(function(o){var r=o.computed||"Identifier"!==o.key.type?c+"["+e.slice(o.key.start,o.key.end)+"]":c+"."+o.key.name;handleProperty(e,t,n,o.value,r,i,a),n=o.end})}else{var p=o.properties[0],d=p.computed||"Identifier"!==p.key.type?"["+e.slice(p.key.start,p.key.end)+"]":"."+p.key.name;handleProperty(e,t,n,p.value,""+r+d,i,a),n=p.end}e.remove(n,o.end);break;case"ArrayPattern":if(e.remove(n,n=o.start),o.elements.filter(Boolean).length>1){var f=t.createIdentifier(r);a.push(function(t,i,a){e.insertRight(o.start,i+"var "+f+" = "),e.overwrite(o.start,n=o.start+1,r),e.insertLeft(n,a),e.move(o.start,n,t)}),o.elements.forEach(function(o,r){o&&("RestElement"===o.type?handleProperty(e,t,n,o.argument,f+".slice("+r+")",i,a):handleProperty(e,t,n,o,f+"["+r+"]",i,a),n=o.end)})}else{var m=findIndex(o.elements,Boolean),h=o.elements[m];"RestElement"===h.type?handleProperty(e,t,n,h.argument,r+".slice("+m+")",i,a):handleProperty(e,t,n,h,r+"["+m+"]",i,a),n=h.end}e.remove(n,o.end);break;default:throw new Error("Unexpected node type in destructuring ("+o.type+")")}}function isReference(e,t){return"MemberExpression"===e.type?!e.computed&&isReference(e.object,e):"Identifier"===e.type?!t||!/(Function|Class)Expression/.test(t.type)&&("VariableDeclarator"===t.type?e===t.init:"MemberExpression"===t.type||"MethodDefinition"===t.type?t.computed||e===t.object:"ArrayPattern"!==t.type&&("Property"===t.type?"ObjectPattern"!==t.parent.type&&(t.computed||e===t.value):"MethodDefinition"!==t.type&&("ExportSpecifier"!==t.type||e===t.local))):void 0}function normalise(e,t){return t&&/\n/.test(e)&&(e=e.replace(/\s+$/,"")),e=e.replace(/^\n\r?\s+/,"").replace(/\s*\n\r?\s*/gm," "),JSON.stringify(e)}function wrap(e,t){if(e)if("length"in e)for(var n=e.length;n--;)wrap(e[n],t);else if(!e.__wrapped){e.__wrapped=!0,C[e.type]||(C[e.type]=Object.keys(e).filter(function(t){return"object"==typeof e[t]}));var o=me[e.type];if(o&&"BlockStatement"!==e[o].type){var r=e[o];e[o]={start:r.start,end:r.end,type:"BlockStatement",body:[r],synthetic:!0}}new y(e,t);var i=("BlockStatement"===e.type?be:fe[e.type])||y;e.__proto__=i.prototype}}function Scope(e){e=e||{},this.parent=e.parent,this.isBlockScope=!!e.block;for(var t=this;t.isBlockScope;)t=t.parent;this.functionScope=t,this.identifiers=[],this.declarations=Object.create(null),this.references=Object.create(null),this.blockScopedDeclarations=this.isBlockScope?null:Object.create(null),this.aliases=this.isBlockScope?null:Object.create(null)}function Program(e,t,n,o){this.type="Root",this.jsx=o.jsx||"React.createElement",this.options=o,this.source=e,this.magicString=new v(e),this.ast=t,this.depth=0,wrap(this.body=t,this),this.body.__proto__=be.prototype,this.indentExclusionElements=[],this.body.initialise(n),this.indentExclusions=Object.create(null);for(var r=0,i=this.indentExclusionElements;r<i.length;r+=1)for(var a=i[r],s=a.start;s<a.end;s+=1)this.indentExclusions[s]=!0;this.body.transpile(this.magicString,n)}function target(e){var t=Object.keys(e).length?2147483647:1073741824;Object.keys(e).forEach(function(n){var o=ge[n];if(!o)throw new Error("Unknown environment '"+n+"'. Please raise an issue at https://gitlab.com/Rich-Harris/buble/issues");var r=e[n];if(!(r in o))throw new Error("Support data exists for the following versions of "+n+": "+Object.keys(o).join(", ")+". Please raise an issue at https://gitlab.com/Rich-Harris/buble/issues");var i=o[r];t&=i});var n=Object.create(null);return Ae.forEach(function(e,o){n[e]=!(t&1<<o)}),Ce.forEach(function(e){n[e]=!1}),n}var s="undefined"!=typeof window?window:void 0!==e?e:this,l=__commonjs(function(e,t,n){!function(n,o){"object"==typeof t&&void 0!==e?o(t):(i=[t],r=o,void 0===(a="function"==typeof r?r.apply(t,i):r)||(e.exports=a))}(0,function(e){function isInAstralSet(e,t){for(var n=65536,o=0;o<t.length;o+=2){if((n+=t[o])>e)return!1;if((n+=t[o+1])>=e)return!0}}function isIdentifierStart(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):!1!==t&&isInAstralSet(e,l)))}function isIdentifierChar(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):!1!==t&&(isInAstralSet(e,l)||isInAstralSet(e,u)))))}function binop(e,t){return new c(e,{beforeExpr:!0,binop:t})}function kw(e,t){return void 0===t&&(t={}),t.keyword=e,f[e]=new c(e,t)}function isNewLine(e){return 10===e||13===e||8232===e||8233==e}function isArray(e){return"[object Array]"===Object.prototype.toString.call(e)}function has(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function getLineInfo(e,t){for(var n=1,o=0;;){b.lastIndex=o;var r=b.exec(e);if(!(r&&r.index<t))return new v(n,t-o);++n,o=r.index+r[0].length}}function getOptions(e){var t={};for(var n in y)t[n]=e&&has(e,n)?e[n]:y[n];if(null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),isArray(t.onToken)){var o=t.onToken;t.onToken=function(e){return o.push(e)}}return isArray(t.onComment)&&(t.onComment=function pushComment(e,t){return function(n,o,r,i,a,s){var l={type:n?"Block":"Line",value:o,start:r,end:i};e.locations&&(l.loc=new C(this,a,s)),e.ranges&&(l.range=[r,i]),t.push(l)}}(t,t.onComment)),t}function keywordRegexp(e){return new RegExp("^("+e.replace(/ /g,"|")+")$")}function finishNodeAt(e,t,n,o){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=o),this.options.ranges&&(e.range[1]=n),e}function tryCreateRegexp(e,t,n,o){try{return new RegExp(e,t)}catch(e){if(void 0!==n)throw e instanceof SyntaxError&&o.raise(n,"Error parsing regular expression: "+e.message),e}}function codePointToString(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",7:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:n,6:n+" const class extends export import super"},r="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",a=new RegExp("["+r+"]"),s=new RegExp("["+r+i+"]");r=i=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],u=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],c=function TokenType(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},p={beforeExpr:!0},d={startsExpr:!0},f={},m={num:new c("num",d),regexp:new c("regexp",d),string:new c("string",d),name:new c("name",d),eof:new c("eof"),bracketL:new c("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new c("]"),braceL:new c("{",{beforeExpr:!0,startsExpr:!0}),braceR:new c("}"),parenL:new c("(",{beforeExpr:!0,startsExpr:!0}),parenR:new c(")"),comma:new c(",",p),semi:new c(";",p),colon:new c(":",p),dot:new c("."),question:new c("?",p),arrow:new c("=>",p),template:new c("template"),ellipsis:new c("...",p),backQuote:new c("`",d),dollarBraceL:new c("${",{beforeExpr:!0,startsExpr:!0}),eq:new c("=",{beforeExpr:!0,isAssign:!0}),assign:new c("_=",{beforeExpr:!0,isAssign:!0}),incDec:new c("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new c("prefix",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=",6),relational:binop("</>",7),bitShift:binop("<</>>",8),plusMin:new c("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new c("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",d),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",d),_super:kw("super",d),_class:kw("class"),_extends:kw("extends",p),_export:kw("export"),_import:kw("import"),_null:kw("null",d),_true:kw("true",d),_false:kw("false",d),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},h=/\r\n?|\n|\u2028|\u2029/,b=new RegExp(h.source,"g"),g=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,A=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,v=function Position(e,t){this.line=e,this.column=t};v.prototype.offset=function offset(e){return new v(this.line,this.column+e)};var C=function SourceLocation(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)},y={ecmaVersion:6,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1,plugins:{}},_={},w=function Parser(e,n,r){this.options=e=getOptions(e),this.sourceFile=e.sourceFile,this.keywords=keywordRegexp(o[e.ecmaVersion>=6?6:5]);var i=e.allowReserved?"":t[e.ecmaVersion]+("module"==e.sourceType?" await":"");this.reservedWords=keywordRegexp(i);var a=(i?i+" ":"")+t.strict;this.reservedWordsStrict=keywordRegexp(a),this.reservedWordsStrictBind=keywordRegexp(a+" "+t.strictBind),this.input=String(n),this.containsEsc=!1,this.loadPlugins(e.plugins),r?(this.pos=r,this.lineStart=Math.max(0,this.input.lastIndexOf("\n",r)),this.curLine=this.input.slice(0,this.lineStart).split(h).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=m.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.strict=this.inModule="module"===e.sourceType,this.potentialArrowAt=-1,this.inFunction=this.inGenerator=!1,this.labels=[],0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2)};w.prototype.isKeyword=function isKeyword(e){return this.keywords.test(e)},w.prototype.isReservedWord=function isReservedWord(e){return this.reservedWords.test(e)},w.prototype.extend=function extend(e,t){this[e]=t(this[e])},w.prototype.loadPlugins=function loadPlugins(e){for(var t in e){var n=_[t];if(!n)throw new Error("Plugin '"+t+"' not found");n(this,e[t])}},w.prototype.parse=function parse(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)};var x=w.prototype;x.isUseStrict=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"use strict"===e.expression.raw.slice(1,-1)},x.eat=function(e){return this.type===e&&(this.next(),!0)},x.isContextual=function(e){return this.type===m.name&&this.value===e},x.eatContextual=function(e){return this.value===e&&this.eat(m.name)},x.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},x.canInsertSemicolon=function(){return this.type===m.eof||this.type===m.braceR||h.test(this.input.slice(this.lastTokEnd,this.start))},x.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},x.semicolon=function(){this.eat(m.semi)||this.insertSemicolon()||this.unexpected()},x.afterTrailingComma=function(e){if(this.type==e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),this.next(),!0},x.expect=function(e){this.eat(e)||this.unexpected()},x.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var B=function DestructuringErrors(){this.shorthandAssign=0,this.trailingComma=0};x.checkPatternErrors=function(e,t){var n=e&&e.trailingComma;if(!t)return!!n;n&&this.raise(n,"Comma is not permitted after the rest element")},x.checkExpressionErrors=function(e,t){var n=e&&e.shorthandAssign;if(!t)return!!n;n&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")};var k=w.prototype;k.parseTopLevel=function(e){var t=!0;for(e.body||(e.body=[]);this.type!==m.eof;){var n=this.parseStatement(!0,!0);e.body.push(n),t&&(this.isUseStrict(n)&&this.setStrict(!0),t=!1)}return this.next(),this.options.ecmaVersion>=6&&(e.sourceType=this.options.sourceType),this.finishNode(e,"Program")};var E={kind:"loop"},S={kind:"switch"};k.isLet=function(){if(this.type!==m.name||this.options.ecmaVersion<6||"let"!=this.value)return!1;A.lastIndex=this.pos;var e=A.exec(this.input),t=this.pos+e[0].length,n=this.input.charCodeAt(t);if(91===n||123==n)return!0;if(isIdentifierStart(n,!0)){for(var o=t+1;isIdentifierChar(this.input.charCodeAt(o),!0);++o);var r=this.input.slice(t,o);if(!this.isKeyword(r))return!0}return!1},k.parseStatement=function(e,t){var n,o=this.type,r=this.startNode();switch(this.isLet()&&(o=m._var,n="let"),o){case m._break:case m._continue:return this.parseBreakContinueStatement(r,o.keyword);case m._debugger:return this.parseDebuggerStatement(r);case m._do:return this.parseDoStatement(r);case m._for:return this.parseForStatement(r);case m._function:return!e&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r);case m._class:return e||this.unexpected(),this.parseClass(r,!0);case m._if:return this.parseIfStatement(r);case m._return:return this.parseReturnStatement(r);case m._switch:return this.parseSwitchStatement(r);case m._throw:return this.parseThrowStatement(r);case m._try:return this.parseTryStatement(r);case m._const:case m._var:return n=n||this.value,e||"var"==n||this.unexpected(),this.parseVarStatement(r,n);case m._while:return this.parseWhileStatement(r);case m._with:return this.parseWithStatement(r);case m.braceL:return this.parseBlock();case m.semi:return this.parseEmptyStatement(r);case m._export:case m._import:return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),o===m._import?this.parseImport(r):this.parseExport(r);default:var i=this.value,a=this.parseExpression();return o===m.name&&"Identifier"===a.type&&this.eat(m.colon)?this.parseLabeledStatement(r,i,a):this.parseExpressionStatement(r,a)}},k.parseBreakContinueStatement=function(e,t){var n="break"==t;this.next(),this.eat(m.semi)||this.insertSemicolon()?e.label=null:this.type!==m.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var o=0;o<this.labels.length;++o){var r=this.labels[o];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(n||"loop"===r.kind))break;if(e.label&&n)break}}return o===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},k.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},k.parseDoStatement=function(e){return this.next(),this.labels.push(E),e.body=this.parseStatement(!1),this.labels.pop(),this.expect(m._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(m.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},k.parseForStatement=function(e){if(this.next(),this.labels.push(E),this.expect(m.parenL),this.type===m.semi)return this.parseFor(e,null);var t=this.isLet();if(this.type===m._var||this.type===m._const||t){var n=this.startNode(),o=t?"let":this.value;return this.next(),this.parseVar(n,!0,o),this.finishNode(n,"VariableDeclaration"),!(this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of"))||1!==n.declarations.length||"var"!==o&&n.declarations[0].init?this.parseFor(e,n):this.parseForIn(e,n)}var r=new B,i=this.parseExpression(!0,r);return this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.checkPatternErrors(r,!0),this.toAssignable(i),this.checkLVal(i),this.parseForIn(e,i)):(this.checkExpressionErrors(r,!0),this.parseFor(e,i))},k.parseFunctionStatement=function(e){return this.next(),this.parseFunction(e,!0)},k.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!1),e.alternate=this.eat(m._else)?this.parseStatement(!1):null,this.finishNode(e,"IfStatement")},k.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(m.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},k.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(m.braceL),this.labels.push(S);for(var t,n=!1;this.type!=m.braceR;)if(this.type===m._case||this.type===m._default){var o=this.type===m._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),o?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(m.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(!0));return t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},k.parseThrowStatement=function(e){return this.next(),h.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var P=[];k.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===m._catch){var t=this.startNode();this.next(),this.expect(m.parenL),t.param=this.parseBindingAtom(),this.checkLVal(t.param,!0),this.expect(m.parenR),t.body=this.parseBlock(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(m._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},k.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},k.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(E),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"WhileStatement")},k.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(!1),this.finishNode(e,"WithStatement")},k.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},k.parseLabeledStatement=function(e,t,n){for(var o=0;o<this.labels.length;++o)this.labels[o].name===t&&this.raise(n.start,"Label '"+t+"' is already declared");for(var r=this.type.isLoop?"loop":this.type===m._switch?"switch":null,i=this.labels.length-1;i>=0;i--){var a=this.labels[i];if(a.statementStart!=e.start)break;a.statementStart=this.start,a.kind=r}return this.labels.push({name:t,kind:r,statementStart:this.start}),e.body=this.parseStatement(!0),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},k.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},k.parseBlock=function(e){var t,n=this.startNode(),o=!0;for(n.body=[],this.expect(m.braceL);!this.eat(m.braceR);){var r=this.parseStatement(!0);n.body.push(r),o&&e&&this.isUseStrict(r)&&(t=this.strict,this.setStrict(this.strict=!0)),o=!1}return!1===t&&this.setStrict(!1),this.finishNode(n,"BlockStatement")},k.parseFor=function(e,t){return e.init=t,this.expect(m.semi),e.test=this.type===m.semi?null:this.parseExpression(),this.expect(m.semi),e.update=this.type===m.parenR?null:this.parseExpression(),this.expect(m.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,"ForStatement")},k.parseForIn=function(e,t){var n=this.type===m._in?"ForInStatement":"ForOfStatement";return this.next(),e.left=t,e.right=this.parseExpression(),this.expect(m.parenR),e.body=this.parseStatement(!1),this.labels.pop(),this.finishNode(e,n)},k.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var o=this.startNode();if(this.parseVarId(o),this.eat(m.eq)?o.init=this.parseMaybeAssign(t):"const"!==n||this.type===m._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"==o.id.type||t&&(this.type===m._in||this.isContextual("of"))?o.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(m.comma))break}return e},k.parseVarId=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0)},k.parseFunction=function(e,t,n){this.initFunction(e),this.options.ecmaVersion>=6&&(e.generator=this.eat(m.star));var o=this.inGenerator;return this.inGenerator=e.generator,(t||this.type===m.name)&&(e.id=this.parseIdent()),this.parseFunctionParams(e),this.parseFunctionBody(e,n),this.inGenerator=o,this.finishNode(e,t?"FunctionDeclaration":"FunctionExpression")},k.parseFunctionParams=function(e){this.expect(m.parenL),e.params=this.parseBindingList(m.parenR,!1,!1,!0)},k.parseClass=function(e,t){this.next(),this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),o=!1;for(n.body=[],this.expect(m.braceL);!this.eat(m.braceR);)if(!this.eat(m.semi)){var r=this.startNode(),i=this.eat(m.star),a=this.type===m.name&&"static"===this.value;this.parsePropertyName(r),r.static=a&&this.type!==m.parenL,r.static&&(i&&this.unexpected(),i=this.eat(m.star),this.parsePropertyName(r)),r.kind="method";var s=!1;if(!r.computed){var l=r.key;i||"Identifier"!==l.type||this.type===m.parenL||"get"!==l.name&&"set"!==l.name||(s=!0,r.kind=l.name,l=this.parsePropertyName(r)),!r.static&&("Identifier"===l.type&&"constructor"===l.name||"Literal"===l.type&&"constructor"===l.value)&&(o&&this.raise(l.start,"Duplicate constructor in the same class"),s&&this.raise(l.start,"Constructor can't have get/set modifier"),i&&this.raise(l.start,"Constructor can't be a generator"),r.kind="constructor",o=!0)}if(this.parseClassMethod(n,r,i),s){var u="get"===r.kind?0:1;if(r.value.params.length!==u){var c=r.value.start;"get"===r.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raise(r.value.params[0].start,"Setter cannot use rest params")}}return e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},k.parseClassMethod=function(e,t,n){t.value=this.parseMethod(n),e.body.push(this.finishNode(t,"MethodDefinition"))},k.parseClassId=function(e,t){e.id=this.type===m.name?this.parseIdent():t?this.unexpected():null},k.parseClassSuper=function(e){e.superClass=this.eat(m._extends)?this.parseExprSubscripts():null},k.parseExport=function(e){if(this.next(),this.eat(m.star))return this.expectContextual("from"),e.source=this.type===m.string?this.parseExprAtom():this.unexpected(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(m._default)){var t=this.type==m.parenL,n=this.parseMaybeAssign(),o=!0;return t||"FunctionExpression"!=n.type&&"ClassExpression"!=n.type||(o=!1,n.id&&(n.type="FunctionExpression"==n.type?"FunctionDeclaration":"ClassDeclaration")),e.declaration=n,o&&this.semicolon(),this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(!0),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.eatContextual("from"))e.source=this.type===m.string?this.parseExprAtom():this.unexpected();else{for(var r=0;r<e.specifiers.length;r++)(this.keywords.test(e.specifiers[r].local.name)||this.reservedWords.test(e.specifiers[r].local.name))&&this.unexpected(e.specifiers[r].local.start);e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},k.shouldParseExportStatement=function(){return this.type.keyword||this.isLet()},k.parseExportSpecifiers=function(){var e=[],t=!0;for(this.expect(m.braceL);!this.eat(m.braceR);){if(t)t=!1;else if(this.expect(m.comma),this.afterTrailingComma(m.braceR))break;var n=this.startNode();n.local=this.parseIdent(this.type===m._default),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,e.push(this.finishNode(n,"ExportSpecifier"))}return e},k.parseImport=function(e){return this.next(),this.type===m.string?(e.specifiers=P,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===m.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},k.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===m.name){var n=this.startNode();if(n.local=this.parseIdent(),this.checkLVal(n.local,!0),e.push(this.finishNode(n,"ImportDefaultSpecifier")),!this.eat(m.comma))return e}if(this.type===m.star){var o=this.startNode();return this.next(),this.expectContextual("as"),o.local=this.parseIdent(),this.checkLVal(o.local,!0),e.push(this.finishNode(o,"ImportNamespaceSpecifier")),e}for(this.expect(m.braceL);!this.eat(m.braceR);){if(t)t=!1;else if(this.expect(m.comma),this.afterTrailingComma(m.braceR))break;var r=this.startNode();r.imported=this.parseIdent(!0),this.eatContextual("as")?r.local=this.parseIdent():(r.local=r.imported,this.isKeyword(r.local.name)&&this.unexpected(r.local.start),this.reservedWordsStrict.test(r.local.name)&&this.raise(r.local.start,"The keyword '"+r.local.name+"' is reserved")),this.checkLVal(r.local,!0),e.push(this.finishNode(r,"ImportSpecifier"))}return e};var D=w.prototype;D.toAssignable=function(e,t){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var n=0;n<e.properties.length;n++){var o=e.properties[n];"init"!==o.kind&&this.raise(o.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(o.value,t)}break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t);break;case"AssignmentExpression":if("="!==e.operator){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break}e.type="AssignmentPattern",delete e.operator;case"AssignmentPattern":"YieldExpression"===e.right.type&&this.raise(e.right.start,"Yield expression cannot be a default value");break;case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}return e},D.toAssignableList=function(e,t){var n=e.length;if(n){var o=e[n-1];if(o&&"RestElement"==o.type)--n;else if(o&&"SpreadElement"==o.type){o.type="RestElement";var r=o.argument;this.toAssignable(r,t),"Identifier"!==r.type&&"MemberExpression"!==r.type&&"ArrayPattern"!==r.type&&this.unexpected(r.start),--n}t&&o&&"RestElement"===o.type&&"Identifier"!==o.argument.type&&this.unexpected(o.argument.start)}for(var i=0;i<n;i++){var a=e[i];a&&this.toAssignable(a,t)}return e},D.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},D.parseRest=function(e){var t=this.startNode();return this.next(),t.argument=e?this.type===m.name?this.parseIdent():this.unexpected():this.type===m.name||this.type===m.bracketL?this.parseBindingAtom():this.unexpected(),this.finishNode(t,"RestElement")},D.parseBindingAtom=function(){if(this.options.ecmaVersion<6)return this.parseIdent();switch(this.type){case m.name:return this.parseIdent();case m.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(m.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case m.braceL:return this.parseObj(!0);default:this.unexpected()}},D.parseBindingList=function(e,t,n,o){for(var r=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(m.comma),t&&this.type===m.comma)r.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===m.ellipsis){var a=this.parseRest(o);this.parseBindingListItem(a),r.push(a),this.type===m.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),r.push(s)}return r},D.parseBindingListItem=function(e){return e},D.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(m.eq))return n;var o=this.startNodeAt(e,t);return o.left=n,o.right=this.parseMaybeAssign(),this.finishNode(o,"AssignmentPattern")},D.checkLVal=function(e,t,n){switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(has(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,(t?"Binding":"Assigning to")+" member expression");break;case"ObjectPattern":for(var o=0;o<e.properties.length;o++)this.checkLVal(e.properties[o].value,t,n);break;case"ArrayPattern":for(var r=0;r<e.elements.length;r++){var i=e.elements[r];i&&this.checkLVal(i,t,n)}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var O=w.prototype;O.checkPropClash=function(e,t){if(!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,o=e.key;switch(o.type){case"Identifier":n=o.name;break;case"Literal":n=String(o.value);break;default:return}var r=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===r&&(t.proto&&this.raiseRecoverable(o.start,"Redefinition of __proto__ property"),t.proto=!0);else{var i=t[n="$"+n];if(i){var a="init"!==r;(!this.strict&&!a||!i[r])&&a^i.init||this.raiseRecoverable(o.start,"Redefinition of property")}else i=t[n]={init:!1,get:!1,set:!1};i[r]=!0}}},O.parseExpression=function(e,t){var n=this.start,o=this.startLoc,r=this.parseMaybeAssign(e,t);if(this.type===m.comma){var i=this.startNodeAt(n,o);for(i.expressions=[r];this.eat(m.comma);)i.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(i,"SequenceExpression")}return r},O.parseMaybeAssign=function(e,t,n){if(this.inGenerator&&this.isContextual("yield"))return this.parseYield();var o=!1;t||(t=new B,o=!0);var r=this.start,i=this.startLoc;this.type!=m.parenL&&this.type!=m.name||(this.potentialArrowAt=this.start);var a=this.parseMaybeConditional(e,t);if(n&&(a=n.call(this,a,r,i)),this.type.isAssign){this.checkPatternErrors(t,!0),o||B.call(t);var s=this.startNodeAt(r,i);return s.operator=this.value,s.left=this.type===m.eq?this.toAssignable(a):a,t.shorthandAssign=0,this.checkLVal(a),this.next(),s.right=this.parseMaybeAssign(e),this.finishNode(s,"AssignmentExpression")}return o&&this.checkExpressionErrors(t,!0),a},O.parseMaybeConditional=function(e,t){var n=this.start,o=this.startLoc,r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return r;if(this.eat(m.question)){var i=this.startNodeAt(n,o);return i.test=r,i.consequent=this.parseMaybeAssign(),this.expect(m.colon),i.alternate=this.parseMaybeAssign(e),this.finishNode(i,"ConditionalExpression")}return r},O.parseExprOps=function(e,t){var n=this.start,o=this.startLoc,r=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)?r:this.parseExprOp(r,n,o,-1,e)},O.parseExprOp=function(e,t,n,o,r){var i=this.type.binop;if(null!=i&&(!r||this.type!==m._in)&&i>o){var a=this.type===m.logicalOR||this.type===m.logicalAND,s=this.value;this.next();var l=this.start,u=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1),l,u,i,r),p=this.buildBinary(t,n,e,c,s,a);return this.parseExprOp(p,t,n,o,r)}return e},O.buildBinary=function(e,t,n,o,r,i){var a=this.startNodeAt(e,t);return a.left=n,a.operator=r,a.right=o,this.finishNode(a,i?"LogicalExpression":"BinaryExpression")},O.parseMaybeUnary=function(e,t){var n,o=this.start,r=this.startLoc;if(this.type.prefix){var i=this.startNode(),a=this.type===m.incDec;i.operator=this.value,i.prefix=!0,this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(i.argument):this.strict&&"delete"===i.operator&&"Identifier"===i.argument.type?this.raiseRecoverable(i.start,"Deleting local variable in strict mode"):t=!0,n=this.finishNode(i,a?"UpdateExpression":"UnaryExpression")}else{if(n=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(o,r);s.operator=this.value,s.prefix=!1,s.argument=n,this.checkLVal(n),this.next(),n=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(m.starstar)?this.buildBinary(o,r,n,this.parseMaybeUnary(null,!1),"**",!1):n},O.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,o=this.parseExprAtom(e),r="ArrowFunctionExpression"===o.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);return this.checkExpressionErrors(e)||r?o:this.parseSubscripts(o,t,n)},O.parseSubscripts=function(e,t,n,o){for(;;)if(this.eat(m.dot)){var r=this.startNodeAt(t,n);r.object=e,r.property=this.parseIdent(!0),r.computed=!1,e=this.finishNode(r,"MemberExpression")}else if(this.eat(m.bracketL)){var i=this.startNodeAt(t,n);i.object=e,i.property=this.parseExpression(),i.computed=!0,this.expect(m.bracketR),e=this.finishNode(i,"MemberExpression")}else if(!o&&this.eat(m.parenL)){var a=this.startNodeAt(t,n);a.callee=e,a.arguments=this.parseExprList(m.parenR,!1),e=this.finishNode(a,"CallExpression")}else{if(this.type!==m.backQuote)return e;var s=this.startNodeAt(t,n);s.tag=e,s.quasi=this.parseTemplate(),e=this.finishNode(s,"TaggedTemplateExpression")}},O.parseExprAtom=function(e){var t,n=this.potentialArrowAt==this.start;switch(this.type){case m._super:this.inFunction||this.raise(this.start,"'super' outside of function or class");case m._this:var o=this.type===m._this?"ThisExpression":"Super";return t=this.startNode(),this.next(),this.finishNode(t,o);case m.name:var r=this.start,i=this.startLoc,a=this.parseIdent(this.type!==m.name);return n&&!this.canInsertSemicolon()&&this.eat(m.arrow)?this.parseArrowExpression(this.startNodeAt(r,i),[a]):a;case m.regexp:var s=this.value;return t=this.parseLiteral(s.value),t.regex={pattern:s.pattern,flags:s.flags},t;case m.num:case m.string:return this.parseLiteral(this.value);case m._null:case m._true:case m._false:return t=this.startNode(),t.value=this.type===m._null?null:this.type===m._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case m.parenL:return this.parseParenAndDistinguishExpression(n);case m.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(m.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case m.braceL:return this.parseObj(!1,e);case m._function:return t=this.startNode(),this.next(),this.parseFunction(t,!1);case m._class:return this.parseClass(this.startNode(),!1);case m._new:return this.parseNew();case m.backQuote:return this.parseTemplate();default:this.unexpected()}},O.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),this.next(),this.finishNode(t,"Literal")},O.parseParenExpression=function(){this.expect(m.parenL);var e=this.parseExpression();return this.expect(m.parenR),e},O.parseParenAndDistinguishExpression=function(e){var t,n=this.start,o=this.startLoc;if(this.options.ecmaVersion>=6){this.next();for(var r,i,a=this.start,s=this.startLoc,l=[],u=!0,c=new B;this.type!==m.parenR;){if(u?u=!1:this.expect(m.comma),this.type===m.ellipsis){r=this.start,l.push(this.parseParenItem(this.parseRest()));break}this.type!==m.parenL||i||(i=this.start),l.push(this.parseMaybeAssign(!1,c,this.parseParenItem))}var p=this.start,d=this.startLoc;if(this.expect(m.parenR),e&&!this.canInsertSemicolon()&&this.eat(m.arrow))return this.checkPatternErrors(c,!0),i&&this.unexpected(i),this.parseParenArrowList(n,o,l);l.length||this.unexpected(this.lastTokStart),r&&this.unexpected(r),this.checkExpressionErrors(c,!0),l.length>1?((t=this.startNodeAt(a,s)).expressions=l,this.finishNodeAt(t,"SequenceExpression",p,d)):t=l[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var f=this.startNodeAt(n,o);return f.expression=t,this.finishNode(f,"ParenthesizedExpression")}return t},O.parseParenItem=function(e){return e},O.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var R=[];O.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(m.dot))return e.meta=t,e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inFunction||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty");var n=this.start,o=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,o,!0),this.eat(m.parenL)?e.arguments=this.parseExprList(m.parenR,!1):e.arguments=R,this.finishNode(e,"NewExpression")},O.parseTemplateElement=function(){var e=this.startNode();return e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),e.tail=this.type===m.backQuote,this.finishNode(e,"TemplateElement")},O.parseTemplate=function(){var e=this.startNode();this.next(),e.expressions=[];var t=this.parseTemplateElement();for(e.quasis=[t];!t.tail;)this.expect(m.dollarBraceL),e.expressions.push(this.parseExpression()),this.expect(m.braceR),e.quasis.push(t=this.parseTemplateElement());return this.next(),this.finishNode(e,"TemplateLiteral")},O.parseObj=function(e,t){var n=this.startNode(),o=!0,r={};for(n.properties=[],this.next();!this.eat(m.braceR);){if(o)o=!1;else if(this.expect(m.comma),this.afterTrailingComma(m.braceR))break;var i,a,s,l=this.startNode();this.options.ecmaVersion>=6&&(l.method=!1,l.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(i=this.eat(m.star))),this.parsePropertyName(l),this.parsePropertyValue(l,e,i,a,s,t),this.checkPropClash(l,r),n.properties.push(this.finishNode(l,"Property"))}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},O.parsePropertyValue=function(e,t,n,o,r,i){if(this.eat(m.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===m.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n);else if(this.options.ecmaVersion>=5&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.type!=m.comma&&this.type!=m.braceR){(n||t)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var a="get"===e.kind?0:1;if(e.value.params.length!==a){var s=e.value.start;"get"===e.kind?this.raiseRecoverable(s,"getter should have no params"):this.raiseRecoverable(s,"setter should have exactly one param")}"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((this.keywords.test(e.key.name)||(this.strict?this.reservedWordsStrictBind:this.reservedWords).test(e.key.name)||this.inGenerator&&"yield"==e.key.name)&&this.raiseRecoverable(e.key.start,"'"+e.key.name+"' can not be used as shorthand property"),e.kind="init",t?e.value=this.parseMaybeDefault(o,r,e.key):this.type===m.eq&&i?(i.shorthandAssign||(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(o,r,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},O.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(m.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(m.bracketR),e.key;e.computed=!1}return e.key=this.type===m.num||this.type===m.string?this.parseExprAtom():this.parseIdent(!0)},O.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=!1,e.expression=!1)},O.parseMethod=function(e){var t=this.startNode(),n=this.inGenerator;return this.inGenerator=e,this.initFunction(t),this.expect(m.parenL),t.params=this.parseBindingList(m.parenR,!1,!1),this.options.ecmaVersion>=6&&(t.generator=e),this.parseFunctionBody(t,!1),this.inGenerator=n,this.finishNode(t,"FunctionExpression")},O.parseArrowExpression=function(e,t){var n=this.inGenerator;return this.inGenerator=!1,this.initFunction(e),e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0),this.inGenerator=n,this.finishNode(e,"ArrowFunctionExpression")},O.parseFunctionBody=function(e,t){var n=t&&this.type!==m.braceL;if(n)e.body=this.parseMaybeAssign(),e.expression=!0;else{var o=this.inFunction,r=this.labels;this.inFunction=!0,this.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.inFunction=o,this.labels=r}var i=!n&&e.body.body.length&&this.isUseStrict(e.body.body[0])?e.body.body[0]:null;if(this.strict||i){var a=this.strict;this.strict=!0,e.id&&this.checkLVal(e.id,!0),this.checkParams(e,i),this.strict=a}else t&&this.checkParams(e,i)},O.checkParams=function(e,t){for(var n={},o=0;o<e.params.length;o++)t&&this.options.ecmaVersion>=7&&"Identifier"!==e.params[o].type&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list"),this.checkLVal(e.params[o],!0,n)},O.parseExprList=function(e,t,n,o){for(var r=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(m.comma),t&&this.afterTrailingComma(e))break;var a;n&&this.type===m.comma?a=null:this.type===m.ellipsis?(a=this.parseSpread(o),this.type===m.comma&&o&&!o.trailingComma&&(o.trailingComma=this.lastTokStart)):a=this.parseMaybeAssign(!1,o),r.push(a)}return r},O.parseIdent=function(e){var t=this.startNode();return e&&"never"==this.options.allowReserved&&(e=!1),this.type===m.name?(!e&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(this.value)&&(this.options.ecmaVersion>=6||-1==this.input.slice(this.start,this.end).indexOf("\\"))&&this.raiseRecoverable(this.start,"The keyword '"+this.value+"' is reserved"),!e&&this.inGenerator&&"yield"===this.value&&this.raiseRecoverable(this.start,"Can not use 'yield' as identifier inside a generator"),t.name=this.value):e&&this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"Identifier")},O.parseYield=function(){var e=this.startNode();return this.next(),this.type==m.semi||this.canInsertSemicolon()||this.type!=m.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(m.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")};var T=w.prototype;T.raise=function(e,t){var n=getLineInfo(this.input,e);t+=" ("+n.line+":"+n.column+")";var o=new SyntaxError(t);throw o.pos=e,o.loc=n,o.raisedAt=this.pos,o},T.raiseRecoverable=T.raise,T.curPosition=function(){if(this.options.locations)return new v(this.curLine,this.pos-this.lineStart)};var j=function Node(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new C(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},N=w.prototype;N.startNode=function(){return new j(this,this.start,this.startLoc)},N.startNodeAt=function(e,t){return new j(this,e,t)},N.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},N.finishNodeAt=function(e,t,n,o){return finishNodeAt.call(this,e,t,n,o)};var I=function TokContext(e,t,n,o){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=o},q={b_stat:new I("{",!1),b_expr:new I("{",!0),b_tmpl:new I("${",!0),p_stat:new I("(",!1),p_expr:new I("(",!0),q_tmpl:new I("`",!0,!0,function(e){return e.readTmplToken()}),f_expr:new I("function",!0)},M=w.prototype;M.initialContext=function(){return[q.b_stat]},M.braceIsBlock=function(e){if(e===m.colon){var t=this.curContext();if(t===q.b_stat||t===q.b_expr)return!t.isExpr}return e===m._return?h.test(this.input.slice(this.lastTokEnd,this.start)):e===m._else||e===m.semi||e===m.eof||e===m.parenR||(e==m.braceL?this.curContext()===q.b_stat:!this.exprAllowed)},M.updateContext=function(e){var t,n=this.type;n.keyword&&e==m.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},m.parenR.updateContext=m.braceR.updateContext=function(){if(1!=this.context.length){var e=this.context.pop();e===q.b_stat&&this.curContext()===q.f_expr?(this.context.pop(),this.exprAllowed=!1):this.exprAllowed=e===q.b_tmpl||!e.isExpr}else this.exprAllowed=!0},m.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?q.b_stat:q.b_expr),this.exprAllowed=!0},m.dollarBraceL.updateContext=function(){this.context.push(q.b_tmpl),this.exprAllowed=!0},m.parenL.updateContext=function(e){var t=e===m._if||e===m._for||e===m._with||e===m._while;this.context.push(t?q.p_stat:q.p_expr),this.exprAllowed=!0},m.incDec.updateContext=function(){},m._function.updateContext=function(e){e.beforeExpr&&e!==m.semi&&e!==m._else&&(e!==m.colon&&e!==m.braceL||this.curContext()!==q.b_stat)&&this.context.push(q.f_expr),this.exprAllowed=!1},m.backQuote.updateContext=function(){this.curContext()===q.q_tmpl?this.context.pop():this.context.push(q.q_tmpl),this.exprAllowed=!1};var z=function Token(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new C(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},L=w.prototype,F="object"==typeof Packages&&"[object JavaPackage]"==Object.prototype.toString.call(Packages);L.next=function(){this.options.onToken&&this.options.onToken(new z(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},L.getToken=function(){return this.next(),new z(this)},"undefined"!=typeof Symbol&&(L[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===m.eof,value:t}}}}),L.setStrict=function(e){if(this.strict=e,this.type===m.num||this.type===m.string){if(this.pos=this.start,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf("\n",this.lineStart-2)+1,--this.curLine;this.nextToken()}},L.curContext=function(){return this.context[this.context.length-1]},L.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(m.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},L.readToken=function(e){return isIdentifierStart(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},L.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;return(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},L.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){b.lastIndex=t;for(var o;(o=b.exec(this.input))&&o.index<this.pos;)++this.curLine,this.lineStart=o.index+o[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},L.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),o=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&10!==o&&13!==o&&8232!==o&&8233!==o;)++this.pos,o=this.input.charCodeAt(this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},L.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&g.test(String.fromCharCode(e))))break e;++this.pos}}},L.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},L.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(m.ellipsis)):(++this.pos,this.finishToken(m.dot))},L.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(m.assign,2):this.finishOp(m.slash,1)},L.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,o=42===e?m.star:m.modulo;return this.options.ecmaVersion>=7&&42===t&&(++n,o=m.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(m.assign,n+1):this.finishOp(o,n)},L.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?m.logicalOR:m.logicalAND,2):61===t?this.finishOp(m.assign,2):this.finishOp(124===e?m.bitwiseOR:m.bitwiseAND,1)},L.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(m.assign,2):this.finishOp(m.bitwiseXOR,1)},L.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45==t&&62==this.input.charCodeAt(this.pos+2)&&h.test(this.input.slice(this.lastTokEnd,this.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(m.incDec,2):61===t?this.finishOp(m.assign,2):this.finishOp(m.plusMin,1)},L.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n)?this.finishOp(m.assign,n+1):this.finishOp(m.bitShift,n)):33==t&&60==e&&45==this.input.charCodeAt(this.pos+2)&&45==this.input.charCodeAt(this.pos+3)?(this.inModule&&this.unexpected(),this.skipLineComment(4),this.skipSpace(),this.nextToken()):(61===t&&(n=2),this.finishOp(m.relational,n))},L.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(m.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(m.arrow)):this.finishOp(61===e?m.eq:m.prefix,1)},L.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(m.parenL);case 41:return++this.pos,this.finishToken(m.parenR);case 59:return++this.pos,this.finishToken(m.semi);case 44:return++this.pos,this.finishToken(m.comma);case 91:return++this.pos,this.finishToken(m.bracketL);case 93:return++this.pos,this.finishToken(m.bracketR);case 123:return++this.pos,this.finishToken(m.braceL);case 125:return++this.pos,this.finishToken(m.braceR);case 58:return++this.pos,this.finishToken(m.colon);case 63:return++this.pos,this.finishToken(m.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(m.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(m.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString(e)+"'")},L.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)};var W=!!tryCreateRegexp("￿","u");L.readRegexp=function(){for(var e,t,n=this,o=this.pos;;){n.pos>=n.input.length&&n.raise(o,"Unterminated regular expression");var r=n.input.charAt(n.pos);if(h.test(r)&&n.raise(o,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++n.pos}var i=this.input.slice(o,this.pos);++this.pos;var a=this.readWord1(),s=i,l="";if(a){var u=/^[gim]*$/;this.options.ecmaVersion>=6&&(u=/^[gimuy]*$/),u.test(a)||this.raise(o,"Invalid regular expression flag"),a.indexOf("u")>=0&&(W?l="u":(s=(s=s.replace(/\\u\{([0-9a-fA-F]+)\}/g,function(e,t,r){return(t=Number("0x"+t))>1114111&&n.raise(o+r+3,"Code point out of bounds"),"x"})).replace(/\\u([a-fA-F0-9]{4})|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"x"),l=l.replace("u","")))}var c=null;return F||(tryCreateRegexp(s,l,o,this),c=tryCreateRegexp(i,a)),this.finishToken(m.regexp,{pattern:i,flags:a,value:c})},L.readInt=function(e,t){for(var n=this.pos,o=0,r=0,i=null==t?1/0:t;r<i;++r){var a,s=this.input.charCodeAt(this.pos);if((a=s>=97?s-97+10:s>=65?s-65+10:s>=48&&s<=57?s-48:1/0)>=e)break;++this.pos,o=o*e+a}return this.pos===n||null!=t&&this.pos-n!==t?null:o},L.readRadixNumber=function(e){this.pos+=2;var t=this.readInt(e);return null==t&&this.raise(this.start+2,"Expected number in radix "+e),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(m.num,t)},L.readNumber=function(e){var t=this.pos,n=!1,o=48===this.input.charCodeAt(this.pos);e||null!==this.readInt(10)||this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);46===r&&(++this.pos,this.readInt(10),n=!0,r=this.input.charCodeAt(this.pos)),69!==r&&101!==r||(43!==(r=this.input.charCodeAt(++this.pos))&&45!==r||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),n=!0),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var i,a=this.input.slice(t,this.pos);return n?i=parseFloat(a):o&&1!==a.length?/[89]/.test(a)||this.strict?this.raise(t,"Invalid number"):i=parseInt(a,8):i=parseInt(a,10),this.finishToken(m.num,i)},L.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.raise(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},L.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var o=this.input.charCodeAt(this.pos);if(o===e)break;92===o?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(isNewLine(o)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(m.string,t)},L.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1))return this.pos===this.start&&this.type===m.template?36===n?(this.pos+=2,this.finishToken(m.dollarBraceL)):(++this.pos,this.finishToken(m.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(m.template,e));if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(isNewLine(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},L.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(n,8);return o>255&&(n=n.slice(0,-1),o=parseInt(n,8)),"0"!==n&&(this.strict||e)&&this.raise(this.pos-2,"Octal literal in strict mode"),this.pos+=n.length-1,String.fromCharCode(o)}return String.fromCharCode(t)}},L.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.raise(t,"Bad character escape sequence"),n},L.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,o=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,o))this.pos+=r<=65535?1:2;else{if(92!==r)break;this.containsEsc=!0,e+=this.input.slice(n,this.pos);var i=this.pos;117!=this.input.charCodeAt(++this.pos)&&this.raise(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?isIdentifierStart:isIdentifierChar)(a,o)||this.raise(i,"Invalid Unicode escape"),e+=codePointToString(a),n=this.pos}t=!1}return e+this.input.slice(n,this.pos)},L.readWord=function(){var e=this.readWord1(),t=m.name;return(this.options.ecmaVersion>=6||!this.containsEsc)&&this.keywords.test(e)&&(t=f[e]),this.finishToken(t,e)};e.version="3.3.0",e.parse=function parse(e,t){return new w(t,e).parse()},e.parseExpressionAt=function parseExpressionAt(e,t,n){var o=new w(n,e,t);return o.nextToken(),o.parseExpression()},e.tokenizer=function tokenizer(e,t){return new w(t,e)},e.Parser=w,e.plugins=_,e.defaultOptions=y,e.Position=v,e.SourceLocation=C,e.getLineInfo=getLineInfo,e.Node=j,e.TokenType=c,e.tokTypes=m,e.TokContext=I,e.tokContexts=q,e.isIdentifierChar=isIdentifierChar,e.isIdentifierStart=isIdentifierStart,e.Token=z,e.isNewLine=isNewLine,e.lineBreak=h,e.lineBreakG=b,Object.defineProperty(e,"__esModule",{value:!0})})}),u=l&&"object"==typeof l&&"default"in l?l.default:l,c=__commonjs(function(e){e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}),p=c&&"object"==typeof c&&"default"in c?c.default:c,d=__commonjs(function(e){var t=p,n=/^[\da-fA-F]+$/,o=/^\d+$/;e.exports=function(e){function getQualifiedJSXName(e){return"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?getQualifiedJSXName(e.object)+"."+getQualifiedJSXName(e.property):void 0}var r=e.tokTypes,i=e.tokContexts;i.j_oTag=new e.TokContext("<tag",!1),i.j_cTag=new e.TokContext("</tag",!1),i.j_expr=new e.TokContext("<tag>...</tag>",!0,!0),r.jsxName=new e.TokenType("jsxName"),r.jsxText=new e.TokenType("jsxText",{beforeExpr:!0}),r.jsxTagStart=new e.TokenType("jsxTagStart"),r.jsxTagEnd=new e.TokenType("jsxTagEnd"),r.jsxTagStart.updateContext=function(){this.context.push(i.j_expr),this.context.push(i.j_oTag),this.exprAllowed=!1},r.jsxTagEnd.updateContext=function(e){var t=this.context.pop();t===i.j_oTag&&e===r.slash||t===i.j_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===i.j_expr):this.exprAllowed=!0};var a=e.Parser.prototype;return a.jsx_readToken=function(){for(var t="",n=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var o=this.input.charCodeAt(this.pos);switch(o){case 60:case 123:return this.pos===this.start?60===o&&this.exprAllowed?(++this.pos,this.finishToken(r.jsxTagStart)):this.getTokenFromCode(o):(t+=this.input.slice(n,this.pos),this.finishToken(r.jsxText,t));case 38:t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos;break;default:e.isNewLine(o)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!0),n=this.pos):++this.pos}}},a.jsx_readNewLine=function(e){var t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},a.jsx_readString=function(t){for(var n="",o=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===t)break;38===i?(n+=this.input.slice(o,this.pos),n+=this.jsx_readEntity(),o=this.pos):e.isNewLine(i)?(n+=this.input.slice(o,this.pos),n+=this.jsx_readNewLine(!1),o=this.pos):++this.pos}return n+=this.input.slice(o,this.pos++),this.finishToken(r.string,n)},a.jsx_readEntity=function(){var e,r="",i=0,a=this.input[this.pos];"&"!==a&&this.raise(this.pos,"Entity must start with an ampersand");for(var s=++this.pos;this.pos<this.input.length&&i++<10;){if(";"===(a=this.input[this.pos++])){"#"===r[0]?"x"===r[1]?(r=r.substr(2),n.test(r)&&(e=String.fromCharCode(parseInt(r,16)))):(r=r.substr(1),o.test(r)&&(e=String.fromCharCode(parseInt(r,10)))):e=t[r];break}r+=a}return e||(this.pos=s,"&")},a.jsx_readWord=function(){var t,n=this.pos;do{t=this.input.charCodeAt(++this.pos)}while(e.isIdentifierChar(t)||45===t);return this.finishToken(r.jsxName,this.input.slice(n,this.pos))},a.jsx_parseIdentifier=function(){var e=this.startNode();return this.type===r.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")},a.jsx_parseNamespacedName=function(){var e=this.start,t=this.startLoc,n=this.jsx_parseIdentifier();if(!this.options.plugins.jsx.allowNamespaces||!this.eat(r.colon))return n;var o=this.startNodeAt(e,t);return o.namespace=n,o.name=this.jsx_parseIdentifier(),this.finishNode(o,"JSXNamespacedName")},a.jsx_parseElementName=function(){var e=this.start,t=this.startLoc,n=this.jsx_parseNamespacedName();for(this.type!==r.dot||"JSXNamespacedName"!==n.type||this.options.plugins.jsx.allowNamespacedObjects||this.unexpected();this.eat(r.dot);){var o=this.startNodeAt(e,t);o.object=n,o.property=this.jsx_parseIdentifier(),n=this.finishNode(o,"JSXMemberExpression")}return n},a.jsx_parseAttributeValue=function(){switch(this.type){case r.braceL:var e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case r.jsxTagStart:case r.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}},a.jsx_parseEmptyExpression=function(){var e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)},a.jsx_parseExpressionContainer=function(){var e=this.startNode();return this.next(),e.expression=this.type===r.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(r.braceR),this.finishNode(e,"JSXExpressionContainer")},a.jsx_parseAttribute=function(){var e=this.startNode();return this.eat(r.braceL)?(this.expect(r.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(r.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(r.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))},a.jsx_parseOpeningElementAt=function(e,t){var n=this.startNodeAt(e,t);for(n.attributes=[],n.name=this.jsx_parseElementName();this.type!==r.slash&&this.type!==r.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(r.slash),this.expect(r.jsxTagEnd),this.finishNode(n,"JSXOpeningElement")},a.jsx_parseClosingElementAt=function(e,t){var n=this.startNodeAt(e,t);return n.name=this.jsx_parseElementName(),this.expect(r.jsxTagEnd),this.finishNode(n,"JSXClosingElement")},a.jsx_parseElementAt=function(e,t){var n=this.startNodeAt(e,t),o=[],i=this.jsx_parseOpeningElementAt(e,t),a=null;if(!i.selfClosing){e:for(;;)switch(this.type){case r.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(r.slash)){a=this.jsx_parseClosingElementAt(e,t);break e}o.push(this.jsx_parseElementAt(e,t));break;case r.jsxText:o.push(this.parseExprAtom());break;case r.braceL:o.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}getQualifiedJSXName(a.name)!==getQualifiedJSXName(i.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+getQualifiedJSXName(i.name)+">")}return n.openingElement=i,n.closingElement=a,n.children=o,this.type===r.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSXElement")},a.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},e.plugins.jsx=function(t,n){n&&("object"!=typeof n&&(n={}),t.options.plugins.jsx={allowNamespaces:!1!==n.allowNamespaces,allowNamespacedObjects:!!n.allowNamespacedObjects},t.extend("parseExprAtom",function(e){return function(t){return this.type===r.jsxText?this.parseLiteral(this.value):this.type===r.jsxTagStart?this.jsx_parseElement():e.call(this,t)}}),t.extend("readToken",function(t){return function(n){var o=this.curContext();if(o===i.j_expr)return this.jsx_readToken();if(o===i.j_oTag||o===i.j_cTag){if(e.isIdentifierStart(n))return this.jsx_readWord();if(62==n)return++this.pos,this.finishToken(r.jsxTagEnd);if((34===n||39===n)&&o==i.j_oTag)return this.jsx_readString(n)}return 60===n&&this.exprAllowed?(++this.pos,this.finishToken(r.jsxTagStart)):t.call(this,n)}}),t.extend("updateContext",function(e){return function(t){if(this.type==r.braceL){var n=this.curContext();n==i.j_oTag?this.context.push(i.b_expr):n==i.j_expr?this.context.push(i.b_tmpl):e.call(this,t),this.exprAllowed=!0}else{if(this.type!==r.slash||t!==r.jsxTagStart)return e.call(this,t);this.context.length-=2,this.context.push(i.j_cTag),this.exprAllowed=!1}}}))},e}}),f=d&&"object"==typeof d&&"default"in d?d.default:d,m=__commonjs(function(e){e.exports=function(e){function parseObj(e,n){var o=this.startNode(),r=!0,i={};for(o.properties=[],this.next();!this.eat(t.braceR);){if(r)r=!1;else if(this.expect(t.comma),this.afterTrailingComma(t.braceR))break;var a,s,l,u=this.startNode();if(this.options.ecmaVersion>=6){if(this.type===t.ellipsis){(u=this.parseSpread()).type=e?"RestProperty":"SpreadProperty",o.properties.push(u);continue}u.method=!1,u.shorthand=!1,(e||n)&&(s=this.start,l=this.startLoc),e||(a=this.eat(t.star))}this.parsePropertyName(u),this.parsePropertyValue(u,e,a,s,l,n),this.checkPropClash(u,i),o.properties.push(this.finishNode(u,"Property"))}return this.finishNode(o,e?"ObjectPattern":"ObjectExpression")}var t=e.tokTypes,n=e.Parser.prototype;return e.plugins.objectSpread=function objectSpreadPlugin(e){n.parseObj=parseObj},e}}),h=m&&"object"==typeof m&&"default"in m?m.default:m,b=__commonjs(function(e,t,n){!function(n,o){"object"==typeof t&&void 0!==e?o(t):(i=[t],r=o,void 0===(a="function"==typeof r?r.apply(t,i):r)||(e.exports=a))}(0,function(e){function encodeInteger(e){var t="";e<0?e=-e<<1|1:e<<=1;do{var o=31&e;(e>>=5)>0&&(o|=32),t+=n[o]}while(e>0);return t}var t={},n={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split("").forEach(function(e,o){t[e]=o,n[o]=e}),e.decode=function decode(e){for(var n=[],o=0,r=0,i=0;i<e.length;i+=1){var a=t[e[i]];if(void 0===a)throw new Error("Invalid character ("+e[i]+")");var s=32&a;if(a&=31,r+=a<<o,s)o+=5;else{var l=1&r;r>>=1,n.push(l?-r:r),r=o=0}}return n},e.encode=function encode(e){var t;if("number"==typeof e)t=encodeInteger(e);else{t="";for(var n=0;n<e.length;n+=1)t+=encodeInteger(e[n])}return t},Object.defineProperty(e,"__esModule",{value:!0})})}),g=b&&"object"==typeof b&&"default"in b?b.default:b,A=__commonjs(function(e){function Chunk(e,t,n){this.start=e,this.end=t,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})}function SourceMap(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=e.mappings}function getLocator(e){function rangeContains(e,t){return e.start<=t&&t<e.end}function getLocation(e,t){return{line:e.line,column:t-e.start}}var t=0,n=e.split("\n").map(function(e,n){var o=t+e.length+1,r={start:t,end:o,line:n};return t=o,r}),o=0;return function locate(e){for(var t=n[o],r=e>=t.end?1:-1;t;){if(rangeContains(t,e))return getLocation(t,e);t=n[o+=r]}}}function getRelativePath(e,t){var n=e.split(/[\/\\]/),o=t.split(/[\/\\]/);for(n.pop();n[0]===o[0];)n.shift(),o.shift();if(n.length)for(var r=n.length;r--;)n[r]="..";return n.concat(o).join("/")}function isObject(e){return"[object Object]"===r.call(e)}function MagicString(e,t){void 0===t&&(t={});var n=new Chunk(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:{}},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:function guessIndent(e){var t=e.split("\n"),n=t.filter(function(e){return/^\t+/.test(e)}),o=t.filter(function(e){return/^ {2,}/.test(e)});if(0===n.length&&0===o.length)return null;if(n.length>=o.length)return"\t";var r=o.reduce(function(e,t){var n=/^ +/.exec(t)[0].length;return Math.min(n,e)},1/0);return new Array(r+1).join(" ")}(e)}}),this.byStart[0]=n,this.byEnd[e.length]=n}function Bundle(e){void 0===e&&(e={}),this.intro=e.intro||"",this.separator=void 0!==e.separator?e.separator:"\n",this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}}function getSemis(e){return new Array(e.split("\n").length).join(";")}var t=g;Chunk.prototype={append:function append(e){this.outro+=e},clone:function clone(){var e=new Chunk(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e},contains:function contains(e){return this.start<e&&e<this.end},eachNext:function eachNext(e){for(var t=this;t;)e(t),t=t.next},eachPrevious:function eachPrevious(e){for(var t=this;t;)e(t),t=t.previous},edit:function edit(e,t){return this.content=e,this.storeName=t,this.edited=!0,this},prepend:function prepend(e){this.intro=e+this.intro},split:function split(e){var t=e-this.start,n=this.original.slice(0,t),o=this.original.slice(t);this.original=n;var r=new Chunk(e,this.end,o);return r.outro=this.outro,this.outro="",this.end=e,this.edited?(r.edit("",!1),this.content=""):this.content=n,r.next=this.next,r.next&&(r.next.previous=r),r.previous=this,this.next=r,r},toString:function toString(){return this.intro+this.content+this.outro},trimEnd:function trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",!1),!0):(this.edit("",!1),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)},trimStart:function trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",!1)),!0):(this.edit("",!1),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)}};var n="undefined"!=typeof window&&"function"==typeof window.btoa?window.btoa:"function"==typeof o?function(e){return new o(e).toString("base64")}:function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};SourceMap.prototype={toString:function toString(){return JSON.stringify(this)},toUrl:function toUrl(){return"data:application/json;charset=utf-8;base64,"+n(this.toString())}};var r=Object.prototype.toString;MagicString.prototype={addSourcemapLocation:function addSourcemapLocation(e){this.sourcemapLocations[e]=!0},append:function append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},clone:function clone(){for(var e=new MagicString(this.original,{filename:this.filename}),t=this.firstChunk,n=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[n.start]=n,e.byEnd[n.end]=n;var o=t.next,r=o&&o.clone();r&&(n.next=r,r.previous=n,n=r),t=o}return e.lastChunk=n,this.indentExclusionRanges&&(e.indentExclusionRanges="number"==typeof this.indentExclusionRanges[0]?[this.indentExclusionRanges[0],this.indentExclusionRanges[1]]:this.indentExclusionRanges.map(function(e){return[e.start,e.end]})),Object.keys(this.sourcemapLocations).forEach(function(t){e.sourcemapLocations[t]=!0}),e},generateMap:function generateMap(e){e=e||{};var t=Object.keys(this.storedNames);return new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:[e.source?getRelativePath(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:t,mappings:this.getMappings(e.hires,0,{},t)})},getIndentString:function getIndentString(){return null===this.indentStr?"\t":this.indentStr},getMappings:function getMappings(e,n,o,r){return function encodeMappings(e,n,o,r,i,a,s,l){function addEdit(e,t,n,o,r){(r||e.length)&&p.push({generatedCodeLine:c,generatedCodeColumn:d,sourceCodeLine:n.line,sourceCodeColumn:n.column,sourceCodeName:o,sourceIndex:a});var i=e.split("\n"),s=i.pop();i.length?(c+=i.length,u[c]=p=[],d=s.length):d+=s.length,s=(i=t.split("\n")).pop(),i.length?(n.line+=i.length,n.column=s.length):n.column+=s.length}function addUneditedChunk(t,n){for(var o=t.start,s=!0;o<t.end;)(r||s||i[o])&&p.push({generatedCodeLine:c,generatedCodeColumn:d,sourceCodeLine:n.line,sourceCodeColumn:n.column,sourceCodeName:-1,sourceIndex:a}),"\n"===e[o]?(n.line+=1,n.column=0,u[c+=1]=p=[],d=0):(n.column+=1,d+=1),o+=1,s=!1}for(var u=[],c=n.split("\n").length-1,p=u[c]=[],d=0,f=getLocator(e);o;){var m=f(o.start);o.intro.length&&addEdit(o.intro,"",m,-1,!!o.previous),o.edited?addEdit(o.content,o.original,m,o.storeName?l.indexOf(o.original):-1,!!o.previous):addUneditedChunk(o,m),o.outro.length&&addEdit(o.outro,"",m,-1,!!o.previous),o=o.next}return s.sourceIndex=s.sourceIndex||0,s.sourceCodeLine=s.sourceCodeLine||0,s.sourceCodeColumn=s.sourceCodeColumn||0,s.sourceCodeName=s.sourceCodeName||0,u.map(function(e){var n=0;return e.map(function(e){var o=[e.generatedCodeColumn-n,e.sourceIndex-s.sourceIndex,e.sourceCodeLine-s.sourceCodeLine,e.sourceCodeColumn-s.sourceCodeColumn];return n=e.generatedCodeColumn,s.sourceIndex=e.sourceIndex,s.sourceCodeLine=e.sourceCodeLine,s.sourceCodeColumn=e.sourceCodeColumn,~e.sourceCodeName&&(o.push(e.sourceCodeName-s.sourceCodeName),s.sourceCodeName=e.sourceCodeName),t.encode(o)}).join(",")}).join(";")}(this.original,this.intro,this.firstChunk,e,this.sourcemapLocations,n,o,r)},indent:function indent(e,t){var n=/^[^\r\n]/gm;if(isObject(e)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var o={};if((t=t||{}).exclude){("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(function(e){for(var t=e[0];t<e[1];t+=1)o[t]=!0})}var r=!1!==t.indentStart,i=function(t){return r?""+e+t:(r=!0,t)};this.intro=this.intro.replace(n,i);for(var a=0,s=this.firstChunk;s;){var l=s.end;if(s.edited)o[a]||(s.content=s.content.replace(n,i),s.content.length&&(r="\n"===s.content[s.content.length-1]));else for(a=s.start;a<l;){if(!o[a]){var u=this.original[a];if("\n"===u)r=!0;else if("\r"!==u&&r)if(r=!1,a===s.start)s.prepend(e);else{var c=s.split(a);c.prepend(e),this.byStart[a]=c,this.byEnd[a]=s,s=c}}a+=1}a=s.end,s=s.next}return this.outro=this.outro.replace(n,i),this},insert:function insert(){throw new Error("magicString.insert(...) is deprecated. Use insertRight(...) or insertLeft(...)")},insertLeft:function insertLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byEnd[e];return n?n.append(t):this.intro+=t,this},insertRight:function insertRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var n=this.byStart[e];return n?n.prepend(t):this.outro+=t,this},move:function move(e,t,n){if(n>=e&&n<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(n);var o=this.byStart[e],r=this.byEnd[t],i=o.previous,a=r.next,s=this.byStart[n];if(!s&&r===this.lastChunk)return this;var l=s?s.previous:this.lastChunk;return i&&(i.next=a),a&&(a.previous=i),l&&(l.next=o),s&&(s.previous=r),o.previous||(this.firstChunk=r.next),r.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=l,r.next=s,l||(this.firstChunk=o),s||(this.lastChunk=r),this},overwrite:function overwrite(e,t,n,o){if("string"!=typeof n)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use insertLeft or insertRight instead");if(this._split(e),this._split(t),o){var r=this.original.slice(e,t);this.storedNames[r]=!0}var i=this.byStart[e],a=this.byEnd[t];if(i){if(i.edit(n,o),i!==a){i.outro="";for(var s=i.next;s!==a;)s.edit("",!1),s.intro=s.outro="",s=s.next;s.edit("",!1),s.intro=""}}else{var l=new Chunk(e,t,"").edit(n,o);a.next=l,l.previous=a}return this},prepend:function prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},remove:function remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");return this.overwrite(e,t,"",!1)},slice:function slice(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var n="",o=this.firstChunk;o&&(o.start>e||o.end<=e);){if(o.start<t&&o.end>=t)return n;o=o.next}if(o&&o.edited&&o.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var r=o;o;){!o.intro||r===o&&o.start!==e||(n+=o.intro);var i=o.start<t&&o.end>=t;if(i&&o.edited&&o.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var a=r===o?e-o.start:0,s=i?o.content.length+t-o.end:o.content.length;if(n+=o.content.slice(a,s),!o.outro||i&&o.end!==t||(n+=o.outro),i)break;o=o.next}return n},snip:function snip(e,t){var n=this.clone();return n.remove(0,e),n.remove(t,n.original.length),n},_split:function _split(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,n=e>t.end;;){if(t.contains(e))return this._splitChunk(t,e);t=n?this.byStart[t.end]:this.byEnd[t.start]}},_splitChunk:function _splitChunk(e,t){if(e.edited&&e.content.length){var n=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+n.line+":"+n.column+' – "'+e.original+'")')}var o=e.split(t);return this.byEnd[t]=e,this.byStart[t]=o,this.byEnd[o.end]=o,e===this.lastChunk&&(this.lastChunk=o),this.lastSearchedChunk=e,!0},toString:function toString(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimEnd:function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return this;var n=this.lastChunk;do{var o=n.end,r=n.trimEnd(t);if(n.end!==o&&(this.lastChunk=n.next,this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next),r)return this;n=n.previous}while(n);return this},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return this;var n=this.firstChunk;do{var o=n.end,r=n.trimStart(t);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next),r)return this;n=n.next}while(n);return this}};var i=Object.prototype.hasOwnProperty;Bundle.prototype={addSource:function addSource(e){if(e instanceof MagicString)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!isObject(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(t){i.call(e,t)||(e[t]=e.content[t])}),void 0===e.separator&&(e.separator=this.separator),e.filename)if(i.call(this.uniqueSourceIndexByFilename,e.filename)){var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}else this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});return this.sources.push(e),this},append:function append(e,t){return this.addSource({content:new MagicString(e),separator:t&&t.separator||""}),this},clone:function clone(){var e=new Bundle({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e},generateMap:function generateMap(e){var t=this,n={},o=[];this.sources.forEach(function(e){Object.keys(e.content.storedNames).forEach(function(e){~o.indexOf(e)||o.push(e)})});var r=getSemis(this.intro)+this.sources.map(function(r,i){var a,s=i>0?getSemis(r.separator)||",":"";if(r.filename){var l=t.uniqueSourceIndexByFilename[r.filename];a=r.content.getMappings(e.hires,l,n,o)}else a=getSemis(r.content.toString());return s+a}).join("");return new SourceMap({file:e.file?e.file.split(/[\/\\]/).pop():null,sources:this.uniqueSources.map(function(t){return e.file?getRelativePath(e.file,t.filename):t.filename}),sourcesContent:this.uniqueSources.map(function(t){return e.includeContent?t.content:null}),names:o,mappings:r})},getIndentString:function getIndentString(){var e={};return this.sources.forEach(function(t){var n=t.content.indentStr;null!==n&&(e[n]||(e[n]=0),e[n]+=1)}),Object.keys(e).sort(function(t,n){return e[t]-e[n]})[0]||"\t"},indent:function indent(e){var t=this;if(arguments.length||(e=this.getIndentString()),""===e)return this;var n=!this.intro||"\n"===this.intro.slice(-1);return this.sources.forEach(function(o,r){var i=void 0!==o.separator?o.separator:t.separator,a=n||r>0&&/\r?\n$/.test(i);o.content.indent(e,{exclude:o.indentExclusionRanges,indentStart:a}),n="\n"===o.content.toString().slice(0,-1)}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(t,n){return n>0?e+t:t})),this},prepend:function prepend(e){return this.intro=e+this.intro,this},toString:function toString(){var e=this,t=this.sources.map(function(t,n){var o=void 0!==t.separator?t.separator:e.separator;return(n>0?o:"")+t.content.toString()}).join("");return this.intro+t},trimLines:function trimLines(){return this.trim("[\\r\\n]")},trim:function trim(e){return this.trimStart(e).trimEnd(e)},trimStart:function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var n,o=0;do{if(!(n=this.sources[o]))break;n.content.trimStart(e),o+=1}while(""===n.content.toString())}return this},trimEnd:function trimEnd(e){var t,n=new RegExp((e||"\\s")+"+$"),o=this.sources.length-1;do{if(!(t=this.sources[o])){this.intro=this.intro.replace(n,"");break}t.content.trimEnd(e),o-=1}while(""===t.content.toString());return this}},MagicString.Bundle=Bundle,e.exports=MagicString}),v=A&&"object"==typeof A&&"default"in A?A.default:A,C={Program:["body"],Literal:[]},y=function Node(e,t){e.parent=t,e.program=t.program||t,e.depth=t.depth+1,e.keys=C[e.type],e.indentation=void 0;for(var n=0,o=C[e.type];n<o.length;n+=1){wrap(e[o[n]],e)}e.program.magicString.addSourcemapLocation(e.start),e.program.magicString.addSourcemapLocation(e.end)};y.prototype.ancestor=function ancestor(e){for(var t=this;e--;)if(!(t=t.parent))return null;return t},y.prototype.contains=function contains(e){for(;e;){if(e===this)return!0;e=e.parent}return!1},y.prototype.findLexicalBoundary=function findLexicalBoundary(){return this.parent.findLexicalBoundary()},y.prototype.findNearest=function findNearest(e){return"string"==typeof e&&(e=new RegExp("^"+e+"$")),e.test(this.type)?this:this.parent.findNearest(e)},y.prototype.unparenthesizedParent=function unparenthesizedParent(){for(var e=this.parent;e&&"ParenthesizedExpression"===e.type;)e=e.parent;return e},y.prototype.unparenthesize=function unparenthesize(){for(var e=this;"ParenthesizedExpression"===e.type;)e=e.expression;return e},y.prototype.findScope=function findScope(e){return this.parent.findScope(e)},y.prototype.getIndentation=function getIndentation(){return this.parent.getIndentation()},y.prototype.initialise=function initialise(e){for(var t=0,n=this.keys;t<n.length;t+=1){var o=this[n[t]];Array.isArray(o)?o.forEach(function(t){return t&&t.initialise(e)}):o&&"object"==typeof o&&o.initialise(e)}},y.prototype.toJSON=function toJSON$1(){return toJSON(this)},y.prototype.toString=function toString(){return this.program.magicString.original.slice(this.start,this.end)},y.prototype.transpile=function transpile(e,t){for(var n=0,o=this.keys;n<o.length;n+=1){var r=this[o[n]];Array.isArray(r)?r.forEach(function(n){return n&&n.transpile(e,t)}):r&&"object"==typeof r&&r.transpile(e,t)}};var _=function(e){function ArrayExpression(){e.apply(this,arguments)}return e&&(ArrayExpression.__proto__=e),ArrayExpression.prototype=Object.create(e&&e.prototype),ArrayExpression.prototype.constructor=ArrayExpression,ArrayExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.elements.length)for(var n=this.findLexicalBoundary(),o=this.elements.length;o--;){var r=this.elements[o];r&&"SpreadElement"===r.type&&isArguments(r.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},ArrayExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest){if(this.elements.length){var o=this.elements[this.elements.length-1];o&&/\s*,/.test(t.original.slice(o.end,this.end))&&t.overwrite(o.end,this.end-1," ")}if(1===this.elements.length){var r=this.elements[0];r&&"SpreadElement"===r.type&&(isArguments(r.argument)?t.overwrite(this.start,this.end,"[].concat( "+this.argumentsArrayAlias+" )"):(t.overwrite(this.start,r.argument.start,"[].concat( "),t.overwrite(r.end,this.end," )")))}else{spread(t,this.elements,this.start,this.argumentsArrayAlias)&&t.overwrite(this.end-1,this.end,")")}}e.prototype.transpile.call(this,t,n)},ArrayExpression}(y),w=function(e){function ArrowFunctionExpression(){e.apply(this,arguments)}return e&&(ArrowFunctionExpression.__proto__=e),ArrowFunctionExpression.prototype=Object.create(e&&e.prototype),ArrowFunctionExpression.prototype.constructor=ArrowFunctionExpression,ArrowFunctionExpression.prototype.initialise=function initialise(t){this.body.createScope(),e.prototype.initialise.call(this,t)},ArrowFunctionExpression.prototype.transpile=function transpile(t,n){if(n.arrow){for(var o=this.body.start;"="!==t.original[o];)o-=1;t.remove(o,this.body.start),1===this.params.length&&this.start===this.params[0].start&&(t.insertRight(this.params[0].start,"("),t.insertLeft(this.params[0].end,")")),this.parent&&"ExpressionStatement"===this.parent.type?(t.insertRight(this.start,"(function"),t.insertRight(this.end,")")):t.insertRight(this.start,"function ")}e.prototype.transpile.call(this,t,n)},ArrowFunctionExpression}(y),x=function(e){function CompileError(t,n){e.call(this);var o=t.program.magicString.original,r=function locate(e,t){var n,o=e.split("\n"),r=o.length,i=0;for(n=0;n<r;n+=1){var a=i+o[n].length+1;if(a>t)return{line:n+1,column:t-i,char:n};i=a}throw new Error("Could not determine location of character")}(o,t.start);this.name="CompileError",this.message=n+" ("+r.line+":"+r.column+")",this.stack=(new e).stack.replace(new RegExp(".+new "+this.name+".+\\n","m"),""),this.loc=r,this.snippet=getSnippet(o,r,t.end-t.start)}return e&&(CompileError.__proto__=e),CompileError.prototype=Object.create(e&&e.prototype),CompileError.prototype.constructor=CompileError,CompileError.prototype.toString=function toString(){return this.name+": "+this.message+"\n"+this.snippet},CompileError}(Error),B=function(e){function AssignmentExpression(){e.apply(this,arguments)}return e&&(AssignmentExpression.__proto__=e),AssignmentExpression.prototype=Object.create(e&&e.prototype),AssignmentExpression.prototype.constructor=AssignmentExpression,AssignmentExpression.prototype.initialise=function initialise(t){if("Identifier"===this.left.type){var n=this.findScope(!1).findDeclaration(this.left.name);if(n&&"const"===n.kind)throw new x(this.left,this.left.name+" is read-only");var o=n&&n.node.ancestor(3);o&&"ForStatement"===o.type&&o.body.contains(this)&&(o.reassigned[this.left.name]=!0)}e.prototype.initialise.call(this,t)},AssignmentExpression.prototype.transpile=function transpile(t,n){"**="===this.operator&&n.exponentiation?this.transpileExponentiation(t,n):/Pattern/.test(this.left.type)&&n.destructuring&&this.transpileDestructuring(t,n),e.prototype.transpile.call(this,t,n)},AssignmentExpression.prototype.transpileDestructuring=function transpileDestructuring(e){function use(t){e.insertRight(t.start,i),e.move(t.start,t.end,r),i=""}function write(e){i+=e}function destructure(n,r,i){if("Identifier"===n.type||"MemberExpression"===n.type)write(", "),use(n),write(" = "+r);else if("AssignmentPattern"===n.type)if("Identifier"===n.left.type){var a=n.left.name,s=r;i||(write(", "+a+" = "+r),s=a),write(", "+a+" = "+s+" === void 0 ? "),use(n.right),write(" : "+s)}else{var l=t.createIdentifier("temp"),u=r;o.push(l),i||(write(", "+l+" = "+r),u=l),write(", "+l+" = "+u+" === void 0 ? "),use(n.right),write(" : "+u),destructure(n.left,l,!0)}else if("ArrayPattern"===n.type){var c=n.elements;if(1===c.length)destructure(c[0],r+"[0]",!1);else{if(!i){var p=t.createIdentifier("array");o.push(p),write(", "+p+" = "+r),r=p}c.forEach(function(e,t){e&&("RestElement"===e.type?destructure(e.argument,r+".slice("+t+")",!1):destructure(e,r+"["+t+"]",!1))})}}else{if("ObjectPattern"!==n.type)throw new Error("Unexpected node type in destructuring assignment ("+n.type+")");var d=n.properties;if(1==d.length){var f=d[0],m=f.computed||"Identifier"!==f.key.type?r+"["+e.slice(f.key.start,f.key.end)+"]":r+"."+f.key.name;destructure(f.value,m,!1)}else{if(!i){var h=t.createIdentifier("obj");o.push(h),write(", "+h+" = "+r),r=h}d.forEach(function(t){var n=t.computed||"Identifier"!==t.key.type?r+"["+e.slice(t.key.start,t.key.end)+"]":r+"."+t.key.name;destructure(t.value,n,!1)})}}}var t=this.findScope(!0),n=t.createIdentifier("assign"),o=[n],r=this.start,i="";write("("+n+" = "),use(this.right),destructure(this.left,n,!0),"ExpressionStatement"===this.unparenthesizedParent().type?e.insertRight(r,i+")"):e.insertRight(r,i+", "+n+")"),e.remove(r,this.right.start);var a=this.findNearest(/(?:Statement|Declaration)$/);e.insertLeft(a.start,"var "+o.join(", ")+";\n"+a.getIndentation())},AssignmentExpression.prototype.transpileExponentiation=function transpileExponentiation(e){for(var t=this.findScope(!1),n=function(e){var n=t.findDeclaration(e);return n?n.name:e},o=this.left.end;"*"!==e.original[o];)o+=1;e.remove(o,o+2);var r,i=this.left.unparenthesize();if("Identifier"===i.type)r=n(i.name);else if("MemberExpression"===i.type){var a,s,l=!1,u=!1,c=this.findNearest(/(?:Statement|Declaration)$/),p=c.getIndentation();if("Identifier"===i.property.type?s=i.computed?n(i.property.name):i.property.name:(s=t.createIdentifier("property"),u=!0),"Identifier"===i.object.type?a=n(i.object.name):(a=t.createIdentifier("object"),l=!0),i.start===c.start)l&&u?(e.insertRight(c.start,"var "+a+" = "),e.overwrite(i.object.end,i.property.start,";\n"+p+"var "+s+" = "),e.overwrite(i.property.end,i.end,";\n"+p+a+"["+s+"]")):l?(e.insertRight(c.start,"var "+a+" = "),e.insertLeft(i.object.end,";\n"+p),e.insertLeft(i.object.end,a)):u&&(e.insertRight(i.property.start,"var "+s+" = "),e.insertLeft(i.property.end,";\n"+p),e.move(i.property.start,i.property.end,this.start),e.insertLeft(i.object.end,"["+s+"]"),e.remove(i.object.end,i.property.start),e.remove(i.property.end,i.end));else{var d=[];l&&d.push(a),u&&d.push(s),d.length&&e.insertRight(c.start,"var "+d.join(", ")+";\n"+p),l&&u?(e.insertRight(i.start,"( "+a+" = "),e.overwrite(i.object.end,i.property.start,", "+s+" = "),e.overwrite(i.property.end,i.end,", "+a+"["+s+"]")):l?(e.insertRight(i.start,"( "+a+" = "),e.insertLeft(i.object.end,", "+a)):u&&(e.insertRight(i.property.start,"( "+s+" = "),e.insertLeft(i.property.end,", "),e.move(i.property.start,i.property.end,i.start),e.overwrite(i.object.end,i.property.start,"["+s+"]"),e.remove(i.property.end,i.end)),u&&e.insertLeft(this.end," )")}r=a+(i.computed||u?"["+s+"]":"."+s)}e.insertRight(this.right.start,"Math.pow( "+r+", "),e.insertLeft(this.right.end," )")},AssignmentExpression}(y),k=function(e){function BinaryExpression(){e.apply(this,arguments)}return e&&(BinaryExpression.__proto__=e),BinaryExpression.prototype=Object.create(e&&e.prototype),BinaryExpression.prototype.constructor=BinaryExpression,BinaryExpression.prototype.transpile=function transpile(t,n){"**"===this.operator&&n.exponentiation&&(t.insertRight(this.start,"Math.pow( "),t.overwrite(this.left.end,this.right.start,", "),t.insertLeft(this.end," )")),e.prototype.transpile.call(this,t,n)},BinaryExpression}(y),E=/(?:For(?:In|Of)?|While)Statement/,S=function(e){function BreakStatement(){e.apply(this,arguments)}return e&&(BreakStatement.__proto__=e),BreakStatement.prototype=Object.create(e&&e.prototype),BreakStatement.prototype.constructor=BreakStatement,BreakStatement.prototype.initialise=function initialise(){var e=this.findNearest(E),t=this.findNearest("SwitchCase");e&&(!t||e.depth>t.depth)&&(e.canBreak=!0,this.loop=e)},BreakStatement.prototype.transpile=function transpile(e){if(this.loop&&this.loop.shouldRewriteAsFunction){if(this.label)throw new x(this,"Labels are not currently supported in a loop with locally-scoped variables");e.overwrite(this.start,this.start+5,"return 'break'")}},BreakStatement}(y),P=function(e){function CallExpression(){e.apply(this,arguments)}return e&&(CallExpression.__proto__=e),CallExpression.prototype=Object.create(e&&e.prototype),CallExpression.prototype.constructor=CallExpression,CallExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length>1)for(var n=this.findLexicalBoundary(),o=this.arguments.length;o--;){var r=this.arguments[o];"SpreadElement"===r.type&&isArguments(r.argument)&&(this.argumentsArrayAlias=n.getArgumentsArrayAlias())}e.prototype.initialise.call(this,t)},CallExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var o,r=!1,i=this.arguments[0];if(1===this.arguments.length?"SpreadElement"===i.type&&(t.remove(i.start,i.argument.start),r=!0):r=spread(t,this.arguments,i.start,this.argumentsArrayAlias),r){var a=null;if("Super"===this.callee.type?a=this.callee:"MemberExpression"===this.callee.type&&"Super"===this.callee.object.type&&(a=this.callee.object),a||"MemberExpression"!==this.callee.type)o="void 0";else if("Identifier"===this.callee.object.type)o=this.callee.object.name;else{o=this.findScope(!0).createIdentifier("ref");var s=this.callee.object,l=s.findNearest(/Function/),u=l?l.body.body:s.findNearest(/^Program$/).body,c=u[u.length-1],p=c.getIndentation();t.insertRight(s.start,"("+o+" = "),t.insertLeft(s.end,")"),t.insertLeft(c.end,"\n"+p+"var "+o+";")}t.insertLeft(this.callee.end,".apply"),a?(a.noCall=!0,this.arguments.length>1&&("SpreadElement"!==i.type&&t.insertRight(i.start,"[ "),t.insertLeft(this.arguments[this.arguments.length-1].end," )"))):1===this.arguments.length?t.insertRight(i.start,o+", "):("SpreadElement"===i.type?t.insertLeft(i.start,o+", "):t.insertLeft(i.start,o+", [ "),t.insertLeft(this.arguments[this.arguments.length-1].end," )"))}}e.prototype.transpile.call(this,t,n)},CallExpression}(y),D=Object.create(null);"do if in for let new try var case else enum eval null this true void with await break catch class const false super throw while yield delete export import public return static switch typeof default extends finally package private continue debugger function arguments interface protected implements instanceof".split(" ").forEach(function(e){return D[e]=!0});var O=function(e){function ClassBody(){e.apply(this,arguments)}return e&&(ClassBody.__proto__=e),ClassBody.prototype=Object.create(e&&e.prototype),ClassBody.prototype.constructor=ClassBody,ClassBody.prototype.transpile=function transpile(t,n,o,r){var i=this;if(n.classes){var a=this.parent.name,s=t.getIndentString(),l=this.getIndentation()+(o?s:""),u=l+s,c=findIndex(this.body,function(e){return"constructor"===e.kind}),p=this.body[c],d="",f="";if(this.body.length?(t.remove(this.start,this.body[0].start),t.remove(this.body[this.body.length-1].end,this.end)):t.remove(this.start,this.end),p){p.value.body.isConstructorBody=!0;var m=this.body[c-1],h=this.body[c+1];c>0&&(t.remove(m.end,p.start),t.move(p.start,h?h.start:this.end-1,this.body[0].start)),o||t.insertLeft(p.end,";")}var b=!1!==this.program.options.namedFunctionExpressions,g=b||this.parent.superClass||"ClassDeclaration"!==this.parent.type;if(this.parent.superClass){var A="if ( "+r+" ) "+a+".__proto__ = "+r+";\n"+l+a+".prototype = Object.create( "+r+" && "+r+".prototype );\n"+l+a+".prototype.constructor = "+a+";";if(p)d+="\n\n"+l+A;else{d+=(A="function "+a+" () {"+(r?"\n"+u+r+".apply(this, arguments);\n"+l+"}":"}")+(o?"":";")+(this.body.length?"\n\n"+l:"")+A)+"\n\n"+l}}else if(!p){var v="function "+(g?a+" ":"")+"() {}";"ClassDeclaration"===this.parent.type&&(v+=";"),this.body.length&&(v+="\n\n"+l),d+=v}var C,y,_=this.findScope(!1),w=[],x=[];if(this.body.forEach(function(e,n){if("constructor"!==e.kind){if(e.static){var o=" "==t.original[e.start+6]?7:6;t.remove(e.start,e.start+o)}var r,s="method"!==e.kind,u=e.key.name;(D[u]||e.value.body.scope.references[u])&&(u=_.createIdentifier(u));var p=!1;if(e.computed||"Literal"!==e.key.type||(p=!0,e.computed=!0),s){if(e.computed)throw new Error("Computed accessor properties are not currently supported");t.remove(e.start,e.key.start),e.static?(~x.indexOf(e.key.name)||x.push(e.key.name),y||(y=_.createIdentifier("staticAccessors")),r=""+y):(~w.indexOf(e.key.name)||w.push(e.key.name),C||(C=_.createIdentifier("prototypeAccessors")),r=""+C)}else r=e.static?""+a:a+".prototype";e.computed||(r+=".");(c>0&&n===c+1||0===n&&c===i.body.length-1)&&(r="\n\n"+l+r);var d=e.key.end;if(e.computed)if(p)t.insertRight(e.key.start,"["),t.insertLeft(e.key.end,"]");else{for(;"]"!==t.original[d];)d+=1;d+=1}t.insertRight(e.start,r);var f=e.computed||s||!b?"":u+" ",m=(s?"."+e.kind:"")+" = function"+(e.value.generator?"* ":" ")+f;t.remove(d,e.value.start),t.insertRight(e.value.start,m),t.insertLeft(e.end,";"),e.value.generator&&t.remove(e.start,e.key.start)}else{var h=g?" "+a:"";t.overwrite(e.key.start,e.key.end,"function"+h)}}),w.length||x.length){var B=[],k=[];w.length&&(B.push("var "+C+" = { "+w.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),k.push("Object.defineProperties( "+a+".prototype, "+C+" );")),x.length&&(B.push("var "+y+" = { "+x.map(function(e){return e+": { configurable: true }"}).join(",")+" };"),k.push("Object.defineProperties( "+a+", "+y+" );")),p&&(d+="\n\n"+l),d+=B.join("\n"+l),p||(d+="\n\n"+l),f+="\n\n"+l+k.join("\n"+l)}p?t.insertLeft(p.end,d):t.insertRight(this.start,d),t.insertLeft(this.end,f)}e.prototype.transpile.call(this,t,n)},ClassBody}(y),R=function(e){function ClassDeclaration(){e.apply(this,arguments)}return e&&(ClassDeclaration.__proto__=e),ClassDeclaration.prototype=Object.create(e&&e.prototype),ClassDeclaration.prototype.constructor=ClassDeclaration,ClassDeclaration.prototype.initialise=function initialise(t){this.name=this.id.name,this.findScope(!0).addDeclaration(this.id,"class"),e.prototype.initialise.call(this,t)},ClassDeclaration.prototype.transpile=function transpile(e,t){if(t.classes){this.superClass||function deindent(e,t){var n=e.start,o=e.end,r=t.getIndentString(),i=r.length,a=n-i;e.program.indentExclusions[a]||t.original.slice(a,n)!==r||t.remove(a,n);for(var s,l=new RegExp(r+"\\S","g"),u=t.original.slice(n,o);s=l.exec(u);){var c=n+s.index;e.program.indentExclusions[c]||t.remove(c,c+i)}}(this.body,e);var n=this.superClass&&(this.superClass.name||"superclass"),o=this.getIndentation(),r=o+e.getIndentString(),i="ExportDefaultDeclaration"===this.parent.type?"\n\n"+o+"export default "+this.id.name+";":"";i&&e.remove(this.parent.start,this.start),e.overwrite(this.start,this.id.start,"var "),this.superClass?this.superClass.end===this.body.start?(e.remove(this.id.end,this.superClass.start),e.insertLeft(this.id.end," = (function ("+n+") {\n"+r)):(e.overwrite(this.id.end,this.superClass.start," = "),e.overwrite(this.superClass.end,this.body.start,"(function ("+n+") {\n"+r)):this.id.end===this.body.start?e.insertLeft(this.id.end," = "):e.overwrite(this.id.end,this.body.start," = "),this.body.transpile(e,t,!!this.superClass,n),this.superClass?(e.insertLeft(this.end,"\n\n"+r+"return "+this.name+";\n"+o+"}("),e.move(this.superClass.start,this.superClass.end,this.end),e.insertRight(this.end,"));"+i)):i&&e.insertRight(this.end,i)}else this.body.transpile(e,t,!1,null)},ClassDeclaration}(y),T=function(e){function ClassExpression(){e.apply(this,arguments)}return e&&(ClassExpression.__proto__=e),ClassExpression.prototype=Object.create(e&&e.prototype),ClassExpression.prototype.constructor=ClassExpression,ClassExpression.prototype.initialise=function initialise(t){this.name=this.id?this.id.name:"VariableDeclarator"===this.parent.type?this.parent.id.name:"AssignmentExpression"===this.parent.type?this.parent.left.name:this.findScope(!0).createIdentifier("anonymous"),e.prototype.initialise.call(this,t)},ClassExpression.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.superClass&&(this.superClass.name||"superclass"),o=this.getIndentation(),r=o+e.getIndentString();this.superClass?(e.remove(this.start,this.superClass.start),e.remove(this.superClass.end,this.body.start),e.insertLeft(this.start,"(function ("+n+") {\n"+r)):e.overwrite(this.start,this.body.start,"(function () {\n"+r),this.body.transpile(e,t,!0,n);var i="\n\n"+r+"return "+this.name+";\n"+o+"}(";this.superClass?(e.insertLeft(this.end,i),e.move(this.superClass.start,this.superClass.end,this.end),e.insertRight(this.end,"))")):e.insertLeft(this.end,"\n\n"+r+"return "+this.name+";\n"+o+"}())")}else this.body.transpile(e,t,!1)},ClassExpression}(y),j=function(e){function ContinueStatement(){e.apply(this,arguments)}return e&&(ContinueStatement.__proto__=e),ContinueStatement.prototype=Object.create(e&&e.prototype),ContinueStatement.prototype.constructor=ContinueStatement,ContinueStatement.prototype.transpile=function transpile(e){if(this.findNearest(E).shouldRewriteAsFunction){if(this.label)throw new x(this,"Labels are not currently supported in a loop with locally-scoped variables");e.overwrite(this.start,this.start+8,"return")}},ContinueStatement}(y),N=function(e){function ExportDefaultDeclaration(){e.apply(this,arguments)}return e&&(ExportDefaultDeclaration.__proto__=e),ExportDefaultDeclaration.prototype=Object.create(e&&e.prototype),ExportDefaultDeclaration.prototype.constructor=ExportDefaultDeclaration,ExportDefaultDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new x(this,"export is not supported");e.prototype.initialise.call(this,t)},ExportDefaultDeclaration}(y),I=function(e){function ExportNamedDeclaration(){e.apply(this,arguments)}return e&&(ExportNamedDeclaration.__proto__=e),ExportNamedDeclaration.prototype=Object.create(e&&e.prototype),ExportNamedDeclaration.prototype.constructor=ExportNamedDeclaration,ExportNamedDeclaration.prototype.initialise=function initialise(t){if(t.moduleExport)throw new x(this,"export is not supported");e.prototype.initialise.call(this,t)},ExportNamedDeclaration}(y),q=function(e){function LoopStatement(){e.apply(this,arguments)}return e&&(LoopStatement.__proto__=e),LoopStatement.prototype=Object.create(e&&e.prototype),LoopStatement.prototype.constructor=LoopStatement,LoopStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},LoopStatement.prototype.initialise=function initialise(t){if(this.body.createScope(),this.createdScope=!0,this.reassigned=Object.create(null),this.aliases=Object.create(null),e.prototype.initialise.call(this,t),t.letConst)for(var n=Object.keys(this.body.scope.declarations),o=n.length;o--;){for(var r=n[o],i=this.body.scope.declarations[r],a=i.instances.length;a--;){var s=i.instances[a].findNearest(/Function/);if(s&&s.depth>this.depth){this.shouldRewriteAsFunction=!0;break}}if(this.shouldRewriteAsFunction)break}},LoopStatement.prototype.transpile=function transpile(t,n){var o="ForOfStatement"!=this.type&&("BlockStatement"!==this.body.type||"BlockStatement"===this.body.type&&this.body.synthetic);if(this.shouldRewriteAsFunction){var r=this.getIndentation(),i=r+t.getIndentString(),a=this.args?" "+this.args.join(", ")+" ":"",s=this.params?" "+this.params.join(", ")+" ":"",l=this.findScope(!0),u=l.createIdentifier("loop"),c="var "+u+" = function ("+s+") "+(this.body.synthetic?"{\n"+r+t.getIndentString():""),p=(this.body.synthetic?"\n"+r+"}":"")+";\n\n"+r;if(t.insertRight(this.body.start,c),t.insertLeft(this.body.end,p),t.move(this.start,this.body.start,this.body.end),this.canBreak||this.canReturn){var d=l.createIdentifier("returned"),f="{\n"+i+"var "+d+" = "+u+"("+a+");\n";this.canBreak&&(f+="\n"+i+"if ( "+d+" === 'break' ) break;"),this.canReturn&&(f+="\n"+i+"if ( "+d+" ) return "+d+".v;"),f+="\n"+r+"}",t.insertRight(this.body.end,f)}else{var m=u+"("+a+");";"DoWhileStatement"===this.type?t.overwrite(this.start,this.body.start,"do {\n"+i+m+"\n"+r+"}"):t.insertRight(this.body.end,m)}}else o&&(t.insertLeft(this.body.start,"{ "),t.insertRight(this.body.end," }"));e.prototype.transpile.call(this,t,n)},LoopStatement}(y),M={Identifier:function Identifier(e,t){e.push(t)},ObjectPattern:function ObjectPattern(e,t){for(var n=0,o=t.properties;n<o.length;n+=1){var r=o[n];M[r.value.type](e,r.value)}},ArrayPattern:function ArrayPattern(e,t){for(var n=0,o=t.elements;n<o.length;n+=1){var r=o[n];r&&M[r.type](e,r)}},RestElement:function RestElement(e,t){M[t.argument.type](e,t.argument)},AssignmentPattern:function AssignmentPattern(e,t){M[t.left.type](e,t.left)}},z=function(e){function ForStatement(){e.apply(this,arguments)}return e&&(ForStatement.__proto__=e),ForStatement.prototype=Object.create(e&&e.prototype),ForStatement.prototype.constructor=ForStatement,ForStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForStatement.prototype.transpile=function transpile(t,n){var o=this,r=this.getIndentation()+t.getIndentString();if(this.shouldRewriteAsFunction){var i="VariableDeclaration"===this.init.type?[].concat.apply([],this.init.declarations.map(function(e){return extractNames(e.id)})):[],a=this.aliases;this.args=i.map(function(e){return e in o.aliases?o.aliases[e].outer:e}),this.params=i.map(function(e){return e in o.aliases?o.aliases[e].inner:e});var s=Object.keys(this.reassigned).map(function(e){return a[e].outer+" = "+a[e].inner+";"});if(s.length)if(this.body.synthetic)t.insertLeft(this.body.body[0].end,"; "+s.join(" "));else{var l=this.body.body[this.body.body.length-1];t.insertLeft(l.end,"\n\n"+r+s.join("\n"+r))}}e.prototype.transpile.call(this,t,n)},ForStatement}(q),L=function(e){function ForInStatement(){e.apply(this,arguments)}return e&&(ForInStatement.__proto__=e),ForInStatement.prototype=Object.create(e&&e.prototype),ForInStatement.prototype.constructor=ForInStatement,ForInStatement.prototype.findScope=function findScope(e){return e||!this.createdScope?this.parent.findScope(e):this.body.scope},ForInStatement.prototype.transpile=function transpile(t,n){var o=this;if(this.shouldRewriteAsFunction){var r="VariableDeclaration"===this.left.type?[].concat.apply([],this.left.declarations.map(function(e){return extractNames(e.id)})):[];this.args=r.map(function(e){return e in o.aliases?o.aliases[e].outer:e}),this.params=r.map(function(e){return e in o.aliases?o.aliases[e].inner:e})}e.prototype.transpile.call(this,t,n)},ForInStatement}(q),F={Identifier:destructureIdentifier,AssignmentPattern:function destructureAssignmentPattern(e,t,n,o,r,i){var a="Identifier"===n.left.type,s=a?n.left.name:o;r||i.push(function(t,o,r){e.insertRight(n.left.end,o+"if ( "+s+" === void 0 ) "+s),e.move(n.left.end,n.right.end,t),e.insertLeft(n.right.end,r)}),a||destructure(e,t,n.left,o,r,i)},ArrayPattern:function destructureArrayPattern(e,t,n,o,r,i){var a=n.start;n.elements.forEach(function(n,s){n&&("RestElement"===n.type?handleProperty(e,t,a,n.argument,o+".slice("+s+")",r,i):handleProperty(e,t,a,n,o+"["+s+"]",r,i),a=n.end)}),e.remove(a,n.end)},ObjectPattern:function destructureObjectPattern(e,t,n,o,r,i){var a=n.start;n.properties.forEach(function(n){var s=n.computed||"Identifier"!==n.key.type?o+"["+e.slice(n.key.start,n.key.end)+"]":o+"."+n.key.name;handleProperty(e,t,a,n.value,s,r,i),a=n.end}),e.remove(a,n.end)}},W=function(e){function ForOfStatement(){e.apply(this,arguments)}return e&&(ForOfStatement.__proto__=e),ForOfStatement.prototype=Object.create(e&&e.prototype),ForOfStatement.prototype.constructor=ForOfStatement,ForOfStatement.prototype.initialise=function initialise(t){if(t.forOf&&!t.dangerousForOf)throw new x(this,"for...of statements are not supported. Use `transforms: { forOf: false }` to skip transformation and disable this error, or `transforms: { dangerousForOf: true }` if you know what you're doing");e.prototype.initialise.call(this,t)},ForOfStatement.prototype.transpile=function transpile(t,n){if(n.dangerousForOf)if(this.body.body[0]){var o=this.findScope(!0),r=this.getIndentation(),i=r+t.getIndentString(),a=o.createIdentifier("i"),s=o.createIdentifier("list");this.body.synthetic&&(t.insertRight(this.left.start,"{\n"+i),t.insertLeft(this.body.body[0].end,"\n"+r+"}"));var l=this.body.body[0].start;t.remove(this.left.end,this.right.start),t.move(this.left.start,this.left.end,l),t.insertRight(this.right.start,"var "+a+" = 0, "+s+" = "),t.insertLeft(this.right.end,"; "+a+" < "+s+".length; "+a+" += 1");var u="VariableDeclaration"===this.left.type&&this.left.declarations[0];if(u&&"Identifier"!==u.id.type){var c=[],p=o.createIdentifier("ref");destructure(t,o,u.id,p,!1,c);var d=";\n"+i;c.forEach(function(e,t){t===c.length-1&&(d=";\n\n"+i),e(l,"",d)}),t.insertLeft(this.left.start+this.left.kind.length+1,p),t.insertLeft(this.left.end," = "+s+"["+a+"];\n"+i)}else t.insertLeft(this.left.end," = "+s+"["+a+"];\n\n"+i);e.prototype.transpile.call(this,t,n)}else"VariableDeclaration"===this.left.type&&"var"===this.left.kind?(t.remove(this.start,this.left.start),t.insertLeft(this.left.end,";"),t.remove(this.left.end,this.end)):t.remove(this.start,this.end);else e.prototype.transpile.call(this,t,n)},ForOfStatement}(q),U=function(e){function FunctionDeclaration(){e.apply(this,arguments)}return e&&(FunctionDeclaration.__proto__=e),FunctionDeclaration.prototype=Object.create(e&&e.prototype),FunctionDeclaration.prototype.constructor=FunctionDeclaration,FunctionDeclaration.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new x(this,"Generators are not supported");this.body.createScope(),this.findScope(!0).addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t)},FunctionDeclaration}(y),V=function(e){function FunctionExpression(){e.apply(this,arguments)}return e&&(FunctionExpression.__proto__=e),FunctionExpression.prototype=Object.create(e&&e.prototype),FunctionExpression.prototype.constructor=FunctionExpression,FunctionExpression.prototype.initialise=function initialise(t){if(this.generator&&t.generator)throw new x(this,"Generators are not supported");this.body.createScope(),this.id&&this.body.scope.addDeclaration(this.id,"function"),e.prototype.initialise.call(this,t);var n,o=this.parent;if(t.conciseMethodProperty&&"Property"===o.type&&"init"===o.kind&&o.method&&"Identifier"===o.key.type?n=o.key.name:t.classes&&"MethodDefinition"===o.type&&"method"===o.kind&&"Identifier"===o.key.type?n=o.key.name:this.id&&"Identifier"===this.id.type&&(n=this.id.alias||this.id.name),n)for(var r=0,i=this.params;r<i.length;r+=1){var a=i[r];if("Identifier"===a.type&&n===a.name){var s=this.body.scope,l=s.declarations[n],u=s.createIdentifier(n);a.alias=u;for(var c=0,p=l.instances;c<p.length;c+=1){p[c].alias=u}break}}},FunctionExpression}(y),G=function(e){function Identifier(){e.apply(this,arguments)}return e&&(Identifier.__proto__=e),Identifier.prototype=Object.create(e&&e.prototype),Identifier.prototype.constructor=Identifier,Identifier.prototype.findScope=function findScope(e){return this.parent.params&&~this.parent.params.indexOf(this)?this.parent.body.scope:"FunctionExpression"===this.parent.type&&this===this.parent.id?this.parent.body.scope:this.parent.findScope(e)},Identifier.prototype.initialise=function initialise(e){if(e.arrow&&isReference(this,this.parent)){if("arguments"===this.name&&!this.findScope(!1).contains(this.name)){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),o=this.findNearest(E);n&&n.depth>t.depth&&(this.alias=t.getArgumentsAlias()),o&&o.body.contains(this)&&o.depth>t.depth&&(this.alias=t.getArgumentsAlias())}this.findScope(!1).addReference(this)}},Identifier.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,!0)},Identifier}(y),Y=function(e){function IfStatement(){e.apply(this,arguments)}return e&&(IfStatement.__proto__=e),IfStatement.prototype=Object.create(e&&e.prototype),IfStatement.prototype.constructor=IfStatement,IfStatement.prototype.initialise=function initialise(t){e.prototype.initialise.call(this,t)},IfStatement.prototype.transpile=function transpile(t,n){("BlockStatement"!==this.consequent.type||"BlockStatement"===this.consequent.type&&this.consequent.synthetic)&&(t.insertLeft(this.consequent.start,"{ "),t.insertRight(this.consequent.end," }")),this.alternate&&"IfStatement"!==this.alternate.type&&("BlockStatement"!==this.alternate.type||"BlockStatement"===this.alternate.type&&this.alternate.synthetic)&&(t.insertLeft(this.alternate.start,"{ "),t.insertRight(this.alternate.end," }")),e.prototype.transpile.call(this,t,n)},IfStatement}(y),X=function(e){function ImportDeclaration(){e.apply(this,arguments)}return e&&(ImportDeclaration.__proto__=e),ImportDeclaration.prototype=Object.create(e&&e.prototype),ImportDeclaration.prototype.constructor=ImportDeclaration,ImportDeclaration.prototype.initialise=function initialise(t){if(t.moduleImport)throw new x(this,"import is not supported");e.prototype.initialise.call(this,t)},ImportDeclaration}(y),H=function(e){function ImportDefaultSpecifier(){e.apply(this,arguments)}return e&&(ImportDefaultSpecifier.__proto__=e),ImportDefaultSpecifier.prototype=Object.create(e&&e.prototype),ImportDefaultSpecifier.prototype.constructor=ImportDefaultSpecifier,ImportDefaultSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportDefaultSpecifier}(y),K=function(e){function ImportSpecifier(){e.apply(this,arguments)}return e&&(ImportSpecifier.__proto__=e),ImportSpecifier.prototype=Object.create(e&&e.prototype),ImportSpecifier.prototype.constructor=ImportSpecifier,ImportSpecifier.prototype.initialise=function initialise(t){this.findScope(!0).addDeclaration(this.local,"import"),e.prototype.initialise.call(this,t)},ImportSpecifier}(y),$=function(e){function JSXAttribute(){e.apply(this,arguments)}return e&&(JSXAttribute.__proto__=e),JSXAttribute.prototype=Object.create(e&&e.prototype),JSXAttribute.prototype.constructor=JSXAttribute,JSXAttribute.prototype.transpile=function transpile(t,n){var o=this.name,r=o.start,i=o.name,a=this.value?this.value.start:this.name.end;t.overwrite(r,a,function(e){return function(e){return/-/.test(e)}(e)?"'"+e+"'":e}(i)+": "+function(e){return e?"":"true"}(this.value)),e.prototype.transpile.call(this,t,n)},JSXAttribute}(y),Z=function(e){function JSXClosingElement(){e.apply(this,arguments)}return e&&(JSXClosingElement.__proto__=e),JSXClosingElement.prototype=Object.create(e&&e.prototype),JSXClosingElement.prototype.constructor=JSXClosingElement,JSXClosingElement.prototype.transpile=function transpile(e){var t=!0,n=this.parent.children[this.parent.children.length-1];(n&&function containsNewLine(e){return"Literal"===e.type&&!/\S/.test(e.value)&&/\n/.test(e.value)}(n)||this.parent.openingElement.attributes.length)&&(t=!1),e.overwrite(this.start,this.end,t?" )":")")},JSXClosingElement}(y),J=function(e){function JSXElement(){e.apply(this,arguments)}return e&&(JSXElement.__proto__=e),JSXElement.prototype=Object.create(e&&e.prototype),JSXElement.prototype.constructor=JSXElement,JSXElement.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);var o=this.children.filter(function(e){return"Literal"!==e.type||(/\S/.test(e.value)||!/\n/.test(e.value))});if(o.length){var r,i=this.openingElement.end;for(r=0;r<o.length;r+=1){var a=o[r];if("JSXExpressionContainer"===a.type&&"JSXEmptyExpression"===a.expression.type);else{var s="\n"===t.original[i]&&"Literal"!==a.type?"":" ";t.insertLeft(i,","+s)}if("Literal"===a.type){var l=normalise(a.value,r===o.length-1);t.overwrite(a.start,a.end,l)}i=a.end}}},JSXElement}(y),Q=function(e){function JSXExpressionContainer(){e.apply(this,arguments)}return e&&(JSXExpressionContainer.__proto__=e),JSXExpressionContainer.prototype=Object.create(e&&e.prototype),JSXExpressionContainer.prototype.constructor=JSXExpressionContainer,JSXExpressionContainer.prototype.transpile=function transpile(t,n){t.remove(this.start,this.expression.start),t.remove(this.expression.end,this.end),e.prototype.transpile.call(this,t,n)},JSXExpressionContainer}(y),ee=function(e){function JSXOpeningElement(){e.apply(this,arguments)}return e&&(JSXOpeningElement.__proto__=e),JSXOpeningElement.prototype=Object.create(e&&e.prototype),JSXOpeningElement.prototype.constructor=JSXOpeningElement,JSXOpeningElement.prototype.transpile=function transpile(t,n){t.overwrite(this.start,this.name.start,this.program.jsx+"( ");var o="JSXIdentifier"===this.name.type&&this.name.name[0]===this.name.name[0].toLowerCase();o&&t.insertRight(this.name.start,"'");var r=this.attributes.length,i=this.name.end;if(r){var a,s=!1;for(a=0;a<r;a+=1)if("JSXSpreadAttribute"===this.attributes[a].type){s=!0;break}for(i=this.attributes[0].end,a=0;a<r;a+=1){var l=this.attributes[a];if(a>0&&(l.start===i?t.insertRight(i,", "):t.overwrite(i,l.start,", ")),s&&"JSXSpreadAttribute"!==l.type){var u=this.attributes[a-1],c=this.attributes[a+1];u&&"JSXSpreadAttribute"!==u.type||t.insertRight(l.start,"{ "),c&&"JSXSpreadAttribute"!==c.type||t.insertLeft(l.end," }")}i=l.end}var p,d;if(s)if(1===r)d=o?"',":",";else{if(!this.program.options.objectAssign)throw new x(this,"Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.");d=o?"', "+this.program.options.objectAssign+"({},":", "+this.program.options.objectAssign+"({},",p=")"}else d=o?"', {":", {",p=" }";t.insertRight(this.name.end,d),p&&t.insertLeft(this.attributes[r-1].end,p)}else t.insertLeft(this.name.end,o?"', null":", null"),i=this.name.end;e.prototype.transpile.call(this,t,n),this.selfClosing?t.overwrite(i,this.end,this.attributes.length?")":" )"):t.remove(i,this.end)},JSXOpeningElement}(y),te=function(e){function JSXSpreadAttribute(){e.apply(this,arguments)}return e&&(JSXSpreadAttribute.__proto__=e),JSXSpreadAttribute.prototype=Object.create(e&&e.prototype),JSXSpreadAttribute.prototype.constructor=JSXSpreadAttribute,JSXSpreadAttribute.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},JSXSpreadAttribute}(y),ne=__commonjs(function(e,t,o){!function(r){var i="object"==typeof t&&t,s=("object"==typeof e&&e&&e.exports,"object"==typeof o&&o);var l="A range’s `stop` value must be greater than or equal to the `start` value.",u="Invalid code point value. Code points range from U+000000 to U+10FFFF.",c=/\\x00([^0123456789]|$)/g,p={},d=p.hasOwnProperty,f=function(e,t){for(var n=-1,o=e.length;++n<o;)t(e[n],n)},m=p.toString,h=function(e){return"[object Array]"==m.call(e)},b=function(e){return"number"==typeof e||"[object Number]"==m.call(e)},g=function(e,t){var n=String(e);return n.length<t?("0000"+n).slice(-t):n},A=function(e){return Number(e).toString(16).toUpperCase()},v=[].slice,C=function(e,t){for(var n,o,r=0,i=e.length;r<i;){if(n=e[r],o=e[r+1],t>=n&&t<o)return t==n?o==n+1?(e.splice(r,2),e):(e[r]=t+1,e):t==o-1?(e[r+1]=t,e):(e.splice(r,2,n,t,t+1,o),e);r+=2}return e},y=function(e,t,n){if(n<t)throw Error(l);for(var o,r,i=0;i<e.length;){if(o=e[i],r=e[i+1]-1,o>n)return e;if(t<=o&&n>=r)e.splice(i,2);else{if(t>=o&&n<r)return t==o?(e[i]=n+1,e[i+1]=r+1,e):(e.splice(i,2,o,t,n+1,r+1),e);if(t>=o&&t<=r)e[i+1]=t;else if(n>=o&&n<=r)return e[i]=n+1,e;i+=2}}return e},_=function(e,t){var n,o,r=0,i=null,a=e.length;if(t<0||t>1114111)throw RangeError(u);for(;r<a;){if(n=e[r],o=e[r+1],t>=n&&t<o)return e;if(t==n-1)return e[r]=t,e;if(n>t)return e.splice(null!=i?i+2:0,0,t,t+1),e;if(t==o)return t+1==e[r+2]?(e.splice(r,4,n,e[r+3]),e):(e[r+1]=t+1,e);i=r,r+=2}return e.push(t,t+1),e},w=function(e,t){for(var n,o,r=0,i=e.slice(),a=t.length;r<a;)i=(n=t[r])==(o=t[r+1]-1)?_(i,n):x(i,n,o),r+=2;return i},x=function(e,t,n){if(n<t)throw Error(l);if(t<0||t>1114111||n<0||n>1114111)throw RangeError(u);for(var o,r,i=0,a=!1,s=e.length;i<s;){if(o=e[i],r=e[i+1],a){if(o==n+1)return e.splice(i-1,2),e;if(o>n)return e;o>=t&&o<=n&&(r>t&&r-1<=n?(e.splice(i,2),i-=2):(e.splice(i-1,2),i-=2))}else{if(o==n+1)return e[i]=t,e;if(o>n)return e.splice(i,0,t,n+1),e;if(t>=o&&t<r&&n+1<=r)return e;t>=o&&t<r||r==t?(e[i+1]=n+1,a=!0):t<=o&&n+1>=r&&(e[i]=t,e[i+1]=n+1,a=!0)}i+=2}return a||e.push(t,n+1),e},B=function(e,t){var n=0,o=e.length,r=e[n],i=e[o-1];if(o>=2&&(t<r||t>i))return!1;for(;n<o;){if(r=e[n],i=e[n+1],t>=r&&t<i)return!0;n+=2}return!1},k=function(e){return!e.length},E=function(e){return 2==e.length&&e[0]+1==e[1]},S=function(e){for(var t,n,o=0,r=[],i=e.length;o<i;){for(t=e[o],n=e[o+1];t<n;)r.push(t),++t;o+=2}return r},P=Math.floor,D=function(e){return parseInt(P((e-65536)/1024)+55296,10)},O=function(e){return parseInt((e-65536)%1024+56320,10)},R=String.fromCharCode,T=function(e){return 9==e?"\\t":10==e?"\\n":12==e?"\\f":13==e?"\\r":92==e?"\\\\":36==e||e>=40&&e<=43||e>=45&&e<=47||63==e||e>=91&&e<=94||e>=123&&e<=125?"\\"+R(e):e>=32&&e<=126?R(e):e<=255?"\\x"+g(A(e),2):"\\u"+g(A(e),4)},j=function(e){return e<=65535?T(e):"\\u{"+e.toString(16).toUpperCase()+"}"},N=function(e){var t,n=e.length,o=e.charCodeAt(0);return o>=55296&&o<=56319&&n>1?(t=e.charCodeAt(1),1024*(o-55296)+t-56320+65536):o},I=function(e){var t,n,o="",r=0,i=e.length;if(E(e))return T(e[0]);for(;r<i;)o+=(t=e[r])==(n=e[r+1]-1)?T(t):t+1==n?T(t)+T(n):T(t)+"-"+T(n),r+=2;return"["+o+"]"},q=function(e){if(1==e.length)return e;for(var t=-1,n=-1;++t<e.length;){var o=e[t],r=o[1],i=r[0],a=r[1];for(n=t;++n<e.length;){var s=e[n],l=s[1],u=l[0],c=l[1];i==u&&a==c&&(E(s[0])?o[0]=_(o[0],s[0][0]):o[0]=x(o[0],s[0][0],s[0][1]-1),e.splice(n,1),--n)}}return e},M=function(e){if(!e.length)return[];for(var t,n,o,r,i,a,s=0,l=[],u=e.length;s<u;){t=e[s],n=e[s+1]-1,o=D(t),r=O(t),i=D(n);var c=57343==(a=O(n)),p=!1;o==i||56320==r&&c?(l.push([[o,i+1],[r,a+1]]),p=!0):l.push([[o,o+1],[r,57344]]),!p&&o+1<i&&(c?(l.push([[o+1,i+1],[56320,a+1]]),p=!0):l.push([[o+1,i],[56320,57344]])),p||l.push([[i,i+1],[56320,a+1]]),s+=2}return function(e){for(var t,n,o,r,i,a,s=[],l=[],u=!1,c=-1,p=e.length;++c<p;)if(t=e[c],n=e[c+1]){for(o=t[0],r=t[1],i=n[0],a=n[1],l=r;i&&o[0]==i[0]&&o[1]==i[1];)l=E(a)?_(l,a[0]):x(l,a[0],a[1]-1),o=(t=e[++c])[0],r=t[1],i=(n=e[c+1])&&n[0],a=n&&n[1],u=!0;s.push([o,u?l:r]),u=!1}else s.push(t);return q(s)}(l)},z=function(e,t,n){if(n)return function(e){var t,n,o="",r=0,i=e.length;if(E(e))return j(e[0]);for(;r<i;)o+=(t=e[r])==(n=e[r+1]-1)?j(t):t+1==n?j(t)+j(n):j(t)+"-"+j(n),r+=2;return"["+o+"]"}(e);var o=[],r=function(e){for(var t,n,o=[],r=[],i=[],a=[],s=0,l=e.length;s<l;)t=e[s],n=e[s+1]-1,t<55296?(n<55296&&i.push(t,n+1),n>=55296&&n<=56319&&(i.push(t,55296),o.push(55296,n+1)),n>=56320&&n<=57343&&(i.push(t,55296),o.push(55296,56320),r.push(56320,n+1)),n>57343&&(i.push(t,55296),o.push(55296,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>=55296&&t<=56319?(n>=55296&&n<=56319&&o.push(t,n+1),n>=56320&&n<=57343&&(o.push(t,56320),r.push(56320,n+1)),n>57343&&(o.push(t,56320),r.push(56320,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>=56320&&t<=57343?(n>=56320&&n<=57343&&r.push(t,n+1),n>57343&&(r.push(t,57344),n<=65535?i.push(57344,n+1):(i.push(57344,65536),a.push(65536,n+1)))):t>57343&&t<=65535?n<=65535?i.push(t,n+1):(i.push(t,65536),a.push(65536,n+1)):a.push(t,n+1),s+=2;return{loneHighSurrogates:o,loneLowSurrogates:r,bmp:i,astral:a}}(e),i=r.loneHighSurrogates,a=r.loneLowSurrogates,s=r.bmp,l=r.astral,u=!k(i),c=!k(a),p=M(l);return t&&(s=w(s,i),u=!1,s=w(s,a),c=!1),k(s)||o.push(I(s)),p.length&&o.push(function(e){var t=[];return f(e,function(e){var n=e[0],o=e[1];t.push(I(n)+I(o))}),t.join("|")}(p)),u&&o.push(I(i)+"(?![\\uDC00-\\uDFFF])"),c&&o.push("(?:[^\\uD800-\\uDBFF]|^)"+I(a)),o.join("|")},L=function(e){return arguments.length>1&&(e=v.call(arguments)),this instanceof L?(this.data=[],e?this.add(e):this):(new L).add(e)};L.version="1.3.3";var F=L.prototype;!function(e,t){var n;for(n in t)d.call(t,n)&&(e[n]=t[n])}(F,{add:function(e){var t=this;return null==e?t:e instanceof L?(t.data=w(t.data,e.data),t):(arguments.length>1&&(e=v.call(arguments)),h(e)?(f(e,function(e){t.add(e)}),t):(t.data=_(t.data,b(e)?e:N(e)),t))},remove:function(e){var t=this;return null==e?t:e instanceof L?(t.data=function(e,t){for(var n,o,r=0,i=e.slice(),a=t.length;r<a;)i=(n=t[r])==(o=t[r+1]-1)?C(i,n):y(i,n,o),r+=2;return i}(t.data,e.data),t):(arguments.length>1&&(e=v.call(arguments)),h(e)?(f(e,function(e){t.remove(e)}),t):(t.data=C(t.data,b(e)?e:N(e)),t))},addRange:function(e,t){return this.data=x(this.data,b(e)?e:N(e),b(t)?t:N(t)),this},removeRange:function(e,t){var n=b(e)?e:N(e),o=b(t)?t:N(t);return this.data=y(this.data,n,o),this},intersection:function(e){var t=e instanceof L?S(e.data):e;return this.data=function(e,t){for(var n,o=0,r=t.length,i=[];o<r;)n=t[o],B(e,n)&&i.push(n),++o;return function(e){for(var t,n=-1,o=e.length,r=o-1,i=[],a=!0,s=0;++n<o;)if(t=e[n],a)i.push(t),s=t,a=!1;else if(t==s+1){if(n!=r){s=t;continue}a=!0,i.push(t+1)}else i.push(s+1,t),s=t;return a||i.push(t+1),i}(i)}(this.data,t),this},contains:function(e){return B(this.data,b(e)?e:N(e))},clone:function(){var e=new L;return e.data=this.data.slice(0),e},toString:function(e){var t=z(this.data,!!e&&e.bmpOnly,!!e&&e.hasUnicodeFlag);return t?t.replace(c,"\\0$1"):"[]"},toRegExp:function(e){var t=this.toString(e&&-1!=e.indexOf("u")?{hasUnicodeFlag:!0}:null);return RegExp(t,e||"")},valueOf:function(){return S(this.data)}}),F.toArray=F.valueOf,void 0===(a=function(){return L}.call(t,n,t,e))||(e.exports=a)}()}),oe=ne&&"object"==typeof ne&&"default"in ne?ne.default:ne,re=__commonjs(function(e,t){var n=oe;t.REGULAR={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,65535),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:n(95).addRange(48,57).addRange(65,90).addRange(97,122),W:n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},t.UNICODE={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,1114111),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:n(95).addRange(48,57).addRange(65,90).addRange(97,122),W:n(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},t.UNICODE_IGNORE_CASE={d:n().addRange(48,57),D:n().addRange(0,47).addRange(58,1114111),s:n(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:n().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:n(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:n(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}}),ie=re&&"object"==typeof re&&"default"in re?re.default:re,ae={75:8490,83:383,107:8490,115:383,181:924,197:8491,383:83,452:453,453:452,455:456,456:455,458:459,459:458,497:498,498:497,837:8126,914:976,917:1013,920:1012,921:8126,922:1008,924:181,928:982,929:1009,931:962,934:981,937:8486,962:931,976:914,977:1012,981:934,982:928,1008:922,1009:929,1012:[920,977],1013:917,7776:7835,7835:7776,8126:[837,921],8486:937,8490:75,8491:197,66560:66600,66561:66601,66562:66602,66563:66603,66564:66604,66565:66605,66566:66606,66567:66607,66568:66608,66569:66609,66570:66610,66571:66611,66572:66612,66573:66613,66574:66614,66575:66615,66576:66616,66577:66617,66578:66618,66579:66619,66580:66620,66581:66621,66582:66622,66583:66623,66584:66624,66585:66625,66586:66626,66587:66627,66588:66628,66589:66629,66590:66630,66591:66631,66592:66632,66593:66633,66594:66634,66595:66635,66596:66636,66597:66637,66598:66638,66599:66639,66600:66560,66601:66561,66602:66562,66603:66563,66604:66564,66605:66565,66606:66566,66607:66567,66608:66568,66609:66569,66610:66570,66611:66571,66612:66572,66613:66573,66614:66574,66615:66575,66616:66576,66617:66577,66618:66578,66619:66579,66620:66580,66621:66581,66622:66582,66623:66583,66624:66584,66625:66585,66626:66586,66627:66587,66628:66588,66629:66589,66630:66590,66631:66591,66632:66592,66633:66593,66634:66594,66635:66595,66636:66596,66637:66597,66638:66598,66639:66599,68736:68800,68737:68801,68738:68802,68739:68803,68740:68804,68741:68805,68742:68806,68743:68807,68744:68808,68745:68809,68746:68810,68747:68811,68748:68812,68749:68813,68750:68814,68751:68815,68752:68816,68753:68817,68754:68818,68755:68819,68756:68820,68757:68821,68758:68822,68759:68823,68760:68824,68761:68825,68762:68826,68763:68827,68764:68828,68765:68829,68766:68830,68767:68831,68768:68832,68769:68833,68770:68834,68771:68835,68772:68836,68773:68837,68774:68838,68775:68839,68776:68840,68777:68841,68778:68842,68779:68843,68780:68844,68781:68845,68782:68846,68783:68847,68784:68848,68785:68849,68786:68850,68800:68736,68801:68737,68802:68738,68803:68739,68804:68740,68805:68741,68806:68742,68807:68743,68808:68744,68809:68745,68810:68746,68811:68747,68812:68748,68813:68749,68814:68750,68815:68751,68816:68752,68817:68753,68818:68754,68819:68755,68820:68756,68821:68757,68822:68758,68823:68759,68824:68760,68825:68761,68826:68762,68827:68763,68828:68764,68829:68765,68830:68766,68831:68767,68832:68768,68833:68769,68834:68770,68835:68771,68836:68772,68837:68773,68838:68774,68839:68775,68840:68776,68841:68777,68842:68778,68843:68779,68844:68780,68845:68781,68846:68782,68847:68783,68848:68784,68849:68785,68850:68786,71840:71872,71841:71873,71842:71874,71843:71875,71844:71876,71845:71877,71846:71878,71847:71879,71848:71880,71849:71881,71850:71882,71851:71883,71852:71884,71853:71885,71854:71886,71855:71887,71856:71888,71857:71889,71858:71890,71859:71891,71860:71892,71861:71893,71862:71894,71863:71895,71864:71896,71865:71897,71866:71898,71867:71899,71868:71900,71869:71901,71870:71902,71871:71903,71872:71840,71873:71841,71874:71842,71875:71843,71876:71844,71877:71845,71878:71846,71879:71847,71880:71848,71881:71849,71882:71850,71883:71851,71884:71852,71885:71853,71886:71854,71887:71855,71888:71856,71889:71857,71890:71858,71891:71859,71892:71860,71893:71861,71894:71862,71895:71863,71896:71864,71897:71865,71898:71866,71899:71867,71900:71868,71901:71869,71902:71870,71903:71871},se=__commonjs(function(e){!function(){var t={parse:function parse(e,t){function addRaw(t){return t.raw=e.substring(t.range[0],t.range[1]),t}function updateRawStart(e,t){return e.range[0]=t,addRaw(e)}function createAnchor(e,t){return addRaw({type:"anchor",kind:e,range:[a-t,a]})}function createValue(e,t,n,o){return addRaw({type:"value",kind:e,codePoint:t,range:[n,o]})}function createEscaped(e,t,n,o){return o=o||0,createValue(e,t,a-(n.length+o),a)}function createCharacter(e){var t=e[0],n=t.charCodeAt(0);if(i){var o;if(1===t.length&&n>=55296&&n<=56319&&(o=lookahead().charCodeAt(0))>=56320&&o<=57343)return a++,createValue("symbol",1024*(n-55296)+o-56320+65536,a-2,a)}return createValue("symbol",n,a-1,a)}function createQuantifier(e,t,n,o){return null==o&&(n=a-1,o=a),addRaw({type:"quantifier",min:e,max:t,greedy:!0,body:null,range:[n,o]})}function createCharacterClass(e,t,n,o){return addRaw({type:"characterClass",body:e,negative:t,range:[n,o]})}function createClassRange(e,t,n,o){return e.codePoint>t.codePoint&&bail("invalid range in character class",e.raw+"-"+t.raw,n,o),addRaw({type:"characterClassRange",min:e,max:t,range:[n,o]})}function flattenBody(e){return"alternative"===e.type?e.body:[e]}function incr(t){t=t||1;var n=e.substring(a,a+t);return a+=t||1,n}function skip(e){match(e)||bail("character",e)}function match(t){if(e.indexOf(t,a)===a)return incr(t.length)}function lookahead(){return e[a]}function current(t){return e.indexOf(t,a)===a}function next(t){return e[a+1]===t}function matchReg(t){var n=e.substring(a).match(t);return n&&(n.range=[],n.range[0]=a,incr(n[0].length),n.range[1]=a),n}function parseDisjunction(){var e=[],t=a;for(e.push(parseAlternative());match("|");)e.push(parseAlternative());return 1===e.length?e[0]:function createDisjunction(e,t,n){return addRaw({type:"disjunction",body:e,range:[t,n]})}(e,t,a)}function parseAlternative(){for(var t,n=[],o=a;t=function parseTerm(){if(a>=e.length||current("|")||current(")"))return null;var t=function parseAnchor(){return match("^")?createAnchor("start",1):match("$")?createAnchor("end",1):match("\\b")?createAnchor("boundary",2):match("\\B")?createAnchor("not-boundary",2):parseGroup("(?=","lookahead","(?!","negativeLookahead")}();if(t)return t;var n=function parseAtom(){var e;return(e=matchReg(/^[^^$\\.*+?(){[|]/))?createCharacter(e):match(".")?function createDot(){return addRaw({type:"dot",range:[a-1,a]})}():match("\\")?((e=parseAtomEscape())||bail("atomEscape"),e):(e=function parseCharacterClass(){var e,t=a;return(e=matchReg(/^\[\^/))?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!0,t,a)):match("[")?(e=parseClassRanges(),skip("]"),createCharacterClass(e,!1,t,a)):null}())?e:parseGroup("(?:","ignore","(","normal")}();n||bail("Expected atom");var o=function parseQuantifier(){var e,t,n,o,r=a;return match("*")?t=createQuantifier(0):match("+")?t=createQuantifier(1):match("?")?t=createQuantifier(0,1):(e=matchReg(/^\{([0-9]+)\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,n,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),\}/))?(n=parseInt(e[1],10),t=createQuantifier(n,void 0,e.range[0],e.range[1])):(e=matchReg(/^\{([0-9]+),([0-9]+)\}/))&&(n=parseInt(e[1],10),o=parseInt(e[2],10),n>o&&bail("numbers out of order in {} quantifier","",r,a),t=createQuantifier(n,o,e.range[0],e.range[1])),t&&match("?")&&(t.greedy=!1,t.range[1]+=1),t}()||!1;return o?(o.body=flattenBody(n),updateRawStart(o,n.range[0]),o):n}();)n.push(t);return 1===n.length?n[0]:function createAlternative(e,t,n){return addRaw({type:"alternative",body:e,range:[t,n]})}(n,o,a)}function parseGroup(e,t,n,i){var s=null,l=a;if(match(e))s=t;else{if(!match(n))return!1;s=i}var u=parseDisjunction();u||bail("Expected disjunction"),skip(")");var c=function createGroup(e,t,n,o){return addRaw({type:"group",behavior:e,body:t,range:[n,o]})}(s,flattenBody(u),l,a);return"normal"==s&&r&&o++,c}function parseUnicodeSurrogatePairEscape(e){if(i){var t,n;if("unicodeEscape"==e.kind&&(t=e.codePoint)>=55296&&t<=56319&&current("\\")&&next("u")){var o=a;a++;var r=parseClassEscape();"unicodeEscape"==r.kind&&(n=r.codePoint)>=56320&&n<=57343?(e.range[1]=r.range[1],e.codePoint=1024*(t-55296)+n-56320+65536,e.type="value",e.kind="unicodeCodePointEscape",addRaw(e)):a=o}}return e}function parseClassEscape(){return parseAtomEscape(!0)}function parseAtomEscape(e){var t,r=a;if(t=function parseDecimalEscape(){var e,t;if(e=matchReg(/^(?!0)\d+/)){t=e[0];var r=parseInt(e[0],10);return r<=o?function createReference(e){return addRaw({type:"reference",matchIndex:parseInt(e,10),range:[a-1-e.length,a]})}(e[0]):(n.push(r),incr(-e[0].length),(e=matchReg(/^[0-7]{1,3}/))?createEscaped("octal",parseInt(e[0],8),e[0],1):(e=createCharacter(matchReg(/^[89]/)),updateRawStart(e,e.range[0]-1)))}return(e=matchReg(/^[0-7]{1,3}/))?(t=e[0],/^0{1,3}$/.test(t)?createEscaped("null",0,"0",t.length+1):createEscaped("octal",parseInt(t,8),t,1)):!!(e=matchReg(/^[dDsSwW]/))&&function createCharacterClassEscape(e){return addRaw({type:"characterClassEscape",value:e,range:[a-2,a]})}(e[0])}())return t;if(e){if(match("b"))return createEscaped("singleEscape",8,"\\b");match("B")&&bail("\\B not possible inside of CharacterClass","",r)}return t=function parseCharacterEscape(){var e;if(e=matchReg(/^[fnrtv]/)){var t=0;switch(e[0]){case"t":t=9;break;case"n":t=10;break;case"v":t=11;break;case"f":t=12;break;case"r":t=13}return createEscaped("singleEscape",t,"\\"+e[0])}return(e=matchReg(/^c([a-zA-Z])/))?createEscaped("controlLetter",e[1].charCodeAt(0)%32,e[1],2):(e=matchReg(/^x([0-9a-fA-F]{2})/))?createEscaped("hexadecimalEscape",parseInt(e[1],16),e[1],2):(e=matchReg(/^u([0-9a-fA-F]{4})/))?parseUnicodeSurrogatePairEscape(createEscaped("unicodeEscape",parseInt(e[1],16),e[1],2)):i&&(e=matchReg(/^u\{([0-9a-fA-F]+)\}/))?createEscaped("unicodeCodePointEscape",parseInt(e[1],16),e[1],4):function parseIdentityEscape(){var e;return function isIdentifierPart(e){var t=new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԯԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠ-ࢲࣤ-ॣ०-९ॱ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఀ-ఃఅ-ఌఎ-ఐఒ-నప-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಁ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲഁ-ഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟ෦-෯ෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤞᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧ᪰-᪽ᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶ᳸᳹ᴀ-᷵᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚝꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞭꞰꞱꟷ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꧠ-ꧾꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭟꭤꭥꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︭︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]");return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&t.test(String.fromCharCode(e))}(lookahead())?match("‌")?createEscaped("identifier",8204,"‌"):match("‍")?createEscaped("identifier",8205,"‍"):null:(e=incr(),createEscaped("identifier",e.charCodeAt(0),e,1))}()}()}function parseClassRanges(){var e;return current("]")?[]:((e=function parseNonemptyClassRanges(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?[e]:parseHelperClassRanges(e)}())||bail("nonEmptyClassRanges"),e)}function parseHelperClassRanges(e){var t,n,o;if(current("-")&&!next("]")){skip("-"),(o=parseClassAtom())||bail("classAtom"),n=a;var r=parseClassRanges();return r||bail("classRanges"),t=e.range[0],"empty"===r.type?[createClassRange(e,o,t,n)]:[createClassRange(e,o,t,n)].concat(r)}return(o=function parseNonemptyClassRangesNoDash(){var e=parseClassAtom();return e||bail("classAtom"),current("]")?e:parseHelperClassRanges(e)}())||bail("nonEmptyClassRangesNoDash"),[e].concat(o)}function parseClassAtom(){return match("-")?createCharacter("-"):function parseClassAtomNoDash(){var e;return(e=matchReg(/^[^\\\]-]/))?createCharacter(e[0]):match("\\")?((e=parseClassEscape())||bail("classEscape"),parseUnicodeSurrogatePairEscape(e)):void 0}()}function bail(t,n,o,r){o=null==o?a:o,r=null==r?o:r;var i=Math.max(0,o-10),s=Math.min(r+10,e.length),l=" "+e.substring(i,s),u=" "+new Array(o-i+1).join(" ")+"^";throw SyntaxError(t+" at position "+o+(n?": "+n:"")+"\n"+l+"\n"+u)}var n=[],o=0,r=!0,i=-1!==(t||"").indexOf("u"),a=0;""===(e=String(e))&&(e="(?:)");var s=parseDisjunction();s.range[1]!==e.length&&bail("Could not parse entire input - got stuck","",s.range[1]);for(var l=0;l<n.length;l++)if(n[l]<=o)return a=0,r=!1,parseDisjunction();return s}};void 0!==e&&e.exports?e.exports=t:window.regjsparser=t}()}),le=se&&"object"==typeof se&&"default"in se?se.default:se,ue=__commonjs(function(e,t,o){(function(){function fromCodePoint(){var e,t,n=[],o=-1,r=arguments.length;if(!r)return"";for(var i="";++o<r;){var a=Number(arguments[o]);if(!isFinite(a)||a<0||a>1114111||c(a)!=a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,n.push(e,t)),(o+1==r||n.length>16384)&&(i+=u.apply(null,n),n.length=0)}return i}function assertType(e,t){if(-1==t.indexOf("|")){if(e==t)return;throw Error("Invalid node type: "+e)}if(!(t=assertType.hasOwnProperty(t)?assertType[t]:assertType[t]=RegExp("^(?:"+t+")$")).test(e))throw Error("Invalid node type: "+e)}function generate(e){var t=e.type;if(generate.hasOwnProperty(t)&&"function"==typeof generate[t])return generate[t](e);throw Error("Invalid node type: "+t)}function generateClassAtom(e){return assertType(e.type,"anchor|characterClassEscape|characterClassRange|dot|value"),generate(e)}function generateTerm(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|empty|group|quantifier|reference|value"),generate(e)}var r={function:!0,object:!0},i=(r[typeof window]&&window,r[typeof t]&&t),s=r[typeof e]&&e&&!e.nodeType&&e,l=i&&s&&"object"==typeof o&&o;!l||l.global!==l&&l.window!==l&&l.self;var u=String.fromCharCode,c=Math.floor;generate.alternative=function generateAlternative(e){assertType(e.type,"alternative");var t=e.body,n=t?t.length:0;if(1==n)return generateTerm(t[0]);for(var o=-1,r="";++o<n;)r+=generateTerm(t[o]);return r},generate.anchor=function generateAnchor(e){switch(assertType(e.type,"anchor"),e.kind){case"start":return"^";case"end":return"$";case"boundary":return"\\b";case"not-boundary":return"\\B";default:throw Error("Invalid assertion")}},generate.characterClass=function generateCharacterClass(e){assertType(e.type,"characterClass");var t=e.body,n=t?t.length:0,o=-1,r="[";for(e.negative&&(r+="^");++o<n;)r+=generateClassAtom(t[o]);return r+="]"},generate.characterClassEscape=function generateCharacterClassEscape(e){return assertType(e.type,"characterClassEscape"),"\\"+e.value},generate.characterClassRange=function generateCharacterClassRange(e){assertType(e.type,"characterClassRange");var t=e.min,n=e.max;if("characterClassRange"==t.type||"characterClassRange"==n.type)throw Error("Invalid character class range");return generateClassAtom(t)+"-"+generateClassAtom(n)},generate.disjunction=function generateDisjunction(e){assertType(e.type,"disjunction");var t=e.body,n=t?t.length:0;if(0==n)throw Error("No body");if(1==n)return generate(t[0]);for(var o=-1,r="";++o<n;)0!=o&&(r+="|"),r+=generate(t[o]);return r},generate.dot=function generateDot(e){return assertType(e.type,"dot"),"."},generate.group=function generateGroup(e){assertType(e.type,"group");var t="(";switch(e.behavior){case"normal":break;case"ignore":t+="?:";break;case"lookahead":t+="?=";break;case"negativeLookahead":t+="?!";break;default:throw Error("Invalid behaviour: "+e.behaviour)}var n=e.body,o=n?n.length:0;if(1==o)t+=generate(n[0]);else for(var r=-1;++r<o;)t+=generate(n[r]);return t+=")"},generate.quantifier=function generateQuantifier(e){assertType(e.type,"quantifier");var t="",n=e.min,o=e.max;switch(o){case void 0:case null:switch(n){case 0:t="*";break;case 1:t="+";break;default:t="{"+n+",}"}break;default:t=n==o?"{"+n+"}":0==n&&1==o?"?":"{"+n+","+o+"}"}return e.greedy||(t+="?"),function generateAtom(e){return assertType(e.type,"anchor|characterClass|characterClassEscape|dot|group|reference|value"),generate(e)}(e.body[0])+t},generate.reference=function generateReference(e){return assertType(e.type,"reference"),"\\"+e.matchIndex},generate.value=function generateValue(e){assertType(e.type,"value");var t=e.kind,n=e.codePoint;switch(t){case"controlLetter":return"\\c"+fromCodePoint(n+64);case"hexadecimalEscape":return"\\x"+("00"+n.toString(16).toUpperCase()).slice(-2);case"identifier":return"\\"+fromCodePoint(n);case"null":return"\\"+n;case"octal":return"\\"+n.toString(8);case"singleEscape":switch(n){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r";default:throw Error("Invalid codepoint: "+n)}case"symbol":return fromCodePoint(n);case"unicodeEscape":return"\\u"+("0000"+n.toString(16).toUpperCase()).slice(-4);case"unicodeCodePointEscape":return"\\u{"+n.toString(16).toUpperCase()+"}";default:throw Error("Unsupported node kind: "+t)}},void 0===(a=function(){return{generate:generate}}.call(t,n,t,e))||(e.exports=a)}).call(s)}),ce=ue&&"object"==typeof ue&&"default"in ue?ue.default:ue,pe=__commonjs(function(e){function getCharacterClassEscapeSet(e){return d?p?i.UNICODE_IGNORE_CASE[e]:i.UNICODE[e]:i.REGULAR[e]}function assign(e,t){for(var n in t)e[n]=t[n]}function update(e,t){if(t){var o=n(t,"");switch(o.type){case"characterClass":case"group":case"value":break;default:o=function wrap(e,t){return{type:"group",behavior:"ignore",body:[e],raw:"(?:"+t+")"}}(o,t)}assign(e,o)}}function caseFold(e){return!!function has(e,t){return a.call(e,t)}(r,e)&&r[e]}function processTerm(e){switch(e.type){case"dot":update(e,(d?u:c).toString());break;case"characterClass":e=function processCharacterClass(e){var t=o();return e.body.forEach(function(e){switch(e.type){case"value":if(t.add(e.codePoint),p&&d){var n=caseFold(e.codePoint);n&&t.add(n)}break;case"characterClassRange":var o=e.min.codePoint,r=e.max.codePoint;t.addRange(o,r),p&&d&&t.iuAddRange(o,r);break;case"characterClassEscape":t.add(getCharacterClassEscapeSet(e.value));break;default:throw Error("Unknown term type: "+e.type)}}),e.negative&&(t=(d?s:l).clone().remove(t)),update(e,t.toString()),e}(e);break;case"characterClassEscape":update(e,getCharacterClassEscapeSet(e.value).toString());break;case"alternative":case"disjunction":case"group":case"quantifier":e.body=e.body.map(processTerm);break;case"value":var t=e.codePoint,n=o(t);if(p&&d){var r=caseFold(t);r&&n.add(r)}update(e,n.toString());break;case"anchor":case"empty":case"group":case"reference":break;default:throw Error("Unknown term type: "+e.type)}return e}var t=ce.generate,n=le.parse,o=oe,r=ae,i=ie,a={}.hasOwnProperty,s=o().addRange(0,1114111),l=o().addRange(0,65535),u=s.clone().remove(10,13,8232,8233),c=u.clone().intersection(l);o.prototype.iuAddRange=function(e,t){do{var n=caseFold(e);n&&this.add(n)}while(++e<=t);return this};var p=!1,d=!1;e.exports=function(e,o){var r=n(e,o);return p=!!o&&o.indexOf("i")>-1,d=!!o&&o.indexOf("u")>-1,assign(r,processTerm(r)),t(r)}}),de=pe&&"object"==typeof pe&&"default"in pe?pe.default:pe,fe={ArrayExpression:_,ArrowFunctionExpression:w,AssignmentExpression:B,BinaryExpression:k,BreakStatement:S,CallExpression:P,ClassBody:O,ClassDeclaration:R,ClassExpression:T,ContinueStatement:j,DoWhileStatement:q,ExportNamedDeclaration:I,ExportDefaultDeclaration:N,ForStatement:z,ForInStatement:L,ForOfStatement:W,FunctionDeclaration:U,FunctionExpression:V,Identifier:G,IfStatement:Y,ImportDeclaration:X,ImportDefaultSpecifier:H,ImportSpecifier:K,JSXAttribute:$,JSXClosingElement:Z,JSXElement:J,JSXExpressionContainer:Q,JSXOpeningElement:ee,JSXSpreadAttribute:te,Literal:function(e){function Literal(){e.apply(this,arguments)}return e&&(Literal.__proto__=e),Literal.prototype=Object.create(e&&e.prototype),Literal.prototype.constructor=Literal,Literal.prototype.initialise=function initialise(){"string"==typeof this.value&&this.program.indentExclusionElements.push(this)},Literal.prototype.transpile=function transpile(e,t){if(t.numericLiteral){var n=this.raw.slice(0,2);"0b"!==n&&"0o"!==n||e.overwrite(this.start,this.end,String(this.value),!0)}if(this.regex){var o=this.regex,r=o.pattern,i=o.flags;if(t.stickyRegExp&&/y/.test(i))throw new x(this,"Regular expression sticky flag is not supported");t.unicodeRegExp&&/u/.test(i)&&e.overwrite(this.start,this.end,"/"+de(r,i)+"/"+i.replace("u",""))}},Literal}(y),MemberExpression:function(e){function MemberExpression(){e.apply(this,arguments)}return e&&(MemberExpression.__proto__=e),MemberExpression.prototype=Object.create(e&&e.prototype),MemberExpression.prototype.constructor=MemberExpression,MemberExpression.prototype.transpile=function transpile(t,n){n.reservedProperties&&D[this.property.name]&&(t.overwrite(this.object.end,this.property.start,"['"),t.insertLeft(this.property.end,"']")),e.prototype.transpile.call(this,t,n)},MemberExpression}(y),NewExpression:function(e){function NewExpression(){e.apply(this,arguments)}return e&&(NewExpression.__proto__=e),NewExpression.prototype=Object.create(e&&e.prototype),NewExpression.prototype.constructor=NewExpression,NewExpression.prototype.initialise=function initialise(t){if(t.spreadRest&&this.arguments.length)for(var n=this.findLexicalBoundary(),o=this.arguments.length;o--;){var r=this.arguments[o];if("SpreadElement"===r.type&&isArguments(r.argument)){this.argumentsArrayAlias=n.getArgumentsArrayAlias();break}}e.prototype.initialise.call(this,t)},NewExpression.prototype.transpile=function transpile(t,n){if(n.spreadRest&&this.arguments.length){var o=this.arguments[0];spread(t,this.arguments,o.start,this.argumentsArrayAlias,!0)&&(t.insertRight(this.start+"new".length," (Function.prototype.bind.apply("),t.overwrite(this.callee.end,o.start,", [ null ].concat( "),t.insertLeft(this.end," ))"))}e.prototype.transpile.call(this,t,n)},NewExpression}(y),ObjectExpression:function(e){function ObjectExpression(){e.apply(this,arguments)}return e&&(ObjectExpression.__proto__=e),ObjectExpression.prototype=Object.create(e&&e.prototype),ObjectExpression.prototype.constructor=ObjectExpression,ObjectExpression.prototype.transpile=function transpile(t,n){e.prototype.transpile.call(this,t,n);for(var o=this.start+1,r=0,i=0,a=0,s=0,l=this.properties;s<l.length;s+=1){var u=l[s];"SpreadProperty"===u.type?i+=1:u.computed?a+=1:"Property"===u.type&&(r+=1)}if(i){if(!this.program.options.objectAssign)throw new x(this,"Object spread operator requires specified objectAssign option with 'Object.assign' or polyfill helper.");var c=this.properties.length;if(r)for(;c--;){var p=this.properties[c];if("Property"===p.type&&!p.computed){var d=this.properties[c-1],f=this.properties[c+1];d&&"Property"===d.type&&!d.computed||t.insertRight(p.start,"{"),f&&"Property"===f.type&&!f.computed||t.insertLeft(p.end,"}")}}o=this.properties[0].start,t.overwrite(this.start,o,this.program.options.objectAssign+"({}, "),t.overwrite(this.properties[this.properties.length-1].end,this.end,")")}if(a&&n.computedProperty){var m,h,b=this.getIndentation();"VariableDeclarator"===this.parent.type&&1===this.parent.parent.declarations.length?(m=!0,h=this.parent.id.alias||this.parent.id.name):"AssignmentExpression"===this.parent.type&&"ExpressionStatement"===this.parent.parent.type&&"Identifier"===this.parent.left.type?(m=!0,h=this.parent.left.alias||this.parent.left.name):"AssignmentPattern"===this.parent.type&&"Identifier"===this.parent.left.type&&(m=!0,h=this.parent.left.alias||this.parent.left.name);var g=this.findScope(!1).findDeclaration(h);g&&(h=g.name);var A=o,v=this.end;if(m);else{h=this.findScope(!0).createIdentifier("obj");var C=this.findNearest(/(?:Statement|Declaration)$/);t.insertLeft(C.end,"\n"+b+"var "+h+";"),t.insertRight(this.start,"( "+h+" = ")}for(var y,_=this.properties.length,w=!1,B=0;B<_;B+=1){var k=this.properties[B];if(k.computed){y=k;var E=B>0?this.properties[B-1].end:A,S=m?";\n"+b+h:", "+h;E<k.start?t.overwrite(E,k.start,S):t.insertRight(k.start,S);for(var P=k.key.end;"]"!==t.original[P];)P+=1;if(P+=1,k.value.start>P&&t.remove(P,k.value.start),t.insertLeft(P," = "),t.move(E,k.end,v),B<_-1&&!w){for(P=k.end;","!==t.original[P];)P+=1;t.remove(k.end,P+1)}k.method&&n.conciseMethodProperty&&t.insertRight(k.value.start,"function ")}else w=!0}a===_&&t.remove(this.properties[_-1].end,this.end-1),m||t.insertLeft(y.end,", "+h+" )")}},ObjectExpression}(y),Property:function(e){function Property(){e.apply(this,arguments)}return e&&(Property.__proto__=e),Property.prototype=Object.create(e&&e.prototype),Property.prototype.constructor=Property,Property.prototype.transpile=function transpile(t,n){if(n.conciseMethodProperty&&!this.computed&&"ObjectPattern"!==this.parent.type)if(this.shorthand)t.insertRight(this.start,this.key.name+": ");else if(this.method){var o="";!1!==this.program.options.namedFunctionExpressions&&(o=" "+(o="Literal"===this.key.type&&"number"==typeof this.key.value?"":"Identifier"===this.key.type?D[this.key.name]||!/^[a-z_$][a-z0-9_$]*$/i.test(this.key.name)||this.value.body.scope.references[this.key.name]?this.findScope(!0).createIdentifier(this.key.name):this.key.name:this.findScope(!0).createIdentifier(this.key.value))),this.value.generator&&t.remove(this.start,this.key.start),t.insertLeft(this.key.end,": function"+(this.value.generator?"*":"")+o)}n.reservedProperties&&D[this.key.name]&&(t.insertRight(this.key.start,"'"),t.insertLeft(this.key.end,"'")),e.prototype.transpile.call(this,t,n)},Property}(y),ReturnStatement:function(e){function ReturnStatement(){e.apply(this,arguments)}return e&&(ReturnStatement.__proto__=e),ReturnStatement.prototype=Object.create(e&&e.prototype),ReturnStatement.prototype.constructor=ReturnStatement,ReturnStatement.prototype.initialise=function initialise(e){this.loop=this.findNearest(E),this.nearestFunction=this.findNearest(/Function/),this.loop&&(!this.nearestFunction||this.loop.depth>this.nearestFunction.depth)&&(this.loop.canReturn=!0,this.shouldWrap=!0),this.argument&&this.argument.initialise(e)},ReturnStatement.prototype.transpile=function transpile(e,t){var n=this.shouldWrap&&this.loop&&this.loop.shouldRewriteAsFunction;this.argument?(n&&e.insertRight(this.argument.start,"{ v: "),this.argument.transpile(e,t),n&&e.insertLeft(this.argument.end," }")):n&&e.insertLeft(this.start+6," {}")},ReturnStatement}(y),SpreadProperty:function(e){function SpreadProperty(){e.apply(this,arguments)}return e&&(SpreadProperty.__proto__=e),SpreadProperty.prototype=Object.create(e&&e.prototype),SpreadProperty.prototype.constructor=SpreadProperty,SpreadProperty.prototype.transpile=function transpile(t,n){t.remove(this.start,this.argument.start),t.remove(this.argument.end,this.end),e.prototype.transpile.call(this,t,n)},SpreadProperty}(y),Super:function(e){function Super(){e.apply(this,arguments)}return e&&(Super.__proto__=e),Super.prototype=Object.create(e&&e.prototype),Super.prototype.constructor=Super,Super.prototype.initialise=function initialise(e){if(e.classes){if(this.method=this.findNearest("MethodDefinition"),!this.method)throw new x(this,"use of super outside class method");var t=this.findNearest("ClassBody").parent;if(this.superClassName=t.superClass&&(t.superClass.name||"superclass"),!this.superClassName)throw new x(this,"super used in base class");if(this.isCalled="CallExpression"===this.parent.type&&this===this.parent.callee,"constructor"!==this.method.kind&&this.isCalled)throw new x(this,"super() not allowed outside class constructor");if(this.isMember="MemberExpression"===this.parent.type,!this.isCalled&&!this.isMember)throw new x(this,"Unexpected use of `super` (expected `super(...)` or `super.*`)")}if(e.arrow){var n=this.findLexicalBoundary(),o=this.findNearest("ArrowFunctionExpression"),r=this.findNearest(E);o&&o.depth>n.depth&&(this.thisAlias=n.getThisAlias()),r&&r.body.contains(this)&&r.depth>n.depth&&(this.thisAlias=n.getThisAlias())}},Super.prototype.transpile=function transpile(e,t){if(t.classes){var n=this.isCalled||this.method.static?this.superClassName:this.superClassName+".prototype";e.overwrite(this.start,this.end,n,!0);var o=this.isCalled?this.parent:this.parent.parent;if(o&&"CallExpression"===o.type){this.noCall||e.insertLeft(o.callee.end,".call");var r=this.thisAlias||"this";o.arguments.length?e.insertLeft(o.arguments[0].start,r+", "):e.insertLeft(o.end-1,""+r)}}},Super}(y),TaggedTemplateExpression:function(e){function TaggedTemplateExpression(){e.apply(this,arguments)}return e&&(TaggedTemplateExpression.__proto__=e),TaggedTemplateExpression.prototype=Object.create(e&&e.prototype),TaggedTemplateExpression.prototype.constructor=TaggedTemplateExpression,TaggedTemplateExpression.prototype.initialise=function initialise(t){if(t.templateString&&!t.dangerousTaggedTemplateString)throw new x(this,"Tagged template strings are not supported. Use `transforms: { templateString: false }` to skip transformation and disable this error, or `transforms: { dangerousTaggedTemplateString: true }` if you know what you're doing");e.prototype.initialise.call(this,t)},TaggedTemplateExpression.prototype.transpile=function transpile(t,n){if(n.templateString&&n.dangerousTaggedTemplateString){var o=this.quasi.expressions.concat(this.quasi.quasis).sort(function(e,t){return e.start-t.start}),r=this.quasi.quasis.map(function(e){return JSON.stringify(e.value.cooked)});t.overwrite(this.tag.end,o[0].start,"(["+r.join(", ")+"]");var i=o[0].start;o.forEach(function(e){"TemplateElement"===e.type?t.remove(i,e.end):t.overwrite(i,e.start,", "),i=e.end}),t.overwrite(i,this.end,")")}e.prototype.transpile.call(this,t,n)},TaggedTemplateExpression}(y),TemplateElement:function(e){function TemplateElement(){e.apply(this,arguments)}return e&&(TemplateElement.__proto__=e),TemplateElement.prototype=Object.create(e&&e.prototype),TemplateElement.prototype.constructor=TemplateElement,TemplateElement.prototype.initialise=function initialise(){this.program.indentExclusionElements.push(this)},TemplateElement}(y),TemplateLiteral:function(e){function TemplateLiteral(){e.apply(this,arguments)}return e&&(TemplateLiteral.__proto__=e),TemplateLiteral.prototype=Object.create(e&&e.prototype),TemplateLiteral.prototype.constructor=TemplateLiteral,TemplateLiteral.prototype.transpile=function transpile(t,n){if(n.templateString&&"TaggedTemplateExpression"!==this.parent.type){var o=this.expressions.concat(this.quasis).sort(function(e,t){return e.start-t.start||e.end-t.end}).filter(function(e,t){return"TemplateElement"!==e.type||(!!e.value.raw||!t)});if(o.length>=3){var r=o[0],i=o[2];"TemplateElement"===r.type&&""===r.value.raw&&"TemplateElement"===i.type&&o.shift()}var a=!(1===this.quasis.length&&0===this.expressions.length||"AssignmentExpression"===this.parent.type||"AssignmentPattern"===this.parent.type||"VariableDeclarator"===this.parent.type||"BinaryExpression"===this.parent.type&&"+"===this.parent.operator);a&&t.insertRight(this.start,"(");var s=this.start;o.forEach(function(e,n){if("TemplateElement"===e.type){var o="";n&&(o+=" + "),o+=JSON.stringify(e.value.cooked),t.overwrite(s,e.end,o)}else{var r="Identifier"!==e.type,i="";n&&(i+=" + "),r&&(i+="("),t.overwrite(s,e.start,i),r&&t.insertLeft(e.end,")")}s=e.end});var l="";a&&(l+=")"),t.overwrite(s,this.end,l)}e.prototype.transpile.call(this,t,n)},TemplateLiteral}(y),ThisExpression:function(e){function ThisExpression(){e.apply(this,arguments)}return e&&(ThisExpression.__proto__=e),ThisExpression.prototype=Object.create(e&&e.prototype),ThisExpression.prototype.constructor=ThisExpression,ThisExpression.prototype.initialise=function initialise(e){if(e.arrow){var t=this.findLexicalBoundary(),n=this.findNearest("ArrowFunctionExpression"),o=this.findNearest(E);(n&&n.depth>t.depth||o&&o.body.contains(this)&&o.depth>t.depth||o&&o.right&&o.right.contains(this))&&(this.alias=t.getThisAlias())}},ThisExpression.prototype.transpile=function transpile(e){this.alias&&e.overwrite(this.start,this.end,this.alias,!0)},ThisExpression}(y),UpdateExpression:function(e){function UpdateExpression(){e.apply(this,arguments)}return e&&(UpdateExpression.__proto__=e),UpdateExpression.prototype=Object.create(e&&e.prototype),UpdateExpression.prototype.constructor=UpdateExpression,UpdateExpression.prototype.initialise=function initialise(t){if("Identifier"===this.argument.type){var n=this.findScope(!1).findDeclaration(this.argument.name);if(n&&"const"===n.kind)throw new x(this,this.argument.name+" is read-only");var o=n&&n.node.ancestor(3);o&&"ForStatement"===o.type&&o.body.contains(this)&&(o.reassigned[this.argument.name]=!0)}e.prototype.initialise.call(this,t)},UpdateExpression}(y),VariableDeclaration:function(e){function VariableDeclaration(){e.apply(this,arguments)}return e&&(VariableDeclaration.__proto__=e),VariableDeclaration.prototype=Object.create(e&&e.prototype),VariableDeclaration.prototype.constructor=VariableDeclaration,VariableDeclaration.prototype.initialise=function initialise(e){this.scope=this.findScope("var"===this.kind),this.declarations.forEach(function(t){return t.initialise(e)})},VariableDeclaration.prototype.transpile=function transpile(e,t){var n=this,o=this.getIndentation(),r=this.kind;if(t.letConst&&"var"!==r&&(r="var",e.overwrite(this.start,this.start+this.kind.length,r,!0)),t.destructuring&&"ForOfStatement"!==this.parent.type){var i,a=this.start;this.declarations.forEach(function(r,s){if("Identifier"===r.id.type)s>0&&"Identifier"!==n.declarations[s-1].id.type&&e.overwrite(a,r.id.start,"var ");else{var l=E.test(n.parent.type);0===s?e.remove(a,r.id.start):e.overwrite(a,r.id.start,";\n"+o);var u="Identifier"===r.init.type&&!r.init.rewritten,c=u?r.init.name:r.findScope(!0).createIdentifier("ref"),p=[];u?e.remove(r.id.end,r.end):p.push(function(t,n,o){e.insertRight(r.id.end,"var "+c),e.insertLeft(r.init.end,""+o),e.move(r.id.end,r.end,t)}),destructure(e,r.findScope(!1),r.id,c,l,p);var d=l?"var ":"",f=l?", ":";\n"+o;p.forEach(function(e,t){s===n.declarations.length-1&&t===p.length-1&&(f=l?"":";"),e(r.start,0===t?d:"",f)})}r.transpile(e,t),a=r.end,i="Identifier"!==r.id.type}),i&&e.remove(a,this.end)}else this.declarations.forEach(function(n){n.transpile(e,t)})},VariableDeclaration}(y),VariableDeclarator:function(e){function VariableDeclarator(){e.apply(this,arguments)}return e&&(VariableDeclarator.__proto__=e),VariableDeclarator.prototype=Object.create(e&&e.prototype),VariableDeclarator.prototype.constructor=VariableDeclarator,VariableDeclarator.prototype.initialise=function initialise(t){var n=this.parent.kind;"let"===n&&"ForStatement"===this.parent.parent.type&&(n="for.let"),this.parent.scope.addDeclaration(this.id,n),e.prototype.initialise.call(this,t)},VariableDeclarator.prototype.transpile=function transpile(e,t){if(!this.init&&t.letConst&&"var"!==this.parent.kind){var n=this.findNearest(/Function|^For(In|Of)?Statement|^(?:Do)?WhileStatement/);!n||/Function/.test(n.type)||this.isLeftDeclaratorOfLoop()||e.insertLeft(this.id.end," = (void 0)")}this.id&&this.id.transpile(e,t),this.init&&this.init.transpile(e,t)},VariableDeclarator.prototype.isLeftDeclaratorOfLoop=function isLeftDeclaratorOfLoop(){return this.parent&&"VariableDeclaration"===this.parent.type&&this.parent.parent&&("ForInStatement"===this.parent.parent.type||"ForOfStatement"===this.parent.parent.type)&&this.parent.parent.left&&this.parent.parent.left.declarations[0]===this},VariableDeclarator}(y),WhileStatement:q},me={IfStatement:"consequent",ForStatement:"body",ForInStatement:"body",ForOfStatement:"body",WhileStatement:"body",DoWhileStatement:"body",ArrowFunctionExpression:"body"},he=/^(?:let|const)$/;Scope.prototype={addDeclaration:function addDeclaration(e,t){for(var n=0,o=extractNames(e);n<o.length;n+=1){var r=o[n],i=r.name,a=this.declarations[i];if(a&&(he.test(t)||he.test(a.kind)))throw new x(r,i+" is already declared");var s={name:i,node:r,kind:t,instances:[]};this.declarations[i]=s,this.isBlockScope&&(this.functionScope.blockScopedDeclarations[i]||(this.functionScope.blockScopedDeclarations[i]=[]),this.functionScope.blockScopedDeclarations[i].push(s))}},addReference:function addReference(e){this.consolidated?this.consolidateReference(e):this.identifiers.push(e)},consolidate:function consolidate(){for(var e=0;e<this.identifiers.length;e+=1){var t=this.identifiers[e];this.consolidateReference(t)}this.consolidated=!0},consolidateReference:function consolidateReference(e){var t=this.declarations[e.name];t?t.instances.push(e):(this.references[e.name]=!0,this.parent&&this.parent.addReference(e))},contains:function contains(e){return this.declarations[e]||!!this.parent&&this.parent.contains(e)},createIdentifier:function createIdentifier(e){"number"==typeof e&&(e=e.toString());for(var t=e=e.replace(/\s/g,"").replace(/\[([^\]]+)\]/g,"_$1").replace(/[^a-zA-Z0-9_$]/g,"_").replace(/_{2,}/,"_"),n=1;this.declarations[t]||this.references[t]||this.aliases[t]||t in D;)t=e+"$"+n++;return this.aliases[t]=!0,t},findDeclaration:function findDeclaration(e){return this.declarations[e]||this.parent&&this.parent.findDeclaration(e)}};var be=function(e){function BlockStatement(){e.apply(this,arguments)}return e&&(BlockStatement.__proto__=e),BlockStatement.prototype=Object.create(e&&e.prototype),BlockStatement.prototype.constructor=BlockStatement,BlockStatement.prototype.createScope=function createScope(){var e=this;this.parentIsFunction=/Function/.test(this.parent.type),this.isFunctionBlock=this.parentIsFunction||"Root"===this.parent.type,this.scope=new Scope({block:!this.isFunctionBlock,parent:this.parent.findScope(!1)}),this.parentIsFunction&&this.parent.params.forEach(function(t){e.scope.addDeclaration(t,"param")})},BlockStatement.prototype.initialise=function initialise(e){this.thisAlias=null,this.argumentsAlias=null,this.defaultParameters=[],this.scope||this.createScope(),this.body.forEach(function(t){return t.initialise(e)}),this.scope.consolidate()},BlockStatement.prototype.findLexicalBoundary=function findLexicalBoundary(){return"Program"===this.type?this:/^Function/.test(this.parent.type)?this:this.parent.findLexicalBoundary()},BlockStatement.prototype.findScope=function findScope(e){return e&&!this.isFunctionBlock?this.parent.findScope(e):this.scope},BlockStatement.prototype.getArgumentsAlias=function getArgumentsAlias(){return this.argumentsAlias||(this.argumentsAlias=this.scope.createIdentifier("arguments")),this.argumentsAlias},BlockStatement.prototype.getArgumentsArrayAlias=function getArgumentsArrayAlias(){return this.argumentsArrayAlias||(this.argumentsArrayAlias=this.scope.createIdentifier("argsArray")),this.argumentsArrayAlias},BlockStatement.prototype.getThisAlias=function getThisAlias(){return this.thisAlias||(this.thisAlias=this.scope.createIdentifier("this")),this.thisAlias},BlockStatement.prototype.getIndentation=function getIndentation(){if(void 0===this.indentation){for(var e=this.program.magicString.original,t=this.synthetic||!this.body.length,n=t?this.start:this.body[0].start;n&&"\n"!==e[n];)n-=1;for(this.indentation="";;){var o=e[n+=1];if(" "!==o&&"\t"!==o)break;this.indentation+=o}for(var r=this.program.magicString.getIndentString(),i=this.parent;i;)"constructor"!==i.kind||i.parent.parent.superClass||(this.indentation=this.indentation.replace(r,"")),i=i.parent;t&&(this.indentation+=r)}return this.indentation},BlockStatement.prototype.transpile=function transpile(t,n){var o=this,r=this.getIndentation(),i=[];if(this.argumentsAlias&&i.push(function(e,n,r){var i=n+"var "+o.argumentsAlias+" = arguments"+r;t.insertLeft(e,i)}),this.thisAlias&&i.push(function(e,n,r){var i=n+"var "+o.thisAlias+" = this"+r;t.insertLeft(e,i)}),this.argumentsArrayAlias&&i.push(function(e,n,i){var a=o.scope.createIdentifier("i"),s=n+"var "+a+" = arguments.length, "+o.argumentsArrayAlias+" = Array("+a+");\n"+r+"while ( "+a+"-- ) "+o.argumentsArrayAlias+"["+a+"] = arguments["+a+"]"+i;t.insertLeft(e,s)}),/Function/.test(this.parent.type)&&this.transpileParameters(t,n,r,i),n.letConst&&this.isFunctionBlock&&this.transpileBlockScopedIdentifiers(t),e.prototype.transpile.call(this,t,n),this.synthetic)if("ArrowFunctionExpression"===this.parent.type){var a=this.body[0];i.length?(t.insertLeft(this.start,"{").insertRight(this.end,this.parent.getIndentation()+"}"),t.insertRight(a.start,"\n"+r+"return "),t.insertLeft(a.end,";\n")):n.arrow&&(t.insertLeft(a.start,"{ return "),t.insertLeft(a.end,"; }"))}else i.length&&t.insertLeft(this.start,"{").insertRight(this.end,"}");var s;s=function isUseStrict(e){return!!e&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"use strict"===e.expression.value}(this.body[0])?this.body[0].end:this.synthetic||"Root"===this.parent.type?this.start:this.start+1;var l="\n"+r,u=";";i.forEach(function(e,t){t===i.length-1&&(u=";\n"),e(s,l,u)})},BlockStatement.prototype.transpileParameters=function transpileParameters(e,t,n,o){var r=this,i=this.parent.params;i.forEach(function(a){if("AssignmentPattern"===a.type&&"Identifier"===a.left.type)t.defaultParameter&&o.push(function(t,n,o){var r=n+"if ( "+a.left.name+" === void 0 ) "+a.left.name;e.insertRight(a.left.end,r).move(a.left.end,a.right.end,t).insertLeft(a.right.end,o)});else if("RestElement"===a.type)t.spreadRest&&o.push(function(t,o,s){var l=i[i.length-2];if(l)e.remove(l?l.end:a.start,a.end);else{for(var u=a.start,c=a.end;/\s/.test(e.original[u-1]);)u-=1;for(;/\s/.test(e.original[c]);)c+=1;e.remove(u,c)}var p=a.argument.name,d=r.scope.createIdentifier("len"),f=i.length-1;f?e.insertLeft(t,o+"var "+p+" = [], "+d+" = arguments.length - "+f+";\n"+n+"while ( "+d+"-- > 0 ) "+p+"[ "+d+" ] = arguments[ "+d+" + "+f+" ]"+s):e.insertLeft(t,o+"var "+p+" = [], "+d+" = arguments.length;\n"+n+"while ( "+d+"-- ) "+p+"[ "+d+" ] = arguments[ "+d+" ]"+s)});else if("Identifier"!==a.type&&t.parameterDestructuring){var s=r.scope.createIdentifier("ref");destructure(e,r.scope,a,s,!1,o),e.insertLeft(a.start,s)}})},BlockStatement.prototype.transpileBlockScopedIdentifiers=function transpileBlockScopedIdentifiers(e){var t=this;Object.keys(this.scope.blockScopedDeclarations).forEach(function(n){for(var o=0,r=t.scope.blockScopedDeclarations[n];o<r.length;o+=1){var i=r[o],a=!1;if("for.let"===i.kind){var s=i.node.findNearest("ForStatement");if(s.shouldRewriteAsFunction){var l=t.scope.createIdentifier(n),u=s.reassigned[n]?t.scope.createIdentifier(n):n;i.name=l,e.overwrite(i.node.start,i.node.end,l,!0),s.aliases[n]={outer:l,inner:u};for(var c=0,p=i.instances;c<p.length;c+=1){var d=p[c],f=s.body.contains(d)?u:l;n!==f&&e.overwrite(d.start,d.end,f,!0)}a=!0}}if(!a){var m=t.scope.createIdentifier(n);if(n!==m){i.name=m,e.overwrite(i.node.start,i.node.end,m,!0);for(var h=0,b=i.instances;h<b.length;h+=1){var g=b[h];g.rewritten=!0,e.overwrite(g.start,g.end,m,!0)}}}}})},BlockStatement}(y);Program.prototype={export:function export$1(e){return void 0===e&&(e={}),{code:this.magicString.toString(),map:this.magicString.generateMap({file:e.file,source:e.source,includeContent:!1!==e.includeContent})}},findNearest:function findNearest(){return null},findScope:function findScope(){return null}};var ge={chrome:{48:1333689725,49:1342078975,50:1610514431,51:1610514431,52:2147385343},firefox:{43:1207307741,44:1207307741,45:1207307741,46:1476267485,47:1476296671,48:1476296671},safari:{8:1073741824,9:1328940894},ie:{8:0,9:1073741824,10:1073741824,11:1073770592},edge:{12:1591620701,13:1608400479},node:{"0.10":1075052608,.12:1091830852,4:1327398527,5:1327398527,6:1610514431}},Ae=["arrow","classes","collections","computedProperty","conciseMethodProperty","constLoop","constRedef","defaultParameter","destructuring","extendNatives","forOf","generator","letConst","letLoop","letLoopScope","moduleExport","moduleImport","numericLiteral","objectProto","objectSuper","oldOctalLiteral","parameterDestructuring","spreadRest","stickyRegExp","symbol","templateString","unicodeEscape","unicodeIdentifier","unicodeRegExp","exponentiation","reservedProperties"],ve=[h,f].reduce(function(e,t){return t(e)},u).parse,Ce=["dangerousTaggedTemplateString","dangerousForOf"];t.target=target,t.transform=function transform(e,t){void 0===t&&(t={});var n,o=null;try{n=ve(e,{ecmaVersion:7,preserveParens:!0,sourceType:"module",onComment:function(e,t){if(!o){var n=/@jsx\s+([^\s]+)/.exec(t);n&&(o=n[1])}},plugins:{jsx:!0,objectSpread:!0}}),t.jsx=o||t.jsx}catch(t){throw t.snippet=getSnippet(e,t.loc),t.toString=function(){return t.name+": "+t.message+"\n"+t.snippet},t}var r=target(t.target||{});return Object.keys(t.transforms||{}).forEach(function(e){if("modules"===e)return"moduleImport"in t.transforms||(r.moduleImport=t.transforms.modules),void("moduleExport"in t.transforms||(r.moduleExport=t.transforms.modules));if(!(e in r))throw new Error("Unknown transform '"+e+"'");r[e]=t.transforms[e]}),new Program(e,n,r,t).export(t)},t.VERSION="0.16.0",Object.defineProperty(t,"__esModule",{value:!0})})}).call(t,n(18),n(169).Buffer)},function(e,t){e.exports=function clipboardCopy(e){var t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre";var n=document.createElement("iframe");n.sandbox="allow-same-origin",document.body.appendChild(n);var o=n.contentWindow;o.document.body.appendChild(t);var r=o.getSelection();r||(r=(o=window).getSelection(),document.body.appendChild(t));var i=o.document.createRange();r.removeAllRanges(),i.selectNode(t),r.addRange(i);var a=!1;try{a=o.document.execCommand("copy")}catch(e){}return r.removeAllRanges(),t.remove(),n.remove(),a}},function(e,t){e.exports={"align-content":"stretch","align-items":"stretch","align-self":"auto","animation-delay":"0s","animation-direction":"normal","animation-duration":"0s","animation-fill-mode":"none","animation-iteration-count":"1","animation-name":"none","animation-play-state":"running","animation-timing-function":"ease",azimuth:"center","backface-visibility":"visible","background-attachment":"scroll","background-blend-mode":"normal","background-clip":"border-box","background-color":"transparent","background-image":"none","background-origin":"padding-box","background-position":"0% 0%","background-repeat":"repeat","background-size":"auto auto","block-size":"auto","border-block-end-color":"currentcolor","border-block-end-style":"none","border-block-end-width":"medium","border-block-start-color":"currentcolor","border-block-start-style":"none","border-block-start-width":"medium","border-bottom-color":"currentcolor","border-bottom-left-radius":"0","border-bottom-right-radius":"0","border-bottom-style":"none","border-bottom-width":"medium","border-collapse":"separate","border-image-outset":"0s","border-image-repeat":"stretch","border-image-slice":"100%","border-image-source":"none","border-image-width":"1","border-inline-end-color":"currentcolor","border-inline-end-style":"none","border-inline-end-width":"medium","border-inline-start-color":"currentcolor","border-inline-start-style":"none","border-inline-start-width":"medium","border-left-color":"currentcolor","border-left-style":"none","border-left-width":"medium","border-right-color":"currentcolor","border-right-style":"none","border-right-width":"medium","border-spacing":"0","border-top-color":"currentcolor","border-top-left-radius":"0","border-top-right-radius":"0","border-top-style":"none","border-top-width":"medium",bottom:"auto","box-decoration-break":"slice","box-shadow":"none","box-sizing":"content-box","break-after":"auto","break-before":"auto","break-inside":"auto","caption-side":"top","caret-color":"auto",clear:"none",clip:"auto","clip-path":"none",color:"initial","column-count":"auto","column-fill":"balance","column-gap":"normal","column-rule-color":"currentcolor","column-rule-style":"none","column-rule-width":"medium","column-span":"none","column-width":"auto",content:"normal","counter-increment":"none","counter-reset":"none",cursor:"auto",display:"inline","empty-cells":"show",filter:"none","flex-basis":"auto","flex-direction":"row","flex-grow":"0","flex-shrink":"1","flex-wrap":"nowrap",float:"none","font-family":"initial","font-feature-settings":"normal","font-kerning":"auto","font-language-override":"normal","font-size":"medium","font-size-adjust":"none","font-stretch":"normal","font-style":"normal","font-synthesis":"weight style","font-variant":"normal","font-variant-alternates":"normal","font-variant-caps":"normal","font-variant-east-asian":"normal","font-variant-ligatures":"normal","font-variant-numeric":"normal","font-variant-position":"normal","font-weight":"normal","grid-auto-columns":"auto","grid-auto-flow":"row","grid-auto-rows":"auto","grid-column-end":"auto","grid-column-gap":"0","grid-column-start":"auto","grid-row-end":"auto","grid-row-gap":"0","grid-row-start":"auto","grid-template-areas":"none","grid-template-columns":"none","grid-template-rows":"none",height:"auto",hyphens:"manual","image-orientation":"0deg","image-rendering":"auto","image-resolution":"1dppx","ime-mode":"auto","inline-size":"auto",isolation:"auto","justify-content":"flex-start",left:"auto","letter-spacing":"normal","line-break":"auto","line-height":"normal","list-style-image":"none","list-style-position":"outside","list-style-type":"disc","margin-block-end":"0","margin-block-start":"0","margin-bottom":"0","margin-inline-end":"0","margin-inline-start":"0","margin-left":"0","margin-right":"0","margin-top":"0","mask-clip":"border-box","mask-composite":"add","mask-image":"none","mask-mode":"match-source","mask-origin":"border-box","mask-position":"0% 0%","mask-repeat":"repeat","mask-size":"auto","mask-type":"luminance","max-height":"none","max-width":"none","min-block-size":"0","min-height":"0","min-inline-size":"0","min-width":"0","mix-blend-mode":"normal","object-fit":"fill","object-position":"50% 50%","offset-block-end":"auto","offset-block-start":"auto","offset-inline-end":"auto","offset-inline-start":"auto",opacity:"1.0",order:"0",orphans:"2","outline-color":"initial","outline-offset":"0","outline-style":"none","outline-width":"medium",overflow:"visible","overflow-wrap":"normal","overflow-x":"visible","overflow-y":"visible","padding-block-end":"0","padding-block-start":"0","padding-bottom":"0","padding-inline-end":"0","padding-inline-start":"0","padding-left":"0","padding-right":"0","padding-top":"0","page-break-after":"auto","page-break-before":"auto","page-break-inside":"auto",perspective:"none","perspective-origin":"50% 50%","pointer-events":"auto",position:"static",quotes:"initial",resize:"none",right:"auto","ruby-align":"space-around","ruby-merge":"separate","ruby-position":"over","scroll-behavior":"auto","scroll-snap-coordinate":"none","scroll-snap-destination":"0px 0px","scroll-snap-points-x":"none","scroll-snap-points-y":"none","scroll-snap-type":"none","shape-image-threshold":"0.0","shape-margin":"0","shape-outside":"none","tab-size":"8","table-layout":"auto","text-align":"initial","text-align-last":"auto","text-combine-upright":"none","text-decoration-color":"currentcolor","text-decoration-line":"none","text-decoration-style":"solid","text-emphasis-color":"currentcolor","text-emphasis-position":"over right","text-emphasis-style":"none","text-indent":"0","text-justify":"auto","text-orientation":"mixed","text-overflow":"clip","text-rendering":"auto","text-shadow":"none","text-transform":"none","text-underline-position":"auto",top:"auto","touch-action":"auto",transform:"none","transform-box":"border-box ","transform-origin":"50% 50% 0","transform-style":"flat","transition-delay":"0s","transition-duration":"0s","transition-property":"all","transition-timing-function":"ease","vertical-align":"baseline",visibility:"visible","white-space":"normal",widows:"2",width:"auto","will-change":"auto","word-break":"normal","word-spacing":"normal","word-wrap":"normal","writing-mode":"horizontal-tb","z-index":"auto","-webkit-appearance":"none","-moz-appearance":"none","-ms-appearance":"none",appearance:"none"}},function(e,t){e.exports={azimuth:"center","border-collapse":"separate","border-spacing":"0","caption-side":"top","caret-color":"auto",color:"initial",cursor:"auto","empty-cells":"show","font-family":"initial","font-feature-settings":"normal","font-kerning":"auto","font-language-override":"normal","font-size":"medium","font-size-adjust":"none","font-stretch":"normal","font-style":"normal","font-synthesis":"weight style","font-variant":"normal","font-variant-alternates":"normal","font-variant-caps":"normal","font-variant-east-asian":"normal","font-variant-ligatures":"normal","font-variant-numeric":"normal","font-variant-position":"normal","font-weight":"normal",hyphens:"manual","image-orientation":"0deg","image-rendering":"auto","image-resolution":"1dppx","letter-spacing":"normal","line-height":"normal","list-style-image":"none","list-style-position":"outside","list-style-type":"disc","object-position":"50% 50%",orphans:"2","overflow-wrap":"normal","pointer-events":"auto",quotes:"initial","ruby-align":"space-around","ruby-merge":"separate","ruby-position":"over","tab-size":"8","text-align":"initial","text-align-last":"auto","text-combine-upright":"none","text-indent":"0","text-justify":"auto","text-orientation":"mixed","text-rendering":"auto","text-shadow":"none","text-transform":"none","text-underline-position":"auto",visibility:"visible","white-space":"normal",widows:"2","word-break":"normal","word-spacing":"normal","word-wrap":"normal","writing-mode":"horizontal-tb","-webkit-appearance":"none","-moz-appearance":"none","-ms-appearance":"none",appearance:"none"}},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-action{display:inline-block}.pul-action--nowrap{white-space:nowrap}.pul-action__icon{float:left}.pul-action--size-sm{padding-left:20px}.pul-action--size-sm .pul-action__icon{margin-top:1px;margin-left:-20px}.pul-action--size-md{padding-top:7px;padding-left:38px}.pul-action--size-md .pul-action__icon{margin-top:-7px;margin-left:-38px}.pul-action--size-lg{padding-top:15px;padding-left:58px}.pul-action--size-lg .pul-action__icon{margin-top:-15px;margin-left:-58px}.pul-action--size-xl{padding-top:23px;padding-left:74px}.pul-action--size-xl .pul-action__icon{margin-top:-23px;margin-left:-74px}.pul-action--size-xxl{padding-top:39px;padding-left:106px}.pul-action--size-xxl .pul-action__icon{margin-top:-39px;margin-left:-106px}.pul-action__right-addon{display:inline-block;margin-left:4px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Action/Action.less"],names:[],mappings:"AAAA,YACE,oBAAsB,CACvB,AACD,oBACE,kBAAoB,CACrB,AACD,kBACE,UAAY,CACb,AACD,qBACE,iBAAmB,CACpB,AACD,uCACE,eAAgB,AAChB,iBAAmB,CACpB,AACD,qBACE,gBAAiB,AACjB,iBAAmB,CACpB,AACD,uCACE,gBAAiB,AACjB,iBAAmB,CACpB,AACD,qBACE,iBAAkB,AAClB,iBAAmB,CACpB,AACD,uCACE,iBAAkB,AAClB,iBAAmB,CACpB,AACD,qBACE,iBAAkB,AAClB,iBAAmB,CACpB,AACD,uCACE,iBAAkB,AAClB,iBAAmB,CACpB,AACD,sBACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,wCACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,yBACE,qBAAsB,AACtB,eAAiB,CAClB",file:"Action.less",sourcesContent:[".pul-action {\n display: inline-block;\n}\n.pul-action--nowrap {\n white-space: nowrap;\n}\n.pul-action__icon {\n float: left;\n}\n.pul-action--size-sm {\n padding-left: 20px;\n}\n.pul-action--size-sm .pul-action__icon {\n margin-top: 1px;\n margin-left: -20px;\n}\n.pul-action--size-md {\n padding-top: 7px;\n padding-left: 38px;\n}\n.pul-action--size-md .pul-action__icon {\n margin-top: -7px;\n margin-left: -38px;\n}\n.pul-action--size-lg {\n padding-top: 15px;\n padding-left: 58px;\n}\n.pul-action--size-lg .pul-action__icon {\n margin-top: -15px;\n margin-left: -58px;\n}\n.pul-action--size-xl {\n padding-top: 23px;\n padding-left: 74px;\n}\n.pul-action--size-xl .pul-action__icon {\n margin-top: -23px;\n margin-left: -74px;\n}\n.pul-action--size-xxl {\n padding-top: 39px;\n padding-left: 106px;\n}\n.pul-action--size-xxl .pul-action__icon {\n margin-top: -39px;\n margin-left: -106px;\n}\n.pul-action__right-addon {\n display: inline-block;\n margin-left: 4px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-alert{padding:10px;margin-bottom:12px;background-color:#f0f0f0}*+.pul-alert{margin-top:12px}.pul-alert .close{text-shadow:none;float:right;line-height:16px;margin-left:10px;text-align:center;cursor:pointer}.pul-alert .close:hover{opacity:.8}.pul-alert .close:before{content:"\\2715";font-weight:700;font-size:13px}.pul-alert .btn{margin:0;vertical-align:inherit}.pul-alert .b-indent>p,.pul-alert .b-indent>ul,.pul-alert>p,.pul-alert>ul{margin-bottom:0}.pul-alert .b-indent+.b-indent,.pul-alert .b-indent+p,.pul-alert .b-indent>p+.b-indent,.pul-alert .b-indent>p+p,.pul-alert>p+.b-indent,.pul-alert>p+p{margin-top:8px}.pul-alert--success{background-color:#bcdf94}.pul-alert--success hr{border-top-color:#a3d36d}.pul-alert--info{background-color:#c6e5fa}.pul-alert--info hr{border-top-color:#97d0f6}.pul-alert--warning{background-color:#fdd896}.pul-alert--warning hr{border-top-color:#fcc564}.pul-alert--danger{background-color:#f4b3b3}.pul-alert--danger hr{border-top-color:#ee8686}.panel .pul-alert{padding:10px 9px;margin-left:-10px;margin-right:-10px}.panel .pul-alert .close:before{font-size:11px}.panel .pul-alert .btn{min-height:0;padding:3px 5px;font-size:inherit}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Alert/Alert.less"],names:[],mappings:"AAcA,WACE,aAAc,AACd,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,aACE,eAAiB,CAClB,AACD,kBACE,iBAAkB,AAClB,YAAa,AACb,iBAAkB,AAClB,iBAAkB,AAClB,kBAAmB,AACnB,cAAgB,CACjB,AACD,wBACE,UAAa,CACd,AACD,yBACE,gBAAiB,AACjB,gBAAiB,AACjB,cAAgB,CACjB,AACD,gBACE,SAAU,AACV,sBAAwB,CACzB,AACD,0EAIE,eAAiB,CAClB,AAOD,sJAEE,cAAgB,CACjB,AACD,oBACE,wBAA0B,CAC3B,AACD,uBACE,wBAA0B,CAC3B,AACD,iBACE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,uBACE,wBAA0B,CAC3B,AACD,mBACE,wBAA0B,CAC3B,AACD,sBACE,wBAA0B,CAC3B,AACD,kBACE,iBAAkB,AAClB,kBAAmB,AACnB,kBAAoB,CACrB,AACD,gCACE,cAAgB,CACjB,AACD,uBACE,aAAc,AACd,gBAAiB,AACjB,iBAAmB,CACpB",file:"Alert.less",sourcesContent:['/*\nAlert\n\nMarkup:\n<div class="alert .modifier">\n {{children}}\n</div>\n\nModifiers:\n.alert--success\n.alert--warning\n.alert--danger\n.alert--info\n*/\n.pul-alert {\n padding: 10px;\n margin-bottom: 12px;\n background-color: #f0f0f0;\n}\n* + .pul-alert {\n margin-top: 12px;\n}\n.pul-alert .close {\n text-shadow: none;\n float: right;\n line-height: 16px;\n margin-left: 10px;\n text-align: center;\n cursor: pointer;\n}\n.pul-alert .close:hover {\n opacity: 0.8;\n}\n.pul-alert .close::before {\n content: "\\2715";\n font-weight: 700;\n font-size: 13px;\n}\n.pul-alert .btn {\n margin: 0;\n vertical-align: inherit;\n}\n.pul-alert > p,\n.pul-alert .b-indent > p,\n.pul-alert > ul,\n.pul-alert .b-indent > ul {\n margin-bottom: 0;\n}\n.pul-alert > p + p,\n.pul-alert .b-indent > p + p,\n.pul-alert > p + .b-indent,\n.pul-alert .b-indent > p + .b-indent {\n margin-top: 8px;\n}\n.pul-alert .b-indent + .b-indent,\n.pul-alert .b-indent + p {\n margin-top: 8px;\n}\n.pul-alert--success {\n background-color: #bcdf94;\n}\n.pul-alert--success hr {\n border-top-color: #a3d36d;\n}\n.pul-alert--info {\n background-color: #c6e5fa;\n}\n.pul-alert--info hr {\n border-top-color: #97d0f6;\n}\n.pul-alert--warning {\n background-color: #fdd896;\n}\n.pul-alert--warning hr {\n border-top-color: #fcc564;\n}\n.pul-alert--danger {\n background-color: #f4b3b3;\n}\n.pul-alert--danger hr {\n border-top-color: #ee8686;\n}\n.panel .pul-alert {\n padding: 10px 9px;\n margin-left: -10px;\n margin-right: -10px;\n}\n.panel .pul-alert .close::before {\n font-size: 11px;\n}\n.panel .pul-alert .btn {\n min-height: 0;\n padding: 3px 5px;\n font-size: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-auxiliary-actions,.pul-auxiliary-actions a{color:#7aa9bf}.pul-auxiliary-actions a:hover{color:#94c2d8}.pul-auxiliary-actions:before{content:"["}.pul-auxiliary-actions:after{content:"]"}.pul-auxiliary-actions__separator{font-size:10px;vertical-align:1px}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/AuxiliaryActions/AuxiliaryActions.less"],names:[],mappings:"AAAA,gDAEE,aAAe,CAChB,AACD,+BACE,aAAe,CAChB,AACD,8BACE,WAAa,CACd,AACD,6BACE,WAAa,CACd,AACD,kCACE,eAAgB,AAChB,kBAAoB,CACrB",file:"AuxiliaryActions.less",sourcesContent:['.pul-auxiliary-actions,\n.pul-auxiliary-actions a {\n color: #7aa9bf;\n}\n.pul-auxiliary-actions a:hover {\n color: #94c2d8;\n}\n.pul-auxiliary-actions::before {\n content: "[";\n}\n.pul-auxiliary-actions::after {\n content: "]";\n}\n.pul-auxiliary-actions__separator {\n font-size: 10px;\n vertical-align: 1px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-badge{position:relative;display:inline-block}.pul-badge__value{position:absolute;top:0;right:10px;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%);padding:1px 6px;z-index:1}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Badge/Badge.less"],names:[],mappings:"AAAA,WACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,kBACE,kBAAmB,AACnB,MAAO,AACP,WAAY,AACZ,oDAAqD,AAC7C,4CAA6C,AACrD,gBAAiB,AACjB,SAAW,CACZ",file:"Badge.less",sourcesContent:[".pul-badge {\n position: relative;\n display: inline-block;\n}\n.pul-badge__value {\n position: absolute;\n top: 0;\n right: 10px;\n -webkit-transform: translateY(-50%) translateX(100%);\n transform: translateY(-50%) translateX(100%);\n padding: 1px 6px;\n z-index: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:30px;min-width:30px;margin:0;padding:5px 8px;cursor:pointer;text-align:center;vertical-align:middle;white-space:nowrap;text-decoration:none;text-transform:none;color:#373737;border:1px solid transparent;border-radius:0;background-color:#dedede;font:inherit;font-size:13px;line-height:18px}.pul-button::-moz-focus-inner{border:0;padding:0}.pul-button.pul-button--hovered,.pul-button:focus,.pul-button:hover{text-decoration:none;color:#fff;outline:none;background-color:#1e96c9}.pul-button.pul-button--hovered .pul-button__icon,.pul-button:focus .pul-button__icon,.pul-button:hover .pul-button__icon{color:currentColor}.pul-button.pul-button--active,.pul-button:active{color:#fff;background-color:#0e78a6}.pul-button.pul-button--active .pul-button__icon,.pul-button:active .pul-button__icon{color:currentColor}.pul-button--primary{background-color:#0f7faf;color:#fff}.pul-button--primary .pul-button__icon{color:currentColor}.pul-button--primary.pul-button--hovered,.pul-button--primary:focus,.pul-button--primary:hover{color:#fff;background-color:#1e96c9}.pul-button--primary.pul-button--active,.pul-button--primary:active{color:#fff;background-color:#0e78a6}.pul-button--secondary{border-color:#2498e3;background-color:#fff;color:#2498e3}.pul-button--secondary .pul-button__icon{color:currentColor}.pul-button--secondary.pul-button--hovered,.pul-button--secondary:focus,.pul-button--secondary:hover{color:#2498e3;background-color:#ecf5f9}.pul-button--secondary.pul-button--active,.pul-button--secondary:active{color:#2498e3;background-color:#d9ebf3}.pul-button--secondary.pul-button--disabled,.pul-button--secondary.pul-button--loading,.pul-button--secondary[disabled]{border-color:#b9b9b9}.pul-button--success{background-color:#bcdf94;color:#373737}.pul-button--success .pul-button__icon{color:#71a832}.pul-button--success.pul-button--hovered,.pul-button--success:focus,.pul-button--success:hover{color:#373737;background-color:#a3d36d}.pul-button--success.pul-button--hovered .pul-button__icon,.pul-button--success:focus .pul-button__icon,.pul-button--success:hover .pul-button__icon{color:#578126}.pul-button--success.pul-button--active,.pul-button--success:active{color:#373737;background-color:#97cd59}.pul-button--warning{background-color:#fdd896;color:#373737}.pul-button--warning .pul-button__icon{color:#f59f05}.pul-button--warning.pul-button--hovered,.pul-button--warning:focus,.pul-button--warning:hover{color:#373737;background-color:#fcc564}.pul-button--warning.pul-button--hovered .pul-button__icon,.pul-button--warning:focus .pul-button__icon,.pul-button--warning:hover .pul-button__icon{color:#c37e04}.pul-button--warning.pul-button--active,.pul-button--warning:active{color:#373737;background-color:#fcbc4b}.pul-button--danger{background-color:#f4b3b3;color:#373737}.pul-button--danger .pul-button__icon{color:#e12d2d}.pul-button--danger.pul-button--hovered,.pul-button--danger:focus,.pul-button--danger:hover{color:#373737;background-color:#ee8686}.pul-button--danger.pul-button--hovered .pul-button__icon,.pul-button--danger:focus .pul-button__icon,.pul-button--danger:hover .pul-button__icon{color:#bf1c1c}.pul-button--danger.pul-button--active,.pul-button--danger:active{color:#373737;background-color:#ea7070}.pul-button--info{background-color:#c6e5fa;color:#373737}.pul-button--info .pul-button__icon{color:#39a5ee}.pul-button--info.pul-button--hovered,.pul-button--info:focus,.pul-button--info:hover{color:#373737;background-color:#97d0f6}.pul-button--info.pul-button--hovered .pul-button__icon,.pul-button--info:focus .pul-button__icon,.pul-button--info:hover .pul-button__icon{color:#148ee0}.pul-button--info.pul-button--active,.pul-button--info:active{color:#373737;background-color:#80c5f4}.pul-button--selected{border-color:gray;color:#fff;background-color:gray}.pul-button--selected .pul-button__icon{color:currentColor}.pul-button--selected.pul-button--hovered,.pul-button--selected:focus,.pul-button--selected:hover{border-color:#909090;color:#fff;background-color:#909090}.pul-button--selected.pul-button--active,.pul-button--selected:active{border-color:#707070;color:#fff;background-color:#707070}.pul-button--disabled,.pul-button--disabled:active,.pul-button--disabled:focus,.pul-button--disabled:hover,.pul-button--loading,.pul-button--loading:active,.pul-button--loading:focus,.pul-button--loading:hover,.pul-button[disabled],.pul-button[disabled]:active,.pul-button[disabled]:focus,.pul-button[disabled]:hover{color:#b9b9b9;background-color:#e8e8e8;cursor:not-allowed}.pul-button--disabled .pul-button__icon,.pul-button--disabled .pul-icon,.pul-button[disabled] .pul-button__icon,.pul-button[disabled] .pul-icon{opacity:.7;-webkit-filter:grayscale(100%);filter:grayscale(100%)}.pul-button--loading{position:relative;cursor:default;pointer-events:none}.pul-button--loading:before{display:inline-block;content:"";box-sizing:border-box;width:16px;height:16px;margin-right:6px;vertical-align:-3px;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-button--spin .7s linear;animation:pul-button--spin .7s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;box-shadow:0 0 0 1px transparent}.pul-button--loading .pul-button__icon{display:none}.pul-button__icon{margin-right:6px;color:#969696}.pul-button__caret{display:inline-block;width:0;height:0;margin-left:6px;vertical-align:2px;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.pul-button--empty{padding:5px}.pul-button--empty .pul-button__icon,.pul-button--empty .pul-icon{margin:0}.pul-button--empty.pul-button--loading:before{margin-right:0}.pul-button--empty .pul-button__caret{margin-left:0}.pul-button--empty .pul-button__icon+.pul-button__caret{margin-left:6px}.pul-button__icon--archive{background-image:url('+n(356)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--archive,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--archive{background-image:url("+n(355)+")}.pul-button__icon--arrow-right{background-image:url("+n(358)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--arrow-right,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--arrow-right{background-image:url("+n(357)+")}.pul-button__icon--backup{background-image:url("+n(360)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--backup,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--backup{background-image:url("+n(359)+")}.pul-button__icon--clean{background-image:url("+n(362)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clean,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clean{background-image:url("+n(361)+")}.pul-button__icon--clock{background-image:url("+n(364)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clock{background-image:url("+n(363)+")}.pul-button__icon--copy{background-image:url("+n(366)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--copy,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--copy{background-image:url("+n(365)+")}.pul-button__icon--customize-order{background-image:url("+n(368)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--customize-order,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--customize-order{background-image:url("+n(367)+")}.pul-button__icon--download{background-image:url("+n(370)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--download,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--download{background-image:url("+n(369)+")}.pul-button__icon--edit{background-image:url("+n(372)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--edit,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--edit{background-image:url("+n(371)+")}.pul-button__icon--folder{background-image:url("+n(374)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--folder,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--folder{background-image:url("+n(373)+")}.pul-button__icon--globe{background-image:url("+n(378)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe{background-image:url("+n(375)+")}.pul-button__icon--globe-alt{background-image:url("+n(377)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe-alt{background-image:url("+n(376)+")}.pul-button__icon--import{background-image:url("+n(380)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--import,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--import{background-image:url("+n(379)+")}.pul-button__icon--invisible{background-image:url("+n(382)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--invisible,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--invisible{background-image:url("+n(381)+")}.pul-button__icon--link{background-image:url("+n(384)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--link,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--link{background-image:url("+n(383)+")}.pul-button__icon--list{background-image:url("+n(386)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--list,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--list{background-image:url("+n(385)+")}.pul-button__icon--lock{background-image:url("+n(388)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--lock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--lock{background-image:url("+n(387)+")}.pul-button__icon--ok-app{background-image:url("+n(390)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-app,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-app{background-image:url("+n(389)+")}.pul-button__icon--ok-circle{background-image:url("+n(392)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-circle{background-image:url("+n(391)+")}.pul-button__icon--plugins{background-image:url("+n(394)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plugins,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plugins{background-image:url("+n(393)+")}.pul-button__icon--plus{background-image:url("+n(396)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plus,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plus{background-image:url("+n(395)+")}.pul-button__icon--power{background-image:url("+n(398)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--power,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--power{background-image:url("+n(397)+")}.pul-button__icon--question-circle{background-image:url("+n(400)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--question-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--question-circle{background-image:url("+n(399)+")}.pul-button__icon--refresh{background-image:url("+n(402)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--refresh,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--refresh{background-image:url("+n(401)+")}.pul-button__icon--reload{background-image:url("+n(404)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--reload,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--reload{background-image:url("+n(403)+")}.pul-button__icon--remove{background-image:url("+n(410)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove{background-image:url("+n(405)+")}.pul-button__icon--remove-app{background-image:url("+n(407)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-app,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-app{background-image:url("+n(406)+")}.pul-button__icon--remove-circle{background-image:url("+n(409)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-circle,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-circle{background-image:url("+n(408)+")}.pul-button__icon--search{background-image:url("+n(412)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--search,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--search{background-image:url("+n(411)+")}.pul-button__icon--security-scan{background-image:url("+n(414)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--security-scan,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--security-scan{background-image:url("+n(413)+")}.pul-button__icon--settings{background-image:url("+n(416)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--settings,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--settings{background-image:url("+n(415)+")}.pul-button__icon--share{background-image:url("+n(418)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--share,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--share{background-image:url("+n(417)+")}.pul-button__icon--shopping-cart{background-image:url("+n(420)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--shopping-cart,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--shopping-cart{background-image:url("+n(419)+")}.pul-button__icon--start{background-image:url("+n(422)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--start,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--start{background-image:url("+n(421)+")}.pul-button__icon--stop{background-image:url("+n(424)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--stop,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--stop{background-image:url("+n(423)+")}.pul-button__icon--suspend{background-image:url("+n(426)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--suspend,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--suspend{background-image:url("+n(425)+")}.pul-button__icon--themes{background-image:url("+n(428)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--themes,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--themes{background-image:url("+n(427)+")}.pul-button__icon--unarchive{background-image:url("+n(430)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unarchive,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unarchive{background-image:url("+n(429)+")}.pul-button__icon--unlock{background-image:url("+n(432)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unlock,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unlock{background-image:url("+n(431)+")}.pul-button__icon--upload{background-image:url("+n(436)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload{background-image:url("+n(433)+")}.pul-button__icon--upload-alt{background-image:url("+n(435)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload-alt{background-image:url("+n(434)+")}.pul-button__icon--user{background-image:url("+n(440)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user{background-image:url("+n(437)+")}.pul-button__icon--user-alt{background-image:url("+n(439)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user-alt,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user-alt{background-image:url("+n(438)+")}.pul-button__icon--visible{background-image:url("+n(442)+")}.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--visible,.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--visible{background-image:url("+n(441)+")}@-webkit-keyframes pul-button--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-button--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Button/Button.less"],names:[],mappings:"AAoBA,YACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,gBAAiB,AACjB,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,mBAAoB,AACpB,qBAAsB,AACtB,oBAAqB,AACrB,cAAe,AACf,6BAA8B,AAC9B,gBAAiB,AACjB,yBAA0B,AAC1B,aAAc,AACd,eAAgB,AAChB,gBAAkB,CACnB,AACD,8BACE,SAAU,AACV,SAAW,CACZ,AACD,oEAGE,qBAAsB,AACtB,WAAY,AACZ,aAAc,AACd,wBAA0B,CAC3B,AACD,0HAGE,kBAAoB,CACrB,AACD,kDAEE,WAAY,AACZ,wBAA0B,CAC3B,AACD,sFAEE,kBAAoB,CACrB,AACD,qBACE,yBAA0B,AAC1B,UAAY,CACb,AACD,uCACE,kBAAoB,CACrB,AACD,+FAGE,WAAY,AACZ,wBAA0B,CAC3B,AACD,oEAEE,WAAY,AACZ,wBAA0B,CAC3B,AACD,uBACE,qBAAsB,AACtB,sBAAuB,AACvB,aAAe,CAChB,AACD,yCACE,kBAAoB,CACrB,AACD,qGAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,wEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,wHAGE,oBAAsB,CACvB,AACD,qBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,uCACE,aAAe,CAChB,AACD,+FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,qJAGE,aAAe,CAChB,AACD,oEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,qBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,uCACE,aAAe,CAChB,AACD,+FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,qJAGE,aAAe,CAChB,AACD,oEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,oBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,sCACE,aAAe,CAChB,AACD,4FAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,kJAGE,aAAe,CAChB,AACD,kEAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,kBACE,yBAA0B,AAC1B,aAAe,CAChB,AACD,oCACE,aAAe,CAChB,AACD,sFAGE,cAAe,AACf,wBAA0B,CAC3B,AACD,4IAGE,aAAe,CAChB,AACD,8DAEE,cAAe,AACf,wBAA0B,CAC3B,AACD,sBACE,kBAAsB,AACtB,WAAY,AACZ,qBAA0B,CAC3B,AACD,wCACE,kBAAoB,CACrB,AACD,kGAGE,qBAAsB,AACtB,WAAY,AACZ,wBAA0B,CAC3B,AACD,sEAEE,qBAAsB,AACtB,WAAY,AACZ,wBAA0B,CAC3B,AACD,6TAYE,cAAe,AACf,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,gJAIE,WAAa,AACb,+BAAgC,AACxB,sBAAwB,CACjC,AACD,qBACE,kBAAmB,AACnB,eAAgB,AAChB,mBAAqB,CACtB,AACD,4BACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,iBAAkB,AAClB,oBAAqB,AACrB,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,8CAAgD,AACxC,sCAAwC,AAChD,2CAA4C,AACpC,mCAAoC,AAC5C,gCAAkC,CACnC,AACD,uCACE,YAAc,CACf,AACD,kBACE,iBAAkB,AAClB,aAAe,CAChB,AACD,mBACE,qBAAsB,AACtB,QAAS,AACT,SAAU,AACV,gBAAiB,AACjB,mBAAoB,AACpB,qBAAsB,AACtB,mCAAoC,AACpC,iCAAmC,CACpC,AACD,mBACE,WAAa,CACd,AACD,kEAEE,QAAU,CACX,AACD,8CACE,cAAgB,CACjB,AACD,sCACE,aAAe,CAChB,AACD,wDACE,eAAiB,CAClB,AACD,2BACE,8CAAmD,CACpD,AACD,qnBAOE,8CAA0D,CAC3D,AACD,+BACE,8CAAuD,CACxD,AACD,ipBAOE,8CAA8D,CAC/D,AACD,0BACE,8CAAkD,CACnD,AACD,8mBAOE,8CAAyD,CAC1D,AACD,yBACE,8CAAiD,CAClD,AACD,umBAOE,8CAAwD,CACzD,AACD,yBACE,8CAAiD,CAClD,AACD,umBAOE,8CAAwD,CACzD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,mCACE,+CAA2D,CAC5D,AACD,6qBAOE,+CAAkE,CACnE,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,mCACE,+CAA2D,CAC5D,AACD,6qBAOE,+CAAkE,CACnE,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,8BACE,+CAAsD,CACvD,AACD,0oBAOE,+CAA6D,CAC9D,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,iCACE,+CAAyD,CAC1D,AACD,+pBAOE,+CAAgE,CACjE,AACD,yBACE,+CAAiD,CAClD,AACD,umBAOE,+CAAwD,CACzD,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,6BACE,+CAAqD,CACtD,AACD,moBAOE,+CAA4D,CAC7D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,0BACE,+CAAkD,CACnD,AACD,8mBAOE,+CAAyD,CAC1D,AACD,8BACE,+CAAsD,CACvD,AACD,0oBAOE,+CAA6D,CAC9D,AACD,wBACE,+CAAgD,CACjD,AACD,gmBAOE,+CAAuD,CACxD,AACD,4BACE,+CAAoD,CACrD,AACD,4nBAOE,+CAA2D,CAC5D,AACD,2BACE,+CAAmD,CACpD,AACD,qnBAOE,+CAA0D,CAC3D,AACD,oCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,4BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"Button.less",sourcesContent:['/*\nButton\n\nMarkup:\n<button class="button .modifier" type="button" :modifier>Link</button>\n<a class="button .modifier" role="button" tabindex="0">Button</a>\n\nModifiers:\n.button--primary\n.button--secondary\n.button--success\n.button--warning\n.button--danger\n.button--info\n\n.button--active\n.button--loading\n.button--hovered\n.button--disabled\n*/\n.pul-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 30px;\n min-width: 30px;\n margin: 0;\n padding: 5px 8px;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n text-decoration: none;\n text-transform: none;\n color: #373737;\n border: 1px solid transparent;\n border-radius: 0;\n background-color: #dedede;\n font: inherit;\n font-size: 13px;\n line-height: 18px;\n}\n.pul-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-button:hover,\n.pul-button:focus,\n.pul-button.pul-button--hovered {\n text-decoration: none;\n color: #fff;\n outline: none;\n background-color: #1e96c9;\n}\n.pul-button:hover .pul-button__icon,\n.pul-button:focus .pul-button__icon,\n.pul-button.pul-button--hovered .pul-button__icon {\n color: currentColor;\n}\n.pul-button:active,\n.pul-button.pul-button--active {\n color: #fff;\n background-color: #0e78a6;\n}\n.pul-button:active .pul-button__icon,\n.pul-button.pul-button--active .pul-button__icon {\n color: currentColor;\n}\n.pul-button--primary {\n background-color: #0f7faf;\n color: #fff;\n}\n.pul-button--primary .pul-button__icon {\n color: currentColor;\n}\n.pul-button--primary:hover,\n.pul-button--primary:focus,\n.pul-button--primary.pul-button--hovered {\n color: #fff;\n background-color: #1e96c9;\n}\n.pul-button--primary:active,\n.pul-button--primary.pul-button--active {\n color: #fff;\n background-color: #0e78a6;\n}\n.pul-button--secondary {\n border-color: #2498e3;\n background-color: #fff;\n color: #2498e3;\n}\n.pul-button--secondary .pul-button__icon {\n color: currentColor;\n}\n.pul-button--secondary:hover,\n.pul-button--secondary:focus,\n.pul-button--secondary.pul-button--hovered {\n color: #2498e3;\n background-color: #ecf5f9;\n}\n.pul-button--secondary:active,\n.pul-button--secondary.pul-button--active {\n color: #2498e3;\n background-color: #d9ebf3;\n}\n.pul-button--secondary[disabled],\n.pul-button--secondary.pul-button--disabled,\n.pul-button--secondary.pul-button--loading {\n border-color: #b9b9b9;\n}\n.pul-button--success {\n background-color: #bcdf94;\n color: #373737;\n}\n.pul-button--success .pul-button__icon {\n color: #71a832;\n}\n.pul-button--success:hover,\n.pul-button--success:focus,\n.pul-button--success.pul-button--hovered {\n color: #373737;\n background-color: #a3d36d;\n}\n.pul-button--success:hover .pul-button__icon,\n.pul-button--success:focus .pul-button__icon,\n.pul-button--success.pul-button--hovered .pul-button__icon {\n color: #578126;\n}\n.pul-button--success:active,\n.pul-button--success.pul-button--active {\n color: #373737;\n background-color: #97cd59;\n}\n.pul-button--warning {\n background-color: #fdd896;\n color: #373737;\n}\n.pul-button--warning .pul-button__icon {\n color: #f59f05;\n}\n.pul-button--warning:hover,\n.pul-button--warning:focus,\n.pul-button--warning.pul-button--hovered {\n color: #373737;\n background-color: #fcc564;\n}\n.pul-button--warning:hover .pul-button__icon,\n.pul-button--warning:focus .pul-button__icon,\n.pul-button--warning.pul-button--hovered .pul-button__icon {\n color: #c37e04;\n}\n.pul-button--warning:active,\n.pul-button--warning.pul-button--active {\n color: #373737;\n background-color: #fcbc4b;\n}\n.pul-button--danger {\n background-color: #f4b3b3;\n color: #373737;\n}\n.pul-button--danger .pul-button__icon {\n color: #e12d2d;\n}\n.pul-button--danger:hover,\n.pul-button--danger:focus,\n.pul-button--danger.pul-button--hovered {\n color: #373737;\n background-color: #ee8686;\n}\n.pul-button--danger:hover .pul-button__icon,\n.pul-button--danger:focus .pul-button__icon,\n.pul-button--danger.pul-button--hovered .pul-button__icon {\n color: #bf1c1c;\n}\n.pul-button--danger:active,\n.pul-button--danger.pul-button--active {\n color: #373737;\n background-color: #ea7070;\n}\n.pul-button--info {\n background-color: #c6e5fa;\n color: #373737;\n}\n.pul-button--info .pul-button__icon {\n color: #39a5ee;\n}\n.pul-button--info:hover,\n.pul-button--info:focus,\n.pul-button--info.pul-button--hovered {\n color: #373737;\n background-color: #97d0f6;\n}\n.pul-button--info:hover .pul-button__icon,\n.pul-button--info:focus .pul-button__icon,\n.pul-button--info.pul-button--hovered .pul-button__icon {\n color: #148ee0;\n}\n.pul-button--info:active,\n.pul-button--info.pul-button--active {\n color: #373737;\n background-color: #80c5f4;\n}\n.pul-button--selected {\n border-color: #808080;\n color: #fff;\n background-color: #808080;\n}\n.pul-button--selected .pul-button__icon {\n color: currentColor;\n}\n.pul-button--selected:hover,\n.pul-button--selected:focus,\n.pul-button--selected.pul-button--hovered {\n border-color: #909090;\n color: #fff;\n background-color: #909090;\n}\n.pul-button--selected:active,\n.pul-button--selected.pul-button--active {\n border-color: #707070;\n color: #fff;\n background-color: #707070;\n}\n.pul-button[disabled],\n.pul-button--disabled,\n.pul-button--loading,\n.pul-button[disabled]:hover,\n.pul-button--disabled:hover,\n.pul-button--loading:hover,\n.pul-button[disabled]:focus,\n.pul-button--disabled:focus,\n.pul-button--loading:focus,\n.pul-button[disabled]:active,\n.pul-button--disabled:active,\n.pul-button--loading:active {\n color: #b9b9b9;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-button[disabled] .pul-button__icon,\n.pul-button--disabled .pul-button__icon,\n.pul-button[disabled] .pul-icon,\n.pul-button--disabled .pul-icon {\n opacity: 0.7;\n -webkit-filter: grayscale(100%);\n filter: grayscale(100%);\n}\n.pul-button--loading {\n position: relative;\n cursor: default;\n pointer-events: none;\n}\n.pul-button--loading::before {\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 16px;\n height: 16px;\n margin-right: 6px;\n vertical-align: -3px;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-button--spin 0.7s linear;\n animation: pul-button--spin 0.7s linear;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n box-shadow: 0 0 0 1px transparent;\n}\n.pul-button--loading .pul-button__icon {\n display: none;\n}\n.pul-button__icon {\n margin-right: 6px;\n color: #969696;\n}\n.pul-button__caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 6px;\n vertical-align: 2px;\n border-top: 4px solid;\n border-right: 4px solid transparent;\n border-left: 4px solid transparent;\n}\n.pul-button--empty {\n padding: 5px;\n}\n.pul-button--empty .pul-button__icon,\n.pul-button--empty .pul-icon {\n margin: 0;\n}\n.pul-button--empty.pul-button--loading::before {\n margin-right: 0;\n}\n.pul-button--empty .pul-button__caret {\n margin-left: 0;\n}\n.pul-button--empty .pul-button__icon + .pul-button__caret {\n margin-left: 6px;\n}\n.pul-button__icon--archive {\n background-image: url("images/button-archive.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--archive,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--archive,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--archive,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--archive {\n background-image: url("images/button-archive-active.png");\n}\n.pul-button__icon--arrow-right {\n background-image: url("images/button-arrow-right.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--arrow-right,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--arrow-right,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--arrow-right,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--arrow-right {\n background-image: url("images/button-arrow-right-active.png");\n}\n.pul-button__icon--backup {\n background-image: url("images/button-backup.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--backup,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--backup,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--backup,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--backup {\n background-image: url("images/button-backup-active.png");\n}\n.pul-button__icon--clean {\n background-image: url("images/button-clean.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clean,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clean,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clean,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clean {\n background-image: url("images/button-clean-active.png");\n}\n.pul-button__icon--clock {\n background-image: url("images/button-clock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--clock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--clock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--clock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--clock {\n background-image: url("images/button-clock-active.png");\n}\n.pul-button__icon--copy {\n background-image: url("images/button-copy.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--copy,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--copy,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--copy,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--copy {\n background-image: url("images/button-copy-active.png");\n}\n.pul-button__icon--customize-order {\n background-image: url("images/button-customize-order.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--customize-order,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--customize-order,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--customize-order,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--customize-order {\n background-image: url("images/button-customize-order-active.png");\n}\n.pul-button__icon--download {\n background-image: url("images/button-download.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--download,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--download,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--download,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--download {\n background-image: url("images/button-download-active.png");\n}\n.pul-button__icon--edit {\n background-image: url("images/button-edit.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--edit,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--edit,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--edit,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--edit {\n background-image: url("images/button-edit-active.png");\n}\n.pul-button__icon--folder {\n background-image: url("images/button-folder.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--folder,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--folder,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--folder,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--folder {\n background-image: url("images/button-folder-active.png");\n}\n.pul-button__icon--globe {\n background-image: url("images/button-globe.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe {\n background-image: url("images/button-globe-active.png");\n}\n.pul-button__icon--globe-alt {\n background-image: url("images/button-globe-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--globe-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--globe-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--globe-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--globe-alt {\n background-image: url("images/button-globe-alt-active.png");\n}\n.pul-button__icon--import {\n background-image: url("images/button-import.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--import,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--import,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--import,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--import {\n background-image: url("images/button-import-active.png");\n}\n.pul-button__icon--invisible {\n background-image: url("images/button-invisible.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--invisible,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--invisible,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--invisible,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--invisible {\n background-image: url("images/button-invisible-active.png");\n}\n.pul-button__icon--link {\n background-image: url("images/button-link.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--link,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--link,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--link,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--link {\n background-image: url("images/button-link-active.png");\n}\n.pul-button__icon--list {\n background-image: url("images/button-list.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--list,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--list,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--list,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--list {\n background-image: url("images/button-list-active.png");\n}\n.pul-button__icon--lock {\n background-image: url("images/button-lock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--lock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--lock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--lock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--lock {\n background-image: url("images/button-lock-active.png");\n}\n.pul-button__icon--ok-app {\n background-image: url("images/button-ok-app.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-app,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-app,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-app,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-app {\n background-image: url("images/button-ok-app-active.png");\n}\n.pul-button__icon--ok-circle {\n background-image: url("images/button-ok-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--ok-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--ok-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--ok-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--ok-circle {\n background-image: url("images/button-ok-circle-active.png");\n}\n.pul-button__icon--plugins {\n background-image: url("images/button-plugins.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plugins,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plugins,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plugins,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plugins {\n background-image: url("images/button-plugins-active.png");\n}\n.pul-button__icon--plus {\n background-image: url("images/button-plus.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--plus,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--plus,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--plus,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--plus {\n background-image: url("images/button-plus-active.png");\n}\n.pul-button__icon--power {\n background-image: url("images/button-power.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--power,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--power,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--power,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--power {\n background-image: url("images/button-power-active.png");\n}\n.pul-button__icon--question-circle {\n background-image: url("images/button-question-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--question-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--question-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--question-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--question-circle {\n background-image: url("images/button-question-circle-active.png");\n}\n.pul-button__icon--refresh {\n background-image: url("images/button-refresh.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--refresh,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--refresh,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--refresh,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--refresh {\n background-image: url("images/button-refresh-active.png");\n}\n.pul-button__icon--reload {\n background-image: url("images/button-reload.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--reload,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--reload,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--reload,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--reload {\n background-image: url("images/button-reload-active.png");\n}\n.pul-button__icon--remove {\n background-image: url("images/button-remove.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove {\n background-image: url("images/button-remove-active.png");\n}\n.pul-button__icon--remove-app {\n background-image: url("images/button-remove-app.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-app,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-app,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-app,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-app {\n background-image: url("images/button-remove-app-active.png");\n}\n.pul-button__icon--remove-circle {\n background-image: url("images/button-remove-circle.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--remove-circle,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--remove-circle,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--remove-circle,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--remove-circle {\n background-image: url("images/button-remove-circle-active.png");\n}\n.pul-button__icon--search {\n background-image: url("images/button-search.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--search,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--search,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--search,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--search {\n background-image: url("images/button-search-active.png");\n}\n.pul-button__icon--security-scan {\n background-image: url("images/button-security-scan.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--security-scan,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--security-scan,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--security-scan,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--security-scan {\n background-image: url("images/button-security-scan-active.png");\n}\n.pul-button__icon--settings {\n background-image: url("images/button-settings.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--settings,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--settings,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--settings,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--settings {\n background-image: url("images/button-settings-active.png");\n}\n.pul-button__icon--share {\n background-image: url("images/button-share.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--share,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--share,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--share,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--share {\n background-image: url("images/button-share-active.png");\n}\n.pul-button__icon--shopping-cart {\n background-image: url("images/button-shopping-cart.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--shopping-cart,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--shopping-cart,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--shopping-cart,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--shopping-cart {\n background-image: url("images/button-shopping-cart-active.png");\n}\n.pul-button__icon--start {\n background-image: url("images/button-start.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--start,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--start,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--start,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--start {\n background-image: url("images/button-start-active.png");\n}\n.pul-button__icon--stop {\n background-image: url("images/button-stop.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--stop,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--stop,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--stop,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--stop {\n background-image: url("images/button-stop-active.png");\n}\n.pul-button__icon--suspend {\n background-image: url("images/button-suspend.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--suspend,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--suspend,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--suspend,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--suspend {\n background-image: url("images/button-suspend-active.png");\n}\n.pul-button__icon--themes {\n background-image: url("images/button-themes.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--themes,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--themes,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--themes,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--themes {\n background-image: url("images/button-themes-active.png");\n}\n.pul-button__icon--unarchive {\n background-image: url("images/button-unarchive.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unarchive,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unarchive,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unarchive,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unarchive {\n background-image: url("images/button-unarchive-active.png");\n}\n.pul-button__icon--unlock {\n background-image: url("images/button-unlock.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--unlock,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--unlock,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--unlock,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--unlock {\n background-image: url("images/button-unlock-active.png");\n}\n.pul-button__icon--upload {\n background-image: url("images/button-upload.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload {\n background-image: url("images/button-upload-active.png");\n}\n.pul-button__icon--upload-alt {\n background-image: url("images/button-upload-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--upload-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--upload-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--upload-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--upload-alt {\n background-image: url("images/button-upload-alt-active.png");\n}\n.pul-button__icon--user {\n background-image: url("images/button-user.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user {\n background-image: url("images/button-user-active.png");\n}\n.pul-button__icon--user-alt {\n background-image: url("images/button-user-alt.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--user-alt,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--user-alt,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--user-alt,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--user-alt {\n background-image: url("images/button-user-alt-active.png");\n}\n.pul-button__icon--visible {\n background-image: url("images/button-visible.png");\n}\n.pul-button--primary:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):hover .pul-button__icon--visible,\n.pul-button--hovered:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):active .pul-button__icon--visible,\n.pul-button--active:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible,\n.pul-button:not(.pul-button--disabled):not([disabled]):focus .pul-button__icon--visible,\n.pul-button--selected:not(.pul-button--disabled):not([disabled]) .pul-button__icon--visible {\n background-image: url("images/button-visible-active.png");\n}\n@-webkit-keyframes pul-button--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-button--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-button-group{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.pul-button-group>.pul-button{position:relative;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;margin-bottom:0}.pul-button-group>.pul-button--active,.pul-button-group>.pul-button--hovered,.pul-button-group>.pul-button:active,.pul-button-group>.pul-button:focus,.pul-button-group>.pul-button:hover{z-index:2}.pul-button-group .pul-button+.pul-button,.pul-button-group .pul-button+.pul-button-group,.pul-button-group .pul-button-group+.pul-button,.pul-button-group .pul-button-group+.pul-button-group{margin-left:1px}.pul-button-group>.pul-button:not(:first-child):not(:last-child){border-radius:0}.pul-button-group>.pul-button:first-child{margin-left:0}.pul-button-group>.pul-button-group:first-child:not(:last-child)>.pul-button:last-child,.pul-button-group>.pul-button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.pul-button-group>.pul-button-group:last-child:not(:first-child)>.pul-button:first-child,.pul-button-group>.pul-button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.pul-button-group>.pul-button-group:not(:first-child):not(:last-child)>.pul-button{border-radius:0}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/ButtonGroup/ButtonGroup.less"],names:[],mappings:"AAaA,kBACE,kBAAmB,AACnB,2BAA4B,AAC5B,2BAA4B,AAC5B,oBAAqB,AACrB,qBAAuB,CACxB,AACD,8BACE,kBAAmB,AACnB,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,eAAiB,CAClB,AACD,0LAKE,SAAW,CACZ,AACD,gMAIE,eAAiB,CAClB,AACD,iEACE,eAAiB,CAClB,AACD,0CACE,aAAe,CAChB,AACD,mJAEE,0BAA2B,AAC3B,4BAA8B,CAC/B,AACD,oJAEE,yBAA0B,AAC1B,2BAA6B,CAC9B,AACD,mFACE,eAAiB,CAClB",file:"ButtonGroup.less",sourcesContent:['/*\nButton Group\n\nMarkup:\n<div class="button-group">\n <button class="button" type="button">Button</a>\n <button class="button" type="button">Button</a>\n <div class="button-group">\n <button class="button" type="button">Button</a>\n <button class="button" type="button">Button</a>\n </div>\n</div>\n*/\n.pul-button-group {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n vertical-align: middle;\n}\n.pul-button-group > .pul-button {\n position: relative;\n -webkit-box-flex: 0;\n -ms-flex: 0 1 auto;\n flex: 0 1 auto;\n margin-bottom: 0;\n}\n.pul-button-group > .pul-button:hover,\n.pul-button-group > .pul-button:active,\n.pul-button-group > .pul-button:focus,\n.pul-button-group > .pul-button--active,\n.pul-button-group > .pul-button--hovered {\n z-index: 2;\n}\n.pul-button-group .pul-button + .pul-button,\n.pul-button-group .pul-button + .pul-button-group,\n.pul-button-group .pul-button-group + .pul-button,\n.pul-button-group .pul-button-group + .pul-button-group {\n margin-left: 1px;\n}\n.pul-button-group > .pul-button:not(:first-child):not(:last-child) {\n border-radius: 0;\n}\n.pul-button-group > .pul-button:first-child {\n margin-left: 0;\n}\n.pul-button-group > .pul-button:first-child:not(:last-child),\n.pul-button-group > .pul-button-group:first-child:not(:last-child) > .pul-button:last-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.pul-button-group > .pul-button:last-child:not(:first-child),\n.pul-button-group > .pul-button-group:last-child:not(:first-child) > .pul-button:first-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.pul-button-group > .pul-button-group:not(:first-child):not(:last-child) > .pul-button {\n border-radius: 0;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-card{position:relative;border:1px solid #d8d8d8;background-color:#fafafa}.pul-card__selection{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:12px;color:#76c8f4}.pul-card__selection .pul-checkbox:hover{color:#fff}.pul-card--row .pul-card__selection{margin:-1px 0 -1px -1px;padding:16px;background-color:#354450}.pul-card:not(.pul-card--row) .pul-card__header{display:-webkit-box;display:-ms-flexbox;display:flex;margin:-1px -1px 0;padding:8px 16px;color:#fff;background-color:#354450}.pul-card--danger.pul-card--row .pul-card__selection,.pul-card--danger:not(.pul-card--row) .pul-card__header{background-color:#81083d}.pul-card--warning.pul-card--row .pul-card__selection,.pul-card--warning:not(.pul-card--row) .pul-card__header{background-color:#881e07}.pul-card--inactive.pul-card--row .pul-card__selection,.pul-card--inactive:not(.pul-card--row) .pul-card__header{background-color:rgba(0,0,0,.43)}.pul-card--row .pul-card__header{min-width:0;padding:12px 0 12px 24px}.pul-card__title{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;min-width:0;font-size:20px;font-weight:600;line-height:1.6;color:inherit}.pul-card__subtitle{margin:6px 0;font-size:16px;font-weight:400;line-height:1.3;color:#4a4a4a}.pul-card:not(.pul-card--row) .pul-card__title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.pul-card__subtitle,.pul-card__title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pul-card__labels{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:0;padding:8px 0 8px 16px;-ms-flex-item-align:center;align-self:center}.pul-card__labels .pul-card__label{margin-left:8px;padding:1px 6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:1.4;border-radius:2px}.pul-card__buttons{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:auto;padding-left:16px}.pul-card--row .pul-card__buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:14px 16px;max-height:92px}.pul-card-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:32px;min-width:32px;margin:0 0 0 4px;padding:8px;cursor:pointer;text-align:center;vertical-align:middle;fill:currentColor;color:#0099eb;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-card-button::-moz-focus-inner{border:0;padding:0}.pul-card-button:focus,.pul-card-button:hover{text-decoration:none;color:#0099eb;outline:none;background-color:#f5f4f3}.pul-card-button:active{color:#0081cb;background-color:#e0ddda}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button{color:#76c8f4}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:focus,.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:hover{color:#fff;background-color:transparent}.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:active{color:#fff;background-color:rgba(0,0,0,.4)}.pul-card--extended .pul-card__body,.pul-card--row .pul-card__body,.pul-card__side{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-card__side{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column;max-width:400px;-webkit-box-flex:0;-ms-flex:0 0 40%;flex:0 0 40%;border-right:1px solid #d8d8d8}.pul-card__side>:last-child{height:100%}.pul-card__side-header{-webkit-box-flex:0;-ms-flex:none;flex:none;margin:0 -1px}.pul-card--extended .pul-card__main{-webkit-box-flex:1;-ms-flex:1 0 60%;flex:1 0 60%}.pul-card--row .pul-card__side-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:124px;margin:-1px;border-right:1px solid #d8d8d8;background-color:#d8d8d8}.pul-card__main-content,.pul-card__side-content{padding:16px}.pul-card--row .pul-card__main-content{padding:20px 0 20px 24px}.pul-card--enter,.pul-card--exit{opacity:0}.pul-card--enter-active,.pul-card--exit-active{opacity:1;transition:opacity .3s ease-in}.pul-card .pul-tabs__tab--selected .pul-tabs__link,.pul-card .pul-tabs__tab--selected .pul-tabs__link:hover,.pul-card .pul-tabs__tab--selected:hover .pul-tabs__link{border-bottom-color:#fafafa;background-color:#fafafa}.pul-card__content-blocker{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;margin:-1px;background:hsla(0,0%,100%,.8) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTktMWwyIDJNMCAwbDEwIDEwTS0xIDlsMiAyIiBzdHJva2U9InJnYmEoMCwwLDAsMC4wNSkiLz48L3N2Zz4=");background-size:10px 10px}.pul-card--progress{overflow:hidden;border-color:rgba(0,0,0,.05)}.pul-card--progress .pul-card__inner{-webkit-filter:blur(2px);filter:blur(2px)}.pul-card__loader{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-card__loader-text{margin-left:10px}.pul-card__spinner{width:24px;height:24px;-webkit-animation:pul-card--rotate 1.4s linear infinite;animation:pul-card--rotate 1.4s linear infinite}.pul-card__spinner-path{stroke-dasharray:80px,200px;stroke-dashoffset:0px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;stroke:#4285f4;-webkit-animation:pul-card--dash 1.4s ease-in-out infinite,pul-card--color 5.6s linear infinite;animation:pul-card--dash 1.4s ease-in-out infinite,pul-card--color 5.6s linear infinite}@-webkit-keyframes pul-card--rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-card--rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes pul-card--dash{0%{stroke-dasharray:1px,200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px}to{stroke-dasharray:100px,200px;stroke-dashoffset:-120px}}@keyframes pul-card--dash{0%{stroke-dasharray:1px,200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px,200px;stroke-dashoffset:-15px}to{stroke-dasharray:100px,200px;stroke-dashoffset:-120px}}@-webkit-keyframes pul-card--color{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}@keyframes pul-card--color{0%{stroke:#4285f4}25%{stroke:#de3e35}50%{stroke:#f7c223}75%{stroke:#1b9a59}to{stroke:#4285f4}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Card/Card.less"],names:[],mappings:"AAAA,UACE,kBAAmB,AACnB,yBAA0B,AAC1B,wBAA0B,CAC3B,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,mBAAoB,AACpB,aAAe,CAChB,AACD,yCACE,UAAY,CACb,AACD,oCACE,wBAAyB,AACzB,aAAc,AACd,wBAA0B,CAC3B,AACD,gDACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AACpB,iBAAkB,AAClB,WAAY,AACZ,wBAA0B,CAC3B,AACD,6GAEE,wBAA0B,CAC3B,AACD,+GAEE,wBAA0B,CAC3B,AACD,iHAEE,gCAAsC,CACvC,AACD,iCACE,YAAa,AACb,wBAA0B,CAC3B,AACD,iBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,aAAe,CAChB,AACD,oBACE,aAAc,AACd,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,aAAe,CAChB,AACD,+CACE,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACtB,AACD,0CAEE,mBAAoB,AACpB,gBAAiB,AACjB,sBAAwB,CACzB,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,YAAa,AACb,uBAAwB,AACxB,2BAA4B,AACxB,iBAAmB,CACxB,AACD,mCACE,gBAAiB,AACjB,gBAAiB,AACjB,gBAAiB,AACjB,mBAAoB,AACpB,uBAAwB,AACxB,eAAgB,AAChB,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,sBAAuB,AACvB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,iBAAkB,AAClB,iBAAmB,CACpB,AACD,kCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,8BAA+B,AAC3B,kCAAmC,AAC/B,8BAA+B,AACvC,qBAAsB,AAClB,kBAAmB,AACf,yBAA0B,AAClC,kBAAmB,AACnB,eAAiB,CAClB,AACD,iBACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,iBAAkB,AAClB,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,sBAAuB,AACvB,kBAAmB,AACnB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,mCACE,SAAU,AACV,SAAW,CACZ,AACD,8CAEE,qBAAsB,AACtB,cAAe,AACf,aAAc,AACd,wBAA0B,CAC3B,AACD,wBACE,cAAe,AACf,wBAA0B,CAC3B,AACD,iEACE,aAAe,CAChB,AACD,8IAEE,WAAY,AACZ,4BAA8B,CAC/B,AACD,wEACE,WAAY,AACZ,+BAAqC,CACtC,AAOD,mFAJE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAef,AAbD,gBAIE,4BAA6B,AAC7B,6BAA8B,AAC1B,qBAAsB,AAClB,iBAAkB,AAC1B,gBAAiB,AACjB,mBAAoB,AAChB,iBAAkB,AACd,aAAc,AACtB,8BAAgC,CACjC,AACD,4BACE,WAAa,CACd,AACD,uBACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,aAAe,CAChB,AACD,oCACE,mBAAoB,AAChB,iBAAkB,AACd,YAAc,CACvB,AACD,sCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,gBAAiB,AACjB,YAAa,AACb,+BAAgC,AAChC,wBAA0B,CAC3B,AACD,gDAEE,YAAc,CACf,AACD,uCACE,wBAA0B,CAC3B,AACD,iCAEE,SAAW,CACZ,AACD,+CAEE,UAAW,AACX,8BAAiC,CAClC,AACD,qKAGE,4BAA6B,AAC7B,wBAA0B,CAC3B,AACD,2BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,YAAa,AACb,oPAA2P,AAC3P,yBAA2B,CAC5B,AACD,oBACE,gBAAiB,AACjB,4BAAkC,CACnC,AACD,qCACE,yBAA0B,AAClB,gBAAkB,CAC3B,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,uBACE,gBAAkB,CACnB,AACD,mBACE,WAAY,AACZ,YAAa,AACb,wDAAyD,AACjD,+CAAiD,CAC1D,AACD,wBACE,4BAA8B,AAC9B,sBAAuB,AAEvB,iCAAkC,AAC1B,yBAA0B,AAClC,eAAgB,AAChB,gGAAkG,AAC1F,uFAA0F,CACnG,AACD,oCACE,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,4BACE,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,kCACE,GACE,2BAA6B,AAC7B,qBAAuB,CAExB,AACD,IACE,6BAA+B,AAC/B,uBAAyB,CAC1B,AACD,GACE,6BAA+B,AAC/B,wBAA0B,CAC3B,CACF,AACD,0BACE,GACE,2BAA6B,AAC7B,qBAAuB,CAExB,AACD,IACE,6BAA+B,AAC/B,uBAAyB,CAC1B,AACD,GACE,6BAA+B,AAC/B,wBAA0B,CAC3B,CACF,AACD,mCACE,GACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,GACE,cAAgB,CACjB,CACF,AACD,2BACE,GACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,IACE,cAAgB,CACjB,AACD,GACE,cAAgB,CACjB,CACF",file:"Card.less",sourcesContent:['.pul-card {\n position: relative;\n border: 1px solid #d8d8d8;\n background-color: #fafafa;\n}\n.pul-card__selection {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding-right: 12px;\n color: #76c8f4;\n}\n.pul-card__selection .pul-checkbox:hover {\n color: #fff;\n}\n.pul-card--row .pul-card__selection {\n margin: -1px 0 -1px -1px;\n padding: 16px;\n background-color: #354450;\n}\n.pul-card:not(.pul-card--row) .pul-card__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: -1px -1px 0;\n padding: 8px 16px;\n color: #fff;\n background-color: #354450;\n}\n.pul-card--danger:not(.pul-card--row) .pul-card__header,\n.pul-card--danger.pul-card--row .pul-card__selection {\n background-color: #81083d;\n}\n.pul-card--warning:not(.pul-card--row) .pul-card__header,\n.pul-card--warning.pul-card--row .pul-card__selection {\n background-color: #881e07;\n}\n.pul-card--inactive:not(.pul-card--row) .pul-card__header,\n.pul-card--inactive.pul-card--row .pul-card__selection {\n background-color: rgba(0, 0, 0, 0.43);\n}\n.pul-card--row .pul-card__header {\n min-width: 0;\n padding: 12px 0 12px 24px;\n}\n.pul-card__title {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin: 0;\n min-width: 0;\n font-size: 20px;\n font-weight: 600;\n line-height: 1.6;\n color: inherit;\n}\n.pul-card__subtitle {\n margin: 6px 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 1.3;\n color: #4a4a4a;\n}\n.pul-card:not(.pul-card--row) .pul-card__title {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n.pul-card__title-text,\n.pul-card__subtitle {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-card__labels {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n min-width: 0;\n padding: 8px 0 8px 16px;\n -ms-flex-item-align: center;\n align-self: center;\n}\n.pul-card__labels .pul-card__label {\n margin-left: 8px;\n padding: 1px 6px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 10px;\n line-height: 1.4;\n border-radius: 2px;\n}\n.pul-card__buttons {\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-left: auto;\n padding-left: 16px;\n}\n.pul-card--row .pul-card__buttons {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n padding: 14px 16px;\n max-height: 92px;\n}\n.pul-card-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 32px;\n min-width: 32px;\n margin: 0 0 0 4px;\n padding: 8px;\n cursor: pointer;\n text-align: center;\n vertical-align: middle;\n fill: currentColor;\n color: #0099eb;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-card-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-card-button:hover,\n.pul-card-button:focus {\n text-decoration: none;\n color: #0099eb;\n outline: none;\n background-color: #f5f4f3;\n}\n.pul-card-button:active {\n color: #0081cb;\n background-color: #e0ddda;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button {\n color: #76c8f4;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:hover,\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:focus {\n color: #fff;\n background-color: transparent;\n}\n.pul-card:not(.pul-card--row) .pul-card__header .pul-card-button:active {\n color: #fff;\n background-color: rgba(0, 0, 0, 0.4);\n}\n.pul-card--extended .pul-card__body,\n.pul-card--row .pul-card__body {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-card__side {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-flow: column;\n flex-flow: column;\n max-width: 400px;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 40%;\n flex: 0 0 40%;\n border-right: 1px solid #d8d8d8;\n}\n.pul-card__side > :last-child {\n height: 100%;\n}\n.pul-card__side-header {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n margin: 0 -1px;\n}\n.pul-card--extended .pul-card__main {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 60%;\n flex: 1 0 60%;\n}\n.pul-card--row .pul-card__side-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n max-width: 124px;\n margin: -1px;\n border-right: 1px solid #d8d8d8;\n background-color: #d8d8d8;\n}\n.pul-card__side-content,\n.pul-card__main-content {\n padding: 16px;\n}\n.pul-card--row .pul-card__main-content {\n padding: 20px 0 20px 24px;\n}\n.pul-card--enter,\n.pul-card--exit {\n opacity: 0;\n}\n.pul-card--enter-active,\n.pul-card--exit-active {\n opacity: 1;\n transition: opacity 0.3s ease-in;\n}\n.pul-card .pul-tabs__tab--selected .pul-tabs__link,\n.pul-card .pul-tabs__tab--selected:hover .pul-tabs__link,\n.pul-card .pul-tabs__tab--selected .pul-tabs__link:hover {\n border-bottom-color: #fafafa;\n background-color: #fafafa;\n}\n.pul-card__content-blocker {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: -1px;\n background: rgba(255, 255, 255, 0.8) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PHBhdGggZD0iTTktMWwyIDJNMCAwbDEwIDEwTS0xIDlsMiAyIiBzdHJva2U9InJnYmEoMCwwLDAsMC4wNSkiLz48L3N2Zz4=");\n background-size: 10px 10px;\n}\n.pul-card--progress {\n overflow: hidden;\n border-color: rgba(0, 0, 0, 0.05);\n}\n.pul-card--progress .pul-card__inner {\n -webkit-filter: blur(2px);\n filter: blur(2px);\n}\n.pul-card__loader {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-card__loader-text {\n margin-left: 10px;\n}\n.pul-card__spinner {\n width: 24px;\n height: 24px;\n -webkit-animation: pul-card--rotate 1.4s linear infinite;\n animation: pul-card--rotate 1.4s linear infinite;\n}\n.pul-card__spinner-path {\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n -webkit-transform-origin: 50% 50%;\n transform-origin: 50% 50%;\n stroke: #4285f4;\n -webkit-animation: pul-card--dash 1.4s ease-in-out infinite, pul-card--color 5.6s linear infinite;\n animation: pul-card--dash 1.4s ease-in-out infinite, pul-card--color 5.6s linear infinite;\n}\n@-webkit-keyframes pul-card--rotate {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-card--rotate {\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@-webkit-keyframes pul-card--dash {\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -120px;\n }\n}\n@keyframes pul-card--dash {\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n /* stylelint-disable-line length-zero-no-unit */\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -120px;\n }\n}\n@-webkit-keyframes pul-card--color {\n from {\n stroke: #4285f4;\n }\n 25% {\n stroke: #de3e35;\n }\n 50% {\n stroke: #f7c223;\n }\n 75% {\n stroke: #1b9a59;\n }\n to {\n stroke: #4285f4;\n }\n}\n@keyframes pul-card--color {\n from {\n stroke: #4285f4;\n }\n 25% {\n stroke: #de3e35;\n }\n 50% {\n stroke: #f7c223;\n }\n 75% {\n stroke: #1b9a59;\n }\n to {\n stroke: #4285f4;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-preview-panel{position:relative;width:100%;text-align:center;background-color:#f5f4f3;overflow:hidden}.pul-preview-panel__image{max-width:100%;min-width:124px;height:auto;max-height:100%}.pul-preview-panel__html{min-width:124px;height:200px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.pul-preview-panel__html iframe{width:100%;height:100%}.pul-preview-panel__html--loading:before{display:inline-block;content:"";box-sizing:border-box;width:32px;height:32px;margin:auto;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-preview-panel--spin .7s linear;animation:pul-preview-panel--spin .7s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.pul-preview-panel__html--loading iframe{display:none}.pul-preview-panel__content{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding:20px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;color:#fff;background-color:rgba(0,0,0,.7);transition:.3s;opacity:1}.pul-preview-panel__content--empty{background-color:transparent}.pul-preview-panel--background{background-repeat:no-repeat;background-position:50%;min-width:124px;min-height:200px}.pul-preview-panel:not(:hover)>.pul-preview-panel__content{visibility:hidden;opacity:0}@-webkit-keyframes pul-preview-panel--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-preview-panel--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Card/PreviewPanel.less"],names:[],mappings:"AAAA,mBACE,kBAAmB,AACnB,WAAY,AACZ,kBAAmB,AACnB,yBAA0B,AAC1B,eAAiB,CAClB,AACD,0BACE,eAAgB,AAChB,gBAAiB,AACjB,YAAa,AACb,eAAiB,CAClB,AACD,yBACE,gBAAiB,AACjB,aAAc,AACd,WAAY,AACZ,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,eAAiB,CAClB,AACD,gCACE,WAAY,AACZ,WAAa,CACd,AACD,yCACE,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,YAAa,AACb,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,qDAAuD,AAC/C,6CAA+C,AACvD,2CAA4C,AACpC,kCAAoC,CAC7C,AACD,yCACE,YAAc,CACf,AACD,4BACE,kBAAmB,AACnB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,WAAY,AACZ,gCAAqC,AACrC,eAAiB,AACjB,SAAW,CACZ,AACD,mCACE,4BAAmC,CACpC,AACD,+BACE,4BAA6B,AAC7B,wBAA4B,AAC5B,gBAAiB,AACjB,gBAAkB,CACnB,AACD,2DACE,kBAAmB,AACnB,SAAW,CACZ,AACD,2CACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,mCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"PreviewPanel.less",sourcesContent:['.pul-preview-panel {\n position: relative;\n width: 100%;\n text-align: center;\n background-color: #f5f4f3;\n overflow: hidden;\n}\n.pul-preview-panel__image {\n max-width: 100%;\n min-width: 124px;\n height: auto;\n max-height: 100%;\n}\n.pul-preview-panel__html {\n min-width: 124px;\n height: 200px;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n overflow: hidden;\n}\n.pul-preview-panel__html iframe {\n width: 100%;\n height: 100%;\n}\n.pul-preview-panel__html--loading::before {\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 32px;\n height: 32px;\n margin: auto;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-preview-panel--spin 0.7s linear;\n animation: pul-preview-panel--spin 0.7s linear;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n.pul-preview-panel__html--loading iframe {\n display: none;\n}\n.pul-preview-panel__content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 20px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n color: #fff;\n background-color: rgba(0, 0, 0, 0.7);\n transition: 0.3s;\n opacity: 1;\n}\n.pul-preview-panel__content--empty {\n background-color: rgba(0, 0, 0, 0);\n}\n.pul-preview-panel--background {\n background-repeat: no-repeat;\n background-position: center;\n min-width: 124px;\n min-height: 200px;\n}\n.pul-preview-panel:not(:hover) > .pul-preview-panel__content {\n visibility: hidden;\n opacity: 0;\n}\n@-webkit-keyframes pul-preview-panel--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-preview-panel--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-card-list{position:relative;min-height:50px}.pul-card-list__list--extended .pul-card-list__list-item{margin-bottom:20px}.pul-card-list__list--row .pul-card-list__list-item{margin-bottom:16px}.pul-card-list__list--tile .pul-card-list__list-item{margin-bottom:4px}.pul-card-list__content-blocker{position:absolute;background:hsla(0,0%,100%,.4);left:0;top:0;bottom:0;right:0;z-index:10}.pul-card-list__loader{position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;display:inline-block;content:"";box-sizing:border-box;width:24px;height:24px;border-radius:50%;border:2px solid;border-color:#1e96c9 rgba(0,0,0,.15) rgba(0,0,0,.15);-webkit-animation:pul-card-list--spin .7s linear infinite;animation:pul-card-list--spin .7s linear infinite;box-shadow:0 0 0 1px transparent;z-index:10}.pul-card-list__toolbar{padding-bottom:20px}@-webkit-keyframes pul-card-list--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes pul-card-list--spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/CardList/CardList.less"],names:[],mappings:"AAAA,eACE,kBAAmB,AACnB,eAAiB,CAClB,AACD,yDACE,kBAAoB,CACrB,AACD,oDACE,kBAAoB,CACrB,AACD,qDACE,iBAAmB,CACpB,AACD,gCACE,kBAAmB,AACnB,8BAAqC,AACrC,OAAQ,AACR,MAAO,AACP,SAAU,AACV,QAAS,AACT,UAAY,CACb,AACD,uBACE,kBAAmB,AACnB,QAAS,AACT,SAAU,AACV,uBAAwB,AACxB,qBAAsB,AACtB,WAAY,AACZ,sBAAuB,AACvB,WAAY,AACZ,YAAa,AACb,kBAAmB,AACnB,iBAAkB,AAClB,qDAA8D,AAC9D,0DAA4D,AACpD,kDAAoD,AAC5D,iCAAkC,AAClC,UAAY,CACb,AACD,wBACE,mBAAqB,CACtB,AACD,uCACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF,AACD,+BACE,GACE,4BAA6B,AACrB,mBAAqB,CAC9B,AACD,GACE,gCAAkC,AAC1B,uBAA0B,CACnC,CACF",file:"CardList.less",sourcesContent:['.pul-card-list {\n position: relative;\n min-height: 50px;\n}\n.pul-card-list__list--extended .pul-card-list__list-item {\n margin-bottom: 20px;\n}\n.pul-card-list__list--row .pul-card-list__list-item {\n margin-bottom: 16px;\n}\n.pul-card-list__list--tile .pul-card-list__list-item {\n margin-bottom: 4px;\n}\n.pul-card-list__content-blocker {\n position: absolute;\n background: rgba(255, 255, 255, 0.4);\n left: 0;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 10;\n}\n.pul-card-list__loader {\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -12px 0 0 -12px;\n display: inline-block;\n content: "";\n box-sizing: border-box;\n width: 24px;\n height: 24px;\n border-radius: 50%;\n border: 2px solid;\n border-color: #1e96c9 rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15);\n -webkit-animation: pul-card-list--spin 0.7s linear infinite;\n animation: pul-card-list--spin 0.7s linear infinite;\n box-shadow: 0 0 0 1px transparent;\n z-index: 10;\n}\n.pul-card-list__toolbar {\n padding-bottom: 20px;\n}\n@-webkit-keyframes pul-card-list--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes pul-card-list--spin {\n from {\n -webkit-transform: rotate(0);\n transform: rotate(0);\n }\n to {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-carousel{position:relative;overflow:hidden;margin-bottom:16px;text-align:center}.pul-carousel__slides{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.pul-carousel__control{position:absolute;top:0;height:100%;margin:0;padding:0 3px;border:none;background-color:rgba(0,0,0,.3);color:#fff;opacity:.3;cursor:pointer}.pul-carousel__control--previous{left:0}.pul-carousel__control--next{right:0}.pul-carousel__control:hover{opacity:1}.pul-carousel__control:focus{outline:none}.pul-carousel__control-icon{height:20px;width:20px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Carousel/Carousel.less"],names:[],mappings:"AAsBA,cACE,kBAAmB,AACnB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,sBACE,2BAA4B,AAC5B,2BAA4B,AAC5B,mBAAqB,CACtB,AACD,uBACE,kBAAmB,AACnB,MAAO,AACP,YAAa,AACb,SAAU,AACV,cAAe,AACf,YAAa,AACb,gCAAqC,AACrC,WAAY,AACZ,WAAa,AACb,cAAgB,CACjB,AACD,iCACE,MAAQ,CACT,AACD,6BACE,OAAS,CACV,AACD,6BACE,SAAW,CACZ,AACD,6BACE,YAAc,CACf,AACD,4BACE,YAAa,AACb,UAAY,CACb",file:"Carousel.less",sourcesContent:['/*\nCarousel\n\nMarkup:\n<div class="carousel">\n <div class="carousel__slides">\n {{children}}\n </div>\n <div class="carousel__controls">\n <button class="carousel__control carousel__control--previous">\n <svg viewBox="0 0 100 100">\n <path d="M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z" class="arrow" transform="translate(15,0)"></path>\n </svg>\n </button>\n <button class="carousel__control carousel__control--next">\n <svg viewBox="0 0 100 100">\n <path d="M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z" class="arrow" transform="translate(85,100) rotate(180)"></path>\n </svg>\n </button>\n </div>\n</div>\n*/\n.pul-carousel {\n position: relative;\n overflow: hidden;\n margin-bottom: 16px;\n text-align: center;\n}\n.pul-carousel__slides {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.pul-carousel__control {\n position: absolute;\n top: 0;\n height: 100%;\n margin: 0;\n padding: 0 3px;\n border: none;\n background-color: rgba(0, 0, 0, 0.3);\n color: #fff;\n opacity: 0.3;\n cursor: pointer;\n}\n.pul-carousel__control--previous {\n left: 0;\n}\n.pul-carousel__control--next {\n right: 0;\n}\n.pul-carousel__control:hover {\n opacity: 1;\n}\n.pul-carousel__control:focus {\n outline: none;\n}\n.pul-carousel__control-icon {\n height: 20px;\n width: 20px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-checkbox{display:inline-block;white-space:nowrap}.pul-checkbox__input{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden}.pul-checkbox__indicator{position:relative;display:inline-block;width:16px;height:16px;vertical-align:top;border:1px solid #b9b9b9;border-radius:2px;background-color:#fff;transition:border .1s,background-color .1s;cursor:pointer}.pul-checkbox__text{margin-left:8px;line-height:16px;white-space:normal}.pul-checkbox:hover .pul-checkbox__input~.pul-checkbox__indicator,.pul-checkbox__input:focus~.pul-checkbox__indicator{border-color:#76c8f4}.pul-checkbox:hover .pul-checkbox__input:checked~.pul-checkbox__indicator,.pul-checkbox__input:checked~.pul-checkbox__indicator,.pul-checkbox__input:focus:checked~.pul-checkbox__indicator{border-color:#0099ea;background-color:#0099ea}.pul-checkbox__input:checked~.pul-checkbox__indicator:after{display:block;content:"";position:absolute;top:0;left:4px;width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.pul-checkbox:hover .pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator,.pul-checkbox:hover .pul-checkbox__input[disabled]~.pul-checkbox__indicator,.pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator,.pul-checkbox__input[disabled]~.pul-checkbox__indicator{border-color:#e2e2e2;background-color:#f4f4f4;cursor:not-allowed}.pul-checkbox:hover .pul-checkbox__input:checked[disabled]~.pul-checkbox__text,.pul-checkbox:hover .pul-checkbox__input[disabled]~.pul-checkbox__text,.pul-checkbox__input:checked[disabled]~.pul-checkbox__text,.pul-checkbox__input[disabled]~.pul-checkbox__text{color:#999;cursor:not-allowed}.pul-checkbox__input:checked[disabled]~.pul-checkbox__indicator:after{border-color:#999}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Checkbox/Checkbox.less"],names:[],mappings:"AAAA,cACE,qBAAsB,AACtB,kBAAoB,CACrB,AACD,qBACE,kBAAmB,AACnB,mBAAoB,AACpB,UAAW,AACX,WAAY,AACZ,YAAa,AACb,UAAW,AACX,SAAU,AACV,eAAiB,CAClB,AACD,yBACE,kBAAmB,AACnB,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,mBAAoB,AACpB,yBAA0B,AAC1B,kBAAmB,AACnB,sBAAuB,AACvB,2CAA+C,AAC/C,cAAgB,CACjB,AACD,oBACE,gBAAiB,AACjB,iBAAkB,AAClB,kBAAoB,CACrB,AACD,sHAEE,oBAAsB,CACvB,AACD,4LAGE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4DACE,cAAe,AACf,WAAY,AACZ,kBAAmB,AACnB,MAAO,AACP,SAAU,AACV,UAAW,AACX,YAAa,AACb,kBAAmB,AACnB,yBAA0B,AAC1B,gCAAiC,AACzB,uBAAyB,CAClC,AACD,wRAIE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,oQAIE,WAAY,AACZ,kBAAoB,CACrB,AACD,sEACE,iBAAmB,CACpB",file:"Checkbox.less",sourcesContent:['.pul-checkbox {\n display: inline-block;\n white-space: nowrap;\n}\n.pul-checkbox__input {\n position: absolute;\n clip: rect(0 0 0 0);\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n border: 0;\n overflow: hidden;\n}\n.pul-checkbox__indicator {\n position: relative;\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: top;\n border: 1px solid #b9b9b9;\n border-radius: 2px;\n background-color: #fff;\n transition: border 0.1s, background-color 0.1s;\n cursor: pointer;\n}\n.pul-checkbox__text {\n margin-left: 8px;\n line-height: 16px;\n white-space: normal;\n}\n.pul-checkbox:hover .pul-checkbox__input ~ .pul-checkbox__indicator,\n.pul-checkbox__input:focus ~ .pul-checkbox__indicator {\n border-color: #76c8f4;\n}\n.pul-checkbox__input:checked ~ .pul-checkbox__indicator,\n.pul-checkbox__input:focus:checked ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input:checked ~ .pul-checkbox__indicator {\n border-color: #0099ea;\n background-color: #0099ea;\n}\n.pul-checkbox__input:checked ~ .pul-checkbox__indicator::after {\n display: block;\n content: "";\n position: absolute;\n top: 0;\n left: 4px;\n width: 6px;\n height: 10px;\n border: solid #fff;\n border-width: 0 2px 2px 0;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.pul-checkbox__input[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator,\n.pul-checkbox:hover .pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n cursor: not-allowed;\n}\n.pul-checkbox__input[disabled] ~ .pul-checkbox__text,\n.pul-checkbox:hover .pul-checkbox__input[disabled] ~ .pul-checkbox__text,\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__text,\n.pul-checkbox:hover .pul-checkbox__input:checked[disabled] ~ .pul-checkbox__text {\n color: #999;\n cursor: not-allowed;\n}\n.pul-checkbox__input:checked[disabled] ~ .pul-checkbox__indicator::after {\n border-color: #999;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:-20px;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/CodeEditor/CodeEditor.less"],names:[],mappings:"AAEA,YAEE,sBAAuB,AACvB,aAAc,AACd,WAAa,AACb,aAAe,CAChB,AAID,kBACE,aAAe,CAChB,AACD,gBACE,aAAe,CAChB,AAED,uDACE,qBAAwB,CACzB,AAID,oBACE,4BAA6B,AAC7B,yBAA0B,AAC1B,kBAAoB,CACrB,AAED,uBACE,oBAAqB,AACrB,eAAgB,AAChB,iBAAkB,AAClB,WAAY,AACZ,kBAAoB,CACrB,AAED,yBAA2B,UAAa,CAAE,AAC1C,gCAAkC,UAAY,CAAE,AAIhD,mBACE,2BAA6B,AAC7B,kBAAmB,AACnB,OAAS,CACV,AAED,2CACE,4BAA8B,CAC/B,AACD,kCACE,WAAY,AACZ,mBAAqB,AACrB,eAAiB,CAClB,AACD,sCACE,SAAW,CACZ,AACD,oBACE,mCAAyC,CAG1C,AACD,2CAHE,gDAAiD,AACjD,uCAAyC,CAQ1C,AAND,uBACE,WAAY,AACZ,SAAU,AAGV,qBAAuB,CACxB,AACD,yBAEE,IAAM,4BAA8B,CAAE,CAEvC,AACD,iBAEE,IAAM,4BAA8B,CAAE,CAEvC,AAKD,QAAU,qBAAsB,AAAC,uBAAyB,CAAE,AAE5D,mBACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAAC,UAAW,AAAC,aAAc,AAC7C,eAAiB,CAClB,AACD,kBACE,2BAA4B,AAC5B,MAAO,AAAC,SAAU,AAClB,iBAAmB,CACpB,AAID,yBAA0B,UAAY,CAAC,AACvC,wBAAyB,UAAY,CAAC,AACtC,aAAc,UAAY,CAAC,AAC3B,aAAc,UAAY,CAAC,AAC3B,sBAAwB,eAAkB,CAAC,AAC3C,OAAQ,iBAAmB,CAAC,AAC5B,SAAU,yBAA2B,CAAC,AACtC,kBAAmB,4BAA8B,CAAC,AAElD,0BAA2B,UAAY,CAAC,AACxC,uBAAwB,UAAY,CAAC,AACrC,yBAA0B,UAAY,CAAC,AACvC,sBAAuB,UAAY,CAAC,AAKpC,6BAA8B,UAAY,CAAC,AAC3C,oDAAsD,UAAY,CAAC,AACnE,0BAA2B,UAAY,CAAC,AACxC,yBAA0B,UAAY,CAAC,AACvC,2BAA4B,UAAY,CAAC,AAEzC,mDAA6B,UAAY,CAAC,AAC1C,0BAA2B,UAAY,CAAC,AACxC,0BAA2B,UAAY,CAAC,AACxC,sBAAuB,UAAY,CAAC,AACpC,4BAA6B,UAAY,CAAC,AAC1C,qBAAsB,UAAY,CAAC,AACnC,uBAAwB,UAAY,CAAC,AAGrC,wCAAiB,SAAY,CAAC,AAE9B,sBAAwB,uBAAyB,CAAE,AAInD,+CAAgD,UAAY,CAAC,AAC7D,kDAAmD,UAAY,CAAC,AAChE,wBAA0B,6BAAkC,CAAE,AAC9D,kCAAmC,kBAAoB,CAAC,AAOxD,YACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAkB,CACnB,AAED,mBACE,0BAA4B,AAG5B,oBAAqB,AAAC,mBAAoB,AAC1C,oBAAqB,AACrB,YAAa,AACb,aAAc,AACd,iBAAmB,CACpB,AACD,kBACE,kBAAmB,AACnB,mCAAqC,CACtC,AAKD,qGACE,kBAAmB,AACnB,UAAW,AACX,YAAc,CACf,AACD,uBACE,QAAS,AAAC,MAAO,AACjB,kBAAmB,AACnB,iBAAmB,CACpB,AACD,uBACE,SAAU,AAAC,OAAQ,AACnB,kBAAmB,AACnB,iBAAmB,CACpB,AACD,6BACE,QAAS,AAAC,QAAU,CACrB,AACD,0BACE,OAAQ,AAAC,QAAU,CACpB,AAED,oBACE,kBAAmB,AAAC,OAAQ,AAAC,MAAO,AACpC,gBAAiB,AACjB,SAAW,CACZ,AACD,mBACE,mBAAoB,AACpB,YAAa,AACb,qBAAsB,AACtB,mBAAoB,AACpB,mBAAqB,CACtB,AACD,2BACE,kBAAmB,AACnB,UAAW,AACX,0BAA4B,AAC5B,qBAAwB,CACzB,AACD,8BACE,kBAAmB,AACnB,MAAO,AAAC,SAAU,AAClB,SAAW,CACZ,AACD,uBACE,kBAAmB,AACnB,eAAgB,AAChB,SAAW,CACZ,AAED,uCAAyC,4BAA6B,CAAE,AACxE,4CAA8C,4BAA6B,CAAE,AAE7E,kBACE,YAAa,AACb,cAAgB,CACjB,AACD,gBACmE,gBAAiB,AAClF,eAAgB,AAChB,uBAAwB,AACxB,oBAAqB,AACrB,kBAAmB,AACnB,SAAU,AACV,gBAAiB,AACjB,iBAAkB,AAClB,oBAAqB,AACrB,cAAe,AACf,UAAW,AACX,kBAAmB,AACnB,iBAAkB,AAClB,wCAAyC,AACzC,0CAA2C,AAC3C,iCAAmC,CACpC,AACD,qBACE,qBAAsB,AACtB,qBAAsB,AACtB,iBAAmB,CACpB,AAED,2BACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAAC,MAAO,AAAC,SAAU,AACrC,SAAW,CACZ,AAED,uBACE,kBAAmB,AACnB,UAAW,AACX,YAAe,CAChB,AAID,oBAAsB,aAAe,CAAE,AAEvC,iBACE,YAAc,CACf,AAGD,mGAKE,sBAAwB,CACzB,AAED,oBACE,kBAAmB,AACnB,WAAY,AACZ,SAAU,AACV,gBAAiB,AACjB,iBAAmB,CACpB,AAED,mBACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,wBAA0B,eAAiB,CAAE,AAE7C,uBACE,kBAAmB,AACnB,kBAAmB,AACnB,SAAW,CACZ,AAKD,sEACE,kBAAoB,CACrB,AAED,qBAAuB,kBAAoB,CAAE,AAC7C,yCAA2C,kBAAoB,CAAE,AACjE,sBAAwB,gBAAkB,CAAE,AAE5C,mGAA6G,kBAAoB,CAAE,AACnI,kHAA4H,kBAAoB,CAAE,AAElJ,cACE,sBAAuB,AACvB,mCAAwC,CACzC,AAGD,iBAAmB,kBAAoB,CAAE,AAEzC,aAEE,mCACE,iBAAmB,CACpB,CACF,AAGD,wBAA0B,UAAY,CAAE,AAGxC,6BAA+B,eAAiB,CAAE,AAElD,mBACE,kBAAmB,AACnB,OAAQ,AAAC,QAAS,AAClB,mBAAoB,AACpB,WAAY,AACZ,kBAAmB,AACnB,gBAAiB,AACjB,aAAe,CAChB,AAED,uBACE,6BAA8B,AAC9B,KAAO,CACR,AAED,0BACE,0BAA2B,AAC3B,QAAU,CACX,AAED,yBACE,YAAa,AACb,aAAc,AACd,uBAAwB,AACxB,WAAY,AACZ,cAAe,AACf,qBAAuB,CACxB,AAED,0BACE,aAAe,CAChB",file:"CodeEditor.less",sourcesContent:["/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: -20px;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 30px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -30px; margin-right: -30px;\n padding-bottom: 30px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 30px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -30px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre {\n /* Reset some styles that the rest of the page might have set */ border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n\n.CodeMirror-dialog {\n position: absolute;\n left: 0; right: 0;\n background: inherit;\n z-index: 15;\n padding: .1em .8em;\n overflow: hidden;\n color: inherit;\n}\n\n.CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n}\n\n.CodeMirror-dialog input {\n border: none;\n outline: none;\n background: transparent;\n width: 20em;\n color: inherit;\n font-family: monospace;\n}\n\n.CodeMirror-dialog button {\n font-size: 70%;\n}\n\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".animation-blink{-webkit-animation:blink 1s infinite steps(2,start);animation:blink 1s infinite steps(2,start)}@-webkit-keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes fade{0%{opacity:0}to{opacity:1}}@-webkit-keyframes fade-top{0%{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-top{0%{opacity:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fade-left{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-left{0%{opacity:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fade-right{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fade-right{0%{opacity:0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2);transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2);transform:scale(.2)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8);transform:scale(1.8)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8);transform:scale(1.8)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes slide-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slide-right{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slide-right{0%{-webkit-transform:translateX(100%);transform:translateX(100%)}to{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes scale-12{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes scale-12{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(-9px);transform:translateX(-9px)}20%{-webkit-transform:translateX(8px);transform:translateX(8px)}30%{-webkit-transform:translateX(-7px);transform:translateX(-7px)}40%{-webkit-transform:translateX(6px);transform:translateX(6px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}60%{-webkit-transform:translateX(4px);transform:translateX(4px)}70%{-webkit-transform:translateX(-3px);transform:translateX(-3px)}80%{-webkit-transform:translateX(2px);transform:translateX(2px)}90%{-webkit-transform:translateX(-1px);transform:translateX(-1px)}}@keyframes shake{0%,to{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(-9px);transform:translateX(-9px)}20%{-webkit-transform:translateX(8px);transform:translateX(8px)}30%{-webkit-transform:translateX(-7px);transform:translateX(-7px)}40%{-webkit-transform:translateX(6px);transform:translateX(6px)}50%{-webkit-transform:translateX(-5px);transform:translateX(-5px)}60%{-webkit-transform:translateX(4px);transform:translateX(4px)}70%{-webkit-transform:translateX(-3px);transform:translateX(-3px)}80%{-webkit-transform:translateX(2px);transform:translateX(2px)}90%{-webkit-transform:translateX(-1px);transform:translateX(-1px)}}@-webkit-keyframes blink{80%{visibility:hidden}}@keyframes blink{80%{visibility:hidden}}@-webkit-keyframes slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.pul-console-output{box-sizing:border-box;min-height:15.385em;max-height:25em;max-width:80em;padding:.7692em;border:1px solid #afbac1;background:#ededed;font:1em/1.231em Consolas,Liberation Mono,Menlo,Courier,monospace;color:#020202;-moz-tab-size:4;-o-tab-size:4;tab-size:4;overflow:auto;overflow-x:hidden;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word}.pul-console-output__cursor{display:inline-block;width:.4615em;height:1em;margin-left:.2308em;vertical-align:-1px;background-color:#666}.pul-console-output--wide{max-width:100%}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/ConsoleOutput/ConsoleOutput.less"],names:[],mappings:"AAGA,iBACE,mDAAqD,AAC7C,0CAA6C,CACtD,AAGD,wBACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,gBACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AAGD,4BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,oBACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,+BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,uBACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,6BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,qBACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,8BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sBACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AAGD,iCACE,GACE,UAAW,AACX,4BAA8B,AACtB,mBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,4BAA8B,AACtB,mBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,iCACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,iCACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,yBACE,GACE,UAAW,AACX,6BAA8B,AACtB,oBAAsB,CAC/B,AACD,GACE,UAAW,AACX,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AAGD,8BACE,GACE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sBACE,GACE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,+BACE,GACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,uBACE,GACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AAGD,4BACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,oBACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AAGD,0BACE,GACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,GACE,iCAAkC,AAC1B,wBAA0B,CACnC,CACF,AACD,kBACE,GACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,GACE,iCAAkC,AAC1B,wBAA0B,CACnC,CACF,AAGD,yBACE,MAEE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AACD,iBACE,MAEE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,IACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,IACE,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AAGD,yBACE,IACE,iBAAmB,CACpB,CACF,AACD,iBACE,IACE,iBAAmB,CACpB,CACF,AAGD,mCACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,2BACE,GACE,UAAW,AACX,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,sCACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AACD,8BACE,GACE,UAAW,AACX,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,GACE,UAAW,AACX,gCAAiC,AACzB,uBAAyB,CAClC,CACF,AA2BD,oBACE,sBAAuB,AACvB,oBAAqB,AACrB,gBAAiB,AACjB,eAAgB,AAChB,gBAAkB,AAClB,yBAA0B,AAC1B,mBAAoB,AACpB,kEAAyE,AACzE,cAAe,AACf,gBAAiB,AACf,cAAe,AACZ,WAAY,AACjB,cAAe,AACf,kBAAmB,AACnB,qBAAsB,AACtB,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4BACE,qBAAsB,AACtB,cAAgB,AAChB,WAAY,AACZ,oBAAsB,AACtB,oBAAqB,AACrB,qBAAuB,CACxB,AACD,0BACE,cAAgB,CACjB",file:"ConsoleOutput.less",sourcesContent:['/* ========================================================================\n Animation\n ========================================================================== */\n.animation-blink {\n -webkit-animation: blink 1s infinite steps(2, start);\n animation: blink 1s infinite steps(2, start);\n}\n/* Keyframes: Fade\n ========================================================================== */\n@-webkit-keyframes fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n/* Keyframes: Fade with slide\n ========================================================================== */\n@-webkit-keyframes fade-top {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes fade-top {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-100%);\n transform: translateY(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes fade-bottom {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(100%);\n transform: translateY(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes fade-bottom {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(100%);\n transform: translateY(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes fade-left {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes fade-left {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes fade-right {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes fade-right {\n 0% {\n opacity: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n/* Keyframes: Fade with scale\n ========================================================================== */\n@-webkit-keyframes fade-scale-02 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(0.2);\n transform: scale(0.2);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-02 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(0.2);\n transform: scale(0.2);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes fade-scale-15 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.5);\n transform: scale(1.5);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-15 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.5);\n transform: scale(1.5);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@-webkit-keyframes fade-scale-18 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.8);\n transform: scale(1.8);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes fade-scale-18 {\n 0% {\n opacity: 0;\n -webkit-transform: scale(1.8);\n transform: scale(1.8);\n }\n 100% {\n opacity: 1;\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n/* Keyframes: Slide\n ========================================================================== */\n@-webkit-keyframes slide-left {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes slide-left {\n 0% {\n -webkit-transform: translateX(-100%);\n transform: translateX(-100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@-webkit-keyframes slide-right {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n@keyframes slide-right {\n 0% {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n }\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n}\n/* Keyframes: Scale\n ========================================================================== */\n@-webkit-keyframes scale-12 {\n 0% {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n 100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes scale-12 {\n 0% {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n 100% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n/* Keyframes: Rotate\n ========================================================================== */\n@-webkit-keyframes rotate {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n@keyframes rotate {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n/* Keyframes: Shake\n ========================================================================== */\n@-webkit-keyframes shake {\n 0%,\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 10% {\n -webkit-transform: translateX(-9px);\n transform: translateX(-9px);\n }\n 20% {\n -webkit-transform: translateX(8px);\n transform: translateX(8px);\n }\n 30% {\n -webkit-transform: translateX(-7px);\n transform: translateX(-7px);\n }\n 40% {\n -webkit-transform: translateX(6px);\n transform: translateX(6px);\n }\n 50% {\n -webkit-transform: translateX(-5px);\n transform: translateX(-5px);\n }\n 60% {\n -webkit-transform: translateX(4px);\n transform: translateX(4px);\n }\n 70% {\n -webkit-transform: translateX(-3px);\n transform: translateX(-3px);\n }\n 80% {\n -webkit-transform: translateX(2px);\n transform: translateX(2px);\n }\n 90% {\n -webkit-transform: translateX(-1px);\n transform: translateX(-1px);\n }\n}\n@keyframes shake {\n 0%,\n 100% {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n }\n 10% {\n -webkit-transform: translateX(-9px);\n transform: translateX(-9px);\n }\n 20% {\n -webkit-transform: translateX(8px);\n transform: translateX(8px);\n }\n 30% {\n -webkit-transform: translateX(-7px);\n transform: translateX(-7px);\n }\n 40% {\n -webkit-transform: translateX(6px);\n transform: translateX(6px);\n }\n 50% {\n -webkit-transform: translateX(-5px);\n transform: translateX(-5px);\n }\n 60% {\n -webkit-transform: translateX(4px);\n transform: translateX(4px);\n }\n 70% {\n -webkit-transform: translateX(-3px);\n transform: translateX(-3px);\n }\n 80% {\n -webkit-transform: translateX(2px);\n transform: translateX(2px);\n }\n 90% {\n -webkit-transform: translateX(-1px);\n transform: translateX(-1px);\n }\n}\n/* Keyframes: Blink\n ========================================================================== */\n@-webkit-keyframes blink {\n 80% {\n visibility: hidden;\n }\n}\n@keyframes blink {\n 80% {\n visibility: hidden;\n }\n}\n/* Keyframes: Fade with slide fixed\n ========================================================================== */\n@-webkit-keyframes slide-top-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-10px);\n transform: translateY(-10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes slide-top-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(-10px);\n transform: translateY(-10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@-webkit-keyframes slide-bottom-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px);\n transform: translateY(10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n@keyframes slide-bottom-fixed {\n 0% {\n opacity: 0;\n -webkit-transform: translateY(10px);\n transform: translateY(10px);\n }\n 100% {\n opacity: 1;\n -webkit-transform: translateY(0);\n transform: translateY(0);\n }\n}\n/*doc\n---\ntitle: "Console Output"\nname: console-output\ncategory: "Components - Console Output"\n---\n\n- [console-output.less] (https://git.plesk.ru/projects/PLESK/repos/plesk/browse/common/theme/less/core/console-output.less)\n- [Description] (https://docs.plesk.ru/display/PPP/05+-+Widgets#id-05-Widgets-ConsoleOutput)\n\n```html_example\n<pre class="console-output">\nconsole-output\n...<span class="cursor animation-blink"></span>\n</pre>\n```\n### Full Width Console Output\n```html_example\n<pre class="console-output console-output-wide">\nconsole-output-wide...<span class="cursor animation-blink"></span>\n</pre>\n```\n*/\n/* ========================================================================\n Console Output\n ========================================================================== */\n.pul-console-output {\n box-sizing: border-box;\n min-height: 15.385em;\n max-height: 25em;\n max-width: 80em;\n padding: 0.7692em;\n border: 1px solid #afbac1;\n background: #ededed;\n font: 1em/1.231em Consolas, "Liberation Mono", Menlo, Courier, monospace;\n color: #020202;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n overflow: auto;\n overflow-x: hidden;\n white-space: pre-wrap;\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n.pul-console-output__cursor {\n display: inline-block;\n width: 0.4615em;\n height: 1em;\n margin-left: 0.2308em;\n vertical-align: -1px;\n background-color: #666;\n}\n.pul-console-output--wide {\n max-width: 100%;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-cuttable__content{overflow:hidden}.pul-cuttable--expand .pul-cuttable__content{max-height:none!important}.pul-cuttable--collapse .pul-cuttable__content{position:relative}.pul-cuttable--collapse .pul-cuttable__content:after{content:"";position:absolute;width:100%;left:0;bottom:0;height:1.4em;box-shadow:inset 0 -30px 18px -18px #fff}.pul-list tr.is-selected>td .pul-cuttable--collapse .pul-cuttable__content:after{box-shadow:inset 0 -30px 18px -18px #ffdfba}.pul-list tr:not(.is-selected):hover>td .pul-cuttable--collapse .pul-cuttable__content:after{box-shadow:inset 0 -30px 18px -18px #ecf5f9}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Cuttable/Cuttable.less"],names:[],mappings:"AAaA,uBACE,eAAiB,CAClB,AACD,6CACE,yBAA4B,CAC7B,AACD,+CACE,iBAAmB,CACpB,AACD,qDACE,WAAY,AACZ,kBAAmB,AACnB,WAAY,AACZ,OAAQ,AACR,SAAU,AACV,aAAc,AACd,wCAA0C,CAC3C,AACD,iFACE,2CAA6C,CAC9C,AACD,6FACE,2CAA6C,CAC9C",file:"Cuttable.less",sourcesContent:['/*\nCarousel\n\nMarkup:\n<div class="cuttable {{.modifier}}">\n <div class="cuttable__content">{{children}}</div>\n <div class="cuttable__action">{{children}}</div>\n</div>\n\nModifiers:\n.cuttable--expand\n.cuttable--collapse\n*/\n.pul-cuttable__content {\n overflow: hidden;\n}\n.pul-cuttable--expand .pul-cuttable__content {\n max-height: none !important;\n}\n.pul-cuttable--collapse .pul-cuttable__content {\n position: relative;\n}\n.pul-cuttable--collapse .pul-cuttable__content::after {\n content: "";\n position: absolute;\n width: 100%;\n left: 0;\n bottom: 0;\n height: 1.4em;\n box-shadow: inset 0 -30px 18px -18px #fff;\n}\n.pul-list tr.is-selected > td .pul-cuttable--collapse .pul-cuttable__content::after {\n box-shadow: inset 0 -30px 18px -18px #ffdfba;\n}\n.pul-list tr:not(.is-selected):hover > td .pul-cuttable--collapse .pul-cuttable__content::after {\n box-shadow: inset 0 -30px 18px -18px #ecf5f9;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-dialog__heading{padding:10px 20px;line-height:26px;background-color:#219ed4}.pul-dialog__heading-title{margin:0;font-size:24px;color:#fff}.pul-dialog__banner,.pul-dialog__image{text-align:center}.pul-dialog__banner-inner{width:100%;height:auto}.pul-dialog__image{padding-bottom:10px}.pul-dialog__image-inner{max-width:100%;height:auto}.pul-dialog__content{padding:10px 20px;max-height:calc(100vh - 112px);overflow-y:auto}.pul-dialog__buttons{margin-top:12px;padding-top:10px;border-top:1px solid #ddd;text-align:center}.pul-dialog__buttons .pul-button{min-width:90px;margin-right:10px;padding:8px 12px;font-weight:600}@media (min-width:480px){.pul-dialog__content{padding-bottom:0}.pul-dialog__buttons,.pul-dialog__form-footer{position:-webkit-sticky;position:sticky;bottom:0;background-color:#fff;padding-bottom:10px}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Dialog/Dialog.less"],names:[],mappings:"AAAA,qBACE,kBAAmB,AACnB,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,2BACE,SAAU,AACV,eAAgB,AAChB,UAAY,CACb,AACD,uCAEE,iBAAmB,CACpB,AACD,0BACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,mBAAqB,CACtB,AACD,yBACE,eAAgB,AAChB,WAAa,CACd,AACD,qBACE,kBAAmB,AACnB,+BAAgC,AAChC,eAAiB,CAClB,AACD,qBACE,gBAAiB,AACjB,iBAAkB,AAClB,0BAA2B,AAC3B,iBAAmB,CACpB,AACD,iCACE,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAiB,CAClB,AACD,yBACE,qBACE,gBAAkB,CACnB,AACD,8CAEE,wBAAyB,AACzB,gBAAiB,AACjB,SAAU,AACV,sBAAwB,AACxB,mBAAqB,CACtB,CACF",file:"Dialog.less",sourcesContent:[".pul-dialog__heading {\n padding: 10px 20px;\n line-height: 26px;\n background-color: #219ed4;\n}\n.pul-dialog__heading-title {\n margin: 0;\n font-size: 24px;\n color: #fff;\n}\n.pul-dialog__banner,\n.pul-dialog__image {\n text-align: center;\n}\n.pul-dialog__banner-inner {\n width: 100%;\n height: auto;\n}\n.pul-dialog__image {\n padding-bottom: 10px;\n}\n.pul-dialog__image-inner {\n max-width: 100%;\n height: auto;\n}\n.pul-dialog__content {\n padding: 10px 20px;\n max-height: calc(100vh - 112px);\n overflow-y: auto;\n}\n.pul-dialog__buttons {\n margin-top: 12px;\n padding-top: 10px;\n border-top: 1px solid #ddd;\n text-align: center;\n}\n.pul-dialog__buttons .pul-button {\n min-width: 90px;\n margin-right: 10px;\n padding: 8px 12px;\n font-weight: 600;\n}\n@media (min-width: 480px) {\n .pul-dialog__content {\n padding-bottom: 0;\n }\n .pul-dialog__form-footer,\n .pul-dialog__buttons {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n background-color: white;\n padding-bottom: 10px;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-drawer__subheader{position:-webkit-sticky;position:sticky;top:0;border-bottom:1px solid rgba(0,0,0,.35);transition:all .2s ease-in-out;overflow-y:hidden;width:100%;background-color:hsla(0,0%,100%,.9);-webkit-box-flex:0;-ms-flex:none;flex:none;z-index:1}@supports ((-webkit-backdrop-filter:blur(10px)) or (backdrop-filter:blur(10px))){.pul-drawer__subheader{background-color:transparent;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}}@media (max-width:480px){.pul-drawer__subheader--hidden{top:-52px}}.pul-drawer__subheader-title{padding:14px 20px 13px;font-size:18px;line-height:24px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pul-drawer__body{overflow:auto;position:relative;z-index:1}.pul-drawer__inner-body{padding:20px 24px}.pul-drawer__form{padding:20px 24px 0}@media (min-width:480px){.pul-drawer--form .pul-drawer__body{padding-bottom:0}.pul-drawer__form-footer{position:-webkit-sticky;position:sticky;bottom:0;margin-right:-24px;margin-left:-24px;margin-bottom:0;padding:10px 24px 20px;background-color:#fff}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Drawer/Drawer.less"],names:[],mappings:"AAAA,uBACE,wBAAyB,AACzB,gBAAiB,AACjB,MAAO,AACP,wCAA6C,AAC7C,+BAAiC,AACjC,kBAAmB,AACnB,WAAY,AACZ,oCAA2C,AAC3C,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,SAAW,CACZ,AACD,iFACE,uBACE,6BAA8B,AAC9B,mCAAoC,AAC5B,0BAA4B,CACrC,CACF,AACD,yBACE,+BACE,SAAW,CACZ,CACF,AACD,6BACE,uBAAwB,AACxB,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,mBAAoB,AACpB,uBAAwB,AACxB,eAAiB,CAClB,AACD,kBACE,cAAe,AACf,kBAAmB,AACnB,SAAW,CACZ,AACD,wBACE,iBAAmB,CACpB,AACD,kBACE,mBAAqB,CACtB,AACD,yBACE,oCACE,gBAAkB,CACnB,AACD,yBACE,wBAAyB,AACzB,gBAAiB,AACjB,SAAU,AACV,mBAAoB,AACpB,kBAAmB,AACnB,gBAAiB,AACjB,uBAAwB,AACxB,qBAAwB,CACzB,CACF",file:"Drawer.less",sourcesContent:[".pul-drawer__subheader {\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n border-bottom: 1px solid rgba(0, 0, 0, 0.35);\n transition: all 0.2s ease-in-out;\n overflow-y: hidden;\n width: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n z-index: 1;\n}\n@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {\n .pul-drawer__subheader {\n background-color: transparent;\n -webkit-backdrop-filter: blur(10px);\n backdrop-filter: blur(10px);\n }\n}\n@media (max-width: 480px) {\n .pul-drawer__subheader--hidden {\n top: -52px;\n }\n}\n.pul-drawer__subheader-title {\n padding: 14px 20px 13px;\n font-size: 18px;\n line-height: 24px;\n margin: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.pul-drawer__body {\n overflow: auto;\n position: relative;\n z-index: 1;\n}\n.pul-drawer__inner-body {\n padding: 20px 24px;\n}\n.pul-drawer__form {\n padding: 20px 24px 0;\n}\n@media (min-width: 480px) {\n .pul-drawer--form .pul-drawer__body {\n padding-bottom: 0;\n }\n .pul-drawer__form-footer {\n position: -webkit-sticky;\n position: sticky;\n bottom: 0;\n margin-right: -24px;\n margin-left: -24px;\n margin-bottom: 0;\n padding: 10px 24px 20px;\n background-color: white;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-drawer-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:none;flex:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:9px 20px;background-color:#009cd2}.pul-drawer-header__title{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-size:25px;line-height:34px;margin:0;color:#fff;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pul-drawer-header__back-button{margin-right:16px}.pul-drawer-header__icon{width:16px;height:16px;color:#fff}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Drawer/Header.less"],names:[],mappings:"AAAA,mBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,0BACE,mBAAoB,AAChB,oBAAqB,AACjB,YAAa,AACrB,eAAgB,AAChB,iBAAkB,AAClB,SAAU,AACV,WAAY,AACZ,mBAAoB,AACpB,uBAAwB,AACxB,eAAiB,CAClB,AACD,gCACE,iBAAmB,CACpB,AACD,yBACE,WAAY,AACZ,YAAa,AACb,UAAY,CACb",file:"Header.less",sourcesContent:[".pul-drawer-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 9px 20px;\n background-color: #009cd2;\n}\n.pul-drawer-header__title {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n font-size: 25px;\n line-height: 34px;\n margin: 0;\n color: #fff;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.pul-drawer-header__back-button {\n margin-right: 16px;\n}\n.pul-drawer-header__icon {\n width: 16px;\n height: 16px;\n color: #fff;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-dropdown{position:relative}.pul-dropdown__popper{max-width:calc(100% - 10px)}.pul-dropdown__menu{margin:2px 0}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Dropdown/Dropdown.less"],names:[],mappings:"AAAA,cACE,iBAAmB,CACpB,AACD,sBACE,2BAA6B,CAC9B,AACD,oBACE,YAAc,CACf",file:"Dropdown.less",sourcesContent:[".pul-dropdown {\n position: relative;\n}\n.pul-dropdown__popper {\n max-width: calc(100% - 10px);\n}\n.pul-dropdown__menu {\n margin: 2px 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-extended-status-message{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:550px;margin:12px auto;padding:10px;background:#f0f0f0}.pul-extended-status-message hr{border-top-color:#bdbdbd}.pul-extended-status-message--success{background-color:#bcdf94}.pul-extended-status-message--success .pul-extended-status-message__title{color:#3c591b}.pul-extended-status-message--success hr{border-top-color:#8bc845}.pul-extended-status-message--info{background-color:#c6e5fa}.pul-extended-status-message--info .pul-extended-status-message__title{color:#1070b1}.pul-extended-status-message--info hr{border-top-color:#68baf2}.pul-extended-status-message--warning{background-color:#fdd896}.pul-extended-status-message--warning .pul-extended-status-message__title{color:#915e03}.pul-extended-status-message--warning hr{border-top-color:#fbb332}.pul-extended-status-message--danger{background-color:#f4b3b3}.pul-extended-status-message--danger .pul-extended-status-message__title{color:#931515}.pul-extended-status-message--danger hr{border-top-color:#e75a5a}.pul-extended-status-message__image{padding:10px}.pul-extended-status-message__image img{max-width:128px}.pul-extended-status-message__body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:10px;box-sizing:border-box}.pul-extended-status-message__title{line-height:normal;font-size:18px;font-weight:700}.pul-extended-status-message__description{display:block;margin-top:10px}.pul-extended-status-message__actions{margin-top:6px}.pul-extended-status-message__actions .pul-button{margin:6px 2px 0}@media (max-width:600px){.pul-extended-status-message{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.pul-extended-status-message__image img{max-width:64px}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/ExtendedStatusMessage/ExtendedStatusMessage.less"],names:[],mappings:"AAAA,6BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,gBAAiB,AACjB,iBAAkB,AAClB,aAAc,AACd,kBAAoB,CACrB,AACD,gCACE,wBAA0B,CAC3B,AACD,sCACE,wBAA0B,CAC3B,AACD,0EACE,aAAe,CAChB,AACD,yCACE,wBAA0B,CAC3B,AACD,mCACE,wBAA0B,CAC3B,AACD,uEACE,aAAe,CAChB,AACD,sCACE,wBAA0B,CAC3B,AACD,sCACE,wBAA0B,CAC3B,AACD,0EACE,aAAe,CAChB,AACD,yCACE,wBAA0B,CAC3B,AACD,qCACE,wBAA0B,CAC3B,AACD,yEACE,aAAe,CAChB,AACD,wCACE,wBAA0B,CAC3B,AACD,oCACE,YAAc,CACf,AACD,wCACE,eAAiB,CAClB,AACD,mCACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,aAAc,AACd,qBAAuB,CACxB,AACD,oCACE,mBAAoB,AACpB,eAAgB,AAChB,eAAkB,CACnB,AACD,0CACE,cAAe,AACf,eAAiB,CAClB,AACD,sCACE,cAAgB,CACjB,AACD,kDACE,gBAAkB,CACnB,AACD,yBACE,6BACE,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,qBAAuB,CAChC,AACD,wCACE,cAAgB,CACjB,CACF",file:"ExtendedStatusMessage.less",sourcesContent:[".pul-extended-status-message {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n max-width: 550px;\n margin: 12px auto;\n padding: 10px;\n background: #f0f0f0;\n}\n.pul-extended-status-message hr {\n border-top-color: #bdbdbd;\n}\n.pul-extended-status-message--success {\n background-color: #bcdf94;\n}\n.pul-extended-status-message--success .pul-extended-status-message__title {\n color: #3c591b;\n}\n.pul-extended-status-message--success hr {\n border-top-color: #8bc845;\n}\n.pul-extended-status-message--info {\n background-color: #c6e5fa;\n}\n.pul-extended-status-message--info .pul-extended-status-message__title {\n color: #1070b1;\n}\n.pul-extended-status-message--info hr {\n border-top-color: #68baf2;\n}\n.pul-extended-status-message--warning {\n background-color: #fdd896;\n}\n.pul-extended-status-message--warning .pul-extended-status-message__title {\n color: #915e03;\n}\n.pul-extended-status-message--warning hr {\n border-top-color: #fbb332;\n}\n.pul-extended-status-message--danger {\n background-color: #f4b3b3;\n}\n.pul-extended-status-message--danger .pul-extended-status-message__title {\n color: #931515;\n}\n.pul-extended-status-message--danger hr {\n border-top-color: #e75a5a;\n}\n.pul-extended-status-message__image {\n padding: 10px;\n}\n.pul-extended-status-message__image img {\n max-width: 128px;\n}\n.pul-extended-status-message__body {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 10px;\n box-sizing: border-box;\n}\n.pul-extended-status-message__title {\n line-height: normal;\n font-size: 18px;\n font-weight: bold;\n}\n.pul-extended-status-message__description {\n display: block;\n margin-top: 10px;\n}\n.pul-extended-status-message__actions {\n margin-top: 6px;\n}\n.pul-extended-status-message__actions .pul-button {\n margin: 6px 2px 0;\n}\n@media (max-width: 600px) {\n .pul-extended-status-message {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n }\n .pul-extended-status-message__image img {\n max-width: 64px;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-figure{position:relative;display:inline-block}.pul-figure--slide{margin:0}.pul-figure__caption{padding-top:5px}.pul-figure__overlay{position:absolute;padding:16px}.pul-figure__overlay--top{top:0;right:0;left:0}.pul-figure__overlay--bottom{right:0;bottom:0;left:0}.pul-figure__overlay--cover{top:0;right:0;bottom:0;left:0}.pul-figure__action{background-image:linear-gradient(180deg,transparent 0,transparent 50%,rgba(0,0,0,.8));cursor:pointer}.pul-figure__action:hover{background-color:rgba(0,0,0,.4)}.pul-figure__action+.pul-figure__overlay{pointer-events:none;line-height:1.3;font-weight:300;font-size:12px;text-shadow:0 1px 0 rgba(0,0,0,.8)}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Figure/Figure.less"],names:[],mappings:"AAAA,YACE,kBAAmB,AACnB,oBAAsB,CACvB,AACD,mBACE,QAAU,CACX,AACD,qBACE,eAAiB,CAClB,AACD,qBACE,kBAAmB,AACnB,YAAc,CACf,AACD,0BACE,MAAO,AACP,QAAS,AACT,MAAQ,CACT,AACD,6BACE,QAAS,AACT,SAAU,AACV,MAAQ,CACT,AACD,4BACE,MAAO,AACP,QAAS,AACT,SAAU,AACV,MAAQ,CACT,AACD,oBACE,sFAAiH,AACjH,cAAgB,CACjB,AACD,0BACE,+BAAqC,CACtC,AACD,yCACE,oBAAqB,AACrB,gBAAiB,AACjB,gBAAiB,AACjB,eAAgB,AAChB,kCAAwC,CACzC",file:"Figure.less",sourcesContent:[".pul-figure {\n position: relative;\n display: inline-block;\n}\n.pul-figure--slide {\n margin: 0;\n}\n.pul-figure__caption {\n padding-top: 5px;\n}\n.pul-figure__overlay {\n position: absolute;\n padding: 16px;\n}\n.pul-figure__overlay--top {\n top: 0;\n right: 0;\n left: 0;\n}\n.pul-figure__overlay--bottom {\n right: 0;\n bottom: 0;\n left: 0;\n}\n.pul-figure__overlay--cover {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.pul-figure__action {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);\n cursor: pointer;\n}\n.pul-figure__action:hover {\n background-color: rgba(0, 0, 0, 0.4);\n}\n.pul-figure__action + .pul-figure__overlay {\n pointer-events: none;\n line-height: 1.3;\n font-weight: 300;\n font-size: 12px;\n text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form__required{color:#c80000}.pul-form__footer .pul-button{min-width:90px;margin-right:10px;padding:8px 12px;font-weight:600}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Form/Form.less"],names:[],mappings:"AAAA,oBACE,aAAe,CAChB,AACD,8BACE,eAAgB,AAChB,kBAAmB,AACnB,iBAAkB,AAClB,eAAiB,CAClB",file:"Form.less",sourcesContent:[".pul-form__required {\n color: #c80000;\n}\n.pul-form__footer .pul-button {\n min-width: 90px;\n margin-right: 10px;\n padding: 8px 12px;\n font-weight: 600;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field{box-sizing:border-box;min-height:26px}.pul-form-field--error{position:relative;background:#fedddf;box-shadow:0 0 0 3px #fedddf}.pul-form-field__description,.pul-form-field__error{display:block;max-width:500px;margin:0 0 5px;padding:0}.pul-form-field__error{color:#c80000}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/FormField/FormField.less"],names:[],mappings:"AAAA,gBACE,sBAAuB,AACvB,eAAiB,CAClB,AACD,uBACE,kBAAmB,AACnB,mBAAoB,AACpB,4BAA8B,CAC/B,AACD,oDAEE,cAAe,AACf,gBAAiB,AACjB,eAAgB,AAChB,SAAW,CACZ,AACD,uBACE,aAAe,CAChB",file:"FormField.less",sourcesContent:[".pul-form-field {\n box-sizing: border-box;\n min-height: 26px;\n}\n.pul-form-field--error {\n position: relative;\n background: #fedddf;\n box-shadow: 0 0 0 3px #fedddf;\n}\n.pul-form-field__error,\n.pul-form-field__description {\n display: block;\n max-width: 500px;\n margin: 0 0 5px;\n padding: 0;\n}\n.pul-form-field__error {\n color: #c80000;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field-checkbox .pul-form-field__description,.pul-form-field-checkbox .pul-form-field__error{margin-left:26px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/FormFieldCheckbox/FormFieldCheckbox.less"],names:[],mappings:"AAAA,sGAEE,gBAAkB,CACnB",file:"FormFieldCheckbox.less",sourcesContent:[".pul-form-field-checkbox .pul-form-field__error,\n.pul-form-field-checkbox .pul-form-field__description {\n margin-left: 26px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-form-field-password .pul-button{min-height:26px;padding-top:3px;padding-bottom:3px}.pul-form-field-password .pul-button--empty{min-height:26px;min-width:26px;padding:3px 4px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/FormFieldPassword/FormFieldPassword.less"],names:[],mappings:"AAAA,qCACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,4CACE,gBAAiB,AACjB,eAAgB,AAChB,eAAiB,CAClB",file:"FormFieldPassword.less",sourcesContent:[".pul-form-field-password .pul-button {\n min-height: 26px;\n padding-top: 3px;\n padding-bottom: 3px;\n}\n.pul-form-field-password .pul-button--empty {\n min-height: 26px;\n min-width: 26px;\n padding: 3px 4px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"FormFieldRadioButtons.less",sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"","",{version:3,sources:[],names:[],mappings:"",file:"FormFieldText.less",sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-grid{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;list-style:none;margin:0}.pul-grid,.pul-grid__col{box-sizing:border-box;padding:0}.pul-grid__col{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;max-width:100%}.pul-grid__col>:last-child{margin-bottom:0}.pul-grid.pul-grid__col{margin:0;padding:0}@media (min-width:480px){.pul-grid--xs-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--xs-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--xs-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--xs-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--xs-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--xs-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--xs-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--xs-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--xs-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--xs-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--xs-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--xs-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--xs-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--xs-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--xs-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--xs-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--xs-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--xs-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:768px){.pul-grid--sm-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--sm-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--sm-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--sm-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--sm-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--sm-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--sm-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--sm-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--sm-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--sm-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--sm-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--sm-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--sm-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--sm-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--sm-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--sm-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--sm-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--sm-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:992px){.pul-grid--md-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--md-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--md-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--md-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--md-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--md-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--md-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--md-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--md-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--md-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--md-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--md-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--md-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--md-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--md-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--md-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--md-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--md-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:1200px){.pul-grid--lg-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--lg-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--lg-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--lg-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--lg-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--lg-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--lg-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--lg-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--lg-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--lg-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--lg-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--lg-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--lg-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--lg-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--lg-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--lg-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--lg-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--lg-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}@media (min-width:1600px){.pul-grid--xl-2>.pul-grid__col{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.pul-grid--xl-3>.pul-grid__col{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.pul-grid--xl-4>.pul-grid__col{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.pul-grid--xl-5>.pul-grid__col{-ms-flex-preferred-size:20%;flex-basis:20%;max-width:20%}.pul-grid--xl-6>.pul-grid__col{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.pul-grid--xl-auto>.pul-grid__col{-ms-flex-preferred-size:0;flex-basis:0}.pul-grid__col--xl-1{-ms-flex-preferred-size:8.33333333%!important;flex-basis:8.33333333%!important;max-width:8.33333333%!important}.pul-grid__col--xl-2{-ms-flex-preferred-size:16.66666667%!important;flex-basis:16.66666667%!important;max-width:16.66666667%!important}.pul-grid__col--xl-3{-ms-flex-preferred-size:25%!important;flex-basis:25%!important;max-width:25%!important}.pul-grid__col--xl-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.pul-grid__col--xl-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.pul-grid__col--xl-6{-ms-flex-preferred-size:50%!important;flex-basis:50%!important;max-width:50%!important}.pul-grid__col--xl-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.pul-grid__col--xl-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}.pul-grid__col--xl-9{-ms-flex-preferred-size:75%!important;flex-basis:75%!important;max-width:75%!important}.pul-grid__col--xl-10{-ms-flex-preferred-size:83.33333333%!important;flex-basis:83.33333333%!important;max-width:83.33333333%!important}.pul-grid__col--xl-11{-ms-flex-preferred-size:91.66666667%!important;flex-basis:91.66666667%!important;max-width:91.66666667%!important}.pul-grid__col--xl-12{-ms-flex-preferred-size:100%!important;flex-basis:100%!important;max-width:100%!important}}.pul-grid--gap-xs{margin-left:-8px}.pul-grid--gap-xs>.pul-grid__col{padding-left:8px;padding-bottom:8px}.pul-grid--gap-xs>.pul-grid__col>.pul-grid{margin-bottom:-8px}.pul-grid--gap-sm{margin-left:-12px}.pul-grid--gap-sm>.pul-grid__col{padding-left:12px;padding-bottom:12px}.pul-grid--gap-sm>.pul-grid__col>.pul-grid{margin-bottom:-12px}.pul-grid--gap-md{margin-left:-16px}.pul-grid--gap-md>.pul-grid__col{padding-left:16px;padding-bottom:16px}.pul-grid--gap-md>.pul-grid__col>.pul-grid{margin-bottom:-16px}.pul-grid--gap-lg{margin-left:-24px}.pul-grid--gap-lg>.pul-grid__col{padding-left:24px;padding-bottom:24px}.pul-grid--gap-lg>.pul-grid__col>.pul-grid{margin-bottom:-24px}.pul-grid--gap-xl{margin-left:-32px}.pul-grid--gap-xl>.pul-grid__col{padding-left:32px;padding-bottom:32px}.pul-grid--gap-xl>.pul-grid__col>.pul-grid{margin-bottom:-32px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Grid/Grid.less"],names:[],mappings:"AAAA,UAEE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,gBAAiB,AACjB,QAAU,CAEX,AACD,yBAZE,sBAAuB,AAUvB,SAAW,CASZ,AAPD,eACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AAEvB,cAAgB,CAEjB,AACD,2BACE,eAAiB,CAClB,AACD,wBACE,SAAU,AACV,SAAW,CACZ,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,yBACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,0BACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,0BACE,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,4BAA6B,AACzB,eAAgB,AACpB,aAAe,CAChB,AAKD,+BACE,qCAAsC,AAClC,wBAAyB,AAC7B,sBAAwB,CACzB,AACD,kCACE,0BAA2B,AACvB,YAAc,CACnB,AACD,qBACE,8CAAgD,AAC5C,iCAAmC,AACvC,+BAAkC,CACnC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,qBACE,sCAAwC,AACpC,yBAA2B,AAC/B,uBAA0B,CAC3B,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,+CAAiD,AAC7C,kCAAoC,AACxC,gCAAmC,CACpC,AACD,sBACE,uCAAyC,AACrC,0BAA4B,AAChC,wBAA2B,CAC5B,CACF,AACD,kBACE,gBAAkB,CACnB,AACD,iCACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,2CACE,kBAAoB,CACrB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB,AACD,kBACE,iBAAmB,CACpB,AACD,iCACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,2CACE,mBAAqB,CACtB",file:"Grid.less",sourcesContent:[".pul-grid {\n box-sizing: border-box;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n list-style: none;\n margin: 0;\n padding: 0;\n}\n.pul-grid__col {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n box-sizing: border-box;\n max-width: 100%;\n padding: 0 0 0 0;\n}\n.pul-grid__col > :last-child {\n margin-bottom: 0;\n}\n.pul-grid.pul-grid__col {\n margin: 0;\n padding: 0;\n}\n@media (min-width: 480px) {\n .pul-grid--xs-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xs-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--xs-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--xs-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--xs-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--xs-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--xs-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--xs-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--xs-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--xs-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--xs-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--xs-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--xs-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--xs-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--xs-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 768px) {\n .pul-grid--sm-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--sm-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--sm-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--sm-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--sm-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--sm-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--sm-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--sm-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--sm-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--sm-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--sm-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--sm-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--sm-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--sm-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--sm-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 992px) {\n .pul-grid--md-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--md-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--md-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--md-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--md-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--md-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--md-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--md-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--md-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--md-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--md-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--md-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--md-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--md-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--md-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 1200px) {\n .pul-grid--lg-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--lg-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--lg-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--lg-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--lg-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--lg-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--lg-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--lg-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--lg-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--lg-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--lg-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--lg-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--lg-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--lg-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--lg-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n@media (min-width: 1600px) {\n .pul-grid--xl-2 > .pul-grid__col {\n -ms-flex-preferred-size: 50%;\n flex-basis: 50%;\n max-width: 50%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-3 > .pul-grid__col {\n -ms-flex-preferred-size: 33.33333333%;\n flex-basis: 33.33333333%;\n max-width: 33.33333333%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-4 > .pul-grid__col {\n -ms-flex-preferred-size: 25%;\n flex-basis: 25%;\n max-width: 25%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-5 > .pul-grid__col {\n -ms-flex-preferred-size: 20%;\n flex-basis: 20%;\n max-width: 20%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid--xl-6 > .pul-grid__col {\n -ms-flex-preferred-size: 16.66666667%;\n flex-basis: 16.66666667%;\n max-width: 16.66666667%;\n }\n .pul-grid--xl-auto > .pul-grid__col {\n -ms-flex-preferred-size: 0;\n flex-basis: 0;\n }\n .pul-grid__col--xl-1 {\n -ms-flex-preferred-size: 8.33333333% !important;\n flex-basis: 8.33333333% !important;\n max-width: 8.33333333% !important;\n }\n .pul-grid__col--xl-2 {\n -ms-flex-preferred-size: 16.66666667% !important;\n flex-basis: 16.66666667% !important;\n max-width: 16.66666667% !important;\n }\n .pul-grid__col--xl-3 {\n -ms-flex-preferred-size: 25% !important;\n flex-basis: 25% !important;\n max-width: 25% !important;\n }\n .pul-grid__col--xl-4 {\n -ms-flex-preferred-size: 33.33333333% !important;\n flex-basis: 33.33333333% !important;\n max-width: 33.33333333% !important;\n }\n .pul-grid__col--xl-5 {\n -ms-flex-preferred-size: 41.66666667% !important;\n flex-basis: 41.66666667% !important;\n max-width: 41.66666667% !important;\n }\n .pul-grid__col--xl-6 {\n -ms-flex-preferred-size: 50% !important;\n flex-basis: 50% !important;\n max-width: 50% !important;\n }\n .pul-grid__col--xl-7 {\n -ms-flex-preferred-size: 58.33333333% !important;\n flex-basis: 58.33333333% !important;\n max-width: 58.33333333% !important;\n }\n .pul-grid__col--xl-8 {\n -ms-flex-preferred-size: 66.66666667% !important;\n flex-basis: 66.66666667% !important;\n max-width: 66.66666667% !important;\n }\n .pul-grid__col--xl-9 {\n -ms-flex-preferred-size: 75% !important;\n flex-basis: 75% !important;\n max-width: 75% !important;\n }\n .pul-grid__col--xl-10 {\n -ms-flex-preferred-size: 83.33333333% !important;\n flex-basis: 83.33333333% !important;\n max-width: 83.33333333% !important;\n }\n .pul-grid__col--xl-11 {\n -ms-flex-preferred-size: 91.66666667% !important;\n flex-basis: 91.66666667% !important;\n max-width: 91.66666667% !important;\n }\n .pul-grid__col--xl-12 {\n -ms-flex-preferred-size: 100% !important;\n flex-basis: 100% !important;\n max-width: 100% !important;\n }\n}\n.pul-grid--gap-xs {\n margin-left: -8px;\n}\n.pul-grid--gap-xs > .pul-grid__col {\n padding-left: 8px;\n padding-bottom: 8px;\n}\n.pul-grid--gap-xs > .pul-grid__col > .pul-grid {\n margin-bottom: -8px;\n}\n.pul-grid--gap-sm {\n margin-left: -12px;\n}\n.pul-grid--gap-sm > .pul-grid__col {\n padding-left: 12px;\n padding-bottom: 12px;\n}\n.pul-grid--gap-sm > .pul-grid__col > .pul-grid {\n margin-bottom: -12px;\n}\n.pul-grid--gap-md {\n margin-left: -16px;\n}\n.pul-grid--gap-md > .pul-grid__col {\n padding-left: 16px;\n padding-bottom: 16px;\n}\n.pul-grid--gap-md > .pul-grid__col > .pul-grid {\n margin-bottom: -16px;\n}\n.pul-grid--gap-lg {\n margin-left: -24px;\n}\n.pul-grid--gap-lg > .pul-grid__col {\n padding-left: 24px;\n padding-bottom: 24px;\n}\n.pul-grid--gap-lg > .pul-grid__col > .pul-grid {\n margin-bottom: -24px;\n}\n.pul-grid--gap-xl {\n margin-left: -32px;\n}\n.pul-grid--gap-xl > .pul-grid__col {\n padding-left: 32px;\n padding-bottom: 32px;\n}\n.pul-grid--gap-xl > .pul-grid__col > .pul-grid {\n margin-bottom: -32px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-hint{color:#787878;font-size:12px}.pul-hint a{color:#7aa9bf}.pul-hint a:hover{color:#94c2d8}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Hint/Hint.less"],names:[],mappings:"AAAA,UACE,cAAe,AACf,cAAgB,CACjB,AACD,YACE,aAAe,CAChB,AACD,kBACE,aAAe,CAChB",file:"Hint.less",sourcesContent:[".pul-hint {\n color: #787878;\n font-size: 12px;\n}\n.pul-hint a {\n color: #7aa9bf;\n}\n.pul-hint a:hover {\n color: #94c2d8;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;background-repeat:no-repeat;background-size:contain}.pul-icon img,.pul-icon svg{display:block;width:100%;height:100%;overflow:hidden;fill:currentColor}.pul-icon--size-sm{width:16px;height:16px}.pul-icon--size-md{width:32px;height:32px}.pul-icon--size-lg{width:48px;height:48px}.pul-icon--size-xl{width:64px;height:64px}.pul-icon--size-xxl{width:96px;height:96px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Icon/Icon.less"],names:[],mappings:"AAkBA,UACE,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,oBAAqB,AACrB,4BAA6B,AAC7B,uBAAyB,CAC1B,AACD,4BAEE,cAAe,AACf,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,oBACE,WAAY,AACZ,WAAa,CACd",file:"Icon.less",sourcesContent:['/*\nIcon\n\nMarkup:\n<span class="icon {{.modifier}}">{{children}}</span>\n<span class="icon {{.modifier}}"></span>\n<span class="icon {{.modifier}}"><img src="..." alt="..."></span>\n<span class="icon {{.modifier}}"><svg>...</svg></span>\n\nModifiers:\n.icon--size-sm\n.icon--size-md\n.icon--size-lg\n.icon--size-xl\n.icon--size-xxl\n\n.icon--{{name}}\n*/\n.pul-icon {\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n.pul-icon img,\n.pul-icon svg {\n display: block;\n width: 100%;\n height: 100%;\n overflow: hidden;\n fill: currentColor;\n}\n.pul-icon--size-sm {\n width: 16px;\n height: 16px;\n}\n.pul-icon--size-md {\n width: 32px;\n height: 32px;\n}\n.pul-icon--size-lg {\n width: 48px;\n height: 48px;\n}\n.pul-icon--size-xl {\n width: 64px;\n height: 64px;\n}\n.pul-icon--size-xxl {\n width: 96px;\n height: 96px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-icon-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:24px;min-width:24px;margin:0;padding:4px;cursor:pointer;text-align:center;vertical-align:top;color:#616161;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-icon-button::-moz-focus-inner{border:0;padding:0}.pul-icon-button:focus,.pul-icon-button:hover{text-decoration:none;outline:none;background-color:rgba(0,0,0,.04)}.pul-icon-button:active{background-color:rgba(0,0,0,.14)}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/IconButton/IconButton.less"],names:[],mappings:"AAAA,iBACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,mCACE,SAAU,AACV,SAAW,CACZ,AACD,8CAEE,qBAAsB,AACtB,aAAc,AACd,gCAAsC,CACvC,AACD,wBACE,gCAAsC,CACvC",file:"IconButton.less",sourcesContent:[".pul-icon-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 24px;\n min-width: 24px;\n margin: 0;\n padding: 4px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n color: #616161;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-icon-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-icon-button:hover,\n.pul-icon-button:focus {\n text-decoration: none;\n outline: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-icon-button:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-input{box-sizing:border-box;height:26px;max-width:100%;padding:3px 6px 4px;border:solid #afbac1;border-width:0 0 1px;background-color:#ededed;color:#020202;transition:all .2s linear}.pul-input:focus{border-color:#0f7faf;outline:0;background-color:#ecf5f9;color:#020202}.pul-input[readonly]{border-color:#afbac1;background-color:#ededed;color:#020202}.pul-input[disabled]{border-color:#e2e2e2;background-color:#f4f4f4;color:#999;opacity:1}.pul-input--size-sm{width:50px}.pul-input--size-md{width:200px}.pul-input--size-lg{width:350px}.pul-input--size-xl{width:500px}.pul-input--size-fill{width:100%}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Input/Input.less"],names:[],mappings:"AAAA,WACE,sBAAuB,AACvB,YAAa,AACb,eAAgB,AAChB,oBAAqB,AACrB,qBAAsB,AACtB,qBAAsB,AACtB,yBAA0B,AAC1B,cAAe,AACf,yBAA4B,CAC7B,AACD,iBACE,qBAAsB,AACtB,UAAW,AACX,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,WAAY,AACZ,SAAW,CACZ,AACD,oBACE,UAAY,CACb,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,sBACE,UAAY,CACb",file:"Input.less",sourcesContent:[".pul-input {\n box-sizing: border-box;\n height: 26px;\n max-width: 100%;\n padding: 3px 6px 4px;\n border: solid #afbac1;\n border-width: 0 0 1px;\n background-color: #ededed;\n color: #020202;\n transition: all linear 0.2s;\n}\n.pul-input:focus {\n border-color: #0f7faf;\n outline: 0;\n background-color: #ecf5f9;\n color: #020202;\n}\n.pul-input[readonly] {\n border-color: #afbac1;\n background-color: #ededed;\n color: #020202;\n}\n.pul-input[disabled] {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n color: #999;\n opacity: 1;\n}\n.pul-input--size-sm {\n width: 50px;\n}\n.pul-input--size-md {\n width: 200px;\n}\n.pul-input--size-lg {\n width: 350px;\n}\n.pul-input--size-xl {\n width: 500px;\n}\n.pul-input--size-fill {\n width: 100%;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-item__icon{-ms-flex-negative:0;flex-shrink:0;margin:0 6px 0 0}.pul-item--size-sm .pul-item__icon{margin-right:4px}.pul-item--size-lg .pul-item__icon,.pul-item--size-xl .pul-item__icon,.pul-item--size-xxl .pul-item__icon{margin-right:10px}.pul-item__content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Item/Item.less"],names:[],mappings:"AAAA,UACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,gBACE,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CACnB,AACD,mCACE,gBAAkB,CACnB,AAOD,0GACE,iBAAmB,CACpB,AACD,mBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,WAAa,CACd",file:"Item.less",sourcesContent:[".pul-item {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-item__icon {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n margin: 0 6px 0 0;\n}\n.pul-item--size-sm .pul-item__icon {\n margin-right: 4px;\n}\n.pul-item--size-lg .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item--size-xl .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item--size-xxl .pul-item__icon {\n margin-right: 10px;\n}\n.pul-item__content {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-item-list__item{padding:8px;cursor:pointer}.pul-item-list__item .pul-item__title{color:#2498e3;text-decoration:none}.pul-item-list__item:hover{background:#ecf5f9}.pul-item-list__item:hover .pul-item__title{color:#188dd9;text-decoration:underline}.pul-item-list__item--reorderable{margin:-2px;border:2px solid #67ccff;border-radius:3px;background-color:#e4f1f7;background-clip:padding-box;cursor:move;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-item-list__item--reorderable img{pointer-events:none}.pul-item-list__col--gap-xs{padding-left:8px;padding-bottom:8px}.pul-item-list__col--gap-sm{padding-left:12px;padding-bottom:12px}.pul-item-list__col--gap-md{padding-left:16px;padding-bottom:16px}.pul-item-list__col--gap-lg{padding-left:24px;padding-bottom:24px}.pul-item-list__col--gap-xl{padding-left:32px;padding-bottom:32px}.pul-item-list .pul-item-list__item--reorderable{border-style:dashed}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/ItemList/ItemList.less"],names:[],mappings:"AAAA,qBACE,YAAa,AACb,cAAgB,CACjB,AACD,sCACE,cAAe,AACf,oBAAsB,CACvB,AACD,2BACE,kBAAoB,CACrB,AACD,4CACE,cAAe,AACf,yBAA2B,CAC5B,AACD,kCACE,YAAa,AACb,yBAA0B,AAC1B,kBAAmB,AACnB,yBAA0B,AAC1B,4BAA6B,AAC7B,YAAa,AACb,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,sCACE,mBAAqB,CACtB,AACD,4BACE,iBAAkB,AAClB,kBAAoB,CACrB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,4BACE,kBAAmB,AACnB,mBAAqB,CACtB,AACD,iDACE,mBAAqB,CACtB",file:"ItemList.less",sourcesContent:[".pul-item-list__item {\n padding: 8px;\n cursor: pointer;\n}\n.pul-item-list__item .pul-item__title {\n color: #2498e3;\n text-decoration: none;\n}\n.pul-item-list__item:hover {\n background: #ecf5f9;\n}\n.pul-item-list__item:hover .pul-item__title {\n color: #188dd9;\n text-decoration: underline;\n}\n.pul-item-list__item--reorderable {\n margin: -2px;\n border: 2px solid #67ccff;\n border-radius: 3px;\n background-color: #e4f1f7;\n background-clip: padding-box;\n cursor: move;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-item-list__item--reorderable img {\n pointer-events: none;\n}\n.pul-item-list__col--gap-xs {\n padding-left: 8px;\n padding-bottom: 8px;\n}\n.pul-item-list__col--gap-sm {\n padding-left: 12px;\n padding-bottom: 12px;\n}\n.pul-item-list__col--gap-md {\n padding-left: 16px;\n padding-bottom: 16px;\n}\n.pul-item-list__col--gap-lg {\n padding-left: 24px;\n padding-bottom: 24px;\n}\n.pul-item-list__col--gap-xl {\n padding-left: 32px;\n padding-bottom: 32px;\n}\n.pul-item-list .pul-item-list__item--reorderable {\n border-style: dashed;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-label{display:inline-block;padding:2px 6px;background:#80c2de;font-size:12px;font-weight:600;line-height:14px;color:#fff;text-align:center;vertical-align:top;background-color:#80c2de}a.pul-label:focus,a.pul-label:hover{color:#fff;text-decoration:none;cursor:pointer}.pul-label[href]:focus,.pul-label[href]:hover{background-color:#58afd3}.pul-label--inactive{background-color:#747474}.pul-label--inactive[href]:focus,.pul-label--inactive[href]:hover{background-color:#5a5a5a}.pul-label--success{background-color:#86c939}.pul-label--success[href]:focus,.pul-label--success[href]:hover{background-color:#6ca32c}.pul-label--info{background-color:#80c2de}.pul-label--info[href]:focus,.pul-label--info[href]:hover{background-color:#58afd3}.pul-label--warning{background-color:#feb534}.pul-label--warning[href]:focus,.pul-label--warning[href]:hover{background-color:#fea301}.pul-label--danger{background-color:#ed6060}.pul-label--danger[href]:focus,.pul-label--danger[href]:hover{background-color:#e83232}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Label/Label.less"],names:[],mappings:"AAaA,WACE,qBAAsB,AACtB,gBAAiB,AACjB,mBAAoB,AACpB,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,WAAY,AACZ,kBAAmB,AACnB,mBAAoB,AACpB,wBAA0B,CAC3B,AACD,oCAEE,WAAY,AACZ,qBAAsB,AACtB,cAAgB,CACjB,AACD,8CAEE,wBAA0B,CAC3B,AACD,qBACE,wBAA0B,CAC3B,AACD,kEAEE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,gEAEE,wBAA0B,CAC3B,AACD,iBACE,wBAA0B,CAC3B,AACD,0DAEE,wBAA0B,CAC3B,AACD,oBACE,wBAA0B,CAC3B,AACD,gEAEE,wBAA0B,CAC3B,AACD,mBACE,wBAA0B,CAC3B,AACD,8DAEE,wBAA0B,CAC3B",file:"Label.less",sourcesContent:['/*\nTabs\n\nMarkup:\n<span class="label">Default</span>\n\nModifiers:\n.label--inactive\n.label--info\n.label--success\n.label--warning\n.label--danger\n*/\n.pul-label {\n display: inline-block;\n padding: 2px 6px;\n background: #80c2de;\n font-size: 12px;\n font-weight: 600;\n line-height: 14px;\n color: #fff;\n text-align: center;\n vertical-align: top;\n background-color: #80c2de;\n}\na.pul-label:hover,\na.pul-label:focus {\n color: #fff;\n text-decoration: none;\n cursor: pointer;\n}\n.pul-label[href]:hover,\n.pul-label[href]:focus {\n background-color: #58afd3;\n}\n.pul-label--inactive {\n background-color: #747474;\n}\n.pul-label--inactive[href]:hover,\n.pul-label--inactive[href]:focus {\n background-color: #5a5a5a;\n}\n.pul-label--success {\n background-color: #86c939;\n}\n.pul-label--success[href]:hover,\n.pul-label--success[href]:focus {\n background-color: #6ca32c;\n}\n.pul-label--info {\n background-color: #80c2de;\n}\n.pul-label--info[href]:hover,\n.pul-label--info[href]:focus {\n background-color: #58afd3;\n}\n.pul-label--warning {\n background-color: #feb534;\n}\n.pul-label--warning[href]:hover,\n.pul-label--warning[href]:focus {\n background-color: #fea301;\n}\n.pul-label--danger {\n background-color: #ed6060;\n}\n.pul-label--danger[href]:hover,\n.pul-label--danger[href]:focus {\n background-color: #e83232;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-list{width:100%;max-width:100%}.pul-list td,.pul-list th{padding:6px 8px;vertical-align:top;border-top:1px solid #d6d6d6}.pul-list th{font-weight:400;text-align:left;white-space:nowrap}.pul-list thead th{vertical-align:bottom;border-bottom:2px solid #d6d6d6}.pul-list tbody+tbody{border-top:2px solid #d6d6d6}.pul-list tr:first-child>td,.pul-list tr:first-child>th{border-top:0}.pul-list .cell-nowrap{white-space:nowrap}.pul-list .cell-shrink{width:1%}.pul-list tbody tr.is-selected>td,.pul-list tbody tr.is-selected>th{background-color:#ffdfba}.pul-list tbody tr:hover>td,.pul-list tbody tr:hover>th{box-shadow:inset 0 -1px 0 #d8dde6,inset 0 1px 0 #d8dde6}.pul-list tbody tr:not(.is-selected):hover>td,.pul-list tbody tr:not(.is-selected):hover>th{background-color:#ecf5f9}.pul-list .is-sortable{position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-list .is-sorted .th__action:after{position:absolute;display:inline-block;margin:1px 0 0 2px;font-family:Consolas,monospace;color:#999}.pul-list .is-sorted:hover .th__action:after{color:#000}.pul-list .is-sorted--up .th__action:after{content:"\\2191"}.pul-list .is-sorted--down .th__action:after{content:"\\2193"}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/List/List.less"],names:[],mappings:"AA6BA,UACE,WAAY,AACZ,cAAgB,CACjB,AACD,0BAEE,gBAAiB,AACjB,mBAAoB,AACpB,4BAA8B,CAC/B,AACD,aACE,gBAAiB,AACjB,gBAAiB,AACjB,kBAAoB,CACrB,AACD,mBACE,sBAAuB,AACvB,+BAAiC,CAClC,AACD,sBACE,4BAA8B,CAC/B,AACD,wDAEE,YAAc,CACf,AACD,uBACE,kBAAoB,CACrB,AACD,uBACE,QAAU,CACX,AACD,oEAEE,wBAA0B,CAC3B,AACD,wDAEE,uDAA0D,CAC3D,AACD,4FAEE,wBAA0B,CAC3B,AACD,uBACE,kBAAmB,AACnB,eAAgB,AAChB,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,uCACE,kBAAmB,AACnB,qBAAsB,AACtB,mBAAoB,AACpB,+BAAiC,AACjC,UAAY,CACb,AACD,6CACE,UAAY,CACb,AACD,2CACE,eAAiB,CAClB,AACD,6CACE,eAAiB,CAClB",file:"List.less",sourcesContent:['/*\nList (Data Table)\n\nMarkup:\n<table class="table">\n <thead>\n <tr>\n <th {{.modifier}}></th>\n <th {{.modifier}}>{{if is-sorted <div class="th__action">{{Name}}</div>}}</th>\n </tr>\n </thead>\n <tbody>\n <tr {{.modifier}}>\n <td {{.modifier}}></td>\n <td {{.modifier}}></td>\n </tr>\n </tbody>\n</table>\n\nModifiers for <tr>:\n.is-selected\n\nModifiers for <th>, <td>:\n.is-sortable\n.is-sorted--up\n.is-sorted--down\n.cell-nowrap\n.cell-shrink\n*/\n.pul-list {\n width: 100%;\n max-width: 100%;\n}\n.pul-list th,\n.pul-list td {\n padding: 6px 8px;\n vertical-align: top;\n border-top: 1px solid #d6d6d6;\n}\n.pul-list th {\n font-weight: 400;\n text-align: left;\n white-space: nowrap;\n}\n.pul-list thead th {\n vertical-align: bottom;\n border-bottom: 2px solid #d6d6d6;\n}\n.pul-list tbody + tbody {\n border-top: 2px solid #d6d6d6;\n}\n.pul-list tr:first-child > th,\n.pul-list tr:first-child > td {\n border-top: 0;\n}\n.pul-list .cell-nowrap {\n white-space: nowrap;\n}\n.pul-list .cell-shrink {\n width: 1%;\n}\n.pul-list tbody tr.is-selected > td,\n.pul-list tbody tr.is-selected > th {\n background-color: #ffdfba;\n}\n.pul-list tbody tr:hover > td,\n.pul-list tbody tr:hover > th {\n box-shadow: #d8dde6 0 -1px 0 inset, #d8dde6 0 1px 0 inset;\n}\n.pul-list tbody tr:not(.is-selected):hover > td,\n.pul-list tbody tr:not(.is-selected):hover > th {\n background-color: #ecf5f9;\n}\n.pul-list .is-sortable {\n position: relative;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-list .is-sorted .th__action::after {\n position: absolute;\n display: inline-block;\n margin: 1px 0 0 2px;\n font-family: Consolas, monospace;\n color: #999;\n}\n.pul-list .is-sorted:hover .th__action::after {\n color: #000;\n}\n.pul-list .is-sorted--up .th__action::after {\n content: "\\2191";\n}\n.pul-list .is-sorted--down .th__action::after {\n content: "\\2193";\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-markdown h1,.pul-markdown h2,.pul-markdown h3,.pul-markdown h4,.pul-markdown h5{line-height:1.1;font-weight:700}.pul-markdown h1{font-size:16px}.pul-markdown h2{font-size:15px}.pul-markdown h3{font-size:14px}.pul-markdown h4,.pul-markdown h5{font-size:13px}.pul-markdown img{max-width:100%}.pul-markdown--compact .pul-markdown h1,.pul-markdown--compact .pul-markdown h2,.pul-markdown--compact .pul-markdown h3,.pul-markdown--compact .pul-markdown h4,.pul-markdown--compact .pul-markdown h5,.pul-markdown--compact .pul-markdown h6,.pul-markdown--compact .pul-markdown ol,.pul-markdown--compact .pul-markdown p,.pul-markdown--compact .pul-markdown ul,.pul-markdown--compact h1,.pul-markdown--compact h2,.pul-markdown--compact h3,.pul-markdown--compact h4,.pul-markdown--compact h5,.pul-markdown--compact h6,.pul-markdown--compact ol,.pul-markdown--compact p,.pul-markdown--compact ul{margin:inherit;line-height:inherit;font-weight:inherit;color:inherit}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Markdown/Markdown.less"],names:[],mappings:"AAaA,qFAKE,gBAAiB,AACjB,eAAiB,CAClB,AACD,iBACE,cAAgB,CACjB,AACD,iBACE,cAAgB,CACjB,AACD,iBACE,cAAgB,CACjB,AACD,kCAEE,cAAgB,CACjB,AACD,kBACE,cAAgB,CACjB,AACD,glBAkBE,eAAgB,AAChB,oBAAqB,AACrB,oBAAqB,AACrB,aAAe,CAChB",file:"Markdown.less",sourcesContent:['/*\nMarkdown\n\nMarkup:\n<div class="markdown {{.modifier}}">{{children}}</div>\n\n<div class="markdown--compact">\n <div class="markdown">{{children}}</div>\n</div>\n\nModifiers:\n.markdown--compact\n*/\n.pul-markdown h1,\n.pul-markdown h2,\n.pul-markdown h3,\n.pul-markdown h4,\n.pul-markdown h5 {\n line-height: 1.1;\n font-weight: 700;\n}\n.pul-markdown h1 {\n font-size: 16px;\n}\n.pul-markdown h2 {\n font-size: 15px;\n}\n.pul-markdown h3 {\n font-size: 14px;\n}\n.pul-markdown h4,\n.pul-markdown h5 {\n font-size: 13px;\n}\n.pul-markdown img {\n max-width: 100%;\n}\n.pul-markdown--compact h1,\n.pul-markdown--compact .pul-markdown h1,\n.pul-markdown--compact h2,\n.pul-markdown--compact .pul-markdown h2,\n.pul-markdown--compact h3,\n.pul-markdown--compact .pul-markdown h3,\n.pul-markdown--compact h4,\n.pul-markdown--compact .pul-markdown h4,\n.pul-markdown--compact h5,\n.pul-markdown--compact .pul-markdown h5,\n.pul-markdown--compact h6,\n.pul-markdown--compact .pul-markdown h6,\n.pul-markdown--compact p,\n.pul-markdown--compact .pul-markdown p,\n.pul-markdown--compact ul,\n.pul-markdown--compact .pul-markdown ul,\n.pul-markdown--compact ol,\n.pul-markdown--compact .pul-markdown ol {\n margin: inherit;\n line-height: inherit;\n font-weight: inherit;\n color: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-media{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-media__figure{-ms-flex-negative:0;flex-shrink:0;margin:0 6px 0 0}.pul-media__figure--sm{margin-right:4px}.pul-media__figure--md{margin-right:6px}.pul-media__figure--lg{margin-right:10px}.pul-media__figure--xl{margin-right:16px}.pul-media__figure--xxl{margin-right:20px}.pul-media__figure--icon-sm{margin-right:4px}.pul-media__figure--icon-md{margin-right:6px}.pul-media__figure--icon-lg,.pul-media__figure--icon-xl,.pul-media__figure--icon-xxl{margin-right:10px}.pul-media__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-media__title{margin-bottom:0;font-weight:700;font-size:14px;line-height:20px}.pul-media__header--lg .pul-media__title{font-size:16px;line-height:22px}.pul-media__header--xl .pul-media__title{font-size:24px;line-height:30px}.pul-media__title-addon{margin-left:4px}.pul-media__body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;min-width:0}.pul-media__content>:last-child{margin-bottom:0}.pul-media-section{margin-bottom:6px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Media/Media.less"],names:[],mappings:"AAAA,WACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,mBACE,oBAAqB,AACjB,cAAe,AACnB,gBAAkB,CACnB,AACD,uBACE,gBAAkB,CACnB,AACD,uBACE,gBAAkB,CACnB,AACD,uBACE,iBAAmB,CACpB,AACD,uBACE,iBAAmB,CACpB,AACD,wBACE,iBAAmB,CACpB,AACD,4BACE,gBAAkB,CACnB,AACD,4BACE,gBAAkB,CACnB,AAOD,qFACE,iBAAmB,CACpB,AACD,mBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kBACE,gBAAiB,AACjB,gBAAkB,AAClB,eAAgB,AAChB,gBAAkB,CACnB,AACD,yCACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,yCACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,wBACE,eAAiB,CAClB,AACD,iBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,WAAa,CACd,AACD,gCACE,eAAiB,CAClB,AACD,mBACE,iBAAmB,CACpB",file:"Media.less",sourcesContent:[".pul-media {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-media__figure {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n margin: 0 6px 0 0;\n}\n.pul-media__figure--sm {\n margin-right: 4px;\n}\n.pul-media__figure--md {\n margin-right: 6px;\n}\n.pul-media__figure--lg {\n margin-right: 10px;\n}\n.pul-media__figure--xl {\n margin-right: 16px;\n}\n.pul-media__figure--xxl {\n margin-right: 20px;\n}\n.pul-media__figure--icon-sm {\n margin-right: 4px;\n}\n.pul-media__figure--icon-md {\n margin-right: 6px;\n}\n.pul-media__figure--icon-lg {\n margin-right: 10px;\n}\n.pul-media__figure--icon-xl {\n margin-right: 10px;\n}\n.pul-media__figure--icon-xxl {\n margin-right: 10px;\n}\n.pul-media__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-media__title {\n margin-bottom: 0;\n font-weight: bold;\n font-size: 14px;\n line-height: 20px;\n}\n.pul-media__header--lg .pul-media__title {\n font-size: 16px;\n line-height: 22px;\n}\n.pul-media__header--xl .pul-media__title {\n font-size: 24px;\n line-height: 30px;\n}\n.pul-media__title-addon {\n margin-left: 4px;\n}\n.pul-media__body {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n min-width: 0;\n}\n.pul-media__content > :last-child {\n margin-bottom: 0;\n}\n.pul-media-section {\n margin-bottom: 6px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-menu{position:relative;min-width:150px;max-width:100%;margin:0;padding:5px 0;list-style:none;font-size:13px;text-align:left;line-height:normal;background-color:#dedede;border:none;background-clip:padding-box;box-sizing:border-box}.pul-menu__base-item{display:-webkit-box;display:-ms-flexbox;display:flex;padding:7px 10px;font-weight:400;line-height:16px;color:#373737;white-space:nowrap}.pul-menu__base-item .pul-label{box-sizing:border-box;min-width:16px;margin-left:8px;padding:1px 4px;vertical-align:top;border-radius:2px}.pul-menu__header{font-size:13px;color:#777}.pul-menu__item{cursor:pointer}.pul-menu__item:focus,.pul-menu__item:hover{text-decoration:none;outline:0;color:#fff;background-color:#5aadd1}.pul-menu__item--active,.pul-menu__item--active:focus,.pul-menu__item--active:hover{color:#fff;background-color:#5aadd1}.pul-menu__item--disabled,.pul-menu__item--disabled:focus,.pul-menu__item--disabled:hover{color:#373737;opacity:.5;background:none;cursor:not-allowed}.pul-menu__base-item-icon{color:#969696}.pul-menu__item--active .pul-menu__base-item-icon,.pul-menu__item:focus .pul-menu__base-item-icon,.pul-menu__item:hover .pul-menu__base-item-icon{color:currentColor}.pul-menu__base-item-content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.pul-menu__divider{height:1px;margin:5px 10px;background-color:#b1b1b1}.pul-menu--icons .pul-menu__base-item-icon{min-width:30px}.pul-menu--icons .pul-menu__divider{margin-left:38px}.pul-menu--icons:after{position:absolute;top:0;bottom:0;left:32px;width:1px;height:100%;content:"";background:#b1b1b1}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Menu/Menu.less"],names:[],mappings:"AAAA,UACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,cAAe,AACf,gBAAiB,AACjB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,yBAA0B,AAC1B,YAAa,AACb,4BAA6B,AAC7B,qBAAuB,CACxB,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,iBAAkB,AAClB,gBAAoB,AACpB,iBAAkB,AAClB,cAAe,AACf,kBAAoB,CACrB,AACD,gCACE,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,kBACE,eAAgB,AAChB,UAAY,CACb,AACD,gBACE,cAAgB,CACjB,AACD,4CAEE,qBAAsB,AACtB,UAAW,AACX,WAAY,AACZ,wBAA0B,CAC3B,AACD,oFAGE,WAAY,AACZ,wBAA0B,CAC3B,AACD,0FAGE,cAAe,AACf,WAAa,AACb,gBAAiB,AACjB,kBAAoB,CACrB,AACD,0BACE,aAAe,CAChB,AACD,kJAGE,kBAAoB,CACrB,AACD,6BACE,mBAAoB,AAChB,oBAAqB,AACjB,YAAa,AACrB,gBAAiB,AACjB,sBAAwB,CACzB,AACD,mBACE,WAAY,AACZ,gBAAiB,AACjB,wBAA0B,CAC3B,AACD,2CACE,cAAgB,CACjB,AACD,oCACE,gBAAkB,CACnB,AACD,uBACE,kBAAmB,AACnB,MAAO,AACP,SAAU,AACV,UAAW,AACX,UAAW,AACX,YAAa,AACb,WAAY,AACZ,kBAAoB,CACrB",file:"Menu.less",sourcesContent:['.pul-menu {\n position: relative;\n min-width: 150px;\n max-width: 100%;\n margin: 0;\n padding: 5px 0;\n list-style: none;\n font-size: 13px;\n text-align: left;\n line-height: normal;\n background-color: #dedede;\n border: none;\n background-clip: padding-box;\n box-sizing: border-box;\n}\n.pul-menu__base-item {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 7px 10px;\n font-weight: normal;\n line-height: 16px;\n color: #373737;\n white-space: nowrap;\n}\n.pul-menu__base-item .pul-label {\n box-sizing: border-box;\n min-width: 16px;\n margin-left: 8px;\n padding: 1px 4px;\n vertical-align: top;\n border-radius: 2px;\n}\n.pul-menu__header {\n font-size: 13px;\n color: #777;\n}\n.pul-menu__item {\n cursor: pointer;\n}\n.pul-menu__item:hover,\n.pul-menu__item:focus {\n text-decoration: none;\n outline: 0;\n color: #fff;\n background-color: #5aadd1;\n}\n.pul-menu__item--active,\n.pul-menu__item--active:hover,\n.pul-menu__item--active:focus {\n color: #fff;\n background-color: #5aadd1;\n}\n.pul-menu__item--disabled,\n.pul-menu__item--disabled:hover,\n.pul-menu__item--disabled:focus {\n color: #373737;\n opacity: 0.5;\n background: none;\n cursor: not-allowed;\n}\n.pul-menu__base-item-icon {\n color: #969696;\n}\n.pul-menu__item--active .pul-menu__base-item-icon,\n.pul-menu__item:hover .pul-menu__base-item-icon,\n.pul-menu__item:focus .pul-menu__base-item-icon {\n color: currentColor;\n}\n.pul-menu__base-item-content {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-menu__divider {\n height: 1px;\n margin: 5px 10px;\n background-color: #b1b1b1;\n}\n.pul-menu--icons .pul-menu__base-item-icon {\n min-width: 30px;\n}\n.pul-menu--icons .pul-menu__divider {\n margin-left: 38px;\n}\n.pul-menu--icons::after {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 32px;\n width: 1px;\n height: 100%;\n content: "";\n background: #b1b1b1;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-overlay{top:0;left:0;width:100%;height:100%;position:fixed}.pul-overlay,.pul-overlay__content{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-overlay__content{position:relative;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#fff;outline:none}.pul-overlay--center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-overlay--center .pul-overlay__content{max-height:80%;margin:0 20px}@media (max-width:480px){.pul-overlay--center .pul-overlay__content{margin:0;max-height:none}}.pul-overlay--left{-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.pul-overlay--left,.pul-overlay--right{-webkit-box-flex:1;-webkit-box-orient:horizontal}.pul-overlay--right{-ms-flex:1 0 auto;flex:1 0 auto;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.pul-overlay--center .pul-overlay--enter,.pul-overlay--center .pul-overlay--exit{opacity:0}.pul-overlay--center .pul-overlay--enter-active,.pul-overlay--center .pul-overlay--exit-active{opacity:1;transition:opacity .3s ease-in}.pul-overlay--left .pul-overlay--enter{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--left .pul-overlay--exit{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--left .pul-overlay--enter-active{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--left .pul-overlay--enter-active,.pul-overlay--left .pul-overlay--exit-active{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.pul-overlay--left .pul-overlay--exit-active{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--right .pul-overlay--enter{-webkit-transform:translate(100%);transform:translate(100%)}.pul-overlay--right .pul-overlay--exit{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--right .pul-overlay--enter-active{-webkit-transform:translate(0);transform:translate(0)}.pul-overlay--right .pul-overlay--enter-active,.pul-overlay--right .pul-overlay--exit-active{transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.pul-overlay--right .pul-overlay--exit-active{-webkit-transform:translate(-100%);transform:translate(-100%)}.pul-overlay--sm .pul-overlay__content{-ms-flex-preferred-size:671px;flex-basis:671px}.pul-overlay--md .pul-overlay__content{-ms-flex-preferred-size:894px;flex-basis:894px}.pul-overlay--lg .pul-overlay__content{-ms-flex-preferred-size:1118px;flex-basis:1118px}.pul-overlay__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;opacity:1;background-color:rgba(0,0,0,.7);overflow:auto;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-overlay--enter.pul-overlay__backdrop,.pul-overlay--exit.pul-overlay__backdrop{opacity:0}.pul-overlay--enter-active.pul-overlay__backdrop,.pul-overlay--exit-active.pul-overlay__backdrop{opacity:1;transition:opacity .2s ease-in}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Overlay/Overlay.less"],names:[],mappings:"AAAA,aACE,MAAO,AACP,OAAQ,AACR,WAAY,AACZ,YAAa,AAIb,cAAgB,CACjB,AACD,mCALE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAef,AAZD,sBACE,kBAAmB,AACnB,cAAe,AACf,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,sBAAwB,AAIxB,YAAc,CACf,AACD,qBACE,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,2CACE,eAAgB,AAChB,aAAe,CAChB,AACD,yBACE,2CACE,SAAU,AACV,eAAiB,CAClB,CACF,AACD,mBAEM,kBAAmB,AACf,cAAe,AAEvB,6BAA8B,AAC1B,uBAAwB,AACpB,kBAAoB,CAC7B,AACD,uCARE,mBAAoB,AAGpB,6BAA+B,CAahC,AARD,oBAEM,kBAAmB,AACf,cAAe,AAEvB,8BAA+B,AAC3B,+BAAgC,AAC5B,0BAA4B,CACrC,AACD,iFAEE,SAAW,CACZ,AACD,+FAEE,UAAW,AACX,8BAAkC,CACnC,AACD,uCACE,mCAAoC,AAC5B,0BAA4B,CACrC,AACD,sCACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,8CACE,+BAAgC,AACxB,sBAAwB,CAIjC,AACD,2FAJE,6CAAgD,AAChD,qCAAwC,AACxC,sEAA6E,CAQ9E,AAND,6CACE,mCAAoC,AAC5B,0BAA4B,CAIrC,AACD,wCACE,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,uCACE,+BAAgC,AACxB,sBAAwB,CACjC,AACD,+CACE,+BAAgC,AACxB,sBAAwB,CAIjC,AACD,6FAJE,6CAAgD,AAChD,qCAAwC,AACxC,sEAA6E,CAQ9E,AAND,8CACE,mCAAoC,AAC5B,0BAA4B,CAIrC,AACD,uCACE,8BAA+B,AAC3B,gBAAkB,CACvB,AACD,uCACE,8BAA+B,AAC3B,gBAAkB,CACvB,AACD,uCACE,+BAAgC,AAC5B,iBAAmB,CACxB,AACD,uBACE,eAAgB,AAChB,MAAO,AACP,QAAS,AACT,SAAU,AACV,OAAQ,AACR,UAAW,AACX,gCAAqC,AACrC,cAAe,AACf,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAC3B,AACD,mFAEE,SAAW,CACZ,AACD,iGAEE,UAAW,AACX,8BAAkC,CACnC",file:"Overlay.less",sourcesContent:[".pul-overlay {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: fixed;\n}\n.pul-overlay__content {\n position: relative;\n overflow: auto;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n background-color: white;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n outline: none;\n}\n.pul-overlay--center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-overlay--center .pul-overlay__content {\n max-height: 80%;\n margin: 0 20px;\n}\n@media (max-width: 480px) {\n .pul-overlay--center .pul-overlay__content {\n margin: 0;\n max-height: none;\n }\n}\n.pul-overlay--left {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.pul-overlay--right {\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n.pul-overlay--center .pul-overlay--enter,\n.pul-overlay--center .pul-overlay--exit {\n opacity: 0;\n}\n.pul-overlay--center .pul-overlay--enter-active,\n.pul-overlay--center .pul-overlay--exit-active {\n opacity: 1;\n transition: opacity 300ms ease-in;\n}\n.pul-overlay--left .pul-overlay--enter {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n}\n.pul-overlay--left .pul-overlay--exit {\n -webkit-transform: translate(0);\n transform: translate(0);\n}\n.pul-overlay--left .pul-overlay--enter-active {\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--left .pul-overlay--exit-active {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--right .pul-overlay--enter {\n -webkit-transform: translate(100%);\n transform: translate(100%);\n}\n.pul-overlay--right .pul-overlay--exit {\n -webkit-transform: translate(0);\n transform: translate(0);\n}\n.pul-overlay--right .pul-overlay--enter-active {\n -webkit-transform: translate(0);\n transform: translate(0);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--right .pul-overlay--exit-active {\n -webkit-transform: translate(-100%);\n transform: translate(-100%);\n transition: -webkit-transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out;\n transition: transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out;\n}\n.pul-overlay--sm .pul-overlay__content {\n -ms-flex-preferred-size: 671px;\n flex-basis: 671px;\n}\n.pul-overlay--md .pul-overlay__content {\n -ms-flex-preferred-size: 894px;\n flex-basis: 894px;\n}\n.pul-overlay--lg .pul-overlay__content {\n -ms-flex-preferred-size: 1118px;\n flex-basis: 1118px;\n}\n.pul-overlay__backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 1;\n background-color: rgba(0, 0, 0, 0.7);\n overflow: auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-overlay--enter.pul-overlay__backdrop,\n.pul-overlay--exit.pul-overlay__backdrop {\n opacity: 0;\n}\n.pul-overlay--enter-active.pul-overlay__backdrop,\n.pul-overlay--exit-active.pul-overlay__backdrop {\n opacity: 1;\n transition: opacity 200ms ease-in;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-pagination{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-pagination__navigation-buttons,.pul-pagination__page-buttons{max-width:100%;margin-right:20px}.pul-pagination__total{display:inline}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Pagination/Pagination.less"],names:[],mappings:"AAAA,gBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kEAEE,eAAgB,AAChB,iBAAmB,CACpB,AACD,uBACE,cAAgB,CACjB",file:"Pagination.less",sourcesContent:[".pul-pagination {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-pagination__page-buttons,\n.pul-pagination__navigation-buttons {\n max-width: 100%;\n margin-right: 20px;\n}\n.pul-pagination__total {\n display: inline;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-panel{margin:0 0 12px;border:1px solid #dedede;background-color:#fafafa}.pul-panel__header{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:24px;margin:-1px;padding:5px 11px;background-color:#dedede}.pul-panel--collapsible .pul-panel__header{cursor:pointer}.pul-panel__title{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:0;padding:0;line-height:18px;font-size:15px;color:#303030}.pul-panel__control-button{margin-left:auto;-ms-flex-item-align:start;align-self:flex-start}.pul-panel__title+.pul-panel__control-button{margin-left:5px}.pul-panel__content{padding:10px;color:#4a4a4a;line-height:normal;word-wrap:break-word;-webkit-animation:pul-panel--fade .3s ease-in-out;animation:pul-panel--fade .3s ease-in-out}.pul-panel--collapsed .pul-panel__content{display:none}@-webkit-keyframes pul-panel--fade{0%{opacity:0}to{opacity:1}}@keyframes pul-panel--fade{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Panel/Panel.less"],names:[],mappings:"AAAA,WACE,gBAAiB,AACjB,yBAA0B,AAC1B,wBAA0B,CAC3B,AACD,mBACE,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,gBAAiB,AACjB,YAAa,AACb,iBAAkB,AAClB,wBAA0B,CAC3B,AACD,2CACE,cAAgB,CACjB,AACD,kBACE,mBAAoB,AAChB,WAAY,AACR,OAAQ,AAChB,SAAU,AACV,UAAW,AACX,iBAAkB,AAClB,eAAgB,AAChB,aAAe,CAChB,AACD,2BACE,iBAAkB,AAClB,0BAA2B,AACvB,qBAAuB,CAC5B,AACD,6CACE,eAAiB,CAClB,AACD,oBACE,aAAc,AACd,cAAe,AACf,mBAAoB,AACpB,qBAAsB,AACtB,kDAAoD,AAC5C,yCAA4C,CACrD,AACD,0CACE,YAAc,CACf,AACD,mCACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,2BACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF",file:"Panel.less",sourcesContent:[".pul-panel {\n margin: 0 0 12px;\n border: 1px solid #dedede;\n background-color: #fafafa;\n}\n.pul-panel__header {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n min-height: 24px;\n margin: -1px;\n padding: 5px 11px;\n background-color: #dedede;\n}\n.pul-panel--collapsible .pul-panel__header {\n cursor: pointer;\n}\n.pul-panel__title {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0;\n padding: 0;\n line-height: 18px;\n font-size: 15px;\n color: #303030;\n}\n.pul-panel__control-button {\n margin-left: auto;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n.pul-panel__title + .pul-panel__control-button {\n margin-left: 5px;\n}\n.pul-panel__content {\n padding: 10px;\n color: #4a4a4a;\n line-height: normal;\n word-wrap: break-word;\n -webkit-animation: pul-panel--fade 0.3s ease-in-out;\n animation: pul-panel--fade 0.3s ease-in-out;\n}\n.pul-panel--collapsed .pul-panel__content {\n display: none;\n}\n@-webkit-keyframes pul-panel--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pul-panel--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,"pre.pul-plaintext{background:transparent;margin:0;padding:0;overflow-wrap:break-word;white-space:pre-wrap;word-wrap:break-word;line-height:inherit;font-family:inherit;font-size:inherit;color:inherit}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Plaintext/Plaintext.less"],names:[],mappings:"AAMA,kBACE,uBAAwB,AACxB,SAAU,AACV,UAAW,AACX,yBAA0B,AAC1B,qBAAsB,AACtB,qBAAsB,AACtB,oBAAqB,AACrB,oBAAqB,AACrB,kBAAmB,AACnB,aAAe,CAChB",file:"Plaintext.less",sourcesContent:['/*\nPlaintext\n\nMarkup:\n<pre class="plaintext">{{children}}</pre>\n*/\npre.pul-plaintext {\n background: transparent;\n margin: 0;\n padding: 0;\n overflow-wrap: break-word;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: inherit;\n font-family: inherit;\n font-size: inherit;\n color: inherit;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-popover{position:absolute;max-width:400px;font-size:13px;text-align:left;color:#000;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;white-space:normal;opacity:1;-webkit-animation:pul-popover--fade .3s ease-in-out;animation:pul-popover--fade .3s ease-in-out}.pul-popover__arrow,.pul-popover__arrow:after{position:absolute;display:block;width:0;height:0;border:solid transparent}.pul-popover__arrow{border-width:0 8px 8px}.pul-popover__arrow:after{content:"";top:1px;margin-left:-8px;border-width:0 8px 8px}.pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#ccc}.pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#fff}.pul-popover__arrow--heading,.pul-popover__arrow--heading:after{border-bottom-color:#1e96c9}.pul-popover__heading{position:relative;margin:-1px -1px 0;padding:8px 30px 8px 10px;background-color:#1e96c9;border:1px solid #1e96c9;white-space:nowrap}.pul-popover__title{margin:0;padding:0;overflow:hidden;text-overflow:ellipsis}.pul-popover__heading,.pul-popover__title{font-size:13px;line-height:1.4;color:#fff}.pul-popover__close{float:right;min-height:18px;min-width:18px;margin:4px;padding:1px}.pul-popover__close--heading{color:currentColor;margin-top:0;margin-right:-22px}.pul-popover__content{box-sizing:border-box;padding:10px}.pul-popover__content>:last-child{margin-bottom:0}.pul-popover__inner{outline:none}.pul-popover--hidden{display:none}.pul-popover--placement-top,.pul-popover--placement-top-end,.pul-popover--placement-top-start{margin-bottom:10px}.pul-popover--placement-top-end .pul-popover__arrow,.pul-popover--placement-top-start .pul-popover__arrow,.pul-popover--placement-top .pul-popover__arrow{bottom:-8px;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin:0 10px}.pul-popover--placement-right,.pul-popover--placement-right-end,.pul-popover--placement-right-start{margin-left:10px}.pul-popover--placement-right-end .pul-popover__arrow,.pul-popover--placement-right-start .pul-popover__arrow,.pul-popover--placement-right .pul-popover__arrow{left:-12px;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);margin:10px 0}.pul-popover--placement-bottom,.pul-popover--placement-bottom-end,.pul-popover--placement-bottom-start{margin-top:10px}.pul-popover--placement-bottom-end .pul-popover__arrow,.pul-popover--placement-bottom-start .pul-popover__arrow,.pul-popover--placement-bottom .pul-popover__arrow{top:-8px;margin:0 10px}.pul-popover--placement-left,.pul-popover--placement-left-end,.pul-popover--placement-left-start{margin-right:10px}.pul-popover--placement-left-end .pul-popover__arrow,.pul-popover--placement-left-start .pul-popover__arrow,.pul-popover--placement-left .pul-popover__arrow{right:-12px;-webkit-transform:rotate(90deg);transform:rotate(90deg);margin:10px 0}.pul-popover--intent-success{background-color:#e1f1cf;border-color:#b0d980}.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#b0d980}.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#e1f1cf}.pul-popover--intent-info{background-color:#ddf0fc;border-color:#80c5f4}.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#80c5f4}.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#ddf0fc}.pul-popover--intent-warning{background-color:#feebc8;border-color:#fcc564}.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#fcc564}.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#feebc8}.pul-popover--intent-danger{background-color:#fadbdb;border-color:#ed8282}.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading){border-bottom-color:#ed8282}.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading):after{border-bottom-color:#fadbdb}@media (max-width:480px){.pul-popover{left:10px!important;right:10px;max-width:none}}@-webkit-keyframes pul-popover--fade{0%{opacity:0}to{opacity:1}}@keyframes pul-popover--fade{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Popover/Popover.less"],names:[],mappings:"AAoCA,aACE,kBAAmB,AACnB,gBAAiB,AACjB,eAAgB,AAChB,gBAAiB,AACjB,WAAY,AACZ,sBAAuB,AACvB,4BAA6B,AAC7B,sBAA0B,AAC1B,mBAAoB,AACpB,UAAW,AACX,oDAAsD,AAC9C,2CAA8C,CACvD,AACD,8CAEE,kBAAmB,AACnB,cAAe,AACf,QAAS,AACT,SAAU,AACV,wBAA0B,CAC3B,AACD,oBACE,sBAAwB,CACzB,AACD,0BACE,WAAY,AACZ,QAAS,AACT,iBAAkB,AAClB,sBAAwB,CACzB,AACD,sDACE,wBAA6B,CAC9B,AACD,4DACE,wBAA0B,CAC3B,AAID,gEACE,2BAA6B,CAC9B,AACD,sBACE,kBAAmB,AACnB,mBAAoB,AACpB,0BAA2B,AAC3B,yBAA0B,AAC1B,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,oBACE,SAAU,AACV,UAAW,AACX,gBAAiB,AACjB,sBAAwB,CACzB,AACD,0CAEE,eAAgB,AAChB,gBAAiB,AACjB,UAAY,CACb,AACD,oBACE,YAAa,AACb,gBAAiB,AACjB,eAAgB,AAChB,WAAY,AACZ,WAAa,CACd,AACD,6BACE,mBAAoB,AACpB,aAAc,AACd,kBAAoB,CACrB,AACD,sBACE,sBAAuB,AACvB,YAAc,CACf,AACD,kCACE,eAAiB,CAClB,AACD,oBACE,YAAc,CACf,AACD,qBACE,YAAc,CACf,AACD,8FAGE,kBAAoB,CACrB,AACD,0JAGE,YAAa,AACb,iCAAkC,AAC1B,yBAA0B,AAClC,aAAe,CAChB,AACD,oGAGE,gBAAkB,CACnB,AACD,gKAGE,WAAY,AACZ,iCAAkC,AAC1B,yBAA0B,AAClC,aAAe,CAChB,AACD,uGAGE,eAAiB,CAClB,AACD,mKAGE,SAAU,AACV,aAAe,CAChB,AACD,iGAGE,iBAAmB,CACpB,AACD,6JAGE,YAAa,AACb,gCAAiC,AACzB,wBAAyB,AACjC,aAAe,CAChB,AACD,6BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,mFACE,2BAA6B,CAC9B,AACD,yFACE,2BAA6B,CAC9B,AACD,0BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,gFACE,2BAA6B,CAC9B,AACD,sFACE,2BAA6B,CAC9B,AACD,6BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,mFACE,2BAA6B,CAC9B,AACD,yFACE,2BAA6B,CAC9B,AACD,4BACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,kFACE,2BAA6B,CAC9B,AACD,wFACE,2BAA6B,CAC9B,AACD,yBACE,aACE,oBAAsB,AACtB,WAAY,AACZ,cAAgB,CACjB,CACF,AACD,qCACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF,AACD,6BACE,GACE,SAAW,CACZ,AACD,GACE,SAAW,CACZ,CACF",file:"Popover.less",sourcesContent:['/*\nPopover\n\nMarkup:\n<div class="popover {.modifier}">\n <div class="popover__inner">\n <div class="popover__heading">\n <button class="icon-button popover__close {.modifier}"><span class="icon">...</span></button>\n <h4 class="popover__title">Popup Title</h4>\n </div>\n <div class="popover__content">\n <button class="icon-button popover__close"><span class="icon"><svg>...</svg></span></button>\n <p>Content</p>\n </div>\n </div>\n <span class="popover__arrow {.modifier}"></span>\n</div>\n\nModifiers:\n.popover--placement-top\n.popover--placement-top-start\n.popover--placement-top-end\n.popover--placement-left\n.popover--placement-left-start\n.popover--placement-left-end\n.popover--placement-bottom\n.popover--placement-bottom-start\n.popover--placement-bottom-end\n.popover--placement-right\n.popover--placement-right-start\n.popover--placement-right-end\n\n.popover--hidden\n.popover__close--heading\n.popover__arrow--heading\n*/\n.pul-popover {\n position: absolute;\n max-width: 400px;\n font-size: 13px;\n text-align: left;\n color: #000;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #cccccc;\n white-space: normal;\n opacity: 1;\n -webkit-animation: pul-popover--fade 0.3s ease-in-out;\n animation: pul-popover--fade 0.3s ease-in-out;\n}\n.pul-popover__arrow,\n.pul-popover__arrow::after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border: solid transparent;\n}\n.pul-popover__arrow {\n border-width: 0 8px 8px;\n}\n.pul-popover__arrow::after {\n content: "";\n top: 1px;\n margin-left: -8px;\n border-width: 0 8px 8px;\n}\n.pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #cccccc;\n}\n.pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #fff;\n}\n.pul-popover__arrow--heading {\n border-bottom-color: #1e96c9;\n}\n.pul-popover__arrow--heading::after {\n border-bottom-color: #1e96c9;\n}\n.pul-popover__heading {\n position: relative;\n margin: -1px -1px 0;\n padding: 8px 30px 8px 10px;\n background-color: #1e96c9;\n border: 1px solid #1e96c9;\n white-space: nowrap;\n}\n.pul-popover__title {\n margin: 0;\n padding: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.pul-popover__heading,\n.pul-popover__title {\n font-size: 13px;\n line-height: 1.4;\n color: #fff;\n}\n.pul-popover__close {\n float: right;\n min-height: 18px;\n min-width: 18px;\n margin: 4px;\n padding: 1px;\n}\n.pul-popover__close--heading {\n color: currentColor;\n margin-top: 0;\n margin-right: -22px;\n}\n.pul-popover__content {\n box-sizing: border-box;\n padding: 10px;\n}\n.pul-popover__content > :last-child {\n margin-bottom: 0;\n}\n.pul-popover__inner {\n outline: none;\n}\n.pul-popover--hidden {\n display: none;\n}\n.pul-popover--placement-top-start,\n.pul-popover--placement-top,\n.pul-popover--placement-top-end {\n margin-bottom: 10px;\n}\n.pul-popover--placement-top-start .pul-popover__arrow,\n.pul-popover--placement-top .pul-popover__arrow,\n.pul-popover--placement-top-end .pul-popover__arrow {\n bottom: -8px;\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n margin: 0 10px;\n}\n.pul-popover--placement-right-start,\n.pul-popover--placement-right,\n.pul-popover--placement-right-end {\n margin-left: 10px;\n}\n.pul-popover--placement-right-start .pul-popover__arrow,\n.pul-popover--placement-right .pul-popover__arrow,\n.pul-popover--placement-right-end .pul-popover__arrow {\n left: -12px;\n -webkit-transform: rotate(-90deg);\n transform: rotate(-90deg);\n margin: 10px 0;\n}\n.pul-popover--placement-bottom-start,\n.pul-popover--placement-bottom,\n.pul-popover--placement-bottom-end {\n margin-top: 10px;\n}\n.pul-popover--placement-bottom-start .pul-popover__arrow,\n.pul-popover--placement-bottom .pul-popover__arrow,\n.pul-popover--placement-bottom-end .pul-popover__arrow {\n top: -8px;\n margin: 0 10px;\n}\n.pul-popover--placement-left-start,\n.pul-popover--placement-left,\n.pul-popover--placement-left-end {\n margin-right: 10px;\n}\n.pul-popover--placement-left-start .pul-popover__arrow,\n.pul-popover--placement-left .pul-popover__arrow,\n.pul-popover--placement-left-end .pul-popover__arrow {\n right: -12px;\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n margin: 10px 0;\n}\n.pul-popover--intent-success {\n background-color: #e1f1cf;\n border-color: #b0d980;\n}\n.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #b0d980;\n}\n.pul-popover--intent-success .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #e1f1cf;\n}\n.pul-popover--intent-info {\n background-color: #ddf0fc;\n border-color: #80c5f4;\n}\n.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #80c5f4;\n}\n.pul-popover--intent-info .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #ddf0fc;\n}\n.pul-popover--intent-warning {\n background-color: #feebc8;\n border-color: #fcc564;\n}\n.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #fcc564;\n}\n.pul-popover--intent-warning .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #feebc8;\n}\n.pul-popover--intent-danger {\n background-color: #fadbdb;\n border-color: #ed8282;\n}\n.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading) {\n border-bottom-color: #ed8282;\n}\n.pul-popover--intent-danger .pul-popover__arrow:not(.pul-popover__arrow--heading)::after {\n border-bottom-color: #fadbdb;\n}\n@media (max-width: 480px) {\n .pul-popover {\n left: 10px !important;\n right: 10px;\n max-width: none;\n }\n}\n@-webkit-keyframes pul-popover--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes pul-popover--fade {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-radio{position:relative;padding-left:18px}.pul-radio__input{display:inline;float:left;margin:3px 0 0 -18px}.pul-radio__input:not(:disabled){cursor:pointer}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Radio/Radio.less"],names:[],mappings:"AAAA,WACE,kBAAmB,AACnB,iBAAmB,CACpB,AACD,kBACE,eAAgB,AAChB,WAAY,AACZ,oBAAsB,CACvB,AACD,iCACE,cAAgB,CACjB",file:"Radio.less",sourcesContent:[".pul-radio {\n position: relative;\n padding-left: 18px;\n}\n.pul-radio__input {\n display: inline;\n float: left;\n margin: 3px 0 0 -18px;\n}\n.pul-radio__input:not(:disabled) {\n cursor: pointer;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-rating{position:relative;display:inline-block;overflow:hidden}.pul-rating__rates>input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-rating__rates>input:checked~.pul-rating__indicator,.pul-rating__rates>input:focus~.pul-rating__indicator,.pul-rating__rates>input:hover~.pul-rating__indicator{background-position:50% -55px}.pul-rating__rates>input.checked~.pul-rating__indicator{-webkit-animation:scale-12 .5s;animation:scale-12 .5s}.pul-rating__indicator{position:relative;display:inline-block;float:right;box-sizing:content-box;width:36px;height:32px;cursor:pointer;background:url("+n(171)+") 50% 2px no-repeat;background-size:32px auto;text-indent:-9999px}.pul-rating--static{width:70px;height:12px;margin-top:4px;vertical-align:-2px}.pul-rating--static .pul-rating__rates,.pul-rating--static:not(.pul-rating--static-total){background:url("+n(171)+') 0 0 repeat-x;background-size:14px auto}.pul-rating--static .pul-rating__rates{float:left;height:12px;background-position:0 -25px}.pul-rating--static .pul-rating__rates[data-rate="5"]{width:100%}.pul-rating--static .pul-rating__rates[data-rate="4"]{width:80%}.pul-rating--static .pul-rating__rates[data-rate="3"]{width:60%}.pul-rating--static .pul-rating__rates[data-rate="2"]{width:40%}.pul-rating--static .pul-rating__rates[data-rate="1"]{width:20%}.pul-rating--static-total .pul-rating__rates{float:right;background-position:100% -50px}.pul-rating--small.pul-rating--static{width:50px;height:10px}.pul-rating--small.pul-rating--static .pul-rating__rates,.pul-rating--small.pul-rating--static:not(.pul-rating--static-total){background-size:10px auto}.pul-rating--small.pul-rating--static .pul-rating__rates{height:10px;background-position:0 -18px}.pul-rating--small.pul-rating--static-total .pul-rating__rates{background-position:100% -36px}@-webkit-keyframes pul-animation--rate{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pul-animation--rate{0%{-webkit-transform:scale(1.2) rotate(.02deg);transform:scale(1.2) rotate(.02deg)}to{-webkit-transform:scale(1);transform:scale(1)}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Rating/Rating.less"],names:[],mappings:"AA4BA,YACE,kBAAmB,AACnB,qBAAsB,AACtB,eAAiB,CAClB,AACD,yBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,oKAGE,6BAA+B,CAChC,AACD,wDACE,+BAAiC,AACzB,sBAAyB,CAClC,AACD,uBACE,kBAAmB,AACnB,qBAAsB,AACtB,YAAa,AACb,uBAAwB,AACxB,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,2DAAuD,AACvD,0BAA2B,AAC3B,mBAAqB,CACtB,AACD,oBACE,WAAY,AACZ,YAAa,AACb,eAAgB,AAChB,mBAAqB,CACtB,AACD,0FAEE,sDAAkD,AAClD,yBAA2B,CAC5B,AACD,uCACE,WAAY,AACZ,YAAa,AACb,2BAA6B,CAC9B,AACD,sDACE,UAAY,CACb,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,sDACE,SAAW,CACZ,AACD,6CACE,YAAa,AACb,8BAAgC,CACjC,AACD,sCACE,WAAY,AACZ,WAAa,CACd,AACD,8HAEE,yBAA2B,CAC5B,AACD,yDACE,YAAa,AACb,2BAA6B,CAC9B,AACD,+DACE,8BAAgC,CACjC,AACD,uCACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF,AACD,+BACE,GACE,4CAA8C,AACtC,mCAAsC,CAC/C,AACD,GACE,2BAA4B,AACpB,kBAAoB,CAC7B,CACF",file:"Rating.less",sourcesContent:['/*\nRating\n\nMarkup:\n<div class="rating {{.modifier}}">\n <div class="rating__rates"></div>\n</div>\n\n<div class="rating rating--stars">\n <div class="rating__rates">\n <input type="radio" id="rating-100-false-242919" name="rating-option" value="100">\n <label for="rating-100-false-242919" class="rating__indicator"></label>\n <input type="radio" id="rating-80-false-242919" name="rating-option" value="80">\n <label for="rating-80-false-242919" class="rating__indicator"></label>\n <input type="radio" id="rating-60-false-242919" name="rating-option" value="60">\n <label for="rating-60-false-242919" class="rating__indicator"></label>\n <input type="radio" id="rating-40-false-242919" name="rating-option" value="40">\n <label for="rating-40-false-242919" class="rating__indicator"></label>\n <input type="radio" id="rating-20-false-242919" name="rating-option" value="20">\n <label for="rating-20-false-242919" class="rating__indicator"></label>\n </div>\n</div>\n\nModifiers:\n.rating--static\n.rating--static-total\n.rating--small\n*/\n.pul-rating {\n position: relative;\n display: inline-block;\n overflow: hidden;\n}\n.pul-rating__rates > input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-rating__rates > input:checked ~ .pul-rating__indicator,\n.pul-rating__rates > input:focus ~ .pul-rating__indicator,\n.pul-rating__rates > input:hover ~ .pul-rating__indicator {\n background-position: 50% -55px;\n}\n.pul-rating__rates > input.checked ~ .pul-rating__indicator {\n -webkit-animation: scale-12 0.5s;\n animation: scale-12 0.5s;\n}\n.pul-rating__indicator {\n position: relative;\n display: inline-block;\n float: right;\n box-sizing: content-box;\n width: 36px;\n height: 32px;\n cursor: pointer;\n background: url("images/rating.svg") 50% 2px no-repeat;\n background-size: 32px auto;\n text-indent: -9999px;\n}\n.pul-rating--static {\n width: 70px;\n height: 12px;\n margin-top: 4px;\n vertical-align: -2px;\n}\n.pul-rating--static:not(.pul-rating--static-total),\n.pul-rating--static .pul-rating__rates {\n background: url("images/rating.svg") 0 0 repeat-x;\n background-size: 14px auto;\n}\n.pul-rating--static .pul-rating__rates {\n float: left;\n height: 12px;\n background-position: 0 -25px;\n}\n.pul-rating--static .pul-rating__rates[data-rate="5"] {\n width: 100%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="4"] {\n width: 80%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="3"] {\n width: 60%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="2"] {\n width: 40%;\n}\n.pul-rating--static .pul-rating__rates[data-rate="1"] {\n width: 20%;\n}\n.pul-rating--static-total .pul-rating__rates {\n float: right;\n background-position: 100% -50px;\n}\n.pul-rating--small.pul-rating--static {\n width: 50px;\n height: 10px;\n}\n.pul-rating--small.pul-rating--static:not(.pul-rating--static-total),\n.pul-rating--small.pul-rating--static .pul-rating__rates {\n background-size: 10px auto;\n}\n.pul-rating--small.pul-rating--static .pul-rating__rates {\n height: 10px;\n background-position: 0 -18px;\n}\n.pul-rating--small.pul-rating--static-total .pul-rating__rates {\n background-position: 100% -36px;\n}\n@-webkit-keyframes pul-animation--rate {\n from {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n@keyframes pul-animation--rate {\n from {\n -webkit-transform: scale(1.2) rotate(0.02deg);\n transform: scale(1.2) rotate(0.02deg);\n }\n to {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-section{position:relative;margin-bottom:12px}.pul-section+.pul-section{margin-top:18px}.pul-section__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:8px;padding:2px 0;border-bottom:1px solid #ddd}.pul-section__title{-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin:0;font-size:16px;font-weight:400;line-height:20px;color:#444}.pul-section__control-button{margin:-2px 0}.pul-section__control-button--collapse{margin-right:8px}.pul-section__header-buttons .pul-section__control-button,.pul-section__title .pul-section__control-button{margin-left:4px}.pul-section__title .pul-section__control-button--edit .pul-section__control-button-icon{width:14px;height:14px}.pul-section--danger{background-color:#fdeeed;box-shadow:0 0 0 10px #fdeeed}.pul-section--warning{background-color:#fef8ee;box-shadow:0 0 0 10px #fef8ee}.pul-section--success{background-color:#f5fdee;box-shadow:0 0 0 10px #f5fdee}.pul-section--inactive{background-color:#fdfcfc;box-shadow:0 0 0 10px #fdfcfc}.pul-section--inactive .pul-section__inner{opacity:.4}.pul-section__title-edit{position:relative;display:inline-block;width:50%}.pul-section__title-edit input{margin:-3px 0 -3px -2px;width:100%}.pul-section__title-edit-actions{position:absolute;right:-2px;top:calc(100% + 3px);color:#000}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Section/Section.less"],names:[],mappings:"AAAA,aACE,kBAAmB,AACnB,kBAAoB,CACrB,AACD,0BACE,eAAiB,CAClB,AACD,qBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,cAAe,AACf,4BAA8B,CAC/B,AACD,oBACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,SAAU,AACV,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,UAAY,CACb,AACD,6BACE,aAAe,CAChB,AACD,uCACE,gBAAkB,CACnB,AACD,2GAEE,eAAiB,CAClB,AACD,yFACE,WAAY,AACZ,WAAa,CACd,AACD,qBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,sBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,sBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,uBACE,yBAA0B,AAC1B,6BAA+B,CAChC,AACD,2CACE,UAAa,CACd,AACD,yBACE,kBAAmB,AACnB,qBAAsB,AACtB,SAAW,CACZ,AACD,+BACE,wBAAyB,AACzB,UAAY,CACb,AACD,iCACE,kBAAmB,AACnB,WAAY,AACZ,qBAAsB,AACtB,UAAY,CACb",file:"Section.less",sourcesContent:[".pul-section {\n position: relative;\n margin-bottom: 12px;\n}\n.pul-section + .pul-section {\n margin-top: 18px;\n}\n.pul-section__header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n margin-bottom: 8px;\n padding: 2px 0;\n border-bottom: 1px solid #ddd;\n}\n.pul-section__title {\n -webkit-box-flex: 1;\n -ms-flex: auto;\n flex: auto;\n margin: 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 20px;\n color: #444;\n}\n.pul-section__control-button {\n margin: -2px 0;\n}\n.pul-section__control-button--collapse {\n margin-right: 8px;\n}\n.pul-section__title .pul-section__control-button,\n.pul-section__header-buttons .pul-section__control-button {\n margin-left: 4px;\n}\n.pul-section__title .pul-section__control-button--edit .pul-section__control-button-icon {\n width: 14px;\n height: 14px;\n}\n.pul-section--danger {\n background-color: #fdeeed;\n box-shadow: 0 0 0 10px #fdeeed;\n}\n.pul-section--warning {\n background-color: #fef8ee;\n box-shadow: 0 0 0 10px #fef8ee;\n}\n.pul-section--success {\n background-color: #f5fdee;\n box-shadow: 0 0 0 10px #f5fdee;\n}\n.pul-section--inactive {\n background-color: #fdfcfc;\n box-shadow: 0 0 0 10px #fdfcfc;\n}\n.pul-section--inactive .pul-section__inner {\n opacity: 0.4;\n}\n.pul-section__title-edit {\n position: relative;\n display: inline-block;\n width: 50%;\n}\n.pul-section__title-edit input {\n margin: -3px 0 -3px -2px;\n width: 100%;\n}\n.pul-section__title-edit-actions {\n position: absolute;\n right: -2px;\n top: calc(100% + 3px);\n color: #000;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-section-item{padding:4px 0}.pul-section-item__title,.pul-section-item__value{word-wrap:break-word;overflow-wrap:break-word}.pul-section-item--vertical:not(:last-child){margin-bottom:8px}.pul-section-item--vertical .pul-section-item__title{margin-bottom:4px;font-size:12px}.pul-section-item--vertical .pul-section-item__value{font-size:14px}.pul-section-item:not(.pul-section-item--vertical){display:-webkit-box;display:-ms-flexbox;display:flex}.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__title{-webkit-box-flex:0;-ms-flex:none;flex:none;width:200px;padding-right:12px}.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__value{-webkit-box-flex:1;-ms-flex:auto;flex:auto}.pul-section-item--actions{padding-top:8px;padding-bottom:28px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Section/SectionItem.less"],names:[],mappings:"AAAA,kBACE,aAAe,CAChB,AACD,kDAEE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,6CACE,iBAAmB,CACpB,AACD,qDACE,kBAAmB,AACnB,cAAgB,CACjB,AACD,qDACE,cAAgB,CACjB,AACD,mDACE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CACf,AACD,4EACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,YAAa,AACb,kBAAoB,CACrB,AACD,4EACE,mBAAoB,AAChB,cAAe,AACX,SAAW,CACpB,AACD,2BACE,gBAAiB,AACjB,mBAAqB,CACtB",file:"SectionItem.less",sourcesContent:[".pul-section-item {\n padding: 4px 0;\n}\n.pul-section-item__title,\n.pul-section-item__value {\n word-wrap: break-word;\n overflow-wrap: break-word;\n}\n.pul-section-item--vertical:not(:last-child) {\n margin-bottom: 8px;\n}\n.pul-section-item--vertical .pul-section-item__title {\n margin-bottom: 4px;\n font-size: 12px;\n}\n.pul-section-item--vertical .pul-section-item__value {\n font-size: 14px;\n}\n.pul-section-item:not(.pul-section-item--vertical) {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__title {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n width: 200px;\n padding-right: 12px;\n}\n.pul-section-item:not(.pul-section-item--vertical) .pul-section-item__value {\n -webkit-box-flex: 1;\n -ms-flex: auto;\n flex: auto;\n}\n.pul-section-item--actions {\n padding-top: 8px;\n padding-bottom: 28px;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-segmented-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-segmented-control--inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.pul-segmented-control__label{-webkit-box-flex:0;-ms-flex:none;flex:none;padding-right:8px}.pul-segmented-control--collapsed,.pul-segmented-control--vertical{-ms-flex-wrap:wrap;flex-wrap:wrap}.pul-segmented-control--vertical>.pul-segmented-control__label{-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%;padding-bottom:8px;padding-right:0}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/SegmentedControl/SegmentedControl.less"],names:[],mappings:"AAAA,uBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,+BACE,2BAA4B,AAC5B,2BAA4B,AAC5B,mBAAqB,CACtB,AACD,8BACE,mBAAoB,AAChB,cAAe,AACX,UAAW,AACnB,iBAAmB,CACpB,AACD,mEAEE,mBAAoB,AAChB,cAAgB,CACrB,AACD,+DACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,mBAAoB,AACpB,eAAiB,CAClB",file:"SegmentedControl.less",sourcesContent:[".pul-segmented-control {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-segmented-control--inline {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.pul-segmented-control__label {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n padding-right: 8px;\n}\n.pul-segmented-control--vertical,\n.pul-segmented-control--collapsed {\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.pul-segmented-control--vertical > .pul-segmented-control__label {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 100%;\n flex: 1 1 100%;\n padding-bottom: 8px;\n padding-right: 0;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-split-button__dropdown-trigger .pul-button{background-color:#c5c5c5}.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered,.pul-split-button__dropdown-trigger .pul-button:focus,.pul-split-button__dropdown-trigger .pul-button:hover{text-decoration:none;color:#fff;outline:none;background-color:#1e96c9}.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered .pul-button__icon,.pul-split-button__dropdown-trigger .pul-button:focus .pul-button__icon,.pul-split-button__dropdown-trigger .pul-button:hover .pul-button__icon{color:currentColor}.pul-split-button__dropdown-trigger .pul-button.pul-button--active,.pul-split-button__dropdown-trigger .pul-button .pul-dropdown--opened,.pul-split-button__dropdown-trigger .pul-button:active{color:#fff;background-color:#0e78a6}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/SplitButton/SplitButton.less"],names:[],mappings:"AAAA,gDACE,wBAA0B,CAC3B,AACD,gLAGE,qBAAsB,AACtB,WAAY,AACZ,aAAc,AACd,wBAA0B,CAC3B,AACD,sOAGE,kBAAoB,CACrB,AACD,gMAGE,WAAY,AACZ,wBAA0B,CAC3B",file:"SplitButton.less",sourcesContent:[".pul-split-button__dropdown-trigger .pul-button {\n background-color: #c5c5c5;\n}\n.pul-split-button__dropdown-trigger .pul-button:hover,\n.pul-split-button__dropdown-trigger .pul-button:focus,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered {\n text-decoration: none;\n color: #fff;\n outline: none;\n background-color: #1e96c9;\n}\n.pul-split-button__dropdown-trigger .pul-button:hover .pul-button__icon,\n.pul-split-button__dropdown-trigger .pul-button:focus .pul-button__icon,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--hovered .pul-button__icon {\n color: currentColor;\n}\n.pul-split-button__dropdown-trigger .pul-button:active,\n.pul-split-button__dropdown-trigger .pul-button.pul-button--active,\n.pul-split-button__dropdown-trigger .pul-button .pul-dropdown--opened {\n color: #fff;\n background-color: #0e78a6;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-status--danger{color:#ed6060}.pul-status--warning{color:#feb534}.pul-status--success{color:#86c939}.pul-status--info{color:#80c2de}.pul-status--inactive{color:#747474}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Status/Status.less"],names:[],mappings:"AAAA,oBACE,aAAe,CAChB,AACD,qBACE,aAAe,CAChB,AACD,qBACE,aAAe,CAChB,AACD,kBACE,aAAe,CAChB,AACD,sBACE,aAAe,CAChB",file:"Status.less",sourcesContent:[".pul-status--danger {\n color: #ed6060;\n}\n.pul-status--warning {\n color: #feb534;\n}\n.pul-status--success {\n color: #86c939;\n}\n.pul-status--info {\n color: #80c2de;\n}\n.pul-status--inactive {\n color: #747474;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-subnav{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:wrap;flex-flow:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 16px 1px}.pul-subnav__item{position:relative;-webkit-box-flex:1;-ms-flex:1 1 40%;flex:1 1 40%;margin:-1px 0 0 -1px;padding:5px;overflow:hidden;text-overflow:ellipsis;border:1px solid #1e96c9;background-color:#fff;font:inherit;color:#373737;text-transform:none;display:inline-block;box-sizing:border-box;vertical-align:middle;min-height:30px;line-height:18px;font-size:13px;text-decoration:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none}.pul-subnav__item:hover{border-color:transparent;background-color:#1e96c9;color:#fff;text-decoration:none}.pul-subnav__item:active{background-color:#0e78a6;color:#fff}.pul-subnav__item--active,.pul-subnav__item--active:active,.pul-subnav__item--active:hover{border-color:#1e96c9;background-color:#aed9eb;color:#373737}@media (min-width:768px){.pul-subnav{-ms-flex-flow:nowrap;flex-flow:nowrap;margin:0 0 16px}.pul-subnav__item{-webkit-box-flex:0;-ms-flex:0 1 180px;flex:0 1 180px;width:auto;text-align:center}}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Subnav/Subnav.less"],names:[],mappings:"AAWA,YACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,mBAAoB,AAChB,eAAgB,AACpB,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,mBAAqB,CACtB,AACD,kBACE,kBAAmB,AACnB,mBAAoB,AAChB,iBAAkB,AACd,aAAc,AACtB,qBAAsB,AACtB,YAAa,AACb,gBAAiB,AACjB,uBAAwB,AACxB,yBAA0B,AAC1B,sBAAuB,AACvB,aAAc,AACd,cAAe,AACf,oBAAqB,AACrB,qBAAsB,AACtB,sBAAuB,AACvB,sBAAuB,AACvB,gBAAiB,AACjB,iBAAkB,AAClB,eAAgB,AAChB,qBAAsB,AACtB,kBAAmB,AACnB,mBAAoB,AACpB,eAAgB,AAChB,uBAAyB,CAC1B,AACD,wBACE,yBAA0B,AAC1B,yBAA0B,AAC1B,WAAY,AACZ,oBAAsB,CACvB,AACD,yBACE,yBAA0B,AAC1B,UAAY,CACb,AACD,2FAGE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,yBACE,YACE,qBAAsB,AAClB,iBAAkB,AACtB,eAAiB,CAClB,AACD,kBACE,mBAAoB,AAChB,mBAAoB,AAChB,eAAgB,AACxB,WAAY,AACZ,iBAAmB,CACpB,CACF",file:"Subnav.less",sourcesContent:['/*\nSubnav\n\nMarkup:\n<div class="subnav">\n <a class="subnav__item {{.modifier}}" href="#!">...</a>\n</div>\n\nModifiers:\n.subnav__item--active\n*/\n.pul-subnav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-flow: wrap;\n flex-flow: wrap;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n margin: 0 0 16px 1px;\n}\n.pul-subnav__item {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 40%;\n flex: 1 1 40%;\n margin: -1px 0 0 -1px;\n padding: 5px;\n overflow: hidden;\n text-overflow: ellipsis;\n border: 1px solid #1e96c9;\n background-color: #fff;\n font: inherit;\n color: #373737;\n text-transform: none;\n display: inline-block;\n box-sizing: border-box;\n vertical-align: middle;\n min-height: 30px;\n line-height: 18px;\n font-size: 13px;\n text-decoration: none;\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n -webkit-appearance: none;\n}\n.pul-subnav__item:hover {\n border-color: transparent;\n background-color: #1e96c9;\n color: #fff;\n text-decoration: none;\n}\n.pul-subnav__item:active {\n background-color: #0e78a6;\n color: #fff;\n}\n.pul-subnav__item--active,\n.pul-subnav__item--active:active,\n.pul-subnav__item--active:hover {\n border-color: #1e96c9;\n background-color: #aed9eb;\n color: #373737;\n}\n@media (min-width: 768px) {\n .pul-subnav {\n -ms-flex-flow: nowrap;\n flex-flow: nowrap;\n margin: 0 0 16px;\n }\n .pul-subnav__item {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 180px;\n flex: 0 1 180px;\n width: auto;\n text-align: center;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-switch{cursor:pointer;position:relative;display:inline-block;height:26px}.pul-switch__label,.pul-switch label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-switch__label{margin-right:5px}.pul-switch__indicator,.pul-switch__label{display:inline-block;vertical-align:middle}.pul-switch__indicator{box-sizing:border-box;cursor:pointer;position:relative;height:26px;width:56px;color:#979797;font-size:10px;font-weight:700;line-height:20px;text-align:center;background-color:#dedede;border:2px solid #dedede;text-transform:uppercase;border-radius:13px;transition:.3s ease-out}.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:33px;height:8px;width:8px;border:2px solid #979797;border-radius:50%}.pul-switch__indicator:after{position:relative;content:"";display:block;width:18px;height:18px;margin:2px;background-color:#fff;border-radius:50%;box-shadow:0 2px 1px rgba(0,0,0,.2)}.pul-switch input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-switch input:checked~.pul-switch__indicator{border-color:#81ca0d;background-color:#81ca0d;padding-left:30px}.pul-switch input:checked~.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:12px;height:12px;width:0;border-width:0 2px 0 0;border-color:#fff;border-radius:0}.pul-switch input:not(:disabled):focus{outline:none}.pul-switch input:not(:disabled):focus~.pul-switch__indicator{border-color:#d1d1d1;background-color:#d1d1d1}.pul-switch input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#72b20b;background-color:#72b20b}.pul-switch input:disabled~.pul-switch__indicator{border-color:#e8e8e8;background-color:#e8e8e8;cursor:not-allowed}.pul-switch input:disabled~.pul-switch__indicator:after{box-shadow:none;background-color:hsla(0,0%,100%,.8)}.pul-switch input:disabled~.pul-switch__indicator:before{opacity:.6}.pul-switch input:disabled:checked~.pul-switch__indicator{border-color:#c1e18f;background-color:#c1e18f}.pul-switch--warning input:checked~.pul-switch__indicator{border-color:#f9c97b;background-color:#f9c97b}.pul-switch--warning input:not(:disabled):checked:focus+.pul-switch__indicator{border-color:#f5a622;background-color:#f5a622}.pul-switch--warning input:disabled:checked~.pul-switch__indicator{border-color:#f7dcb0;background-color:#f7dcb0}.pul-switch--danger input:checked~.pul-switch__indicator{border-color:#f57979;background-color:#f57979}.pul-switch--danger input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#f01f1f;background-color:#f01f1f}.pul-switch--danger input:disabled:checked~.pul-switch__indicator{border-color:#f4adad;background-color:#f4adad}.pul-switch--loading .pul-switch__indicator{background-image:linear-gradient(-45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:22px 22px;-webkit-animation:pul-switch--stripes .5s linear infinite;animation:pul-switch--stripes .5s linear infinite}.objects-toolbar>.pul-switch{float:left;margin:1px 1px 10px 0}.pul-menu .pul-switch__indicator,.pul-menu input:not(:disabled):focus~.pul-switch__indicator{background-color:#999;border-color:#999}@-webkit-keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}@keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Switch/Switch.less"],names:[],mappings:"AAgBA,YACE,eAAgB,AAChB,kBAAmB,AACnB,qBAAsB,AACtB,WAAa,CACd,AAOD,qCALE,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAU3B,AARD,mBAEE,gBAAkB,CAMnB,AACD,0CARE,qBAAsB,AAEtB,qBAAuB,CAwBxB,AAlBD,uBACE,sBAAuB,AACvB,eAAgB,AAEhB,kBAAmB,AACnB,YAAa,AACb,WAAY,AACZ,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,kBAAmB,AACnB,yBAA0B,AAC1B,yBAA0B,AAC1B,yBAA0B,AAC1B,mBAAoB,AAEpB,uBAA0B,CAC3B,AACD,8BACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,WAAY,AACZ,UAAW,AACX,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,6BACE,kBAAmB,AACnB,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,sBAAuB,AACvB,kBAAmB,AACnB,mCAAyC,CAC1C,AACD,kBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,iDACE,qBAAsB,AACtB,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,YAAa,AACb,QAAS,AACT,uBAAwB,AACxB,kBAAmB,AACnB,eAAiB,CAClB,AACD,uCACE,YAAc,CACf,AACD,8DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,sEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kDACE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,wDACE,gBAAiB,AACjB,mCAA2C,CAC5C,AACD,yDACE,UAAa,CACd,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,+EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,mEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,yDACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,8EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4CACE,2JAAqL,AACrL,0BAA2B,AAC3B,0DAA4D,AACpD,iDAAoD,CAC7D,AACD,6BACE,WAAY,AACZ,qBAAuB,CACxB,AACD,6FAEE,sBAAuB,AACvB,iBAAmB,CACpB,AACD,uCACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AACD,+BACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF",file:"Switch.less",sourcesContent:['/*\nSwitch\n\nMarkup:\n<label class="switch {{.modifier}}">\n <span class="switch__label">Text</span>\n <input type="checkbox" :modifier />\n <span class="switch__indicator" />\n</label>\n\nModifiers:\n.switch--warning\n.switch--danger\n.switch--loading\n:disabled\n*/\n.pul-switch {\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: 26px;\n}\n.pul-switch label {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__label {\n display: inline-block;\n margin-right: 5px;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__indicator {\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n position: relative;\n height: 26px;\n width: 56px;\n color: #979797;\n font-size: 10px;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n background-color: #dedede;\n border: 2px solid #dedede;\n text-transform: uppercase;\n border-radius: 13px;\n vertical-align: middle;\n transition: 0.3s ease-out;\n}\n.pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 33px;\n height: 8px;\n width: 8px;\n border: 2px solid #979797;\n border-radius: 50%;\n}\n.pul-switch__indicator::after {\n position: relative;\n content: "";\n display: block;\n width: 18px;\n height: 18px;\n margin: 2px;\n background-color: #fff;\n border-radius: 50%;\n box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n}\n.pul-switch input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-switch input:checked ~ .pul-switch__indicator {\n border-color: #81ca0d;\n background-color: #81ca0d;\n padding-left: 30px;\n}\n.pul-switch input:checked ~ .pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 12px;\n height: 12px;\n width: 0;\n border-width: 0 2px 0 0;\n border-color: #fff;\n border-radius: 0;\n}\n.pul-switch input:not(:disabled):focus {\n outline: none;\n}\n.pul-switch input:not(:disabled):focus ~ .pul-switch__indicator {\n border-color: #d1d1d1;\n background-color: #d1d1d1;\n}\n.pul-switch input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #72b20b;\n background-color: #72b20b;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator {\n border-color: #e8e8e8;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::after {\n box-shadow: none;\n background-color: rgba(255, 255, 255, 0.8);\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::before {\n opacity: 0.6;\n}\n.pul-switch input:disabled:checked ~ .pul-switch__indicator {\n border-color: #c1e18f;\n background-color: #c1e18f;\n}\n.pul-switch--warning input:checked ~ .pul-switch__indicator {\n border-color: #f9c97b;\n background-color: #f9c97b;\n}\n.pul-switch--warning input:not(:disabled):checked:focus + .pul-switch__indicator {\n border-color: #f5a622;\n background-color: #f5a622;\n}\n.pul-switch--warning input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f7dcb0;\n background-color: #f7dcb0;\n}\n.pul-switch--danger input:checked ~ .pul-switch__indicator {\n border-color: #f57979;\n background-color: #f57979;\n}\n.pul-switch--danger input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #f01f1f;\n background-color: #f01f1f;\n}\n.pul-switch--danger input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f4adad;\n background-color: #f4adad;\n}\n.pul-switch--loading .pul-switch__indicator {\n background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);\n background-size: 22px 22px;\n -webkit-animation: pul-switch--stripes 0.5s linear infinite;\n animation: pul-switch--stripes 0.5s linear infinite;\n}\n.objects-toolbar > .pul-switch {\n float: left;\n margin: 1px 1px 10px 0;\n}\n.pul-menu .pul-switch__indicator,\n.pul-menu input:not(:disabled):focus ~ .pul-switch__indicator {\n background-color: #999;\n border-color: #999;\n}\n@-webkit-keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n@keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-switches-panel__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:-16px 0 0 -16px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.pul-switches-panel__item{margin:16px 0 0 16px;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/SwitchesPanel/SwitchesPanel.less"],names:[],mappings:"AAAA,2BACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,8BAA+B,AAC/B,6BAA8B,AAC1B,uBAAwB,AACpB,mBAAoB,AAC5B,uBAAwB,AACxB,uBAAwB,AACpB,oBAAqB,AACjB,2BAA4B,AACpC,wBAAyB,AACrB,qBAAsB,AAClB,sBAAwB,CACjC,AACD,0BACE,qBAAsB,AACtB,mBAAoB,AAChB,kBAAmB,AACf,aAAe,CACxB",file:"SwitchesPanel.less",sourcesContent:[".pul-switches-panel__items {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n margin: -16px 0 0 -16px;\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.pul-switches-panel__item {\n margin: 16px 0 0 16px;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'.pul-switch{cursor:pointer;position:relative;display:inline-block;height:26px}.pul-switch__label,.pul-switch label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pul-switch__label{margin-right:5px}.pul-switch__indicator,.pul-switch__label{display:inline-block;vertical-align:middle}.pul-switch__indicator{box-sizing:border-box;cursor:pointer;position:relative;height:26px;width:56px;color:#979797;font-size:10px;font-weight:700;line-height:20px;text-align:center;background-color:#dedede;border:2px solid #dedede;text-transform:uppercase;border-radius:13px;transition:.3s ease-out}.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:33px;height:8px;width:8px;border:2px solid #979797;border-radius:50%}.pul-switch__indicator:after{position:relative;content:"";display:block;width:18px;height:18px;margin:2px;background-color:#fff;border-radius:50%;box-shadow:0 2px 1px rgba(0,0,0,.2)}.pul-switch input{-webkit-appearance:none;position:absolute;width:inherit;height:inherit;opacity:0;left:0;top:0;z-index:-1}.pul-switch input:checked~.pul-switch__indicator{border-color:#81ca0d;background-color:#81ca0d;padding-left:30px}.pul-switch input:checked~.pul-switch__indicator:before{content:"";position:absolute;top:5px;left:12px;height:12px;width:0;border-width:0 2px 0 0;border-color:#fff;border-radius:0}.pul-switch input:not(:disabled):focus{outline:none}.pul-switch input:not(:disabled):focus~.pul-switch__indicator{border-color:#d1d1d1;background-color:#d1d1d1}.pul-switch input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#72b20b;background-color:#72b20b}.pul-switch input:disabled~.pul-switch__indicator{border-color:#e8e8e8;background-color:#e8e8e8;cursor:not-allowed}.pul-switch input:disabled~.pul-switch__indicator:after{box-shadow:none;background-color:hsla(0,0%,100%,.8)}.pul-switch input:disabled~.pul-switch__indicator:before{opacity:.6}.pul-switch input:disabled:checked~.pul-switch__indicator{border-color:#c1e18f;background-color:#c1e18f}.pul-switch--warning input:checked~.pul-switch__indicator{border-color:#f9c97b;background-color:#f9c97b}.pul-switch--warning input:not(:disabled):checked:focus+.pul-switch__indicator{border-color:#f5a622;background-color:#f5a622}.pul-switch--warning input:disabled:checked~.pul-switch__indicator{border-color:#f7dcb0;background-color:#f7dcb0}.pul-switch--danger input:checked~.pul-switch__indicator{border-color:#f57979;background-color:#f57979}.pul-switch--danger input:not(:disabled):focus:checked+.pul-switch__indicator{border-color:#f01f1f;background-color:#f01f1f}.pul-switch--danger input:disabled:checked~.pul-switch__indicator{border-color:#f4adad;background-color:#f4adad}.pul-switch--loading .pul-switch__indicator{background-image:linear-gradient(-45deg,rgba(0,0,0,.15) 25%,transparent 0,transparent 50%,rgba(0,0,0,.15) 0,rgba(0,0,0,.15) 75%,transparent 0,transparent);background-size:22px 22px;-webkit-animation:pul-switch--stripes .5s linear infinite;animation:pul-switch--stripes .5s linear infinite}.objects-toolbar>.pul-switch{float:left;margin:1px 1px 10px 0}.pul-menu .pul-switch__indicator,.pul-menu input:not(:disabled):focus~.pul-switch__indicator{background-color:#999;border-color:#999}@-webkit-keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}@keyframes pul-switch--stripes{0%{background-position:0 0}to{background-position:22px 0}}.pul-icon{display:inline-block;width:16px;height:16px;vertical-align:-3px;background-repeat:no-repeat;background-size:contain}.pul-icon img,.pul-icon svg{display:block;width:100%;height:100%;overflow:hidden;fill:currentColor}.pul-icon--size-sm{width:16px;height:16px}.pul-icon--size-md{width:32px;height:32px}.pul-icon--size-lg{width:48px;height:48px}.pul-icon--size-xl{width:64px;height:64px}.pul-icon--size-xxl{width:96px;height:96px}.pul-switches-panel-item{display:inline-block;width:165px;min-height:47px;padding:8px 12px 14px;border:1px solid #e0ddda;border-radius:3px;background-color:#fff}.pul-switches-panel-item__title{margin:0;line-height:19px;color:#212121}.pul-switches-panel-item__description{max-height:51px;margin:6px 0 0;font-size:12px;line-height:17px;color:#212121;overflow:hidden}.pul-switches-panel-item__actions{display:-webkit-box;display:-ms-flexbox;display:flex;margin:10px 0 0}.pul-switches-panel-item__switch{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.pul-switches-panel-item .pul-switch__label{margin:0 0 0 5px}.pul-switches-panel-item__controls{-webkit-box-flex:1;-ms-flex:1 0;flex:1 0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button{display:inline-block;overflow:visible;box-sizing:border-box;min-height:24px;min-width:24px;margin:0;padding:4px;cursor:pointer;text-align:center;vertical-align:top;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button::-moz-focus-inner{border:0;padding:0}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:focus,.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:hover{text-decoration:none;outline:none;background-color:rgba(0,0,0,.04)}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button:active{background-color:rgba(0,0,0,.14)}.pul-switches-panel-item__controls>.pul-switches-panel-item__controls-button .pul-icon{color:#0099eb}.pul-switches-panel-item--warning{background-color:#fdeed5;border-color:#f5a622}.pul-switches-panel-item--danger{background-color:#fcd5d5;border-color:#f01f1f}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/SwitchesPanelItem/SwitchesPanelItem.less"],names:[],mappings:"AAgBA,YACE,eAAgB,AAChB,kBAAmB,AACnB,qBAAsB,AACtB,WAAa,CACd,AAOD,qCALE,yBAA0B,AACvB,sBAAuB,AACtB,qBAAsB,AAClB,gBAAkB,CAU3B,AARD,mBAEE,gBAAkB,CAMnB,AACD,0CARE,qBAAsB,AAEtB,qBAAuB,CAwBxB,AAlBD,uBACE,sBAAuB,AACvB,eAAgB,AAEhB,kBAAmB,AACnB,YAAa,AACb,WAAY,AACZ,cAAe,AACf,eAAgB,AAChB,gBAAiB,AACjB,iBAAkB,AAClB,kBAAmB,AACnB,yBAA0B,AAC1B,yBAA0B,AAC1B,yBAA0B,AAC1B,mBAAoB,AAEpB,uBAA0B,CAC3B,AACD,8BACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,WAAY,AACZ,UAAW,AACX,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,6BACE,kBAAmB,AACnB,WAAY,AACZ,cAAe,AACf,WAAY,AACZ,YAAa,AACb,WAAY,AACZ,sBAAuB,AACvB,kBAAmB,AACnB,mCAAyC,CAC1C,AACD,kBACE,wBAAyB,AACzB,kBAAmB,AACnB,cAAe,AACf,eAAgB,AAChB,UAAW,AACX,OAAQ,AACR,MAAO,AACP,UAAY,CACb,AACD,iDACE,qBAAsB,AACtB,yBAA0B,AAC1B,iBAAmB,CACpB,AACD,wDACE,WAAY,AACZ,kBAAmB,AACnB,QAAS,AACT,UAAW,AACX,YAAa,AACb,QAAS,AACT,uBAAwB,AACxB,kBAAmB,AACnB,eAAiB,CAClB,AACD,uCACE,YAAc,CACf,AACD,8DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,sEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kDACE,qBAAsB,AACtB,yBAA0B,AAC1B,kBAAoB,CACrB,AACD,wDACE,gBAAiB,AACjB,mCAA2C,CAC5C,AACD,yDACE,UAAa,CACd,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,0DACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,+EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,mEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,yDACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,8EACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,kEACE,qBAAsB,AACtB,wBAA0B,CAC3B,AACD,4CACE,2JAAqL,AACrL,0BAA2B,AAC3B,0DAA4D,AACpD,iDAAoD,CAC7D,AACD,6BACE,WAAY,AACZ,qBAAuB,CACxB,AACD,6FAEE,sBAAuB,AACvB,iBAAmB,CACpB,AACD,uCACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AACD,+BACE,GACE,uBAAyB,CAC1B,AACD,GACE,0BAAqD,CACtD,CACF,AAmBD,UACE,qBAAsB,AACtB,WAAY,AACZ,YAAa,AACb,oBAAqB,AACrB,4BAA6B,AAC7B,uBAAyB,CAC1B,AACD,4BAEE,cAAe,AACf,WAAY,AACZ,YAAa,AACb,gBAAiB,AACjB,iBAAmB,CACpB,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,mBACE,WAAY,AACZ,WAAa,CACd,AACD,oBACE,WAAY,AACZ,WAAa,CACd,AACD,yBACE,qBAAsB,AACtB,YAAa,AACb,gBAAiB,AACjB,sBAAuB,AACvB,yBAA0B,AAC1B,kBAAmB,AACnB,qBAAuB,CACxB,AACD,gCACE,SAAU,AACV,iBAAkB,AAClB,aAAe,CAChB,AACD,sCACE,gBAAiB,AACjB,eAAgB,AAChB,eAAgB,AAChB,iBAAkB,AAClB,cAAe,AACf,eAAiB,CAClB,AACD,kCACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,eAAiB,CAClB,AACD,iCACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,2BAA4B,AAC5B,2BAA4B,AAC5B,oBAAqB,AACrB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,8BAA+B,AAC/B,8BAA+B,AAC3B,+BAAgC,AAC5B,0BAA4B,CACrC,AACD,4CACE,gBAAkB,CACnB,AACD,mCACE,mBAAoB,AAChB,aAAc,AACV,SAAU,AAClB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,qBAAsB,AAClB,kBAAmB,AACf,wBAA0B,CACnC,AACD,6EACE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,gBAAiB,AACjB,eAAgB,AAChB,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,+FACE,SAAU,AACV,SAAW,CACZ,AACD,sKAEE,qBAAsB,AACtB,aAAc,AACd,gCAAsC,CACvC,AACD,oFACE,gCAAsC,CACvC,AACD,uFACE,aAAe,CAChB,AACD,kCACE,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,iCACE,yBAA0B,AAC1B,oBAAsB,CACvB",file:"SwitchesPanelItem.less",sourcesContent:['/*\nSwitch\n\nMarkup:\n<label class="switch {{.modifier}}">\n <span class="switch__label">Text</span>\n <input type="checkbox" :modifier />\n <span class="switch__indicator" />\n</label>\n\nModifiers:\n.switch--warning\n.switch--danger\n.switch--loading\n:disabled\n*/\n.pul-switch {\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: 26px;\n}\n.pul-switch label {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__label {\n display: inline-block;\n margin-right: 5px;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.pul-switch__indicator {\n box-sizing: border-box;\n cursor: pointer;\n display: inline-block;\n position: relative;\n height: 26px;\n width: 56px;\n color: #979797;\n font-size: 10px;\n font-weight: 700;\n line-height: 20px;\n text-align: center;\n background-color: #dedede;\n border: 2px solid #dedede;\n text-transform: uppercase;\n border-radius: 13px;\n vertical-align: middle;\n transition: 0.3s ease-out;\n}\n.pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 33px;\n height: 8px;\n width: 8px;\n border: 2px solid #979797;\n border-radius: 50%;\n}\n.pul-switch__indicator::after {\n position: relative;\n content: "";\n display: block;\n width: 18px;\n height: 18px;\n margin: 2px;\n background-color: #fff;\n border-radius: 50%;\n box-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);\n}\n.pul-switch input {\n -webkit-appearance: none;\n position: absolute;\n width: inherit;\n height: inherit;\n opacity: 0;\n left: 0;\n top: 0;\n z-index: -1;\n}\n.pul-switch input:checked ~ .pul-switch__indicator {\n border-color: #81ca0d;\n background-color: #81ca0d;\n padding-left: 30px;\n}\n.pul-switch input:checked ~ .pul-switch__indicator::before {\n content: "";\n position: absolute;\n top: 5px;\n left: 12px;\n height: 12px;\n width: 0;\n border-width: 0 2px 0 0;\n border-color: #fff;\n border-radius: 0;\n}\n.pul-switch input:not(:disabled):focus {\n outline: none;\n}\n.pul-switch input:not(:disabled):focus ~ .pul-switch__indicator {\n border-color: #d1d1d1;\n background-color: #d1d1d1;\n}\n.pul-switch input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #72b20b;\n background-color: #72b20b;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator {\n border-color: #e8e8e8;\n background-color: #e8e8e8;\n cursor: not-allowed;\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::after {\n box-shadow: none;\n background-color: rgba(255, 255, 255, 0.8);\n}\n.pul-switch input:disabled ~ .pul-switch__indicator::before {\n opacity: 0.6;\n}\n.pul-switch input:disabled:checked ~ .pul-switch__indicator {\n border-color: #c1e18f;\n background-color: #c1e18f;\n}\n.pul-switch--warning input:checked ~ .pul-switch__indicator {\n border-color: #f9c97b;\n background-color: #f9c97b;\n}\n.pul-switch--warning input:not(:disabled):checked:focus + .pul-switch__indicator {\n border-color: #f5a622;\n background-color: #f5a622;\n}\n.pul-switch--warning input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f7dcb0;\n background-color: #f7dcb0;\n}\n.pul-switch--danger input:checked ~ .pul-switch__indicator {\n border-color: #f57979;\n background-color: #f57979;\n}\n.pul-switch--danger input:not(:disabled):focus:checked + .pul-switch__indicator {\n border-color: #f01f1f;\n background-color: #f01f1f;\n}\n.pul-switch--danger input:disabled:checked ~ .pul-switch__indicator {\n border-color: #f4adad;\n background-color: #f4adad;\n}\n.pul-switch--loading .pul-switch__indicator {\n background-image: linear-gradient(-45deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.15) 75%, transparent 75%, transparent);\n background-size: 22px 22px;\n -webkit-animation: pul-switch--stripes 0.5s linear infinite;\n animation: pul-switch--stripes 0.5s linear infinite;\n}\n.objects-toolbar > .pul-switch {\n float: left;\n margin: 1px 1px 10px 0;\n}\n.pul-menu .pul-switch__indicator,\n.pul-menu input:not(:disabled):focus ~ .pul-switch__indicator {\n background-color: #999;\n border-color: #999;\n}\n@-webkit-keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n@keyframes pul-switch--stripes {\n 0% {\n background-position: 0 0;\n }\n 100% {\n background-position: 22px 0 /*rtl:right 30px top 0*/;\n }\n}\n/*\nIcon\n\nMarkup:\n<span class="icon {{.modifier}}">{{children}}</span>\n<span class="icon {{.modifier}}"></span>\n<span class="icon {{.modifier}}"><img src="..." alt="..."></span>\n<span class="icon {{.modifier}}"><svg>...</svg></span>\n\nModifiers:\n.icon--size-sm\n.icon--size-md\n.icon--size-lg\n.icon--size-xl\n.icon--size-xxl\n\n.icon--{{name}}\n*/\n.pul-icon {\n display: inline-block;\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n background-repeat: no-repeat;\n background-size: contain;\n}\n.pul-icon img,\n.pul-icon svg {\n display: block;\n width: 100%;\n height: 100%;\n overflow: hidden;\n fill: currentColor;\n}\n.pul-icon--size-sm {\n width: 16px;\n height: 16px;\n}\n.pul-icon--size-md {\n width: 32px;\n height: 32px;\n}\n.pul-icon--size-lg {\n width: 48px;\n height: 48px;\n}\n.pul-icon--size-xl {\n width: 64px;\n height: 64px;\n}\n.pul-icon--size-xxl {\n width: 96px;\n height: 96px;\n}\n.pul-switches-panel-item {\n display: inline-block;\n width: 165px;\n min-height: 47px;\n padding: 8px 12px 14px;\n border: solid 1px #e0ddda;\n border-radius: 3px;\n background-color: #fff;\n}\n.pul-switches-panel-item__title {\n margin: 0;\n line-height: 19px;\n color: #212121;\n}\n.pul-switches-panel-item__description {\n max-height: 51px;\n margin: 6px 0 0;\n font-size: 12px;\n line-height: 17px;\n color: #212121;\n overflow: hidden;\n}\n.pul-switches-panel-item__actions {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: 10px 0 0;\n}\n.pul-switches-panel-item__switch {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: reverse;\n -ms-flex-direction: row-reverse;\n flex-direction: row-reverse;\n}\n.pul-switches-panel-item .pul-switch__label {\n margin: 0 0 0 5px;\n}\n.pul-switches-panel-item__controls {\n -webkit-box-flex: 1;\n -ms-flex: 1 0;\n flex: 1 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n min-height: 24px;\n min-width: 24px;\n margin: 0;\n padding: 4px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:hover,\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:focus {\n text-decoration: none;\n outline: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n.pul-switches-panel-item__controls > .pul-switches-panel-item__controls-button .pul-icon {\n color: #0099eb;\n}\n.pul-switches-panel-item--warning {\n background-color: #fdeed5;\n border-color: #f5a622;\n}\n.pul-switches-panel-item--danger {\n background-color: #fcd5d5;\n border-color: #f01f1f;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-input{box-sizing:border-box;height:26px;max-width:100%;padding:3px 6px 4px;border:solid #afbac1;border-width:0 0 1px;background-color:#ededed;color:#020202;transition:all .2s linear}.pul-input:focus{border-color:#0f7faf;outline:0;background-color:#ecf5f9;color:#020202}.pul-input[readonly]{border-color:#afbac1;background-color:#ededed;color:#020202}.pul-input[disabled]{border-color:#e2e2e2;background-color:#f4f4f4;color:#999;opacity:1}.pul-input--size-sm{width:50px}.pul-input--size-md{width:200px}.pul-input--size-lg{width:350px}.pul-input--size-xl{width:500px}.pul-input--size-fill{width:100%}.pul-search-bar,.pul-search-bar__group{width:100%;position:relative}.pul-search-bar__group>.pul-search-bar__input{height:auto}.pul-search-bar__group>button{transition:all .2s linear}.pul-search-bar__group>button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active){border:none;border-bottom:1px solid #afbac1;background-color:#ededed}.pul-search-bar--focused .pul-search-bar__group>button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active){border-bottom-color:#0f7faf;background-color:#ecf5f9}.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button{border:none;margin-left:0}.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button:not(:hover):not(:focus):not(:active){border-bottom:1px solid #afbac1;background-color:#ededed}.pul-search-bar__reset-button{position:absolute;right:30px;top:0;bottom:0;color:#e12d2d}.pul-search-bar__results{position:absolute;right:0;z-index:1035;width:100%}.pul-search-bar__results--hidden{display:none}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Tabs/SearchBar.less"],names:[],mappings:"AAAA,WACE,sBAAuB,AACvB,YAAa,AACb,eAAgB,AAChB,oBAAqB,AACrB,qBAAsB,AACtB,qBAAsB,AACtB,yBAA0B,AAC1B,cAAe,AACf,yBAA4B,CAC7B,AACD,iBACE,qBAAsB,AACtB,UAAW,AACX,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,aAAe,CAChB,AACD,qBACE,qBAAsB,AACtB,yBAA0B,AAC1B,WAAY,AACZ,SAAW,CACZ,AACD,oBACE,UAAY,CACb,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,oBACE,WAAa,CACd,AACD,sBACE,UAAY,CACb,AAKD,uCAHE,WAAY,AACZ,iBAAmB,CAKpB,AACD,8CACE,WAAa,CACd,AACD,8BACE,yBAA4B,CAC7B,AACD,uGACE,YAAa,AACb,gCAAiC,AACjC,wBAA0B,CAC3B,AACD,gIACE,4BAA6B,AAC7B,wBAA0B,CAC3B,AACD,6EACE,YAAa,AACb,aAAe,CAChB,AACD,kHACE,gCAAiC,AACjC,wBAA0B,CAC3B,AACD,8BACE,kBAAmB,AACnB,WAAY,AACZ,MAAO,AACP,SAAU,AACV,aAAe,CAChB,AACD,yBACE,kBAAmB,AACnB,QAAS,AACT,aAAc,AACd,UAAY,CACb,AACD,iCACE,YAAc,CACf",file:"SearchBar.less",sourcesContent:[".pul-input {\n box-sizing: border-box;\n height: 26px;\n max-width: 100%;\n padding: 3px 6px 4px;\n border: solid #afbac1;\n border-width: 0 0 1px;\n background-color: #ededed;\n color: #020202;\n transition: all linear 0.2s;\n}\n.pul-input:focus {\n border-color: #0f7faf;\n outline: 0;\n background-color: #ecf5f9;\n color: #020202;\n}\n.pul-input[readonly] {\n border-color: #afbac1;\n background-color: #ededed;\n color: #020202;\n}\n.pul-input[disabled] {\n border-color: #e2e2e2;\n background-color: #f4f4f4;\n color: #999;\n opacity: 1;\n}\n.pul-input--size-sm {\n width: 50px;\n}\n.pul-input--size-md {\n width: 200px;\n}\n.pul-input--size-lg {\n width: 350px;\n}\n.pul-input--size-xl {\n width: 500px;\n}\n.pul-input--size-fill {\n width: 100%;\n}\n.pul-search-bar {\n width: 100%;\n position: relative;\n}\n.pul-search-bar__group {\n width: 100%;\n position: relative;\n}\n.pul-search-bar__group > .pul-search-bar__input {\n height: auto;\n}\n.pul-search-bar__group > button {\n transition: all linear 0.2s;\n}\n.pul-search-bar__group > button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active) {\n border: none;\n border-bottom: 1px solid #afbac1;\n background-color: #ededed;\n}\n.pul-search-bar--focused .pul-search-bar__group > button:not(.pul-search-bar__search-button):not(:hover):not(:focus):not(:active) {\n border-bottom-color: #0f7faf;\n background-color: #ecf5f9;\n}\n.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button {\n border: none;\n margin-left: 0;\n}\n.pul-search-bar:not(.pul-search-bar--focused) .pul-search-bar__search-button:not(:hover):not(:focus):not(:active) {\n border-bottom: 1px solid #afbac1;\n background-color: #ededed;\n}\n.pul-search-bar__reset-button {\n position: absolute;\n right: 30px;\n top: 0;\n bottom: 0;\n color: #e12d2d;\n}\n.pul-search-bar__results {\n position: absolute;\n right: 0;\n z-index: 1035;\n width: 100%;\n}\n.pul-search-bar__results--hidden {\n display: none;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-tabs__nav{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-bottom:16px}.pul-tabs__nav,.pul-tabs__tab-list{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-tabs__tab-list{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;margin:0;padding:0;border-bottom:1px solid #09729f;list-style:none;max-width:100%}.pul-tabs__tab{-webkit-box-flex:0;-ms-flex:none;flex:none}.pul-tabs__tab:not(:first-child) .pul-tabs__link{margin-left:2px}.pul-tabs__link{display:-webkit-box;display:-ms-flexbox;display:flex;box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;height:30px;line-height:30px;padding:0 10px;margin-bottom:-1px;border:1px solid #519aba;border-bottom-color:#09729f;font-size:13px;white-space:nowrap;text-decoration:none;background-color:#ecf5f9;cursor:pointer;color:#000}.pul-tabs__link:hover,.pul-tabs__tab:hover .pul-tabs__link,.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link,.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link:hover,.pul-tabs__tab:not(.pul-tabs__tab--selected):hover .pul-dropdown--opened .pul-tabs__link{color:#fff;background-color:#2298cb;text-decoration:none}.pul-tabs__tab--selected .pul-tabs__link,.pul-tabs__tab--selected .pul-tabs__link:hover,.pul-tabs__tab--selected:hover .pul-tabs__link{border-color:#09729f #09729f #fff;background-color:#fff;color:#000}.pul-tabs__tab--closable{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-tabs__tab--closable .pul-tabs__link{padding-right:24px}.pul-tabs__tab--closable .pul-tabs__tab-close{position:absolute;top:0;right:6px;-webkit-transform:translateY(50%);transform:translateY(50%)}.pul-tabs__tab-icon+.pul-tabs__tab-title,.pul-tabs__tab-title+.pul-tabs__tab-label{margin-left:6px}.pul-tabs__link .pul-tabs__tab-icon{color:#519aba}.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-tabs__link:hover .pul-tabs__tab-icon{color:currentColor}.pul-tabs__tab .pul-tabs__tab-label{box-sizing:border-box;min-width:16px;padding:1px 4px;vertical-align:top;border-radius:2px}.pul-tabs__menu-item-close,.pul-tabs__tab-close{display:inline-block;overflow:visible;box-sizing:border-box;height:16px;width:16px;margin:0;padding:1px;cursor:pointer;text-align:center;vertical-align:top;color:#616161;border:none;border-radius:2px;background-color:transparent;font:inherit;font-size:13px;line-height:1}.pul-tabs__menu-item-close::-moz-focus-inner,.pul-tabs__tab-close::-moz-focus-inner{border:0;padding:0}.pul-tabs__menu-item-close:hover,.pul-tabs__tab-close:hover{text-decoration:none;background-color:rgba(0,0,0,.04)}.pul-tabs__menu-item-close:active,.pul-tabs__tab-close:active{background-color:rgba(0,0,0,.14)}.pul-tabs__tab .pul-tabs__menu-item-close-icon,.pul-tabs__tab .pul-tabs__tab-close-icon{width:14px;height:14px;vertical-align:top}.pul-menu__item .pul-tabs__menu-item-close{margin-left:4px}.pul-menu__item--active .pul-tabs__menu-item-close,.pul-menu__item:hover .pul-tabs__menu-item-close,.pul-tabs__tab:hover .pul-tabs__tab-close{color:#fff}.pul-tabs__tab--selected:hover .pul-tabs__tab-close{color:#616161}.pul-tabs__nav--compact{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.pul-tabs__addon{-webkit-box-flex:10000;-ms-flex:10000 1 auto;flex:10000 1 auto;text-align:right;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.pul-tabs__nav--compact .pul-tabs__addon{-ms-flex-preferred-size:100%;flex-basis:100%;margin-left:0;margin-bottom:5px}.pul-tabs__nav--compact .pul-tabs__search{padding-left:5px;width:auto}.pul-tabs__nav:not(.pul-tabs__nav--compact) .pul-tabs__addon{padding-left:5px}.pul-tabs__nav--searching{position:relative}.pul-tabs__nav--searching .pul-tabs__search{position:absolute;bottom:0;left:0;right:0;padding-left:0}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Tabs/Tabs.less"],names:[],mappings:"AAuBA,eAIE,sBAAuB,AACnB,mBAAoB,AAChB,qBAAsB,AAC9B,kBAAoB,CACrB,AACD,mCARE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAkBf,AAZD,oBAIE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,SAAU,AACV,UAAW,AACX,gCAAiC,AACjC,gBAAiB,AACjB,cAAgB,CACjB,AACD,eACE,mBAAoB,AAChB,cAAe,AACX,SAAW,CACpB,AACD,iDACE,eAAiB,CAClB,AACD,gBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,sBAAuB,AACvB,yBAA0B,AACtB,sBAAuB,AACnB,mBAAoB,AAC5B,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,YAAa,AACb,iBAAkB,AAClB,eAAgB,AAChB,mBAAoB,AACpB,yBAA0B,AAC1B,4BAA6B,AAC7B,eAAgB,AAChB,mBAAoB,AACpB,qBAAsB,AACtB,yBAA0B,AAC1B,eAAgB,AAChB,UAAY,CACb,AACD,gUAKE,WAAY,AACZ,yBAA0B,AAC1B,oBAAsB,CACvB,AACD,uIAGE,kCAAmC,AACnC,sBAAuB,AACvB,UAAY,CACb,AACD,yBACE,kBAAmB,AACnB,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,yCACE,kBAAoB,CACrB,AACD,8CACE,kBAAmB,AACnB,MAAO,AACP,UAAW,AACX,kCAAmC,AAC3B,yBAA2B,CACpC,AACD,mFAEE,eAAiB,CAClB,AACD,oCACE,aAAe,CAChB,AACD,uFACE,kBAAoB,CACrB,AACD,oCACE,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,mBAAoB,AACpB,iBAAmB,CACpB,AACD,gDAEE,qBAAsB,AACtB,iBAAkB,AAClB,sBAAuB,AACvB,YAAa,AACb,WAAY,AACZ,SAAU,AACV,YAAa,AACb,eAAgB,AAChB,kBAAmB,AACnB,mBAAoB,AACpB,cAAe,AACf,YAAa,AACb,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,eAAgB,AAChB,aAAe,CAChB,AACD,oFAEE,SAAU,AACV,SAAW,CACZ,AACD,4DAEE,qBAAsB,AACtB,gCAAsC,CACvC,AACD,8DAEE,gCAAsC,CACvC,AACD,wFAEE,WAAY,AACZ,YAAa,AACb,kBAAoB,CACrB,AACD,2CACE,eAAiB,CAClB,AACD,8IAGE,UAAY,CACb,AACD,oDACE,aAAe,CAChB,AACD,wBACE,2BAA4B,AACxB,sBAAwB,CAC7B,AACD,iBACE,uBAAwB,AACpB,sBAAuB,AACnB,kBAAmB,AAC3B,iBAAkB,AAClB,2BAA4B,AACxB,uBAAwB,AAC5B,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,qBAAsB,AAClB,kBAAmB,AACf,wBAA0B,CACnC,AACD,yCACE,6BAA8B,AAC1B,gBAAiB,AACrB,cAAe,AACf,iBAAmB,CACpB,AACD,0CACE,iBAAkB,AAClB,UAAY,CACb,AACD,6DACE,gBAAkB,CACnB,AACD,0BACE,iBAAmB,CACpB,AACD,4CACE,kBAAmB,AACnB,SAAU,AACV,OAAQ,AACR,QAAS,AACT,cAAgB,CACjB",file:"Tabs.less",sourcesContent:['/*\nTabs\n\nMarkup:\n<div class="tabs">\n <div class="tabs__nav" role="tablist">\n <ul class="tabs__nav-list">\n <li class="tabs__tab {{.modifier}}" role="presentation" aria-selected="true">\n <a class="tabs__link" role="tab">\n <span class="tabs__tab-icon">{{icon}}</span>\n <span class="tabs__tab-title">{{title}}</span>\n </a>\n <button class="tabs__tab-close" type="button"><span class="icon tabs__tab-close-icon"><svg></svg></span></button>\n </li>\n </ul>\n <div class="tabs__addon"></div>\n </div>\n <div class="tabs__content" role="tabpanel">{{children}}</div>\n</div>\n\nModifiers:\n.tabs__tab--selected\n*/\n.pul-tabs__nav {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n margin-bottom: 16px;\n}\n.pul-tabs__tab-list {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 0 auto;\n flex: 1 0 auto;\n margin: 0;\n padding: 0;\n border-bottom: 1px solid #09729f;\n list-style: none;\n max-width: 100%;\n}\n.pul-tabs__tab {\n -webkit-box-flex: 0;\n -ms-flex: none;\n flex: none;\n}\n.pul-tabs__tab:not(:first-child) .pul-tabs__link {\n margin-left: 2px;\n}\n.pul-tabs__link {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n box-sizing: border-box;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n height: 30px;\n line-height: 30px;\n padding: 0 10px;\n margin-bottom: -1px;\n border: 1px solid #519aba;\n border-bottom-color: #09729f;\n font-size: 13px;\n white-space: nowrap;\n text-decoration: none;\n background-color: #ecf5f9;\n cursor: pointer;\n color: #000;\n}\n.pul-tabs__link:hover,\n.pul-tabs__tab:hover .pul-tabs__link,\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link,\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-dropdown--opened .pul-tabs__link:hover,\n.pul-tabs__tab:not(.pul-tabs__tab--selected):hover .pul-dropdown--opened .pul-tabs__link {\n color: #fff;\n background-color: #2298cb;\n text-decoration: none;\n}\n.pul-tabs__tab--selected .pul-tabs__link,\n.pul-tabs__tab--selected:hover .pul-tabs__link,\n.pul-tabs__tab--selected .pul-tabs__link:hover {\n border-color: #09729f #09729f #fff;\n background-color: #fff;\n color: #000;\n}\n.pul-tabs__tab--closable {\n position: relative;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-tabs__tab--closable .pul-tabs__link {\n padding-right: 24px;\n}\n.pul-tabs__tab--closable .pul-tabs__tab-close {\n position: absolute;\n top: 0;\n right: 6px;\n -webkit-transform: translateY(50%);\n transform: translateY(50%);\n}\n.pul-tabs__tab-icon + .pul-tabs__tab-title,\n.pul-tabs__tab-title + .pul-tabs__tab-label {\n margin-left: 6px;\n}\n.pul-tabs__link .pul-tabs__tab-icon {\n color: #519aba;\n}\n.pul-tabs__tab:not(.pul-tabs__tab--selected) .pul-tabs__link:hover .pul-tabs__tab-icon {\n color: currentColor;\n}\n.pul-tabs__tab .pul-tabs__tab-label {\n box-sizing: border-box;\n min-width: 16px;\n padding: 1px 4px;\n vertical-align: top;\n border-radius: 2px;\n}\n.pul-tabs__tab-close,\n.pul-tabs__menu-item-close {\n display: inline-block;\n overflow: visible;\n box-sizing: border-box;\n height: 16px;\n width: 16px;\n margin: 0;\n padding: 1px;\n cursor: pointer;\n text-align: center;\n vertical-align: top;\n color: #616161;\n border: none;\n border-radius: 2px;\n background-color: transparent;\n font: inherit;\n font-size: 13px;\n line-height: 1;\n}\n.pul-tabs__tab-close::-moz-focus-inner,\n.pul-tabs__menu-item-close::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-tabs__tab-close:hover,\n.pul-tabs__menu-item-close:hover {\n text-decoration: none;\n background-color: rgba(0, 0, 0, 0.04);\n}\n.pul-tabs__tab-close:active,\n.pul-tabs__menu-item-close:active {\n background-color: rgba(0, 0, 0, 0.14);\n}\n.pul-tabs__tab .pul-tabs__tab-close-icon,\n.pul-tabs__tab .pul-tabs__menu-item-close-icon {\n width: 14px;\n height: 14px;\n vertical-align: top;\n}\n.pul-menu__item .pul-tabs__menu-item-close {\n margin-left: 4px;\n}\n.pul-tabs__tab:hover .pul-tabs__tab-close,\n.pul-menu__item:hover .pul-tabs__menu-item-close,\n.pul-menu__item--active .pul-tabs__menu-item-close {\n color: #fff;\n}\n.pul-tabs__tab--selected:hover .pul-tabs__tab-close {\n color: #616161;\n}\n.pul-tabs__nav--compact {\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n}\n.pul-tabs__addon {\n -webkit-box-flex: 10000;\n -ms-flex: 10000 1 auto;\n flex: 10000 1 auto;\n text-align: right;\n -ms-flex-wrap: wrap-reverse;\n flex-wrap: wrap-reverse;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.pul-tabs__nav--compact .pul-tabs__addon {\n -ms-flex-preferred-size: 100%;\n flex-basis: 100%;\n margin-left: 0;\n margin-bottom: 5px;\n}\n.pul-tabs__nav--compact .pul-tabs__search {\n padding-left: 5px;\n width: auto;\n}\n.pul-tabs__nav:not(.pul-tabs__nav--compact) .pul-tabs__addon {\n padding-left: 5px;\n}\n.pul-tabs__nav--searching {\n position: relative;\n}\n.pul-tabs__nav--searching .pul-tabs__search {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding-left: 0;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toast{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;position:relative;margin:5px auto 0;padding:10px;box-sizing:border-box;box-shadow:0 0 0 1px rgba(16,22,26,.1),0 2px 4px rgba(16,22,26,.2),0 8px 24px rgba(16,22,26,.2);background-color:#f0f0f0;min-width:300px;max-width:680px;width:100%;pointer-events:all}.pul-toast:focus{outline:none}.pul-toast--info{background-color:#c6e5fa}.pul-toast--info .pul-toast__icon{color:#39a5ee}.pul-toast--success{background-color:#bcdf94}.pul-toast--success .pul-toast__icon{color:#71a832}.pul-toast--warning{background-color:#fdd896}.pul-toast--warning .pul-toast__icon{color:#f59f05}.pul-toast--danger{background-color:#f4b3b3}.pul-toast--danger .pul-toast__icon{color:#e12d2d}.pul-toast__action,.pul-toast__icon{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.pul-toast__icon{line-height:1;padding:1px 6px 1px 0}.pul-toast__content{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;word-break:break-all;word-break:break-word}.pul-toast--enter,.pul-toast--enter~.toast{-webkit-transform:translateY(-40px);transform:translateY(-40px)}.pul-toast--enter-active,.pul-toast--enter-active~.pul-toast{-webkit-transform:translateY(0);transform:translateY(0);transition:-webkit-transform .3s cubic-bezier(.54,1.12,.38,1.11);transition:transform .3s cubic-bezier(.54,1.12,.38,1.11);transition:transform .3s cubic-bezier(.54,1.12,.38,1.11),-webkit-transform .3s cubic-bezier(.54,1.12,.38,1.11)}.pul-toast--exit{opacity:1;-webkit-filter:blur(0);filter:blur(0)}.pul-toast--exit-active{opacity:0;-webkit-filter:blur(10px);filter:blur(10px);transition:opacity .3s cubic-bezier(.4,1,.75,.9),-webkit-filter .3s cubic-bezier(.4,1,.75,.9);transition:opacity .3s cubic-bezier(.4,1,.75,.9),filter .3s cubic-bezier(.4,1,.75,.9);transition:opacity .3s cubic-bezier(.4,1,.75,.9),filter .3s cubic-bezier(.4,1,.75,.9),-webkit-filter .3s cubic-bezier(.4,1,.75,.9)}.pul-toast--exit~.pul-toast{-webkit-transform:translateY(0);transform:translateY(0)}.pul-toast--exit-active~.pul-toast{-webkit-transform:translateY(-40px);transform:translateY(-40px);transition:-webkit-transform .1s cubic-bezier(.4,1,.75,.9) .05s;transition:transform .1s cubic-bezier(.4,1,.75,.9) .05s;transition:transform .1s cubic-bezier(.4,1,.75,.9) .05s,-webkit-transform .1s cubic-bezier(.4,1,.75,.9) .05s}.pul-toast__close{display:inline-block;vertical-align:top;width:18px;height:18px;padding:1px;overflow:hidden;border:0;border-radius:50%;background-color:transparent;outline:none;cursor:pointer}.pul-toast__close:focus,.pul-toast__close:hover{background-color:hsla(0,0%,100%,.4)}.pul-toast__close::-moz-focus-inner{border:0;padding:0}.pul-toast__close-x{color:#000;opacity:.87}.pul-toast__close:hover .pul-toast__close-x{opacity:1}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Toast/Toast.less"],names:[],mappings:"AAyBA,WACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,wBAAyB,AACrB,qBAAsB,AAClB,uBAAwB,AAChC,kBAAmB,AACnB,kBAAmB,AACnB,aAAc,AACd,sBAAuB,AACvB,gGAA+G,AAC/G,yBAA0B,AAC1B,gBAAiB,AACjB,gBAAiB,AACjB,WAAY,AACZ,kBAAoB,CACrB,AACD,iBACE,YAAc,CACf,AACD,iBACE,wBAA0B,CAC3B,AACD,kCACE,aAAe,CAChB,AACD,oBACE,wBAA0B,CAC3B,AACD,qCACE,aAAe,CAChB,AACD,oBACE,wBAA0B,CAC3B,AACD,qCACE,aAAe,CAChB,AACD,mBACE,wBAA0B,CAC3B,AACD,oCACE,aAAe,CAChB,AACD,oCAEE,mBAAoB,AAChB,kBAAmB,AACf,aAAe,CACxB,AACD,iBACE,cAAe,AACf,qBAAuB,CACxB,AACD,oBACE,mBAAoB,AAChB,kBAAmB,AACf,cAAe,AACvB,qBAAsB,AACtB,qBAAuB,CACxB,AACD,2CAEE,oCAAqC,AAC7B,2BAA6B,CACtC,AACD,6DAEE,gCAAiC,AACzB,wBAAyB,AACjC,iEAAwE,AACxE,yDAAgE,AAChE,8GAA6H,CAC9H,AACD,iBACE,UAAW,AACX,uBAAwB,AAChB,cAAgB,CACzB,AACD,wBACE,UAAW,AACX,0BAA2B,AACnB,kBAAmB,AAC3B,8FAA8G,AAC9G,sFAAsG,AACtG,kIAA2J,CAC5J,AACD,4BACE,gCAAiC,AACzB,uBAAyB,CAClC,AACD,mCACE,oCAAqC,AAC7B,4BAA6B,AACrC,gEAAyE,AACzE,wDAAiE,AACjE,4GAA+H,CAChI,AACD,kBACE,qBAAsB,AACtB,mBAAoB,AACpB,WAAY,AACZ,YAAa,AACb,YAAa,AACb,gBAAiB,AACjB,SAAU,AACV,kBAAmB,AACnB,6BAA8B,AAC9B,aAAc,AACd,cAAgB,CACjB,AACD,gDAEE,mCAA2C,CAC5C,AACD,oCACE,SAAU,AACV,SAAW,CACZ,AACD,oBACE,WAAY,AACZ,WAAc,CACf,AACD,4CACE,SAAW,CACZ",file:"Toast.less",sourcesContent:['/*\nToast\n\nMarkup:\n<div class="toaster toaster--top">\n <div class="toast toast--success" tabindex="0">\n <span class="toast__icon"><i className="icon-ok"></i></span>\n <span class="toast__content">toast message</span>\n <span class="toast__action"><span class="close"></span></span>\n </div>\n</div>\n\nModifiers:\n.toaster--top\n\n.toast--success\n.toast--warning\n.toast--danger\n.toast--info\n\n.toast--enter\n.toast--enter-active\n.toast--leave\n.toast--leave-active\n*/\n.pul-toast {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n position: relative;\n margin: 5px auto 0;\n padding: 10px;\n box-sizing: border-box;\n box-shadow: 0 0 0 1px rgba(16, 22, 26, 0.1), 0 2px 4px rgba(16, 22, 26, 0.2), 0 8px 24px rgba(16, 22, 26, 0.2);\n background-color: #f0f0f0;\n min-width: 300px;\n max-width: 680px;\n width: 100%;\n pointer-events: all;\n}\n.pul-toast:focus {\n outline: none;\n}\n.pul-toast--info {\n background-color: #c6e5fa;\n}\n.pul-toast--info .pul-toast__icon {\n color: #39a5ee;\n}\n.pul-toast--success {\n background-color: #bcdf94;\n}\n.pul-toast--success .pul-toast__icon {\n color: #71a832;\n}\n.pul-toast--warning {\n background-color: #fdd896;\n}\n.pul-toast--warning .pul-toast__icon {\n color: #f59f05;\n}\n.pul-toast--danger {\n background-color: #f4b3b3;\n}\n.pul-toast--danger .pul-toast__icon {\n color: #e12d2d;\n}\n.pul-toast__icon,\n.pul-toast__action {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.pul-toast__icon {\n line-height: 1;\n padding: 1px 6px 1px 0;\n}\n.pul-toast__content {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n word-break: break-all;\n word-break: break-word;\n}\n.pul-toast--enter,\n.pul-toast--enter ~ .toast {\n -webkit-transform: translateY(-40px);\n transform: translateY(-40px);\n}\n.pul-toast--enter-active,\n.pul-toast--enter-active ~ .pul-toast {\n -webkit-transform: translateY(0);\n transform: translateY(0);\n transition: -webkit-transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n transition: transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n transition: transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11), -webkit-transform 0.3s cubic-bezier(0.54, 1.12, 0.38, 1.11);\n}\n.pul-toast--exit {\n opacity: 1;\n -webkit-filter: blur(0);\n filter: blur(0);\n}\n.pul-toast--exit-active {\n opacity: 0;\n -webkit-filter: blur(10px);\n filter: blur(10px);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n transition: opacity 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9), -webkit-filter 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);\n}\n.pul-toast--exit ~ .pul-toast {\n -webkit-transform: translateY(0);\n transform: translateY(0);\n}\n.pul-toast--exit-active ~ .pul-toast {\n -webkit-transform: translateY(-40px);\n transform: translateY(-40px);\n transition: -webkit-transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n transition: transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n transition: transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s, -webkit-transform 0.1s cubic-bezier(0.4, 1, 0.75, 0.9) 0.05s;\n}\n.pul-toast__close {\n display: inline-block;\n vertical-align: top;\n width: 18px;\n height: 18px;\n padding: 1px;\n overflow: hidden;\n border: 0;\n border-radius: 50%;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n}\n.pul-toast__close:hover,\n.pul-toast__close:focus {\n background-color: rgba(255, 255, 255, 0.4);\n}\n.pul-toast__close::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n.pul-toast__close-x {\n color: #000;\n opacity: 0.87;\n}\n.pul-toast__close:hover .pul-toast__close-x {\n opacity: 1;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toaster{pointer-events:none;transition:padding .3s ease-in-out}.pul-toaster>span{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-toaster--top{position:fixed;top:0;right:0;left:0;padding:25px 10px 15px}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Toaster/Toaster.less"],names:[],mappings:"AAeA,aACE,oBAAqB,AACrB,kCAAqC,CACtC,AACD,kBACE,oBAAqB,AACrB,oBAAqB,AACrB,aAAc,AACd,4BAA6B,AAC7B,6BAA8B,AAC1B,0BAA2B,AACvB,sBAAuB,AAC/B,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,kBACE,eAAgB,AAChB,MAAO,AACP,QAAS,AACT,OAAQ,AACR,sBAAwB,CACzB",file:"Toaster.less",sourcesContent:['/*\nToaster\n\nMarkup:\n<div class="toaster toaster--top">\n <div class="toast toast--success" tabindex="0">\n <span class="toast__icon"><i className="icon-ok"></i></span>\n <span class="toast__content">toast message</span>\n <span class="toast__action"><span class="close"></span></span>\n </div>\n</div>\n\nModifiers:\n.toaster--top\n*/\n.pul-toaster {\n pointer-events: none;\n transition: padding 0.3s ease-in-out;\n}\n.pul-toaster > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-toaster--top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n padding: 25px 10px 15px;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-toolbar,.pul-toolbar__group{display:-webkit-box;display:-ms-flexbox;display:flex}.pul-toolbar__group{white-space:nowrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.pul-toolbar__group:not(:last-child){margin-right:10px}.pul-toolbar__group-item:not(:last-child){margin-right:1px}.pul-toolbar__expander{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Toolbar/Toolbar.less"],names:[],mappings:"AAKA,iCAJE,oBAAqB,AACrB,oBAAqB,AACrB,YAAc,CAUf,AARD,oBAIE,mBAAoB,AACpB,yBAA0B,AACtB,sBAAuB,AACnB,kBAAoB,CAC7B,AACD,qCACE,iBAAmB,CACpB,AACD,0CACE,gBAAkB,CACnB,AACD,uBACE,mBAAoB,AAChB,oBAAqB,AACjB,WAAa,CACtB",file:"Toolbar.less",sourcesContent:[".pul-toolbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.pul-toolbar__group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n white-space: nowrap;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.pul-toolbar__group:not(:last-child) {\n margin-right: 10px;\n}\n.pul-toolbar__group-item:not(:last-child) {\n margin-right: 1px;\n}\n.pul-toolbar__expander {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n"],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,".pul-tooltip{position:absolute;z-index:1040;max-width:240px;padding:5px;text-align:left;word-wrap:break-word;border:1px solid #aaa;font-size:12px;background:#ffc;color:#000}.pul-tooltip b,.pul-tooltip i{font-weight:400;font-style:normal}.touch .pul-tooltip{display:none!important}","",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/components/Tooltip/Tooltip.less"],names:[],mappings:"AAaA,aACE,kBAAmB,AACnB,aAAc,AACd,gBAAiB,AACjB,YAAa,AACb,gBAAiB,AACjB,qBAAsB,AACtB,sBAAuB,AACvB,eAAgB,AAChB,gBAAiB,AACjB,UAAY,CACb,AACD,8BAEE,gBAAoB,AACpB,iBAAmB,CACpB,AACD,oBACE,sBAAyB,CAC1B",file:"Tooltip.less",sourcesContent:['/*doc\n---\ntitle: "Tooltip"\nname: tooltip\ncategory: "Components - Tooltip"\n---\n\n- [tooltip.less] (https://git.plesk.ru/projects/PLESK/repos/plesk/browse/common/theme/less/core/tooltip.less)\n\n```html_example\n<div class="tooltip">Create a customer account with subscription.</div>\n```\n*/\n.pul-tooltip {\n position: absolute;\n z-index: 1040;\n max-width: 240px;\n padding: 5px;\n text-align: left;\n word-wrap: break-word;\n border: 1px solid #aaa;\n font-size: 12px;\n background: #ffc;\n color: #000;\n}\n.pul-tooltip b,\n.pul-tooltip i {\n font-weight: normal;\n font-style: normal;\n}\n.touch .pul-tooltip {\n display: none !important;\n}\n'],sourceRoot:""}])},function(e,t,n){(e.exports=n(7)(!0)).push([e.i,'@font-face{font-family:Open Sans;font-style:normal;font-weight:300;src:local("Open Sans Light"),local("OpenSans-Light"),url('+n(447)+') format("woff2"),url('+n(446)+') format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans"),local("OpenSans"),url('+n(451)+') format("woff2"),url('+n(450)+') format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans Semibold"),local("OpenSans-Semibold"),url('+n(449)+') format("woff2"),url('+n(448)+') format("woff")}@font-face{font-family:Open Sans Tilde;src:local("Arial");unicode-range:U+007E}html{overflow-y:scroll;font-family:Open Sans Tilde,Open Sans,Helvetica Neue,Helvetica,sans-serif;font-size:13px;font-weight:400;line-height:1.4;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);min-width:100%}body,html{height:100%;min-height:100%}body{margin:0;background:#fff;color:#000}article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}progress{vertical-align:baseline}[hidden],template{display:none}iframe{border:0}a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}hr{box-sizing:content-box;height:0;overflow:visible;margin:12px 0;border:0;border-top:1px solid #ddd}pre{padding:10px;background:#f5f5f5;font:12px/18px Consolas,Liberation Mono,Menlo,Courier,monospace;color:#444;-moz-tab-size:4;-o-tab-size:4;tab-size:4;overflow:auto}a{color:#2498e3;text-decoration:none;cursor:pointer;background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline:none}a:hover{color:#188dd9;text-decoration:underline}[tabindex="-1"]:focus{outline:none}b,strong{font-weight:bolder}code,kbd,samp{font-family:Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:12px;color:#d05}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,canvas,img,video{box-sizing:border-box}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}textarea{overflow:auto}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;white-space:normal}ol,ul{padding-left:20px}ol ol,ol ul,ul ol,ul ul{margin:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}address,blockquote,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,ol,p,pre,ul{margin-top:0;margin-bottom:12px}h1,h2,h3,h4,h5,h6{font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}h1{font-size:36px;line-height:42px}h2{font-size:24px;line-height:30px}h3{font-size:18px;line-height:24px}h4{font-size:16px;line-height:22px}h5{font-size:14px;line-height:20px}h6{font-size:12px;line-height:18px}',"",{version:3,sources:["/Users/ekaragodin/code/git.plesk.ru/plesk/ui-library/src/helpers/base.less"],names:[],mappings:"AAAA,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,+IAA+J,CAChK,AACD,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,mIAA2J,CAC5J,AACD,WACE,sBAAyB,AACzB,kBAAmB,AACnB,gBAAiB,AACjB,qJAAqK,CACtK,AACD,WACE,4BAA+B,AAC/B,mBAAoB,AACpB,oBAAsB,CACvB,AACD,KACE,kBAAmB,AACnB,0EAAqF,AACrF,eAAgB,AAChB,gBAAoB,AACpB,gBAAiB,AACjB,8BAA+B,AAC/B,0BAA2B,AAC3B,0CAA8C,AAC9C,cAAgB,CACjB,AAKD,UAEE,YAAa,AACb,eAAiB,CAClB,AACD,KACE,SAAU,AACV,gBAAiB,AACjB,UAAY,CACb,AACD,6EAWE,aAAe,CAChB,AACD,SACE,uBAAyB,CAC1B,AACD,kBAEE,YAAc,CACf,AACD,OACE,QAAU,CACX,AACD,kDAQE,8BAA+B,AAC3B,yBAA2B,CAChC,AACD,GACE,uBAAwB,AACxB,SAAU,AACV,iBAAkB,AAClB,cAAe,AACf,SAAU,AACV,yBAA2B,CAC5B,AACD,IACE,aAAc,AACd,mBAAoB,AACpB,gEAAuE,AACvE,WAAY,AACZ,gBAAiB,AACf,cAAe,AACZ,WAAY,AACjB,aAAe,CAChB,AACD,EACE,cAAe,AACf,qBAAsB,AACtB,eAAgB,AAChB,6BAA8B,AAC9B,oCAAsC,CACvC,AACD,iBAEE,YAAc,CACf,AACD,QACE,cAAe,AACf,yBAA2B,CAC5B,AACD,sBACE,YAAc,CACf,AACD,SAEE,kBAAoB,CACrB,AACD,cAGE,6DAAoE,AACpE,eAAgB,AAChB,UAAY,CACb,AACD,MACE,aAAe,CAChB,AACD,QAEE,cAAe,AACf,cAAe,AACf,kBAAmB,AACnB,uBAAyB,CAC1B,AACD,IACE,aAAgB,CACjB,AACD,IACE,SAAY,CACb,AACD,kCAME,qBAAuB,CACxB,AACD,uBAIE,qBAAuB,CACxB,AACD,IACE,iBAAmB,CACpB,AACD,eACE,eAAiB,CAClB,AACD,sCAKE,SAAU,AACV,oBAAqB,AACrB,kBAAmB,AACnB,mBAAqB,CACtB,AACD,aAEE,gBAAkB,CACnB,AACD,cAEE,mBAAqB,CACtB,AACD,qDAIE,yBAA2B,CAC5B,AACD,wHAIE,UAAW,AACX,iBAAmB,CACpB,AACD,SACE,aAAe,CAChB,AACD,SACE,UAAW,AACX,SAAU,AACV,QAAU,CACX,AACD,OACE,cAAe,AACf,WAAY,AACZ,eAAgB,AAChB,UAAW,AACX,kBAAoB,CACrB,AACD,MAEE,iBAAmB,CACpB,AACD,wBAIE,QAAU,CACX,AACD,MACE,yBAA0B,AAC1B,gBAAkB,CACnB,AACD,MAEE,SAAW,CACZ,AAaD,oEAHE,aAAc,AACd,kBAAoB,CAcrB,AAZD,kBAQE,gEAAyE,AACzE,gBAAoB,AACpB,WAAY,AACZ,mBAAqB,CACtB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB,AACD,GACE,eAAgB,AAChB,gBAAkB,CACnB",file:"base.less",sourcesContent:['@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 300;\n src: local("Open Sans Light"), local("OpenSans-Light"), url("../fonts/open-sans-300.woff2") format("woff2"), url("../fonts/open-sans-300.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 400;\n src: local("Open Sans"), local("OpenSans"), url("../fonts/open-sans-regular.woff2") format("woff2"), url("../fonts/open-sans-regular.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans";\n font-style: normal;\n font-weight: 600;\n src: local("Open Sans Semibold"), local("OpenSans-Semibold"), url("../fonts/open-sans-600.woff2") format("woff2"), url("../fonts/open-sans-600.woff") format("woff");\n}\n@font-face {\n font-family: "Open Sans Tilde";\n src: local("Arial");\n unicode-range: U+007E;\n}\nhtml {\n overflow-y: scroll;\n font-family: "Open Sans Tilde", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;\n font-size: 13px;\n font-weight: normal;\n line-height: 1.4;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n min-width: 100%;\n}\n/*rtl:raw:\n html { direction: rtl; }\n html * { unicode-bidi: embed; }\n*/\nhtml,\nbody {\n height: 100%;\n min-height: 100%;\n}\nbody {\n margin: 0;\n background: #fff;\n color: #000;\n}\narticle,\naside,\ndialog,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\nprogress {\n vertical-align: baseline;\n}\ntemplate,\n[hidden] {\n display: none;\n}\niframe {\n border: 0;\n}\na,\narea,\nbutton,\ninput,\nlabel,\nselect,\nsummary,\ntextarea {\n -ms-touch-action: manipulation;\n touch-action: manipulation;\n}\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n margin: 12px 0;\n border: 0;\n border-top: 1px solid #ddd;\n}\npre {\n padding: 10px;\n background: #f5f5f5;\n font: 12px/18px Consolas, "Liberation Mono", Menlo, Courier, monospace;\n color: #444;\n -moz-tab-size: 4;\n -o-tab-size: 4;\n tab-size: 4;\n overflow: auto;\n}\na {\n color: #2498e3;\n text-decoration: none;\n cursor: pointer;\n background-color: transparent;\n -webkit-text-decoration-skip: objects;\n}\na:active,\na:hover {\n outline: none;\n}\na:hover {\n color: #188dd9;\n text-decoration: underline;\n}\n[tabindex="-1"]:focus {\n outline: none;\n}\nb,\nstrong {\n font-weight: bolder;\n}\ncode,\nkbd,\nsamp {\n font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;\n font-size: 12px;\n color: #d05;\n}\nsmall {\n font-size: 80%;\n}\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\nsup {\n top: -0.5em;\n}\naudio,\ncanvas,\niframe,\nimg,\nsvg,\nvideo {\n vertical-align: middle;\n}\naudio,\ncanvas,\nimg,\nvideo {\n box-sizing: border-box;\n}\nimg {\n border-style: none;\n}\nsvg:not(:root) {\n overflow: hidden;\n}\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\nbutton,\ninput {\n overflow: visible;\n}\nbutton,\nselect {\n text-transform: none;\n}\nbutton,\nhtml [type="button"],\n[type="reset"],\n[type="submit"] {\n -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\ntextarea {\n overflow: auto;\n}\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n}\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n}\nul,\nol {\n padding-left: 20px;\n}\nul ul,\nul ol,\nol ol,\nol ul {\n margin: 0;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\ntd,\nth {\n padding: 0;\n}\np,\nul,\nol,\ndl,\nblockquote,\npre,\naddress,\nfieldset,\nfigure {\n margin-top: 0;\n margin-bottom: 12px;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 12px;\n font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: normal;\n color: #444;\n text-transform: none;\n}\nh1 {\n font-size: 36px;\n line-height: 42px;\n}\nh2 {\n font-size: 24px;\n line-height: 30px;\n}\nh3 {\n font-size: 18px;\n line-height: 24px;\n}\nh4 {\n font-size: 16px;\n line-height: 22px;\n}\nh5 {\n font-size: 14px;\n line-height: 20px;\n}\nh6 {\n font-size: 12px;\n line-height: 18px;\n}\n'],sourceRoot:""}])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function addClass(e,t){e.classList?e.classList.add(t):(0,o.default)(e)||(e.className=e.className+" "+t)};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(340));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function hasClass(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+e.className+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";e.exports=function removeClass(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}},function(e,t,n){"use strict";n(343).polyfill()},function(e,t,n){"use strict";function assign(e,t){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),o=1;o<arguments.length;o++){var r=arguments[o];if(void 0!==r&&null!==r)for(var i=Object.keys(Object(r)),a=0,s=i.length;a<s;a++){var l=i[a],u=Object.getOwnPropertyDescriptor(r,l);void 0!==u&&u.enumerable&&(n[l]=r[l])}}return n}e.exports={assign:assign,polyfill:function polyfill(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:assign})}}},function(e,t,n){"use strict";e.exports=n(345).polyfill()},function(e,t,n){(function(t,o){!function(t,n){e.exports=n()}(0,function(){"use strict";function isFunction(e){return"function"==typeof e}function useSetTimeout(){var e=setTimeout;return function(){return e(flush,1)}}function flush(){for(var e=0;e<r;e+=2){(0,f[e])(f[e+1]),f[e]=void 0,f[e+1]=void 0}r=0}function attemptVertx(){try{var e=n(902);return i=e.runOnLoop||e.runOnContext,function useVertxTimer(){return void 0!==i?function(){i(flush)}:useSetTimeout()}()}catch(e){return useSetTimeout()}}function then(e,t){var n=arguments,o=this,r=new this.constructor(noop);void 0===r[h]&&makePromise(r);var i=o._state;return i?function(){var e=n[i-1];s(function(){return invokeCallback(i,r,e,o._result)})}():subscribe(o,r,e,t),r}function resolve$1(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(noop);return resolve(t,e),t}function noop(){}function getThen(e){try{return e.then}catch(e){return v.error=e,v}}function handleMaybeThenable(e,t,n){t.constructor===e.constructor&&n===then&&t.constructor.resolve===resolve$1?function handleOwnThenable(e,t){t._state===g?fulfill(e,t._result):t._state===A?reject(e,t._result):subscribe(t,void 0,function(t){return resolve(e,t)},function(t){return reject(e,t)})}(e,t):n===v?(reject(e,v.error),v.error=null):void 0===n?fulfill(e,t):isFunction(n)?function handleForeignThenable(e,t,n){s(function(e){var o=!1,r=function tryThen(e,t,n,o){try{e.call(t,n,o)}catch(e){return e}}(n,t,function(n){o||(o=!0,t!==n?resolve(e,n):fulfill(e,n))},function(t){o||(o=!0,reject(e,t))},e._label);!o&&r&&(o=!0,reject(e,r))},e)}(e,t,n):fulfill(e,t)}function resolve(e,t){e===t?reject(e,function selfFulfillment(){return new TypeError("You cannot resolve a promise with itself")}()):!function objectOrFunction(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)?fulfill(e,t):handleMaybeThenable(e,t,getThen(t))}function publishRejection(e){e._onerror&&e._onerror(e._result),publish(e)}function fulfill(e,t){e._state===b&&(e._result=t,e._state=g,0!==e._subscribers.length&&s(publish,e))}function reject(e,t){e._state===b&&(e._state=A,e._result=t,s(publishRejection,e))}function subscribe(e,t,n,o){var r=e._subscribers,i=r.length;e._onerror=null,r[i]=t,r[i+g]=n,r[i+A]=o,0===i&&e._state&&s(publish,e)}function publish(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var o=void 0,r=void 0,i=e._result,a=0;a<t.length;a+=3)o=t[a],r=t[a+n],o?invokeCallback(n,o,r,i):r(i);e._subscribers.length=0}}function ErrorObject(){this.error=null}function invokeCallback(e,t,n,o){var r=isFunction(n),i=void 0,a=void 0,s=void 0,l=void 0;if(r){if((i=function tryCatch(e,t){try{return e(t)}catch(e){return C.error=e,C}}(n,o))===C?(l=!0,a=i.error,i.error=null):s=!0,t===i)return void reject(t,function cannotReturnOwn(){return new TypeError("A promises callback cannot return that same promise.")}())}else i=o,s=!0;t._state!==b||(r&&s?resolve(t,i):l?reject(t,a):e===g?fulfill(t,i):e===A&&reject(t,i))}function makePromise(e){e[h]=y++,e._state=void 0,e._result=void 0,e._subscribers=[]}function Enumerator$1(t,n){this._instanceConstructor=t,this.promise=new t(noop),this.promise[h]||makePromise(this.promise),e(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?fulfill(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&fulfill(this.promise,this._result))):reject(this.promise,function validationError(){return new Error("Array Methods must be provided an Array")}())}function Promise$2(e){this[h]=function nextId(){return y++}(),this._result=this._state=void 0,this._subscribers=[],noop!==e&&("function"!=typeof e&&function needsResolver(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof Promise$2?function initializePromise(e,t){try{t(function resolvePromise(t){resolve(e,t)},function rejectPromise(t){reject(e,t)})}catch(t){reject(e,t)}}(this,e):function needsNew(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}var e=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,i=void 0,a=void 0,s=function asap(e,t){f[r]=e,f[r+1]=t,2===(r+=2)&&(a?a(flush):m())},l="undefined"!=typeof window?window:void 0,u=l||{},c=u.MutationObserver||u.WebKitMutationObserver,p="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,f=new Array(1e3),m=void 0;m=p?function useNextTick(){return function(){return t.nextTick(flush)}}():c?function useMutationObserver(){var e=0,t=new c(flush),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():d?function useMessageChannel(){var e=new MessageChannel;return e.port1.onmessage=flush,function(){return e.port2.postMessage(0)}}():void 0===l?attemptVertx():useSetTimeout();var h=Math.random().toString(36).substring(16),b=void 0,g=1,A=2,v=new ErrorObject,C=new ErrorObject,y=0;return Enumerator$1.prototype._enumerate=function(e){for(var t=0;this._state===b&&t<e.length;t++)this._eachEntry(e[t],t)},Enumerator$1.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,o=n.resolve;if(o===resolve$1){var r=getThen(e);if(r===then&&e._state!==b)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===Promise$2){var i=new n(noop);handleMaybeThenable(i,e,r),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(o(e),t)},Enumerator$1.prototype._settledAt=function(e,t,n){var o=this.promise;o._state===b&&(this._remaining--,e===A?reject(o,n):this._result[t]=n),0===this._remaining&&fulfill(o,this._result)},Enumerator$1.prototype._willSettleAt=function(e,t){var n=this;subscribe(e,void 0,function(e){return n._settledAt(g,t,e)},function(e){return n._settledAt(A,t,e)})},Promise$2.all=function all$1(e){return new Enumerator$1(this,e).promise},Promise$2.race=function race$1(t){var n=this;return e(t)?new n(function(e,o){for(var r=t.length,i=0;i<r;i++)n.resolve(t[i]).then(e,o)}):new n(function(e,t){return t(new TypeError("You must pass an array to race."))})},Promise$2.resolve=resolve$1,Promise$2.reject=function reject$1(e){var t=new this(noop);return reject(t,e),t},Promise$2._setScheduler=function setScheduler(e){a=e},Promise$2._setAsap=function setAsap(e){s=e},Promise$2._asap=s,Promise$2.prototype={constructor:Promise$2,then:then,catch:function _catch(e){return this.then(null,e)}},Promise$2.polyfill=function polyfill$1(){var e=void 0;if(void 0!==o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=Promise$2},Promise$2.Promise=Promise$2,Promise$2})}).call(t,n(588),n(18))},function(e,t,n){"use strict";var o=n(43),r={listen:function listen(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function remove(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function remove(){e.detachEvent("on"+t,n)}}):void 0},capture:function capture(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function remove(){e.removeEventListener(t,n,!0)}}):{remove:o}},registerDefault:function registerDefault(){}};e.exports=r},function(e,t,n){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen,isInWorker:!o};e.exports=r},function(e,t,n){"use strict";function containsNode(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?containsNode(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(353);e.exports=containsNode},function(e,t,n){"use strict";e.exports=function focusNode(e){try{e.focus()}catch(e){}}},function(e,t,n){"use strict";e.exports=function getActiveElement(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";var o=function validateFormat(e){};e.exports=function invariant(e,t,n,r,i,a,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,l],p=0;(u=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports=function isNode(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var o=n(352);e.exports=function isTextNode(e){return o(e)&&3==e.nodeType}},function(e,t,n){"use strict";function is(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}var o=Object.prototype.hasOwnProperty;e.exports=function shallowEqual(e,t){if(is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!o.call(t,n[i])||!is(e[n[i]],t[n[i]]))return!1;return!0}},function(e,t,n){e.exports=n.p+"images/button-archive-active.png"},function(e,t,n){e.exports=n.p+"images/button-archive.png"},function(e,t,n){e.exports=n.p+"images/button-arrow-right-active.png"},function(e,t,n){e.exports=n.p+"images/button-arrow-right.png"},function(e,t,n){e.exports=n.p+"images/button-backup-active.png"},function(e,t,n){e.exports=n.p+"images/button-backup.png"},function(e,t,n){e.exports=n.p+"images/button-clean-active.png"},function(e,t,n){e.exports=n.p+"images/button-clean.png"},function(e,t,n){e.exports=n.p+"images/button-clock-active.png"},function(e,t,n){e.exports=n.p+"images/button-clock.png"},function(e,t,n){e.exports=n.p+"images/button-copy-active.png"},function(e,t,n){e.exports=n.p+"images/button-copy.png"},function(e,t,n){e.exports=n.p+"images/button-customize-order-active.png"},function(e,t,n){e.exports=n.p+"images/button-customize-order.png"},function(e,t,n){e.exports=n.p+"images/button-download-active.png"},function(e,t,n){e.exports=n.p+"images/button-download.png"},function(e,t,n){e.exports=n.p+"images/button-edit-active.png"},function(e,t,n){e.exports=n.p+"images/button-edit.png"},function(e,t,n){e.exports=n.p+"images/button-folder-active.png"},function(e,t,n){e.exports=n.p+"images/button-folder.png"},function(e,t,n){e.exports=n.p+"images/button-globe-active.png"},function(e,t,n){e.exports=n.p+"images/button-globe-alt-active.png"},function(e,t,n){e.exports=n.p+"images/button-globe-alt.png"},function(e,t,n){e.exports=n.p+"images/button-globe.png"},function(e,t,n){e.exports=n.p+"images/button-import-active.png"},function(e,t,n){e.exports=n.p+"images/button-import.png"},function(e,t,n){e.exports=n.p+"images/button-invisible-active.png"},function(e,t,n){e.exports=n.p+"images/button-invisible.png"},function(e,t,n){e.exports=n.p+"images/button-link-active.png"},function(e,t,n){e.exports=n.p+"images/button-link.png"},function(e,t,n){e.exports=n.p+"images/button-list-active.png"},function(e,t,n){e.exports=n.p+"images/button-list.png"},function(e,t,n){e.exports=n.p+"images/button-lock-active.png"},function(e,t,n){e.exports=n.p+"images/button-lock.png"},function(e,t,n){e.exports=n.p+"images/button-ok-app-active.png"},function(e,t,n){e.exports=n.p+"images/button-ok-app.png"},function(e,t,n){e.exports=n.p+"images/button-ok-circle-active.png"},function(e,t,n){e.exports=n.p+"images/button-ok-circle.png"},function(e,t,n){e.exports=n.p+"images/button-plugins-active.png"},function(e,t,n){e.exports=n.p+"images/button-plugins.png"},function(e,t,n){e.exports=n.p+"images/button-plus-active.png"},function(e,t,n){e.exports=n.p+"images/button-plus.png"},function(e,t,n){e.exports=n.p+"images/button-power-active.png"},function(e,t,n){e.exports=n.p+"images/button-power.png"},function(e,t,n){e.exports=n.p+"images/button-question-circle-active.png"},function(e,t,n){e.exports=n.p+"images/button-question-circle.png"},function(e,t,n){e.exports=n.p+"images/button-refresh-active.png"},function(e,t,n){e.exports=n.p+"images/button-refresh.png"},function(e,t,n){e.exports=n.p+"images/button-reload-active.png"},function(e,t,n){e.exports=n.p+"images/button-reload.png"},function(e,t,n){e.exports=n.p+"images/button-remove-active.png"},function(e,t,n){e.exports=n.p+"images/button-remove-app-active.png"},function(e,t,n){e.exports=n.p+"images/button-remove-app.png"},function(e,t,n){e.exports=n.p+"images/button-remove-circle-active.png"},function(e,t,n){e.exports=n.p+"images/button-remove-circle.png"},function(e,t,n){e.exports=n.p+"images/button-remove.png"},function(e,t,n){e.exports=n.p+"images/button-search-active.png"},function(e,t,n){e.exports=n.p+"images/button-search.png"},function(e,t,n){e.exports=n.p+"images/button-security-scan-active.png"},function(e,t,n){e.exports=n.p+"images/button-security-scan.png"},function(e,t,n){e.exports=n.p+"images/button-settings-active.png"},function(e,t,n){e.exports=n.p+"images/button-settings.png"},function(e,t,n){e.exports=n.p+"images/button-share-active.png"},function(e,t,n){e.exports=n.p+"images/button-share.png"},function(e,t,n){e.exports=n.p+"images/button-shopping-cart-active.png"},function(e,t,n){e.exports=n.p+"images/button-shopping-cart.png"},function(e,t,n){e.exports=n.p+"images/button-start-active.png"},function(e,t,n){e.exports=n.p+"images/button-start.png"},function(e,t,n){e.exports=n.p+"images/button-stop-active.png"},function(e,t,n){e.exports=n.p+"images/button-stop.png"},function(e,t,n){e.exports=n.p+"images/button-suspend-active.png"},function(e,t,n){e.exports=n.p+"images/button-suspend.png"},function(e,t,n){e.exports=n.p+"images/button-themes-active.png"},function(e,t,n){e.exports=n.p+"images/button-themes.png"},function(e,t,n){e.exports=n.p+"images/button-unarchive-active.png"},function(e,t,n){e.exports=n.p+"images/button-unarchive.png"},function(e,t,n){e.exports=n.p+"images/button-unlock-active.png"},function(e,t,n){e.exports=n.p+"images/button-unlock.png"},function(e,t,n){e.exports=n.p+"images/button-upload-active.png"},function(e,t,n){e.exports=n.p+"images/button-upload-alt-active.png"},function(e,t,n){e.exports=n.p+"images/button-upload-alt.png"},function(e,t,n){e.exports=n.p+"images/button-upload.png"},function(e,t,n){e.exports=n.p+"images/button-user-active.png"},function(e,t,n){e.exports=n.p+"images/button-user-alt-active.png"},function(e,t,n){e.exports=n.p+"images/button-user-alt.png"},function(e,t,n){e.exports=n.p+"images/button-user.png"},function(e,t,n){e.exports=n.p+"images/button-visible-active.png"},function(e,t,n){e.exports=n.p+"images/button-visible.png"},function(e,t,n){e.exports=n.p+"images/fail.png"},function(e,t,n){e.exports=n.p+"images/symbols-thin.svg"},function(e,t,n){e.exports=n.p+"images/symbols.svg"},function(e,t,n){e.exports=n.p+"fonts/open-sans-300.woff"},function(e,t,n){e.exports=n.p+"fonts/open-sans-300.woff2"},function(e,t,n){e.exports=n.p+"fonts/open-sans-600.woff"},function(e,t,n){e.exports=n.p+"fonts/open-sans-600.woff2"},function(e,t,n){e.exports=n.p+"fonts/open-sans-regular.woff"},function(e,t,n){e.exports=n.p+"fonts/open-sans-regular.woff2"},function(e,t){!function(){function _name(){var t,n;return this===Function||this===Function.prototype.constructor?n="Function":this!==Function.prototype&&(n=(t=(""+this).match(e))&&t[1]),n||""}var e=/^\s*function\s+([^\(\s]*)\s*/,t=!("name"in Function.prototype&&"name"in function x(){}),n="function"==typeof Object.defineProperty&&function(){var e;try{Object.defineProperty(Function.prototype,"_xyz",{get:function(){return"blah"},configurable:!0}),e="blah"===Function.prototype._xyz,delete Function.prototype._xyz}catch(t){e=!1}return e}(),o="function"==typeof Object.prototype.__defineGetter__&&function(){var e;try{Function.prototype.__defineGetter__("_abc",function(){return"foo"}),e="foo"===Function.prototype._abc,delete Function.prototype._abc}catch(t){e=!1}return e}();Function.prototype._name=_name,t&&(n?Object.defineProperty(Function.prototype,"name",{get:function(){var e=_name.call(this);return this!==Function.prototype&&Object.defineProperty(this,"name",{value:e,configurable:!0}),e},configurable:!0}):o&&Function.prototype.__defineGetter__("name",function(){var e=_name.call(this);return this!==Function.prototype&&this.__defineGetter__("name",function(){return e}),e}))}()},function(e,t){t.read=function(e,t,n,o,r){var i,a,s=8*r-o-1,l=(1<<s)-1,u=l>>1,c=-7,p=n?r-1:0,d=n?-1:1,f=e[t+p];for(p+=d,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+p],p+=d,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=d,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,o),i-=u}return(f?-1:1)*a*Math.pow(2,i-o)},t.write=function(e,t,n,o,r,i){var a,s,l,u=8*i-r-1,c=(1<<u)-1,p=c>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:i-1,m=o?1:-1,h=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?d/l:d*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=c?(s=0,a=c):a+p>=1?(s=(t*l-1)*Math.pow(2,r),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,r),a=0));r>=8;e[n+f]=255&s,f+=m,s/=256,r-=8);for(a=a<<r|s,u+=r;u>0;e[n+f]=255&a,f+=m,a/=256,u-=8);e[n+f-m]|=128*h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"isBrowser",function(){return r});var o="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},r="object"===("undefined"==typeof window?"undefined":o(window))&&"object"===("undefined"==typeof document?"undefined":o(document))&&9===document.nodeType;t.default=r},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){(function(t){!function(t,n){e.exports=n()}(0,function(){function escapeChar(e){return n[e]||"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}function isValidVariableName(e){return!o[e]&&r.test(e)}function toGlobalVariable(e){return"Function("+stringify("return this;")+")()"}function toPath(e){for(var t="",n=0;n<e.length;n++)isValidVariableName(e[n])?t+="."+e[n]:t+="["+stringify(e[n])+"]";return t}function stringifyArray(e,t,n){var o=e.map(function(e,o){var r=n(e,o);return void 0===r?String(r):t+r.split("\n").join("\n"+t)}).join(t?",\n":",");return t&&o?"[\n"+o+"\n]":"["+o+"]"}function stringify(e,n,o){if(Object(e)!==e)return a[typeof e](e,n,o);if("function"==typeof t&&t.isBuffer(e))return"new Buffer("+o(e.toString())+")";var r=i[Object.prototype.toString.call(e)];return r?r(e,n,o):void 0}var e=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'",'"':'\\"',"\\":"\\\\"},o={};"break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield".split(" ").map(function(e){o[e]=!0});var r=/^[A-Za-z_$][A-Za-z0-9_$]*$/,i={"[object Array]":stringifyArray,"[object Object]":function stringifyObject(e,t,n){var o=Object.keys(e).reduce(function(o,r){var i=n(e[r],r);return void 0===i?o:(r=isValidVariableName(r)?r:stringify(r),i=String(i).split("\n").join("\n"+t),o.push(t+r+":"+(t?" ":"")+i),o)},[]).join(t?",\n":",");return t&&o?"{\n"+o+"\n}":"{"+o+"}"},"[object Error]":function(e){return"new Error("+stringify(e.message)+")"},"[object Date]":function(e){return"new Date("+e.getTime()+")"},"[object String]":function(e){return"new String("+stringify(e.toString())+")"},"[object Number]":function(e){return"new Number("+e+")"},"[object Boolean]":function(e){return"new Boolean("+e+")"},"[object Uint8Array]":function(e,t){return"new Uint8Array("+stringifyArray(e)+")"},"[object Set]":function(e,t,n){return"function"==typeof Array.from?"new Set("+stringify(Array.from(e),t,n)+")":void 0},"[object Map]":function(e,t,n){return"function"==typeof Array.from?"new Map("+stringify(Array.from(e),t,n)+")":void 0},"[object RegExp]":String,"[object Function]":String,"[object global]":toGlobalVariable,"[object Window]":toGlobalVariable},a={string:function(t){return"'"+t.replace(e,escapeChar)+"'"},number:String,object:String,boolean:String,symbol:String,undefined:String};return function(e,t,n,o){function next(e,t){if(!a||void 0!==e){l.push(t);var n=f(e,stringify);return l.pop(),n}}o=o||{},"string"!=typeof n&&(n=new Array(Math.max(0,0|n)+1).join(" "));var r=Number(o.maxDepth)||100,i=!!o.references,a=!!o.skipUndefinedProperties,s=Number(o.maxValues)||1e5,l=[],u=[],c=[],p=[],d=[],f=i?function(e,t){if(e&&("object"==typeof e||"function"==typeof e)){var o=c.indexOf(e);if(o>-1)return void d.push(l.slice(),p[o]);c.push(e),p.push(l.slice())}if(!(l.length>r||s--<=0))return t(e,n,next)}:function(e,t){if(!(u.indexOf(e)>-1||l.length>r||s--<=0)){u.push(e);e=t(e,n,next);return u.pop(),e}};if("function"==typeof t){var m=f;f=function(e,n){return m(e,function(e,o,r){return t(e,o,function(e){return n(e,o,r)})})}}var h=f(e,stringify);if(d.length){for(var b=n?"\n":"",g=n?" = ":"=",A=";"+b,v=(m=n?"(function () {":"(function(){",["var x"+g+h]),C=0;C<d.length;C+=2)v.push("x"+toPath(d[C])+g+"x"+toPath(d[C+1]));return v.push("return x"),m+b+v.join(A)+A+"}())"}return h}})}).call(t,n(169).Buffer)},function(e,t){e.exports=[{name:"Food Restaurant",slug:"food-restaurant",version:"1.1.1",preview_url:"https://wp-themes.com/food-restaurant",author:"sonal6578",screenshot_url:"//ts.w.org/wp-content/themes/food-restaurant/screenshot.png?ver=1.1.1",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/food-restaurant/",description:"The Food Restaurant WordPress Theme is a mobile-friendly WordPress theme which can be used for multipurpose food businesses such as restaurants, cafe, coffee shops, hotels, food joints, barbecues, grill houses, fast food restaurants, pizzerias, etc. Also, It is helpful for the bloggers, food critics, bakers to make websites for bakery, cakes shop, eatery, Chinese dishes, cuisines, recipes, hospitality business and much more. This theme has pages featuring the Call to Action Button displayed over the attractive banners. It has various personalization options that help you make the sections better such as the testimonial section, blog, etc. Being an SEO friendly theme, it makes your site appear on top in Google rankings. You can spread your website even on social media by using the social media tools in this theme. It is built using Bootstrap, Hence you will not have issues regarding the responsiveness of your website. It Made using optimized codes, this user-friendly and professional theme offers faster page load time and an amazing user experience. See demo at http://www.logicalthemes.com/food-restaurant-theme/"},{name:"Food Express",slug:"food-express",version:"1.0.6",preview_url:"https://wp-themes.com/food-express",author:"steven_gardner",screenshot_url:"//ts.w.org/wp-content/themes/food-express/screenshot.png?ver=1.0.6",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/food-express/",description:"Owing to the modern and clean look Food Express WordPress Food Theme is an ideal choice for small food based businesses. Spectacular custom home page displays effectively both eye-catching images and detailed information to promote you and your services. The theme is integrated with WordPress customizer, offers custom color options and gives you all possibilities to change its look without any coding."},{name:"Foodies",slug:"foodies",version:"1.0.6",preview_url:"https://wp-themes.com/foodies",author:"indigothemes",screenshot_url:"//ts.w.org/wp-content/themes/foodies/screenshot.png?ver=1.0.6",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/foodies/",description:"Foodies is a clean and fully customizable premium WordPress theme for foodies or food bloggers who want to have blogs on food receipes etc.Though, it is not just limited to food bloggers, Foodies can also be used in developing other types of blogs like creative writing, photography, riding and what not ! It is easily customizable through Customizer. Foodies PRO is a Premium Version of the theme which comes with more powerful features and customization options. Step by Step DOCUMENTATION and DUMMY DATA links of the theme can be found here: https://indigothemes.com/documentation/foodies/"},{name:"Fooding",slug:"fooding",version:"0.0.7",preview_url:"https://wp-themes.com/fooding",author:"famethemes",screenshot_url:"//ts.w.org/wp-content/themes/fooding/screenshot.png?ver=0.0.7",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/fooding/",description:"Fooding is a good-looking, featured-packed theme that allows you to tell your story in a dynamic, attractive and enjoyable way, making it perfect for food and recipes related websites."},{name:"Foody",slug:"foody",version:"1.2.0",preview_url:"https://wp-themes.com/foody",author:"phoeniixx",screenshot_url:"//ts.w.org/wp-content/themes/foody/screenshot.png?ver=1.2.0",rating:60,num_ratings:"4",homepage:"https://wordpress.org/themes/foody/",description:"Foody Store is WordPress eCommerce theme built with Bootstrap v3.3.7 &amp; CSS3, based on WooCommerce plugin.This theme is appropriate &amp; recommendable for food and restaurant business. Free Theme Documentation (https://www.phoeniixx.com/wp-content/uploads/2017/02/foody-theme-1.pdf) Free Theme Demo (http://foodyfree.phoeniixxdemo.com/). How to set up Free Foody Theme (https://youtu.be/079h46Zdv5)"},{name:"Foodland",slug:"foodland",version:"0.8",preview_url:"https://wp-themes.com/foodland",author:"themepalace",screenshot_url:"//ts.w.org/wp-content/themes/foodland/screenshot.png?ver=0.8",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/foodland/",description:"Foodland is an extremely flexible and customizable WordPress theme best suitable for resturant website and can be used for other purposes also. It is based on responsive design where each element has been carefully configured for perfect display on all devices and platforms. It comes with a wide variety of options so you can modify styling, colors, fonts, featured content, promotion headline, featured slider, pagination, icons, menus, widgets and much more, directly from theme customizer. This theme is translation ready."},{name:"MH FoodMagazine",slug:"mh-foodmagazine",version:"1.1.3",preview_url:"https://wp-themes.com/mh-foodmagazine",author:"mh-themes",screenshot_url:"//ts.w.org/wp-content/themes/mh-foodmagazine/screenshot.png?ver=1.1.3",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/mh-foodmagazine/",description:"MH FoodMagazine comes with nice and fresh colors, especially suitable for yummy food magazines and editorial websites from the health or fitness sector. You can have the same layout in the premium version of MH Magazine (without the need of a child theme) which can be configured by making use of the flexible layout options. MH Magazine offers additional widget areas, multiple unique custom widgets, great features and extended layout options to manage several layout elements on your site including changing the color scheme and typography.",template:"mh-magazine-lite"},{name:"FoodHunt",slug:"foodhunt",version:"1.0.5",preview_url:"https://wp-themes.com/foodhunt",author:"themegrill",screenshot_url:"//ts.w.org/wp-content/themes/foodhunt/screenshot.jpg?ver=1.0.5",rating:96,num_ratings:"6",homepage:"https://wordpress.org/themes/foodhunt/",description:"FoodHunt is modern style multi purpose theme specially focus for Restaurant websites. However, due to its flexibility and easiness it can be used to create any types of sites."},{name:"Food Recipes",slug:"food-recipes",version:"1.4.8",preview_url:"https://wp-themes.com/food-recipes",author:"fasterthemes",screenshot_url:"//ts.w.org/wp-content/themes/food-recipes/screenshot.png?ver=1.4.8",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/food-recipes/",description:"Food Recipes is a Twitter bootstrap based responsive WordPress theme mainly designed for those bloggers who are interested in writing their blogs on food recipes and other food related blogs. This theme can also be used for creating personal and professional blogging websites."},{name:"Foodeez Lite",slug:"foodeez-lite",version:"1.0.8",preview_url:"https://wp-themes.com/foodeez-lite",author:"tikendramaitry",screenshot_url:"//ts.w.org/wp-content/themes/foodeez-lite/screenshot.png?ver=1.0.8",rating:76,num_ratings:"10",homepage:"https://wordpress.org/themes/foodeez-lite/",description:"Foodeez Lite is fully responsive wordpress theme, exclusively designed for hotel, restaurant, top cook, chefs, café or coffee bar. Foodeez will amaze your visitors with wonderful display of your recipes, culinary skills and delicious food with an impression. It has full width background image with floating navigation. Interestingly, the parallax section gives your buyers the magical and tempting feel of your cuisines or accommodations on offer. The theme also has reservation form through which your customers can place bookings."},{name:"Sveva",slug:"sveva",version:"1.0.1",preview_url:"https://wp-themes.com/sveva",author:"alexvtn",screenshot_url:"//ts.w.org/wp-content/themes/sveva/screenshot.png?ver=1.0.1",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/sveva/",description:"Sveva is a clean SuevaFree child theme, with a new header layout, in addition to the default five header layouts, already available on SuevaFree. Sveva is optimized to work with WooCommerce e-commerce plugin and is the perfect theme to manage your personal, lifestyle, travel, food, recipes or fashion blog.",template:"suevafree"},{name:"Multipurpose Blog",slug:"multipurpose-blog",version:"1.8.1.2",preview_url:"https://wp-themes.com/multipurpose-blog",author:"hasanqayamali",screenshot_url:"//ts.w.org/wp-content/themes/multipurpose-blog/screenshot.png?ver=1.8.1.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/multipurpose-blog/",description:"The Multipurpose blog is a beautiful and minimal blog theme designed specifically for bloggers to make blogs for photography, food, fashion, lifestyle, magazines, travel, sports, technology, as well as modern newspaper websites. It is a powerful blog theme with plenty of features, user-friendly customization and personalization options. It includes features such as quick page speed, mobile friendly design, cross browser compatibility, SEO friendly, translation ready, etc. It shows a large slider with a banner that has a Call to Action Button (CTA) to attract the visitors. It is compatible with WooCommerce and features layouts for products, posts, and pages. It has secure and clean codes that do not allow you to write even a single line of code. It offers a bunch of shortcodes that helps in incorporating functional features. This minimal blog theme is based on Bootstrap framework which enhances the speed of development. Also, it has an interactive demo for easy understanding. View full demo here: http://www.buywptemplates.com/multipurpose-blog-wordpress-theme/"},{name:"Journalistic",slug:"journalistic",version:"1.5",preview_url:"https://wp-themes.com/journalistic",author:"lighthouseseo",screenshot_url:"//ts.w.org/wp-content/themes/journalistic/screenshot.png?ver=1.5",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/journalistic/",description:"Journalistic is SEO optimized for the search engines Google and Bing, while being a modern and simple responsive WordPress theme. Journalists, writers and authors can use it to publish news through blogging or writing with our minimalistic multipurpose magazine / newspaper theme. We have made clean code so the load time is fast, quick page speed is a big part of our SEO friendly theme. Whether you like food, fashion, photography, travel or need a business portfolio then our minimal article theme is a good choice. If you are a corporate business or agency, you can use it to design your creative &amp; elegant landing page. Bloggers can use ads like adsense and affiliate marketing for your blog page about books, actors or other entertainment as well as write a journal / biography about your personal life with our typography optimised, reading friendly, flat and light design. We don't yet fully support websites having a one page / single page with post builder plugins, but we will add that soon together with making special white and dark layouts for school, education, coach and conference sites. Journalistic has many features such as widgets, header image and responsive design so it works on mobile phones too."},{name:"BB Wedding Bliss",slug:"bb-wedding-bliss",version:"1.0.2",preview_url:"https://wp-themes.com/bb-wedding-bliss",author:"burhanvw",screenshot_url:"//ts.w.org/wp-content/themes/bb-wedding-bliss/screenshot.png?ver=1.0.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/bb-wedding-bliss/",description:"BB Wedding Bliss is a wedding WordPress theme to construct websites for marriage, engagement, couples, wedding planners, wedding band, personal, portfolio, art, design, business, photography, girlie or feminine blogs and websites, as well as photographer type of clients. You can make beautiful wedding websites with this multipurpose theme that caters to businesses such as hospitality, lodge, hotel, restaurant, café, food joints, cuisines, recipe, eatery, etc. It’s a completely mobile-friendly theme which is built using Bootstrap – an excellent framework. It has powerful shortcodes that will set up a pleasing website for you. It has a well-integrated versatile banner with attractive Call to Action Button (CTA). From the testimonial section, you can spread client reviews about your site. This theme has many features such social media tools, amazing typography options, color choices, customizable admin panel, etc. The optimized codes support faster page load time to give a stunning user experience. BB Wedding WordPress Theme is SEO friendly that gets over the top in search result pages. Take away this professional Wedding WordPress Theme which will give a beautiful touch to your wedding website. Demo: http://themeshopy.com/bb-wedding-bliss-theme/"},{name:"Avira",slug:"avira",version:"1.0.5",preview_url:"https://wp-themes.com/avira",author:"specia",screenshot_url:"//ts.w.org/wp-content/themes/avira/screenshot.jpg?ver=1.0.5",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/avira/",description:"Avira is the right theme for you if you are looking for a multipurpose theme that can handle everything you throw at it. It is perfect for marketing, corporate startup, agency, blog, business, company, creative, portfolio, professional business, food &amp; restaurant, gym &amp; fitness, spa salon, medical practitioner &amp; hospitals, landing pages, product pages, corporate business, digital agency, product showcase, financial advisor, accountant, law firm, wealth advisor, photography, personal, and any eCommerce stores. The design is easy to change and adapt to the client needs. The theme has all the modern functionality such as: slider, services, blogs and much more. It is 100% Responsive WooCommerce Theme with a luxurious and elegant design. It has a fully responsive width that adjusts automatically to any screen size or resolution. It can be customized easily, and also has multiple features and functionalities. Let's start downloading this amazing and beautiful Free Multipurpose WordPress Theme right away.",template:"specia"},{name:"InstaBlog",slug:"instablog",version:"1.1.0",preview_url:"https://wp-themes.com/instablog",author:"shaped-pixels",screenshot_url:"//ts.w.org/wp-content/themes/instablog/screenshot.png?ver=1.1.0",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/instablog/",description:"InstaBlog is a minimalist blogging Wordpress theme that is perfect for a travel blog, photo blogging, an image blog for foodies and Instagram lovers or to showcase your favourite collection of posts of fashion, photography or craft. A versatile slide-out sidebar and an ultra-responsive masonry layout ensures your articles are presented in a styling and modern way."},{name:"Belise Lite",slug:"belise-lite",version:"1.0.9",preview_url:"https://wp-themes.com/belise-lite",author:"themeisle",screenshot_url:"//ts.w.org/wp-content/themes/belise-lite/screenshot.png?ver=1.0.9",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/belise-lite/",description:"Belise Lite is a clean and minimalist WordPress theme for restaurants and food websites. It provides a responsive design, nice food menus via Jetpack plugin, an Events section, and a beautiful portfolio also integrated with Jetpack. You can use Belise Lite to make your restaurant look stunning in the online zone. Apart from that, the theme is good for ecommerce because it is WooCommerce ready. Live Customizer, WPML compatibility, contact form integration, and quality support are other features that make Belise Lite great for your site."},{name:"Township Lite",slug:"township-lite",version:"1.1.2",preview_url:"https://wp-themes.com/township-lite",author:"mohammedashfaque",screenshot_url:"//ts.w.org/wp-content/themes/township-lite/screenshot.png?ver=1.1.2",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/township-lite/",description:"Township is a WordPress Theme for for business, freelancers and private use, clean and unique with a great elegant multipurpose responsive design for your website. a lightweight and fully responsive theme, is an attractive, modern, easy to use and responsive WordPress theme with colorful design and stunning flexibility. This theme can be used for real estate, blog, news, landing page, travel, store, food, restaurant, photography, hotel, school, education, fitness, fashion store or any business. Township have customizer by this you can easily customize theme in just few clicks. This theme gives you awesome looking website, The theme is SEO friendly with optimized codes, which make it easy for your site to rank on Google and other search engines. This theme is SEO friendly. Check demo at: http://www.themescaliber.com/township-theme/"},{name:"Shale",slug:"shale",version:"1.2.3",preview_url:"https://wp-themes.com/shale",author:"diablothemes",screenshot_url:"//ts.w.org/wp-content/themes/shale/screenshot.png?ver=1.2.3",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/shale/",description:"A modern, clean and light-weight responsive theme perfect for news, political, lifestyle, food, travel and culture blogs and simple magazines. Easy to use, and features a homepage slider and several useful options via the WordPress Customizer. Developed using SASS, Compass and Susy for grid layouts. SEO friendly."},{name:"BusinessBuilder",slug:"businessbuilder",version:"3.1",preview_url:"https://wp-themes.com/businessbuilder",author:"vilhoprogramming",screenshot_url:"//ts.w.org/wp-content/themes/businessbuilder/screenshot.png?ver=3.1",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/businessbuilder/",description:"Hello, short said Businessbuilder is a mix of a landing page and a blog! It is a new clean responsive corporate, business and agency WordPress blogging theme. If you are an author, writer, business owner or blogger who likes to blog and write about things such as fashion, music, technology, travel, lifestyle, food, business, finance, videos, books, entertainment or perhaps need a personal journal, then this light responsive business theme is made for you. This coporate agency theme also has lots of sidebar widgets, so you can use ads like adsense and drive your blog or portfolio with affiliate marketing. Businessbuilder is seo optimized and will do wonders in Googles and Bings search results, so it is also great for a modern corporate review magazine with editorial articles and posts. It’s easy to get started with blogging and writing because the theme is easy to set up, so you can get creative and own a nice minimalistic single page or one pager with a blog incorperated fast. This is the best landing page and blog theme, it works on mobile phones, tablets and desktop computers. So start writing your pages and start your own business, agency or finance website today with our awesome fast and light weight landing page theme!"},{name:"Blog Expert",slug:"blog-expert",version:"1.0.4",preview_url:"https://wp-themes.com/blog-expert",author:"themeinwp",screenshot_url:"//ts.w.org/wp-content/themes/blog-expert/screenshot.png?ver=1.0.4",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/blog-expert/",description:"Blog Expert is a clean, modern and perfect minimal Wordpress theme specially for bloggers. With stunning styling options at your fingertips, Blog Expert is designed with a combination of pure elegance and attention to details. The blog theme offers a stunning and awesome visual experience to showcase your content with responsive grid system layout optimized for mobile touch and swipe. Perfect for personal blog, fashion blog, lifestyle blog, travel blog, food blog, craft blog, tech blog, creative blog, photography and many many more. We now support Elementor Page Builder Plugin."},{name:"Hotelica",slug:"hotelica",version:"2.2",preview_url:"https://wp-themes.com/hotelica",author:"cyclonetheme",screenshot_url:"//ts.w.org/wp-content/themes/hotelica/screenshot.jpg?ver=2.2",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/hotelica/",description:"Hotelica is a hotel/resort based WordPress theme which is clean and responsive design. It is used to hotel, restaurant, eatery, food joint, cuisine, hospitality business, recipe, cafe, lodge and others. It is mobile friendly and has a very nice animated homepage. It is easily to setup and customize using Customizer API."},{name:"Culinary",slug:"culinary",version:"1.0.9",preview_url:"https://wp-themes.com/culinary",author:"rescuethemes",screenshot_url:"//ts.w.org/wp-content/themes/culinary/screenshot.png?ver=1.0.9",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/culinary/",description:"Culinary - A Free WordPress Theme for Food and Recipes"},{name:"Yummy",slug:"yummy",version:"1.1",preview_url:"https://wp-themes.com/yummy",author:"themepalace",screenshot_url:"//ts.w.org/wp-content/themes/yummy/screenshot.png?ver=1.1",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/yummy/",description:"Yummy is a restaurant oriented theme that provides a platform to expose your restaurant on the best manner and also provides feature to sell your delicious and remarkable food and drinks online. It is easily customizable theme build by using theme options panel based on powerful customizer API with live preview. It provides a pack of features such as layouts, multiple widgets and more. It is WooCommerce compatible and translation ready theme."},{name:"Newsbuzz",slug:"newsbuzz",version:"3.1",preview_url:"https://wp-themes.com/newsbuzz",author:"vilhoprogramming",screenshot_url:"//ts.w.org/wp-content/themes/newsbuzz/screenshot.png?ver=3.1",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/newsbuzz/",description:"Hi everyone! Newsbuzz is a new clean responsive Magazine WordPress theme. If you are an author, writer or blogger who likes to blog and write about fashion, music, technology, travel, lifestyle, food, videos, books, entertainment or perhaps need a personal journal, then this white responsive newspaper theme is made for you. This news mag theme also has lots of sidebar widgets, so you can ad use ads like adsense and drive your blog with affiliate marketing. Newsbuzz is seo optimized and will do wonders in Googles search results, so it is also great for a modern corporate review magazine with editorial articles and posts. It’s easy to get started with blogging and writing because the theme is easy to set up, so you can get creative and own a nice minimalistic website / news portal fast. This is the best magazine theme, it works on mobile phones, tablets and desktop computers. So start writing your pages and start your own newspaper or magazine today!"},{name:"MH HealthMag",slug:"mh-healthmag",version:"1.0.2",preview_url:"https://wp-themes.com/mh-healthmag",author:"mh-themes",screenshot_url:"//ts.w.org/wp-content/themes/mh-healthmag/screenshot.png?ver=1.0.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/mh-healthmag/",description:"MH HealthMag is a fresh and beautiful magazine WordPress theme for editorial websites with topics like health, fitness, body, food, beauty or else. This modern magazine theme is a child theme for the popular MH Magazine lite theme which includes various custom widgets to build a well-organized front page to showcase your valuable content. If you blog about latest fitness trends, delicious food, diet tips or other health related topics, then this could be the WordPress theme you’re looking for. If you like this free magazine theme and in case you need more features and options, then you can have the same layout with the premium version of MH Magazine (without the need of a child theme) which can be configured by making use of the flexible layout options. MH Magazine offers additional widget areas, multiple unique custom widgets, great features and extended layout options to manage several layout elements on your site including changing the color scheme and typography.",template:"mh-magazine-lite"},{name:"o3pink",slug:"o3pink",version:"1.0.13",preview_url:"https://wp-themes.com/o3pink",author:"oceans11",screenshot_url:"//ts.w.org/wp-content/themes/o3pink/screenshot.png?ver=1.0.13",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/o3pink/",description:"O3pink is a clean WordPress blog theme with a premium look and feel well suited for travel, photography, recipe, design, art, personal, food, fashion, travel, lifestyle, sports and any other awesome blogs .This theme features WooCommerce integration that allows you to create fully functional eCommerce website side by side with your blog. The theme is developed using Bootstrap 3 that makes it mobile and tablets friendly. O3pink incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly thanks to its clean structure and codebase which will help you to achieve the highest positions on Google. This theme has several customization options that are available on the WordPress Theme Customizer some of this Theme Option based on WordPress Customizer are to change theme layout, colors, fonts, slider settings, header image or logo, custom theme color, custom header, custom background, right sidebar, custom widgets and much more. O3pink is the only WordPress blog theme you will ever need. Check demo at: http://demo.o3magazine.com/o3pink/"},{name:"Workpress",slug:"workpress",version:"1.3",preview_url:"https://wp-themes.com/workpress",author:"priyanshumittal",screenshot_url:"//ts.w.org/wp-content/themes/workpress/screenshot.png?ver=1.3",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/workpress/",description:"WorkPress is an ideal WordPress theme for those who wish to create an impressive web presence. WorkPress is easy to use, providing everything you need to create a great looking website. It is professional, smooth and sleek with a clean modern layout, suitable for almost any business type: agency, freelance, blog, startup, portfolio, corporate, food, fashion, law, digital media agency, architecture, real estate, etc. The theme is developed using the latest Bootstrap CSS framework that makes it friendly for all modern devices like mobiles, tablets, and laptops."},{name:"Venice Lite",slug:"venice-lite",version:"1.1.2",preview_url:"https://wp-themes.com/venice-lite",author:"alexvtn",screenshot_url:"//ts.w.org/wp-content/themes/venice-lite/screenshot.png?ver=1.1.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/venice-lite/",description:"Venice Lite is the ideal WordPress theme to share your stories and sell your products, perfect to manage your personal, lifestyle, travel, food, recipes or fashion blog. Also, Venice Lite supports WooCommerce and Contact Form 7 plugins."},{name:"Grand-Popo",slug:"grand-popo",version:"1.11",preview_url:"https://wp-themes.com/grand-popo",author:"mano88",screenshot_url:"//ts.w.org/wp-content/themes/grand-popo/screenshot.png?ver=1.11",rating:90,num_ratings:"6",homepage:"https://wordpress.org/themes/grand-popo/",description:"Grand-Popo is the perfect WooCommerce theme for any electronic store, drones shop, fashion &amp; clothing megastore, food markets and any other WordPress shop you can think of."},{name:"Blogera",slug:"blogera",version:"1.0.2",preview_url:"https://wp-themes.com/blogera",author:"zolothemes",screenshot_url:"//ts.w.org/wp-content/themes/blogera/screenshot.png?ver=1.0.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/blogera/",description:"Blogera is a clean and minimal blogging focused WordPress theme with a modern and premium look and feel. It is well suited for personal, technology, food, fashion, travel, lifestyle, sports and any other awesome blogs. Blogera Theme has easy trimmed options with no fuss so you can customize in seconds to your requirements, fully controlled with WordPress Theme Customizer. Blogera Theme is also multilingual ready and SEO friendly to help you to achieve the highest positions on Google fast. Blogera WP Theme is the only WordPress blog theme you will ever need. Start Blogging Today!"},{name:"Proficient",slug:"proficient",version:"1.1.11",preview_url:"https://wp-themes.com/proficient",author:"specia",screenshot_url:"//ts.w.org/wp-content/themes/proficient/screenshot.jpg?ver=1.1.11",rating:100,num_ratings:"7",homepage:"https://wordpress.org/themes/proficient/",description:"Proficient is the right theme for you if you are looking for a multipurpose theme that can handle everything you throw at it. It is perfect for marketing, corporate startup, agency, blog, business, company, creative, portfolio, professional business, food &amp; restaurant, gym &amp; fitness, spa salon, medical practitioner &amp; hospitals, landing pages, product pages, corporate business, digital agency, product showcase, financial advisor, accountant, law firm, wealth advisor, photography, personal, and any eCommerce stores. The design is easy to change and adapt to the client needs. The theme has all the modern functionality such as: slider, services, blogs and much more. It is 100% Responsive WooCommerce Theme with a luxurious and elegant design. It has a fully responsive width that adjusts automatically to any screen size or resolution. It can be customized easily, and also has multiple features and functionalities. Let's start downloading this amazing and beautiful Free Multipurpose WordPress Theme right away. View the demo of Proficient Premium http://demo.speciatheme.com/pro/?theme=proficient",template:"specia"},{name:"Restau Lite",slug:"restau-lite",version:"1.0.2",preview_url:"https://wp-themes.com/restau-lite",author:"nicoandrade",screenshot_url:"//ts.w.org/wp-content/themes/restau-lite/screenshot.png?ver=1.0.2",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/restau-lite/",description:"Restau Lite is the perfect theme for restaurants and any food related shop. You can display your food menu, a beutiful gallery of your restaurant, testimonials from your customers or display eye-catching blog posts."},{name:"Azalea",slug:"azalea",version:"1.0.2",preview_url:"https://wp-themes.com/azalea",author:"justgoodthemes",screenshot_url:"//ts.w.org/wp-content/themes/azalea/screenshot.png?ver=1.0.2",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/azalea/",description:"Azalea is a clean and elegant WordPress blog theme, perfect for lifestyle, food or fashion blogging. 100% responsive, customizable and easy to use."},{name:"Arouse",slug:"arouse",version:"1.1.7",preview_url:"https://wp-themes.com/arouse",author:"pubudu-malalasekara",screenshot_url:"//ts.w.org/wp-content/themes/arouse/screenshot.png?ver=1.1.7",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/arouse/",description:"Arouse is a smart, clean and well coded WordPress theme built for bloggers. This theme can be used for any subject like Technology, Travel, Entertainment, Food and Drink, Holiday, News, etc. You can easily setup your site from theme customizer. Built with bootstrap to display your site responsively on any type of monitors, tabs and mobile phones."},{name:"VW Restaurant Lite",slug:"vw-restaurant-lite",version:"1.2.5",preview_url:"https://wp-themes.com/vw-restaurant-lite",author:"vowelweb",screenshot_url:"//ts.w.org/wp-content/themes/vw-restaurant-lite/screenshot.png?ver=1.2.5",rating:92,num_ratings:"11",homepage:"https://wordpress.org/themes/vw-restaurant-lite/",description:"VW Restaurant Lite Theme is a responsive multipurpose restaurant WordPress theme which is ideal for all types of hotel and food related websites. It best suits the food critics, food bloggers, eatery, food joint, lodge, hospitality business, bakery, café, coffee or any food business such as barbecues, grill houses, Italian restaurants, fast food, and pizzerias. The baker can display his cakes and the restaurants can put their recipe, cuisine and Chinese dishes as well. It is a beautiful, professional, interactive, and highly responsive WordPress theme built with the intention to create stunning websites that will suit elegant restaurants.This free theme has got various shortcodes and personalization options making it user-friendly and allowing you to design your site with the available secure and clean code. It has sharp looking testimonial section wherein you can feature the feedbacks of clients who are appreciate your services. There is Call to Action Button on the widely displayed pages having banner giving it an exclusive appearance. This theme is completely SEO friendly that helps in keeping your site on top of search engines. Furthermore, it has social media integration tools that make the visitors familiar with your social media presence. Built on Bootstrap, it comes with ready translation. Having optimized codes, the theme has faster page load time giving a smooth experience to the visitors. It is a readily mobile friendly theme having animated features that makes your site appear best on mobile devices. It is having e-commerce functionality as well. Check demo at: http://www.vwthemes.net/vw-restaurant-theme/"},{name:"Sabino",slug:"sabino",version:"1.1.08",preview_url:"https://wp-themes.com/sabino",author:"kaira",screenshot_url:"//ts.w.org/wp-content/themes/sabino/screenshot.png?ver=1.1.08",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/sabino/",description:"Sabino is a creative, elegant multipurpose eCommerce/WooCommerce WordPress theme designed especially for WooCommerce shops, business / restaurants, food critics, restaurant bloggers, health stores, Wellness shops, beauty stores and more. Sabino packs a bunch of customization settings all built neatly within the WordPress Customizer, the Sabino theme is very customizable with lots of settings and comes with 2 header layouts, 4 blog layouts, multiple page templates, 3 footer layouts and WooCommerce shop layout settings, giving you the flexability to customize the Sabino theme to fit your own custom design. Sabino integrates nicely with top WordPress plugins such as WooCommerce, to turn your website into an online e-commerce store. Build any page layouts with the multiple page templates given and the recommended, easy to use, drag and drop Page Builder. Install it now and start building your site without any coding knowledge. Give it a go... Hope you like it!"},{name:"Gardener",slug:"gardener",version:"0.0.19",preview_url:"https://wp-themes.com/gardener",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/gardener/screenshot.png?ver=0.0.19",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/gardener/",description:"Gardener is an white, clean, elegant, modern, beautiful and creative free WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website blog: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, gardener, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and others. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es and it comes with nice header parallax effect. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize and it comes with free support. Theme features: custom header, parallax header, header buttons, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, custom layout, left sidebar, right sidebar, full width layout, additional sidebars, custom widgets, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Theme FAQ. See our demo: https://goo.gl/Fxdw41",template:"tempo"},{name:"Kale",slug:"kale",version:"1.3",preview_url:"https://wp-themes.com/kale",author:"lyrathemes",screenshot_url:"//ts.w.org/wp-content/themes/kale/screenshot.png?ver=1.3",rating:100,num_ratings:"63",homepage:"https://wordpress.org/themes/kale/",description:"Kale is a charming and elegant, aesthetically minimal and uncluttered food blog theme that can also be used for a variety of purposes. Whether you want to share recipes or fashion tips, run a lifestyle, parenting or cooking blog, Kale is a perfect theme choice. Simple but feature-filled food blog or cooking blog WordPress theme with WooCommerce integration. Beautifully designed and extremely clean, Kale is super easy to set up and is optimized for search engines. Kale comes with a special front page; with featured posts and a large highlight post, the option to show a banner or a posts slider in the header, and RTL support. It also comes with built-in menus for displaying your social media presence, multiple blog feed layouts, text and image logo options, sidebar size options (compact and default), banner/slider color overlay options, multilevel menus, automatically responsive YouTube videos, and much more! Kale is backed by world class, one-on-one support, and a super active team of developers and designers ready to help!"},{name:"Taste",slug:"taste",version:"1.0.5",preview_url:"https://wp-themes.com/taste",author:"themetaste",screenshot_url:"//ts.w.org/wp-content/themes/taste/screenshot.png?ver=1.0.5",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/taste/",description:"Taste theme is a responsive Omega child theme for Restaurant Blog, Cafe, Bakery, Coffee Shop, Food lover, Chef. Looks good on mobile, Taste theme specially designed for website owner who wants to setup a clean and lean blog with minimal setup. Taste theme is WooCommerce ready, the most popular eCommerce platform on the web. Start sell anything, anywhere, tastefully."},{name:"Restaurant and Cafe",slug:"restaurant-and-cafe",version:"1.0.7",preview_url:"https://wp-themes.com/restaurant-and-cafe",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/restaurant-and-cafe/screenshot.png?ver=1.0.7",rating:100,num_ratings:"6",homepage:"https://wordpress.org/themes/restaurant-and-cafe/",description:"Restaurant and Cafe WordPress theme is a perfect solution for restaurants, cafe or any food and drink businesses. Whether you are running a cafe shop, a bakery or a large luxurious restaurant, Restaurant and Cafe theme will meet your expectation and give your customer a great experience! Restaurant and Cafe Theme comes with a Banner section, Feature section, About section, Services Section, Testimonial section, Restaurant Menu section, Reservation section and Blog section on Home or front-page. It is also WooCommerce ready and translation ready. The theme is responsive/mobile-friendly and so your website will look gorgeous in the mobile and tablet devices.Check the demo at https://raratheme.com/preview/restaurant-and-cafe/, documentation at https://raratheme.com/documentation/restaurant-cafe/ and get support at https://raratheme.com/support-ticket."},{name:"Hotel Galaxy",slug:"hotel-galaxy",version:"3.6.9",preview_url:"https://wp-themes.com/hotel-galaxy",author:"webdzier",screenshot_url:"//ts.w.org/wp-content/themes/hotel-galaxy/screenshot.png?ver=3.6.9",rating:100,num_ratings:"7",homepage:"https://wordpress.org/themes/hotel-galaxy/",description:"Hotel Galaxy is a hotel based WordPress theme which is clean and responsive design. It is used to hotel, restaurant, eatery, food joint, cuisine, hospitality business, recipe, cafe, lodge and others. It is mobile friendly and has a very nice animated homepage. It is easily to setup and customize using Customizer API. It is compatible with Advanced Booking Calendar plugin. You can make beautiful wedding websites with this multipurpose theme. Use in any type of business. This theme is SEO friendly that gets over the top in search result pages. Take away this professional Hotel WordPress Theme which will give a beautiful touch to your hotel website."},{name:"Fluid Magazine",slug:"fluid-magazine",version:"1.0.8",preview_url:"https://wp-themes.com/fluid-magazine",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/fluid-magazine/screenshot.png?ver=1.0.8",rating:84,num_ratings:"5",homepage:"https://wordpress.org/themes/fluid-magazine/",description:"Fluid Magazine is a responsive magazine WordPress theme that will help you create a gorgeous WordPress site that your visitors will adore. It is suitable for news, newspaper, magazine, food, technology, viral content websites. This beautifully designed theme is loaded with awesome features that you can exploit in building a unique magazine theme. Fluid Magazine has completely fluid responsive layout design that would adapt to various screen sizes and make it look stunning on every device. The theme is SEO friendly with optimized codes, which make it easy for your site to rank on Google and other search engines. Fluid Magazine comes with several features to make user-friendly, interactive and visually stunning website. It has optimally placed Advertisement space that complements the theme design. It has four footer areas and a right sidebar and includes four custom widgets for the recent posts, popular posts, social media and the featured post. The theme is rigorously tested and optimized for speed and faster page load time and has a secure and clean code. The theme is also translation ready. Designed with visitor engagement in mind, Fluid Magazine helps you to easily and intuitively create appealing online Magazine websites. Check the demo at https://raratheme.com/preview/fluid-magazine/, documentation at https://raratheme.com/documentation/fluid-magazine/ and get support at https://raratheme.com/support-ticket."},{name:"Dandy",slug:"dandy",version:"1.2",preview_url:"https://wp-themes.com/dandy",author:"gecodigital",screenshot_url:"//ts.w.org/wp-content/themes/dandy/screenshot.png?ver=1.2",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/dandy/",description:"Dandy is a responsive blog WordPress theme that will help you create a gorgeous WordPress site that your visitors will adore. It is suitable for news, newspaper, food, technology, viral content websites. This beautifully designed theme is loaded with awesome features that you can exploit in building a unique blog theme. Dandy has completely fluid responsive layout design that would adapt to various screen sizes and make it look stunning on every device. Dandy comes with several features to make user-friendly, interactive and visually stunning website. It has three footer areas and a right sidebar. The theme is rigorously tested and optimized for speed and faster page load time and has a secure and clean code. The theme is also translation ready. Designed with visitor engagement in mind, Dandy helps you to easily and intuitively create appealing online Blog websites. Check the demo at http://demo.gecodigital.com/dandy/ and get support at https://gecodigital.com."},{name:"Sarmys",slug:"sarmys",version:"0.0.17",preview_url:"https://wp-themes.com/sarmys",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/sarmys/screenshot.png?ver=0.0.17",rating:20,num_ratings:"1",homepage:"https://wordpress.org/themes/sarmys/",description:"Sarmys is an white, clean, elegant, modern, beautiful and creative free WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website blog: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and others. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es and it comes with nice header parallax effect. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize and it comes with free support. Theme features: custom header, parallax header, header buttons, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, custom layout, left sidebar, right sidebar, full width layout, additional sidebars, custom widgets, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Theme FAQ. See our demo: https://goo.gl/VkzyJk",template:"tempo"},{name:"Preschool and Kindergarten",slug:"preschool-and-kindergarten",version:"1.0.8",preview_url:"https://wp-themes.com/preschool-and-kindergarten",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/preschool-and-kindergarten/screenshot.png?ver=1.0.8",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/preschool-and-kindergarten/",description:"Preschool and Kindergarten is a beautiful educational WordPress theme suitable for Kindergarten, Schools, Elementary, Primary Schools, Universities, Academy, Secondary School, LMS, Training Center and Educational institutions. Preschool and Kindergarten is also suitable for education and children activities. It is mobile responsive and translation ready. The theme is very flexible and versatile. In other words, it is multipurpose theme. It can be used to build various types of websites for business, corporate, charity, food, recipe, travel, photography, feminine, lifestyle, events, etc. The theme is highly customizable with various features and personalization options. Preschool and Kindergarten comes with several features to make a user-friendly, interactive and visually stunning website. Such features include custom menu, attractive slider, about section, courses section, testimonial section, featured programs, Banner with Call to Action Button (CTA), and social media. The theme is SEO friendly with optimized codes, which make it easy for your site to rank on Google and other search engines. The theme is properly tested and optimized for speed and faster page load time and has a secure and clean code. The theme is also translation ready. Designed with visitor engagement in mind, Preschool and Kindergarten theme helps you to easily and intuitively create professional and appealing websites. If your preschool, kindergarten, school, college or university needs an online home that is dynamic and multi-functional, Preschool and Kindergarten them is a good place to start. Check the demo at https://raratheme.com/preview/preschool-and-kindergarten/, documentation at https://raratheme.com/wordpress-themes/preschool-and-kindergarten/, and get support at http://raratheme.com/support-ticket/."},{name:"Numinous",slug:"numinous",version:"1.1.3",preview_url:"https://wp-themes.com/numinous",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/numinous/screenshot.png?ver=1.1.3",rating:100,num_ratings:"4",homepage:"https://wordpress.org/themes/numinous/",description:"Numinous is a clean and elegant Magazine WordPress theme. It is a responsive magazine style WordPress theme suitable for news, newspaper, magazine, food, technology, viral content websites. The theme is easily customisable using the options available on the customizer. Designed with visitor engagement in mind, the theme has a clean layout and great typography to create a beautiful looking website and adds up to a great user experience. The theme is developed using SEO in mind, so that you can easily climb the Google ranking. The theme comes with several custom widgets that can be placed on various widget areas in the theme. It also had colour options for the category. The theme is also translation ready. Check the demo at https://raratheme.com/preview/numinous, documentation at https://raratheme.com/documentation/numinous and get support at https://raratheme.com/support-ticket"},{name:"Petshop",slug:"petshop",version:"1.0.9",preview_url:"https://wp-themes.com/petshop",author:"indigothemes",screenshot_url:"//ts.w.org/wp-content/themes/petshop/screenshot.jpg?ver=1.0.9",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/petshop/",description:"Petshop is premium looking, eye-catchy, clean, fully customizable and mobile responsive WordPress theme developed mainly for individuals like Veterinary Doctors, Pet Consultants, Pet sellers, Pet Food bloggers, pet food sellers and other pet related niches. Petshop theme can also be used for any business or individual website. It works with drag and drop page builder so almost any type of page layout is possible with just a few clicks. Step by step DOCUMENTATION for setup of website inclucing DUMMY DATA files is available here =&gt; https://indigothemes.com/documentation/petshop/"},{name:"viralline",slug:"viralline",version:"1.0.5",preview_url:"https://wp-themes.com/viralline",author:"themehunk",screenshot_url:"//ts.w.org/wp-content/themes/viralline/screenshot.png?ver=1.0.5",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/viralline/",description:"Viralline is gracefull and beautiful WordPress theme. It has live customizer to check changes instantly and lead generation plugin integrated. Viralline theme supports five widget area (two in the sidebar, three in the footer). Viralline supports sidebar on home page also. This theme is specially designed for personal, fashion, restaurant, foodie, travel blog sites.",template:"glowline"},{name:"Divogue",slug:"divogue",version:"1.3.7",preview_url:"https://wp-themes.com/divogue",author:"wphoot",screenshot_url:"//ts.w.org/wp-content/themes/divogue/screenshot.jpg?ver=1.3.7",rating:86,num_ratings:"6",homepage:"https://wordpress.org/themes/divogue/",description:"With a modern fashionable, stylish, spacious, bold design and contemporary contrast look, Divogue is a fast responsive theme suitable for all types of blogs, design agency, personal portfolio, food, fashion and travel log websites. Multilingual and translation ready, Divogue has secure, fast loading, SEO optimized code. Divogue is compatible with all major plugins thanks to its standards compliant code. On top of that it has additional styles coded for biggies like Jetpack, WooCommerce, Contact Form 7, Google Maps Press, Page Builder etc. Theme support is available at https://wphoot.com/support/ You can also check out the theme instructions at https://wphoot.com/support/divogue/ and demo at https://demo.wphoot.com/divogue/ for a closer look."},{name:"Maillard",slug:"maillard",version:"1.1.8",preview_url:"https://wp-themes.com/maillard",author:"dannycooper",screenshot_url:"//ts.w.org/wp-content/themes/maillard/screenshot.png?ver=1.1.8",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/maillard/",description:"Maillard is a beautiful WordPress Food Blog theme, that allows food bloggers to position their content, images and recipes in the best light possible."},{name:"TF Construction",slug:"tf-construction",version:"1.6",preview_url:"https://wp-themes.com/tf-construction",author:"themefarmer",screenshot_url:"//ts.w.org/wp-content/themes/tf-construction/screenshot.png?ver=1.6",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/tf-construction/",description:"TF Construction is WordPress Theme for business purpose, clean and unique with a great elegant multipurpose responsive design for your website. a lightweight and fully responsive HTML5 theme with bootstrap framework and FontAwesome icons. Theme has home page section to show your portfolio projects. TF Construction has woocommerce support for your ecommerce shop. This theme can be used for real estate, blog, news, landing page, travel, store, food, restaurant, photography, hotel, school, education, fitness, fashion store or any business. TF Construction have easy customizer by this you can easily customize theme in just few clicks. This theme gives you awesome looking website. A translation ready theme with major browser supportive. Replaceable logo, social icons, and contact info on top header. documentation available here https://www.themefarmer.com/documentation/documentation-tf-construction-free/ and See Demo: http://demo.themefarmer.com/tf-construction/"},{name:"Napoli",slug:"napoli",version:"1.4.1",preview_url:"https://wp-themes.com/napoli",author:"themezee",screenshot_url:"//ts.w.org/wp-content/themes/napoli/screenshot.jpg?ver=1.4.1",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/napoli/",description:"Napoli is a beautiful WordPress theme perfectly suited for a food magazine. It features a great featured post slider, smooth typography and a grid-layout for posts. Bon appétit!"},{name:"Construction Landing Page",slug:"construction-landing-page",version:"1.1.0",preview_url:"https://wp-themes.com/construction-landing-page",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/construction-landing-page/screenshot.png?ver=1.1.0",rating:88,num_ratings:"7",homepage:"https://wordpress.org/themes/construction-landing-page/",description:"Construction Landing Page is a free WordPress theme for construction company. It is a WordPress theme with a contact form on the homepage, and includes several Call-to-Action sections to create high converting landing pages for construction and building business websites. Construction Landing Page is clean, responsive (mobile-friendly), speed optimized, and SEO friendly. It includes an attractive banner with a contact form, Services section, Portfolio section, Client Section, testimonial section, Banner with Call to Action Button (CTA), and social media. It is WooCommerce (online shop) compatible and translation ready. Though this theme is created to make construction companies websites, you can use to make all kinds of websites such as web agency, portfolio, e-commerce, photography, business, corporate, restaurant, video, real estate, travel, wedding, education, parallax business portfolio, hotel, church, event, music, review, fitness, affiliate, lawyer, community, sports, medical, cafe, spa, teams, band, food, hair salon, jewelry, political, football, school, university, bed and breakfast, pub, resort, squeeze page, reservation and winery websites. Check the demo at https://raratheme.com/preview/construction-landing-page/, video documentation at https://raratheme.com/documentation/construction-landing-page/, and get support at https://raratheme.com/support-ticket/."},{name:"Writee",slug:"writee",version:"1.4.2",preview_url:"https://wp-themes.com/writee",author:"scissorthemes",screenshot_url:"//ts.w.org/wp-content/themes/writee/screenshot.png?ver=1.4.2",rating:100,num_ratings:"19",homepage:"https://wordpress.org/themes/writee/",description:"Writee is very flexible and well suited free blogging WordPress theme for personal, food, travel, fashion, corporate, or any other amazing blog. Writee is fully responsive and mobile friendly. The theme features pixel perfect design and includes custom widgets, Customizer Options, full-width/boxed slider to showcase your content with style. Writee includes .mo file for the following languages AR_ARABIC, DE_GERMAN, ES_spanish, FR_french, IT_itnalian, RU_Russian, ZH_CHINES. Writee is Now Woo-commerce Compatible."},{name:"Lycka lite",slug:"lycka-lite",version:"1.0.5",preview_url:"https://wp-themes.com/lycka-lite",author:"volthemes",screenshot_url:"//ts.w.org/wp-content/themes/lycka-lite/screenshot.png?ver=1.0.5",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/lycka-lite/",description:"Lycka lite is a clean minimal and responsive WordPress theme. It’s ideal for beginner and professional blogger, and also suitable for personal blog, food blogger and photo blogger! The theme options are powered by Customizer. It provides 2 custom widgets Profile with social icon and simple Ads Widget."},{name:"Aster",slug:"aster",version:"1.5.1",preview_url:"https://wp-themes.com/aster",author:"rubel_miah",screenshot_url:"//ts.w.org/wp-content/themes/aster/screenshot.png?ver=1.5.1",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/aster/",description:"Aster is one of the most Elegant, Trendy, Clean and Creative high-performance Responsive WordPress Blog Themes. If you want to create a smart blog within few minutes, Aster is the right choice. It will help you create and run a successful blog in a easiest way where you can tell your stories professionally. It highlights yours contents without distractions and enables users to read more easily. So publish your unique and fantastic stories about Personal, Travel, Lifestyle, Craft &amp; Arts, Interior Designing, Inspirations, Food &amp; Recipes, Business, Photos, Weddings and everyday moments from all over the world. It’s fully responsive so it adapts to your style as well as the device it’s viewed on. Aster is carefully crafted, it contains all these features a modern blogger needs. Complete control over the layout of your blog whenever you want."},{name:"Reviewer",slug:"reviewer",version:"1.1.4",preview_url:"https://wp-themes.com/reviewer",author:"ilovewpcom",screenshot_url:"//ts.w.org/wp-content/themes/reviewer/screenshot.png?ver=1.1.4",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/reviewer/",description:"Reviewer is a unique theme for review-type blogs with a simple and intuitive layout and design. Works great for review websites about books, wine, movies, games, even food recipes."},{name:"Cronus",slug:"cronus",version:"0.0.23",preview_url:"https://wp-themes.com/cronus",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/cronus/screenshot.png?ver=0.0.23",rating:90,num_ratings:"2",homepage:"https://wordpress.org/themes/cronus/",description:"Cronus is an white, clean, elegant, modern, beautiful and creative free WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website blog: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and others. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es and it comes with nice header parallax effect. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize and it comes with free support. Theme features: custom header, parallax header, header buttons, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, custom layout, left sidebar, right sidebar, full width layout, additional sidebars, custom widgets, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Theme FAQ. See our demo: https://goo.gl/fk1YRz",template:"tempo"},{name:"Verb Lite",slug:"verb-lite",version:"1.1.6",preview_url:"https://wp-themes.com/verb-lite",author:"themely",screenshot_url:"//ts.w.org/wp-content/themes/verb-lite/screenshot.png?ver=1.1.6",rating:100,num_ratings:"4",homepage:"https://wordpress.org/themes/verb-lite/",description:"Verb Lite is a modern, clean and responsive blog theme suitable for magazines, newspapers, review sites, or personal blogs. It integrates with the following plugins: Woocommerce, Wordpress Popular Posts and Mailchimp for Wordpress. It also is ideal for blogs in the following categories: business, corporate, travel, fashion, cuisine, food, home decor, sports, opinion, news, entertainment, movie reviews, celebrity news, lifestyle, science, business, politics, art, design and much more."},{name:"Resortica Lite",slug:"resortica-lite",version:"1.3.8",preview_url:"https://wp-themes.com/resortica-lite",author:"codepixelzmedia",screenshot_url:"//ts.w.org/wp-content/themes/resortica-lite/screenshot.png?ver=1.3.8",rating:100,num_ratings:"5",homepage:"https://wordpress.org/themes/resortica-lite/",description:"Resortica Lite is a simple yet outlandish theme for resorts or hotels of any kind. The theme is abosolutely responsive which is built in bootstrap framework and embodies customizer API tool which makes it highly customizable. Bring Resortica Lite into play for free and experience straightforward functions and striking design. Resortica Lite is suitable for hotel, hospitality business, restaurant, eatery, cuisine, recipe, cafe, lodge, food joint and others with easily customizable home page. Demo - http://preview.themeforest.net/item/resortica-responsive-wordpress-theme-for-hotels-resorts/full_screen_preview/20226373?_ga=2.130461775.1158084183.1503633177-782439093.1496376444&amp;ref=code_themes"},{name:"Metro Magazine",slug:"metro-magazine",version:"1.1.4",preview_url:"https://wp-themes.com/metro-magazine",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/metro-magazine/screenshot.png?ver=1.1.4",rating:100,num_ratings:"18",homepage:"https://wordpress.org/themes/metro-magazine/",description:"Metro Magazine is a modern responsive magazine style WordPress theme suitable for news, newspaper, magazine, sports, technology, food, travel, blogs, publishing, business and any kind of sites. The theme is built on Customizer and it allows you to easily customize your website with live previews. Metro Magazine includes color scheme and color for categories, which you can use to change the look and feel of your website with a click. The theme is Speed and Search Engine Optimized (SEO) to help you easily climb the google rank. Other feature includes social media integration, custom widgets, author bio, breadcrumb, advertisement settings, custom CSS, translation ready and more. Check demo at https://raratheme.com/preview/metro-magazine/ and documentation at https://raratheme.com/documentation/metro-magazine. Read theme details at https://raratheme.com/wordpress-themes/metro-magazine and get free support at https://raratheme.com/support-ticket."},{name:"Specia",slug:"specia",version:"2.2.10",preview_url:"https://wp-themes.com/specia",author:"specia",screenshot_url:"//ts.w.org/wp-content/themes/specia/screenshot.jpg?ver=2.2.10",rating:98,num_ratings:"34",homepage:"https://wordpress.org/themes/specia/",description:"Specia is a Multipurpose WordPress theme with lots of powerful features, instantly giving a professional look to your online presence. Well suited for any type of websites - business, portfolio, food &amp; restaurant, gym &amp; fitness, spa salon, medical practitioner &amp; hospitals, landing pages, product pages, corporate business, digital agency, product showcase, financial advisor, accountant, law firm, wealth advisor, photography, personal, and any eCommerce stores. Specia is made on its cross-browser compatibility. It consists of: Slider, Call to Action, Service, Features, Latest Posts, Sticky Header, Social Icons, Payment Icons and Four Column blocks in Footer. This theme has several customization options that are available WordPress Theme Customizer. Specia is WPML, Polylang compatible and it´s translation ready. Specia works fine with WordPress popular plugins like WooCommerce, Contact Form 7, Ninja Form, Jetpack, WP-featherlight, Give - WordPress Donation Plugin, Open Table Widget, Page Links To, Gravity Forms, Yoast SEO, and many others. Get more features in the premium version. It has multiple useful sections on the homepage - Slider, Call to Action, Services, Features, Filterable Portfolio, Plans &amp; Pricing, Testimonials, Teams, and Clients. Following page templates ready for publishing like: about, service, portfolio, portfolio filter, pricing, blog full width, blog left sidebar, blog right sidebar, blog masonry, and contact. What are you waiting for? Let's start downloading this amazing and beautiful Free Multipurpose WordPress Theme right away. View the demo of Specia Premium http://demo.speciatheme.com/pro/?theme=specia"},{name:"Lebanon",slug:"lebanon",version:"1.4.1",preview_url:"https://wp-themes.com/lebanon",author:"smartcat",screenshot_url:"//ts.w.org/wp-content/themes/lebanon/screenshot.jpg?ver=1.4.1",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/lebanon/",description:"Lebanon is a clean &amp; responsive multi-purpose theme with tons of customizable features. It is well suited for food or lifestyle bloggers, teams, travel blog, photographers e-commerce stores and creative individuals. You can customize all the colors, fonts, and appearance and preview your changes live. A theme that makes it easy for you to create a beautiful and professional looking site quickly and easily. Lebanon is fully integrated with WooCommerece, and Our Team Showcase. It allows you to feature posts, pages or products simply by selecting the post you want to feature. This theme also provides RTL language support. This theme has many features that cannot usually be found in a free theme, and can be used by beginners and developers to build a great site quickly and effieciently. See the live demo here: http://lebanon.smartcatdev.wpengine.com/"},{name:"Resto",slug:"resto",version:"1.0.3",preview_url:"https://wp-themes.com/resto",author:"evisiontheme",screenshot_url:"//ts.w.org/wp-content/themes/resto/screenshot.png?ver=1.0.3",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/resto/",description:"Resto is a very convenient restaurant Wordpress theme that appears great on any device. Especially designed for businesses in food/meal service, it can be readily used by hotels and resorts as well. It supports jetpack custom food menu and the stylish design makes everything appear just better."},{name:"Shopbiz Lite",slug:"shopbiz-lite",version:"1.4.6",preview_url:"https://wp-themes.com/shopbiz-lite",author:"themeicy",screenshot_url:"//ts.w.org/wp-content/themes/shopbiz-lite/screenshot.png?ver=1.4.6",rating:80,num_ratings:"6",homepage:"https://wordpress.org/themes/shopbiz-lite/",description:"shopbiz is a powerful bootstrap Wordpress theme for business companies or individuals. Shopbiz theme which can be used for web design firms or any other corporate, business, agencies, bpo, consulting, legal, attorney, law firms, online shops, woocommerce, health, digital, medical, clinic, dental, spa, beauty, massage, gym, fitness, trainer, coach, restaurant, cafe, food, recipes, technology and any other kind of website purpose. It comes with all features these kind of shop page, blog page, Contact form seven working, custom logo, slides variation, color pallate.demo at https://themeansar.com/demo/wp/shopbiz/ , check the spa demo at https://themeansar.com/demo/wp/shopbiz/spa/"},{name:"Shift",slug:"shift",version:"1.10",preview_url:"https://wp-themes.com/shift",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/shift/screenshot.png?ver=1.10",rating:100,num_ratings:"5",homepage:"https://wordpress.org/themes/shift/",description:"Shift is a simple and customizable theme made for businesses and bloggers. Present your best content in a beautiful and responsive design across mobile devices, tablets, and widescreen monitors with Shift. With a minimalist design, Shift is great at highlighting your content. That means you’ll get higher engagement whether you’re publishing videos, podcast, photographs, or blog posts. It’s suitable for niche niche from travel and food blogs to corporate business websites. Use Shift for a small, personal content site or publish a ton with an online magazine. Preview Shift now on desktop, tablets, and mobile devices with the interactive live demo: https://www.competethemes.com/demos/?theme=shift"},{name:"Glutton",slug:"glutton",version:"1.1.6",preview_url:"https://wp-themes.com/glutton",author:"kvasnyi",screenshot_url:"//ts.w.org/wp-content/themes/glutton/screenshot.png?ver=1.1.6",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/glutton/",description:"Glutton is a clean and modern WordPress theme for Cafe &amp; Restaurant, recipe blog and any food related web site. Built with the latest WordPress technology. Glutton support responsive layout so it looks great on all devices."},{name:"bootBiz for Wedding",slug:"bootbiz-for-wedding",version:"1.10",preview_url:"https://wp-themes.com/bootbiz-for-wedding",author:"marryandmerry",screenshot_url:"//ts.w.org/wp-content/themes/bootbiz-for-wedding/screenshot.png?ver=1.10",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/bootbiz-for-wedding/",description:"bootBiz for Wedding is a Wedding WordPress theme which is responsive. This theme is making bootstrap as a base. It caters to hotel, hospitality business, restaurant, eatery, cuisine, recipe, cafe, lodge, food joint and others. It is mobile friendly."},{name:"Tribes",slug:"tribes",version:"1.08",preview_url:"https://wp-themes.com/tribes",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/tribes/screenshot.png?ver=1.08",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/tribes/",description:"Tribes is a theme for publishers with powerful messages. This content-focused theme presents your posts beautifully across phones, tablets, and laptops thanks to its responsive design. Improve your readership and highlight your images with a distraction-free minimalist design. Tribes’ simple layout makes it great for blogging. Use it to write about business, food, music, or your personal travels. You can even publish a resume, podcast, or use it to showcase your photography. Preview Tribes noe on desktop, tablets, and mobile devices with the interactive live demo: https://www.competethemes.com/demos/?theme=tribes"},{name:"Rara Journal",slug:"rara-journal",version:"1.0.5",preview_url:"https://wp-themes.com/rara-journal",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/rara-journal/screenshot.png?ver=1.0.5",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/rara-journal/",description:"Rara Journal is a clean and elegant WordPress blog theme. It is perfect for food, storytelling, personal, travel, lifestyle blog, etc. It is responsive and adopts to various screen sizes, ensuring that your content is perfectly displayed to the visitors using tablets and mobile devices. If you are looking for a clean and professional blog theme that compliments your visuals and also provides you ample space for text, Rara Journal is perfect for you. Along with the clean design the theme comes with advance featured Slider to highlight your posts."},{name:"Lightly",slug:"lightly",version:"1.26",preview_url:"https://wp-themes.com/lightly",author:"fancythemes",screenshot_url:"//ts.w.org/wp-content/themes/lightly/screenshot.png?ver=1.26",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/lightly/",description:"Lightly is a WordPress theme for news or magazine website, neatly designed, well coded, and more importantly easy to use. The theme comes with a responsive design and easy to use customization options that are available via WordPress Theme Customizer. This SEO friendly theme is perfect for travel, lifestyle, fashion, food, sports, magazine, tech, or almost any type of blog."},{name:"Upright",slug:"upright",version:"1.12",preview_url:"https://wp-themes.com/upright",author:"fancythemes",screenshot_url:"//ts.w.org/wp-content/themes/upright/screenshot.png?ver=1.12",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/upright/",description:"Upright is a WordPress theme perfect for news sites, magazines, blogging, business site, lifestyle blog, food, design, art, personal, photography, and any other type of create of website. The theme is neatly designed, well coded, and more importantly responsive. The theme works smoothly with most popular plugins such as Yoast SEO, CF7, Gravity Forms, and more."},{name:"Interior Lite",slug:"interior-lite",version:"2.4",preview_url:"https://wp-themes.com/interior-lite",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/interior-lite/screenshot.png?ver=2.4",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/interior-lite/",description:"Interior lite is an interior design WordPress theme which can be used as responsive multipurpose WordPress theme that is simple and adaptable and flexible, and is fully translation ready with po file available. Can be used for construction, food and drink, recipes, bakery, business, corporate, cafe and restaurant, personal, portfolio, Ecommerce, agency, consulting, real estate, photography, architect, carpet, cleaning, hotel, furniture, carpenter, home decor, design. It is also compatible with various other contact form, SEO and Ecommerce plugins like WooCommerce and NextGen gallery. Check demo at: http://sktthemesdemo.net/interior/"},{name:"Good",slug:"good",version:"1.13",preview_url:"https://wp-themes.com/good",author:"fancythemes",screenshot_url:"//ts.w.org/wp-content/themes/good/screenshot.png?ver=1.13",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/good/",description:"Good is a Magazine WordPress theme perfect for blogging, photoblogging, travel, health, fitness, business, lifestyle, food, design, art, photography, personal and any other creative websites and blogs. The theme has a clean and responsive design. It also comes with related posts section, author bio section, popular posts widget, and other useful features. Good theme also works with popular plugins such as Yoast SEO, Contact Form 7, Gravity Forms, and more."},{name:"Barletta",slug:"barletta",version:"1.1.3",preview_url:"https://wp-themes.com/barletta",author:"moozthemes",screenshot_url:"//ts.w.org/wp-content/themes/barletta/screenshot.jpg?ver=1.1.3",rating:80,num_ratings:"5",homepage:"https://wordpress.org/themes/barletta/",description:"Barletta is a light, elegant and clean design WordPress blog theme which is mainly designed for lifestyle, travel, fashion, food, personal blog and other publishers. Theme is carefully crafted with attention to details and love. Barletta blog theme is fully responsive and your web site will adapt to display on all types of devices. Theme is based on the versatile Bootstrap framework which is known for being reliable and well made making it friendly for developers. Overall, Barletta is a visually stunning theme with polished typography and simple design, great for bloggers. Now theme is optimized to work with JetPack, WooCommerce, Contact Form 7, Mailchimps and other popular free and premium plugins. Enjoy writing, enjoy blogging!"},{name:"Kalon",slug:"kalon",version:"1.1.3",preview_url:"https://wp-themes.com/kalon",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/kalon/screenshot.png?ver=1.1.3",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/kalon/",description:"Kalon is a feminine WordPress blog theme that can be used for building lively and eye-catching websites. It provides a simple, clean, minimal and modern look that can be used for any kind of personal blog related to photography, nature, art, design, lifestyle, food, fashion, babies, kids, wedding or any other creative websites. The design is responsive and shows very well in mobile and tablet devices. The clean typography and spacious layout make it great to share your stories. Kalon incorporates latest web standards such as HTML5 and CSS3 and is SEO friendly design to help you quickly rank in google. Kalon is a Cross-Browser Compatible theme that works on All leading web browsers.The theme comes with the great features and easy to use Option Panel. The Theme comes with full-screen slider, social icon integration, custom menu, plenty of widget areas and custom widgets. The theme is rigorously tested and optimized for speed and faster page load time and has a secure and clean code. The theme is also translation ready. Demo at: https://raratheme.com/preview/kalon/, Documentation at https://raratheme.com/documentation/kalon/ and Support at https://raratheme.com/support-forum/"},{name:"Panoramic",slug:"panoramic",version:"1.0.33",preview_url:"https://wp-themes.com/panoramic",author:"outtheboxthemes",screenshot_url:"//ts.w.org/wp-content/themes/panoramic/screenshot.png?ver=1.0.33",rating:100,num_ratings:"18",homepage:"https://wordpress.org/themes/panoramic/",description:"Panoramic is a well designed, fully responsive theme with a homepage slider that's easy to customize and offers 5 star support. The subtle design features give it a premium feel and the wide range of flexible theme options help you create a variety of sites from a simple blog to a fully functional online eCommerce store. Used in conjunction with SiteOrigin's drag and drop Page Builder plugin, you can easily build beautiful page layouts with no coding knowledge to create any website from travel to business to food, decor, lifestyle, sport and more. Panoramic integrates seamlessly with the following popular free plugins: SiteOrigin's Page Builder, Contact Form 7 and WooCommerce."},{name:"Elicit",slug:"elicit",version:"1.2.4",preview_url:"https://wp-themes.com/elicit",author:"mizmizi",screenshot_url:"//ts.w.org/wp-content/themes/elicit/screenshot.png?ver=1.2.4",rating:94,num_ratings:"3",homepage:"https://wordpress.org/themes/elicit/",description:"Elicit is a clean, minimal, lightweight and 100% responsive layout using bootstrap 3 framework. It's easy to customize, seo friendly and faster loading WordPress theme , With popular posts and social sharing widget also has five widget area which will give your site professional look. Elicit is fit for, food, business, health, portfolio, travel, photography, design, personal and any other creative blogs and websites. Elicit compatible with any browser and support on all major WordPress plugins. Be amazed how quickly you get your next website up and running."},{name:"GlowLine",slug:"glowline",version:"1.1.5",preview_url:"https://wp-themes.com/glowline",author:"themehunk",screenshot_url:"//ts.w.org/wp-content/themes/glowline/screenshot.png?ver=1.1.5",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/glowline/",description:"Glowline is gracefull and beautiful WordPress theme. It has live customizer to check changes instantly and lead generation plugin integrated. Glowline theme supports five widget area (two in the sidebar, three in the footer). Glowline supports sidebar on home page also. This theme is specially designed for personal, fashion, restaurant, foodie, travel blog sites."},{name:"The Minimal",slug:"the-minimal",version:"1.1.4",preview_url:"https://wp-themes.com/the-minimal",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/the-minimal/screenshot.png?ver=1.1.4",rating:100,num_ratings:"6",homepage:"https://wordpress.org/themes/the-minimal/",description:"The Minimal is a fresh, clean and a minimalist WordPress theme designed for a blog or a magazine. The large featured slider with advance slider options makes this theme a great choice for photography, travel, food, fashion, travel, lifestyle, sports or any other awesome blog. The clean typography and spacious white layout make it great to share your stories. The three footer widget areas offer plenty of space for any secondary information, and striking typography makes the content look stunning. The Theme has a built-in Recent Posts widget, Popular Post widget, Social Links widget and Author widget. It features full width page option, two menus, SEO friendly structure, custom logo support and social media links. The Minimal supports all types of post format like links, aside, quotes, galleries, image, audio, video, status and chat. The theme is responsive and scales beautifully with various screen sizes while maintaining the text readability and image quality. The theme is also translation ready."},{name:"Restaurantz",slug:"restaurantz",version:"1.5.0",preview_url:"https://wp-themes.com/restaurantz",author:"wenthemes",screenshot_url:"//ts.w.org/wp-content/themes/restaurantz/screenshot.png?ver=1.5.0",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/restaurantz/",description:"Restaurantz is a clean and professional restaurant WordPress Theme perfect for Restaurant, Cafe, Coffee house or any food business. Theme is powered by Page Builder by Site Origin, so drag-and-drop feature will be very handy to customize the page layout as you want. Theme supports Food Menu by Jetpack which you can showcase in your site easily. It has Theme Options panel based on powerful Customizer API which makes theme pretty easy to customize and configure. Official Support Forum: http://themepalace.com/support-forum/ Full Demo: http://wenthemes.com/theme-demos/?demo=restaurantz"},{name:"Business One Page",slug:"business-one-page",version:"1.1.3",preview_url:"https://wp-themes.com/business-one-page",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/business-one-page/screenshot.png?ver=1.1.3",rating:100,num_ratings:"10",homepage:"https://wordpress.org/themes/business-one-page/",description:"Business One Page is a free one page WordPress theme to create business and corporate websites. It comes with one click demo import feature. The design is responsive and shows very well in mobile and tablet devices. The theme is SEO friendly and make it easy to find on Google and other search engines. It is loaded with theme options and provides several features to make user-friendly, interactive and visually stunning website. Such features include advance slider options, portfolio and product showcase, team member, our services showcase, 2 clear Call to Action (CTA) buttons, testimonials, social media, contact details with contact form. It also includes 3 custom widgets for recent posts, popular posts and social media. The theme is also translation and woocommece (online shop) ready. Designed with visitor engagement in mind, Business One Page allows anyone to create a beautiful, fast and mobile friendly website compatible with all browsers and devices. Though this theme is created to make business websites, you can use to make all kinds of websites such as web agency, portfolio, e-commerce, photography, construction, restaurant, video, real state, travel, wedding, education, hotel, church, event, music, review, fitness, affiliate, lawyer, community, sports, medical, cafe, spa, teams, band, food, hair salon, jewelry, political, football, school, university, bed and breakfast, pub, resort, squeeze page, reservation and winery websites. You can get free support in https://raratheme.com/support-forum/, Documentation: https://raratheme.com/documentation/business-one-page and check the demo at https://raratheme.com/preview/business-one-page/."},{name:"SKT Magazine",slug:"skt-magazine",version:"1.9",preview_url:"https://wp-themes.com/skt-magazine",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/skt-magazine/screenshot.png?ver=1.9",rating:52,num_ratings:"5",homepage:"https://wordpress.org/themes/skt-magazine/",description:"SKT Magazine is a responsive free news and magazine WordPress theme which can be used for newspaper, publishing, personal and corporate blogs, and editorial style websites. Non profit, military, technology, fashion, food, recipes, sports, schools, how to, tips, reviews, SEO blogging, Affiliate marketing, tour and travel, automated, comedy, gaming, music, photography, politics and journal style writing. Multilingual and compatible with any multilingual plugin and translation ready and compatible with WooCommerce for Ecommerce and shop and Nextgen gallery compatibility for portfolio and gallery. Compatible with all SEO plugins and contact form 7. Check demo at: http://sktthemesdemo.net/magazine/"},{name:"Tempo",slug:"tempo",version:"0.0.43",preview_url:"https://wp-themes.com/tempo",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/tempo/screenshot.png?ver=0.0.43",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/tempo/",description:"Tempo is an white, clean, elegant, modern, beautiful and creative free WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website blog: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, eco food, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and others. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es and it comes with nice Blog View and Header Elements. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize and it comes with free support. Theme features: custom header, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, full width layout, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Theme FAQ. See our demo: https://goo.gl/bQRVib"},{name:"Zinnias Lite",slug:"zinnias-lite",version:"1.3",preview_url:"https://wp-themes.com/zinnias-lite",author:"shapedtheme",screenshot_url:"//ts.w.org/wp-content/themes/zinnias-lite/screenshot.png?ver=1.3",rating:100,num_ratings:"4",homepage:"https://wordpress.org/themes/zinnias-lite/",description:"Zinnias Lite is a super clean &amp; elegant Responsive WordPress Blog Theme. It's perfect for your personal, travel, lifestyle, food &amp; recipes, storytelling Blog. If you want to focus or showcase your content in a timeless manner, Zinnias Lite is right choice for you. It follows the latest trendy design with a combination of pure elegance. With Zinnias Lite, you can get right to the point, presenting your content in a clean and minimal way. It's very flexible &amp; easy to customize. Translation ready, WooCommerce Compatible, Sticky Post, Recent Posts and unlimited theme color options, fully live customizer can give you create an high level awesome Blog easily and fast. To know more about the theme - http://shapedtheme.com/wordpress/themes/zinnias-lite-free-wordpress-blog-theme"},{name:"Elegant Pink",slug:"elegant-pink",version:"1.1.1",preview_url:"https://wp-themes.com/elegant-pink",author:"raratheme",screenshot_url:"//ts.w.org/wp-content/themes/elegant-pink/screenshot.png?ver=1.1.1",rating:90,num_ratings:"8",homepage:"https://wordpress.org/themes/elegant-pink/",description:"Elegant Pink is a versatile masonry based, feminine and girly WordPress theme that can be used for building lively and eye-catching websites. The theme can be used to build beautiful blog or magazine related to photography, nature, art and design, lifestyle, food, fashion, babies, kids, wedding or any other creative image centric websites. The responsive design of the theme ensures that your website is mobile friendly and looks great on every device including desktops, laptops, mobiles and tablets. The theme is loaded with features and tools that allows customization of different aspects of the theme. The theme features multiple post formats, custom menu, custom footer, custom slider and customizer options to create a visually appealing website. Infinite Scroll gives an unique loading of the blog posts. The masonry works by placing elements in the optimal position based on the available space, so that your posts are automatically presented in the most visually pleasing and organized way. The theme is SEO friendly and make it easy to find on Google and other search engines. It is loaded with theme options and provides several features to make user-friendly, interactive and visually stunning website.The pinterest style layout makes the theme an ideal option for blogs, portfolios, magazine and other creative websites. Whether you are a fashion blogger or simply want to share your wedding experiences in a beautiful and sophisticated website, Elegant Pink is just perfect for you."},{name:"SKT Design Agency",slug:"skt-design-agency",version:"1.7",preview_url:"https://wp-themes.com/skt-design-agency",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/skt-design-agency/screenshot.png?ver=1.7",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/skt-design-agency/",description:"SKT Design Agency is a responsive WordPress theme which can be used for web design firms or any other corporate, business, agencies, consulting, legal, attorney, law firms, online shops, digital, medical, clinic, dental, spa, beauty, massage, gym, fitness, trainer, coach, restaurant, cafe, food, recipes, technology and any other kind of website purpose. It can also be used for portfolio, photography, personal and blogging as well. This theme is simple, white, minimal, clean. Translation ready theme it is compatible with qTranslate X for multilingual and WooCommerce for E-Commerce. Check demo at: http://sktthemesdemo.net/design-agency/"},{name:"Pashmina",slug:"pashmina",version:"1.0.8",preview_url:"https://wp-themes.com/pashmina",author:"famethemes",screenshot_url:"//ts.w.org/wp-content/themes/pashmina/screenshot.png?ver=1.0.8",rating:100,num_ratings:"1",homepage:"https://wordpress.org/themes/pashmina/",description:"Pashmina is a professional WordPress Fashion blog theme built with Bootstrap and is Responsive WordPress Theme suitable for a fashion blog, fashion models website, fashion magazine, blogging, photography, food, travel, lifestyle and any other blogs. This theme has several customization options that are available WordPress Theme Customizer, Included sticky menu, color options, featured post slider, built-in 4 widgets: Social profiles, about me, banner advertisement and recent posts. Check demo at http://demo.daisythemes.com/pashmina/"},{name:"CleanBlogg",slug:"cleanblogg",version:"1.4.9",preview_url:"https://wp-themes.com/cleanblogg",author:"sameeeuor",screenshot_url:"//ts.w.org/wp-content/themes/cleanblogg/screenshot.png?ver=1.4.9",rating:100,num_ratings:"6",homepage:"https://wordpress.org/themes/cleanblogg/",description:"CleanBlog theme is designed for all kind of blogs such as fashion blog, lifestyle blog, travel blog, food &amp; recipe blog, photography blog, simple magazine, diaries or any other blogging website. CleanBlog theme is clean, latest design, easy to customizable, SEO friendly, bootstrap based fully responsive for any devices and it has powerful custom widgets and customizer theme options.There are many features- standard, Grid, and lists layouts,Left and right sidebar, custom sidebar widgets and footer widgets, customizer options and much more.. Online demo: http://airthemes.net/cleanblog/demo/ Theme Features: https://airthemes.net/cleanblogg/ Documentation: https://airthemes.net/cleanblogg/documentation/ Support: https://airthemes.net/support/"},{name:"Restaurant Advisor",slug:"restaurant-advisor",version:"1.7",preview_url:"https://wp-themes.com/restaurant-advisor",author:"bestweblayout",screenshot_url:"//ts.w.org/wp-content/themes/restaurant-advisor/screenshot.png?ver=1.7",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/restaurant-advisor/",description:"Restaurant Advisor is an elegant theme created especially for food critics, restaurant bloggers, etc. This theme is responsive, and accordingly, its stylish design will look perfectly on any device. Another great advantage of this theme is the opportunity to add your own logos, which ultimately will make your website unique. Also, it is incredibly easy to use, both for you and for your users. Live demo: http://wp-demo-theme.bestweblayout.com/restaurant-advisor/"},{name:"Boron",slug:"boron",version:"1.7.1",preview_url:"https://wp-themes.com/boron",author:"cohhe",screenshot_url:"//ts.w.org/wp-content/themes/boron/screenshot.png?ver=1.7.1",rating:72,num_ratings:"5",homepage:"https://wordpress.org/themes/boron/",description:"Boron is an amazing free WordPress blog theme. It is designed to be super fast as it loads content over Ajax which makes it technologically innovative and well structured. It is well suited for These themes are well suited for personal, adventure, fashion, food, travel and any other awesome blog."},{name:"SKT Coffee",slug:"skt-coffee",version:"2.0",preview_url:"https://wp-themes.com/skt-coffee",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/skt-coffee/screenshot.png?ver=2.0",rating:100,num_ratings:"2",homepage:"https://wordpress.org/themes/skt-coffee/",description:"SKT Coffee is a responsive cafe and restaurant WordPress theme which is multipurpose and can be used for hotels, food, recipes, nature, agriculture, business, personal, local business, simple, flexible and corporate. Gym, Sports, fitness, medical, health and doctors, clinic etc can also use this theme. qTranslate X compatible for multilingual and translation ready. WooCommerce compatible for eCommerce and Nextgen Gallery compatible for gallery and portfolio websites. Contact form 7 compatible and WordPress SEO plugins compatible. Readily translated into 10+ languages. Check demo at: http://sktthemesdemo.net/coffee-shop/"},{name:"Infinite Photography",slug:"infinite-photography",version:"1.2.0",preview_url:"https://wp-themes.com/infinite-photography",author:"acmethemes",screenshot_url:"//ts.w.org/wp-content/themes/infinite-photography/screenshot.jpg?ver=1.2.0",rating:92,num_ratings:"9",homepage:"https://wordpress.org/themes/infinite-photography/",description:"Infinite Photography is a simple and clean theme with a great elegant design and it is easy to customize with Customization Options. This theme is specially designed for photo blogging, photo sharing and well suited for travel, food, life style, sports etc. A translation ready theme with major browser supportive. Infinite Photography is responsive theme which is compatible with all types of devices. Whole site color can be changed with a single click. Replaceable logo, different layout of home page and category page, social icons integrated, own copyright text etc. Site can be managed with left sidebar, right sidebar and full width. Create your website using Infinite Photography which will provide you the awesome experience on photo blogging or other normal websites too. Demo: http://demo.acmethemes.com/infinite-photography/ Supports : http://www.acmethemes.com/supports/"},{name:"Canape",slug:"canape",version:"1.0.5",preview_url:"https://wp-themes.com/canape",author:"automattic",screenshot_url:"//ts.w.org/wp-content/themes/canape/screenshot.png?ver=1.0.5",rating:46,num_ratings:"3",homepage:"https://wordpress.org/themes/canape/",description:"Canapé is a bold and refined theme, designed for restaurants and food-related businesses seeking a classic, elegant look. The carefully crafted Menu Template takes care of showcasing your food and drink menu, while integration with the Open Table widget makes it easy for your guests to make online reservations."},{name:"Movers Packers",slug:"movers-packers",version:"2.2",preview_url:"https://wp-themes.com/movers-packers",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/movers-packers/screenshot.png?ver=2.2",rating:64,num_ratings:"6",homepage:"https://wordpress.org/themes/movers-packers/",description:"SKT Movers and Packers is a responsive WordPress theme which is multipurpose and can be used for corporate, business, sales, landing page, product launch and various other website usage like education, hotel, local business, small business, startup, portfolio, personal, architect, consulting, construction, real estate, medical, health, doctor, fitness, clean, flat, simple, flexible, scalable, freelancer, fashion, lifestyle, travel, sports, food, recipe, musician, agency, creative, bloggers, restaurant, cafe etc. Compatible with contact form 7, WooCommerce, NextGen Gallery and is translation ready. Translated into 23 ready languages and is compatible with WPML, qTranslate X, polylang etc. Check demo at: http://sktthemesdemo.net/moverspackers/"},{name:"Lunchroom",slug:"lunchroom",version:"1.2.6",preview_url:"https://wp-themes.com/lunchroom",author:"fly2sky",screenshot_url:"//ts.w.org/wp-content/themes/lunchroom/screenshot.png?ver=1.2.6",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/lunchroom/",description:"Lunchroom theme is responsive restaurant WordPress theme. This theme is very useful for restaurants, cafe, bars, pubs and other food industries. This theme has so many features to make theme management very easy. This theme is compatible with the latest version of WordPress and the plugins like woocommerce and contact form 7. This theme is fully responsive create with bootstrap and cross browser compatible. Check demo at: http://flythemes.net/demo/lunchroom/"},{name:"Activello",slug:"activello",version:"1.3.6",preview_url:"https://wp-themes.com/activello",author:"silkalns",screenshot_url:"//ts.w.org/wp-content/themes/activello/screenshot.png?ver=1.3.6",rating:96,num_ratings:"19",homepage:"https://wordpress.org/themes/activello/",description:"Activello is a clean and minimal WordPress blog theme with premium look and feel well suited for food, fashion, travel, lifestyle, sports and any other awesome blogs. This theme features WooCommerce integration that allows you to create fully functional eCommerce website side by side with your blog. This theme has several customization options that are available WordPress Theme Customizer. Theme is also multilingual ready and translated in several languages. This awesome blog theme is also SEO friendly helping you to achieve the highest positions on Google. Activello is the only WordPress blog theme you will ever need."},{name:"Dyad",slug:"dyad",version:"1.0.10",preview_url:"https://wp-themes.com/dyad",author:"automattic",screenshot_url:"//ts.w.org/wp-content/themes/dyad/screenshot.png?ver=1.0.10",rating:98,num_ratings:"9",homepage:"https://wordpress.org/themes/dyad/",description:"Dyad pairs your written content and images together in perfect balance. The theme is geared towards photographers, foodies, artists, and anyone who is looking for a strong photographic presence on their website."},{name:"Materialize",slug:"materialize",version:"0.0.16",preview_url:"https://wp-themes.com/materialize",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/materialize/screenshot.png?ver=0.0.16",rating:90,num_ratings:"2",homepage:"https://wordpress.org/themes/materialize/",description:"Materialize is an white, clean, elegant, modern, creative and beautiful freemium WordPress theme built with HTML5 and CSS3. The clean, white, elegant, modern and creative design can be used for any type of website: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. The theme is builded base on white, clean and responsive Material Design Concept. This theme is suitable for all type of devices: desktop, notebook, tablete, iPhone and others. Responsive design and Materialia Design Concept are based on Materialize framework. Theme is developed by myThem.es. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. It’s very quick to setup and easy to customize. It also comes with free support. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Materialize FAQ. Aslo please visit our demo presentation: http://test.mythem.es/materialize-wordpress/."},{name:"Bulan",slug:"bulan",version:"1.0.9",preview_url:"https://wp-themes.com/bulan",author:"themejunkie",screenshot_url:"//ts.w.org/wp-content/themes/bulan/screenshot.jpg?ver=1.0.9",rating:60,num_ratings:"4",homepage:"https://wordpress.org/themes/bulan/",description:"Bulan is a beautiful, minimal and clean WordPress blog theme that easy to customize and simple to setup. It’s ideal for beginner and professional blogger, food blogger and photo blogger! This theme just works, which means you don’t need to install any 3rd party plugins or setup complex options. Just install it and viola! The theme options are powered by Customizer. It provides 2 custom widgets Social Icons and Recent Posts Thumbnail. It also works out of the box with Jetpack and Polylang. Since 1.0.8 Bulan support footer widgets!"},{name:"Veggie Lite",slug:"veggie-lite",version:"1.2.2",preview_url:"https://wp-themes.com/veggie-lite",author:"anariel-design",screenshot_url:"//ts.w.org/wp-content/themes/veggie-lite/screenshot.png?ver=1.2.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/veggie-lite/",description:"Veggie Lite is a lite &amp; free version of beautiful premium WordPress theme Veggie. Theme is perfect for creating food-related websites. It is a great fit for recipe websites, blogs, magazines and more. Veggie is built mobile first and is pleasure to view on devices of all sizes. It features modern, easy-to-read typography and minimalistic design. As a bonus and a real treat in this theme are our own healthy recipes we use and enjoy on daily basis. You are more than welcome to try and share. Recipes are accompanied by real and royalty free images we made while preparing these meals. Bon Appetit!"},{name:"Kotha",slug:"kotha",version:"1.4",preview_url:"https://wp-themes.com/kotha",author:"shapedtheme",screenshot_url:"//ts.w.org/wp-content/themes/kotha/screenshot.png?ver=1.4",rating:100,num_ratings:"6",homepage:"https://wordpress.org/themes/kotha/",description:"Kotha is a super clean &amp; elegant Responsive WordPress Blog Theme. It's perfect for your personal, travel, lifestyle, food &amp; recipes, storytelling Blog. If you want to focus or showcase your content in a timeless manner, Kotha is right choice for you. It follows the latest trendy design with a combination of pure elegance. With Kotha, you can get right to the point, presenting your content in a clean and minimal way. It's very flexible &amp; easy to customize. 3 Custom Widgets, Translation ready, WooCommerce Compatible, Sticky Post, Recent Posts, popular posts and unlimited theme color options, fully live customizer can give you create an high level awesome Blog easily and fast."},{name:"Popster",slug:"popster",version:"1.06",preview_url:"https://wp-themes.com/popster",author:"fancythemes",screenshot_url:"//ts.w.org/wp-content/themes/popster/screenshot.png?ver=1.06",rating:60,num_ratings:"1",homepage:"https://wordpress.org/themes/popster/",description:"Popster is a responsive WordPress theme suited for blogging, photoblogging, travel, health, fitness, business, lifestyle, food, design, art, photography, personal and any other creative websites and blogs. The theme comes with social icon integration, author bio section, popular posts widget and a ton of other useful features. Popster also works smoothly with popular plugins such as Contact Form 7, Yoast SEO, and JetPack."},{name:"Chosen",slug:"chosen",version:"1.27",preview_url:"https://wp-themes.com/chosen",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/chosen/screenshot.png?ver=1.27",rating:92,num_ratings:"12",homepage:"https://wordpress.org/themes/chosen/",description:"Chosen is a bold and minimalist theme for publishers who want to get their visitors' attention and keep it. Present your best content in a simple, uncluttered fashion on phones, tablets, and desktop computers with Chosen. Use Chosen to start a blog, magazine, or news site in any niche: fashion, business, gaming, food, travel. As a free theme, you can use Chosen for as many sites as you want. It can even be used for video, podcasts, and personal resumes. Now with WooCommerce support, you can also add an eCommerce store to your website. Preview Chosen now on desktop, tablets, and mobile devices with the interactive live demo: https://www.competethemes.com/demos/?theme=chosen"},{name:"SKT Hotel Lite",slug:"skt-hotel-lite",version:"1.7",preview_url:"https://wp-themes.com/skt-hotel-lite",author:"sonalsinha21",screenshot_url:"//ts.w.org/wp-content/themes/skt-hotel-lite/screenshot.png?ver=1.7",rating:60,num_ratings:"2",homepage:"https://wordpress.org/themes/skt-hotel-lite/",description:"SKT Hotel is a hotel WordPress theme which is responsive. It caters to hotel, hospitality business, restaurant, eatery, cuisine, recipe, cafe, lodge, food joint and others. It is mobile friendly and has a very nice animated homepage. It can be easily set up using Customizer API. Demo Link: http://sktthemesdemo.net/hotel/"},{name:"The WP",slug:"the-wp",version:"3.19",preview_url:"https://wp-themes.com/the-wp",author:"ceewp",screenshot_url:"//ts.w.org/wp-content/themes/the-wp/screenshot.png?ver=3.19",rating:74,num_ratings:"3",homepage:"https://wordpress.org/themes/the-wp/",description:"The WP is an elegant multipurpose, fully responsive powerful WordPress theme and mobile friendly. Developed and coding using CSS3 that makes it mobile and tablets friendly. This theme comes with front-page slider, social media icon integration &amp; widget, Call to Action widget and content blocks widget for highlight your services and projects. It supports 7 custom widgets area, full color control, layout control, logo upload, full screen slider, header image, sticky navigation, drop-down menus, footer menu, landing page, full width page, javascript slideshow and lots of other useful features. The WP is a free WordPress theme with premium functionality and flat design. Now theme is optimized to work with Jetpack, WooCommerce, WP-PageNavi and other popular free and premium plugins. A theme well suited for portfolio, design, art, creative agency, photography, personal, travel, health , sport club, business, freelancer, finance news, church, event and any other creative websites and blogs. The WP Theme well suited for travel agency, hotels, hostels, vacation rentals, journals. Also, education sites for toddler, preschool, academy teachers, online courses, schools, primary school for children, baby kids kindergartens, acadamic, college and university. Also, you can use it as spa, beauty salon, hair salon, massage shop feminine/girly &amp; nail salon beautiful WordPress sites. It is related to health and medical for hospitals, doctors, clinics, corporate business for startups and medium sized companies or restaurant/cafe/bakery/real estate, realtors; green eco-friendly for green nature, organic food recipes; architects, architectural firms, construction company; fashion, magazine, eCommerce and photography WordPress blogs etc. The WP is translated into over 46 languages : Arabic (العربية), Chinese (简体中文), Danish (Dansk), Dutch (Nederlands), French (Français), German (Deutsch), Italian (Italiano), Japanese (日本語), Korean (한국어), Polish (Polski), Portuguese (Português), Romanian (Română), Russian (Русский), Spanish (Spain) (Español), Turkish (Türkçe), Ukrainian (Українська) and more..."},{name:"Delicious",slug:"delicious",version:"0.1.2",preview_url:"https://wp-themes.com/delicious",author:"themehall",screenshot_url:"//ts.w.org/wp-content/themes/delicious/screenshot.png?ver=0.1.2",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/delicious/",description:"Delicious is a responsive wordpress theme for Food lovers, Restaurant, cooking blog. Start your own food blog Chef",template:"omega"},{name:"Sean Lite",slug:"sean-lite",version:"1.2.1",preview_url:"https://wp-themes.com/sean-lite",author:"alexvtn",screenshot_url:"//ts.w.org/wp-content/themes/sean-lite/screenshot.png?ver=1.2.1",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/sean-lite/",description:"Sean Lite is a clean yet bold design, allowing your articles and images to do the real talking. With a fully responsive layout, Sean Lite is a perfect WordPress theme to manage your personal, lifestyle, travel, food, recipes, fashion blog or tumblelog. Inspired by the Bootstrap framework, Sean Lite is fully optimized for mobile devices."},{name:"Cannyon",slug:"cannyon",version:"0.0.15",preview_url:"https://wp-themes.com/cannyon",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/cannyon/screenshot.png?ver=0.0.15",rating:90,num_ratings:"6",homepage:"https://wordpress.org/themes/cannyon/",description:"Cannyon is an white, clean, elegant, modern, beautiful and creative freemium WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website: business, corporate, portfolio, products, creative, arts, design, construction, transport, manufacturing, ecology, cosmetics, beauty, hygiene, sports, culture, presentations, food business, restaurants, drink, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine, chemical, pharmaceutical, medicine, travel, sample blog, agriculture, science, politics and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and others. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es and it comes with nice header parallax effect. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize and it comes with free support. Theme features: custom header, parallax header, header buttons, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, custom layout, left sidebar, right sidebar, full width layout, additional sidebars, custom widgets, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Cannyon FAQ. See our demo: http://bit.ly/2jYGdDY"},{name:"Great",slug:"great",version:"1.061",preview_url:"https://wp-themes.com/great",author:"benalvele",screenshot_url:"//ts.w.org/wp-content/themes/great/screenshot.png?ver=1.061",rating:100,num_ratings:"12",homepage:"https://wordpress.org/themes/great/",description:"Great theme is a beautifully designed responsive, multipurpose and customizable Wordpress Theme for your amazing website. Theme can be used for travel, business corporate/finance, nature, science, green thinking, photography, health research, personal portfolio, Church, non-profit, online shop, eCommerce, hotels, baby kids, academic university education, primary school for children, design/art and any other creative and minimalistic style website. Great Theme well suited for food recipes, fashion, lifestyle, sports, art photography, design and any other website or blogs. Also, you can use it as educational purposes, such as childhood education, children, toddler, preschool, academy teachers, kindergarten schools, kids etc. It's a free WordPress theme with premium functionality and design. Developed using CSS 3 that makes it mobile and tablets friendly. Theme comes with jquery responsive slider. It is easily customizable with numerous theme options. It has primary color option to match your logo &amp; website, custom logo upload, pick font awesome icon for your site title, custom backgrounds, home page slider widget, 3 footer widgets, responsive dropdown menu, contact details (address, telephone, email), social media icons, services, projects, clients, latest news from your blog, featured pages, translation ready and many more. Great theme is optimized to work with WP-PageNavi, Jetpack, Contact Form 7, bbPress, WooCommerce and other popular free/premium plugins. Languages: Albanian (Shqip), Arabic (العربية), Azerbaijani (Azərbaycan dili), Basque (Euskara), Bengali (বাংলা), Bosnian (Bosanski), Bulgarian (Български), Catalan (Català), Chinese (China) (简体中文), Chinese (Taiwan) (繁體中文), Croatian (Hrvatski), Danish (Dansk), Dutch (Nederlands), Esperanto (Esperanto), Estonian (Eesti), Finnish (Suomi), French (France) (Français), Galician (Galego), German (Deutsch), German (Switzerland) (Deutsch (Schweiz)), Greek (Ελληνικά), Hebrew (עִבְרִית), Hungarian (Magyar), Icelandic (Íslenska), Indonesian (Bahasa Indonesia), Italian (Italiano), Japanese (日本語), Korean (한국어), Lithuanian (Lietuvių kalba), Norwegian (Bokmål) (Norsk bokmål), Norwegian (Nynorsk) (Norsk nynorsk), Persian (فارسی), Polish (Polski), Portuguese (Brazil) (Português do Brasil), Portuguese (Portugal), Romanian (Română), Russian (Русский), Serbian (Српски језик), Slovak (Slovenčina), Slovenian (Slovenščina), Spanish (Mexico) (Español de México), Spanish (Peru) (Español de Perú), Spanish (Spain) (Español), Tagalog (Tagalog), Thai (ไทย), Turkish (Türkçe), Ukrainian (Українська), Welsh (Cymraeg)"},{name:"Jax Lite",slug:"jax-lite",version:"1.2.0",preview_url:"https://wp-themes.com/jax-lite",author:"alexvtn",screenshot_url:"//ts.w.org/wp-content/themes/jax-lite/screenshot.png?ver=1.2.0",rating:90,num_ratings:"2",homepage:"https://wordpress.org/themes/jax-lite/",description:"Keeping its design to only the essentials, Jax Lite is a creative WordPress theme that has everything you will need to create the most eye-catching WordPress websites with a contemporary minimalist flair, with a masonry layout to create the most stunning photo showcases. Jax Lite is the perfect WordPress theme to manage your personal, lifestyle, travel, food, recipes or fashion blog."},{name:"Pizzaland",slug:"pizzaland",version:"1.0.9",preview_url:"https://wp-themes.com/pizzaland",author:"antonietta456",screenshot_url:"//ts.w.org/wp-content/themes/pizzaland/screenshot.png?ver=1.0.9",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/pizzaland/",description:"Pizzaland is a child theme of the Twenty Fifteen default WordPress theme. This ensures that it's got a solid basis on which it's built. It's specifically designed for restaurants and cafes: it supports the Food and Drink Menu Plugin (https://wordpress.org/plugins/food-and-drink-menu/), the Restaurant Reservations Plugin (https://wordpress.org/plugins/restaurant-reservations/), the Testimonials Widget plugin (https://wordpress.org/plugins/testimonials-widget/), and the Team Members Plugin (https://wordpress.org/plugins/team-members/). The user interface elements provided by these plugins have been thoughtfully styled and a custom Restaurant Home page purposefully crafted. However, Pizzaland can be used as an elegant blogging theme without installing any of the recommended plugins.",template:"twentyfifteen"},{name:"Publication",slug:"publication",version:"1.0.4",preview_url:"https://wp-themes.com/publication",author:"automattic",screenshot_url:"//ts.w.org/wp-content/themes/publication/screenshot.png?ver=1.0.4",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/publication/",description:"Publication is an elegant blog and magazine theme that features full-screen Featured Images. It’s perfect for sites about fashion, food, travel, or design. With balanced typography, colors, and attention to detail, Publication helps you create visually stunning posts."},{name:"o3magazine",slug:"o3magazine",version:"2.02",preview_url:"https://wp-themes.com/o3magazine",author:"oceans11",screenshot_url:"//ts.w.org/wp-content/themes/o3magazine/screenshot.png?ver=2.02",rating:90,num_ratings:"2",homepage:"https://wordpress.org/themes/o3magazine/",description:"O3Magazine is a modern responsive WordPress theme with nice and fresh colors, that can transform your blog into a modern online magazine or dynamic news website which is especially suitable for news, newspaper, magazine, publishing, business, personal blog, corporate blog and any kind of sites like editorial websites, sports magazine, food magazine, news magazine for topics like politics, world news, economy, business news, Non profit, military, technology, fashion, food, recipes, sports, schools, technology, science, gadgets, travel, how to, tips, reviews, SEO blogging, Affiliate marketing, tour and travel, automated, comedy, gaming, music, photography, politics, journal style writing or anything else you can imagine. Great extra features on customizer and extended layout options to manage flexible layout elements on your site including changing the color scheme, advertisement can be added from customizer and typography. Check demo at: http://demo.o3magazine.com/o3magazine/"},{name:"ClesarMedia",slug:"clesarmedia",version:"1.3.0",preview_url:"https://wp-themes.com/clesarmedia",author:"eightpixeldesign",screenshot_url:"//ts.w.org/wp-content/themes/clesarmedia/screenshot.png?ver=1.3.0",rating:0,num_ratings:"0",homepage:"https://wordpress.org/themes/clesarmedia/",description:"ClesarMedia is a fully responsive and free magazine / blog WordPress theme with a clean and modern design. This free WordPress theme is especially suitable for fancy online magazines, dynamic news websites, vivid blogs and other editorial websites with topics like lifestyle, food, travel, beauty, fashion, sports or any other content genre."},{name:"Treeson",slug:"treeson",version:"0.1.15",preview_url:"https://wp-themes.com/treeson",author:"mythemes",screenshot_url:"//ts.w.org/wp-content/themes/treeson/screenshot.png?ver=0.1.15",rating:74,num_ratings:"3",homepage:"https://wordpress.org/themes/treeson/",description:"Treeson is an elegant, modern and beautiful freemium WordPress theme built with HTML5 and CSS3. The clean, modern design can be used for any type of website: business, corporate, portfolio, products, creative, manufacturing, ecology, presentations, food business, restaurants, bar, pub, club, radio, tv, television, music, movies, live style, garden, cuisine and more others. Theme comes with nice flat design concept and responsive layout. This theme is suitable for all type of devices: desktop, notebook, iPhone, tablete and other. Responsive design and grid system is based on twitter bootstrap framework. Theme is developed by myThem.es. We carefully handcrafted this theme with a strong focus on typography, usability and overall user-experience. This beautiful and easy to customize WordPress theme come with live preview changes integrated with wp customize. It’s very quick to setup and easy to customize. It also comes with free support, we care about your site as much as you do and will do what it takes to help in any way possible. Theme features: custom header, parallax header, header buttons, custom logo, custom favicon, header custom colors, custom background color, custom background image, custom footer, custom copyright, custom social links, custom css, custom layout, left sidebar, right sidebar, full width layout, additional sidebars, custom widgets, support for jetpack plugin, styled contact form 7 plugin. Please read the FAQ: Admin Dashboard &gt; Appearances &gt; Treeson FAQ."},{name:"Apex",slug:"apex",version:"1.26",preview_url:"https://wp-themes.com/apex",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/apex/screenshot.png?ver=1.26",rating:100,num_ratings:"5",homepage:"https://wordpress.org/themes/apex/",description:"Apex is a sophisticated, minimalist theme. It looks great and performs wonderfully on mobile devices, tablets, laptops, and everything in between. Use it to setup a business blog, newspaper website, fashion magazine, or travel blog. Now with WooCommerce support, you can even setup an eCommerce store with Apex. The design of this minimal theme also suits media-rich sites well like food blogs and personal photography portfolios. As a simple, responsive, and SEO optimized theme, you can trust Apex to present your best content to the world. Preview Apex now with the interactive live demo: https://www.competethemes.com/demos/?theme=apex"},{name:"Kouki",slug:"kouki",version:"2.0.0",preview_url:"https://wp-themes.com/kouki",author:"felixdorner",screenshot_url:"//ts.w.org/wp-content/themes/kouki/screenshot.png?ver=2.0.0",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/kouki/",description:"A beautiful and minimal theme for personal blogs. Kouki is meant for publishers who like to display their content in a delightful and minimal way. Ideal for food blogs, photographers, minimalists, tumble logs and everyone else who likes an unobstrusive WordPress theme. Non-mandatory theme options help you to individualize the theme. Change colors, choose fonts from the Google libary and add social icons. The theme is responsive and looks good on small devices."},{name:"Author",slug:"author",version:"1.28",preview_url:"https://wp-themes.com/author",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/author/screenshot.png?ver=1.28",rating:98,num_ratings:"19",homepage:"https://wordpress.org/themes/author/",description:"Author is designed for publishers who want readers. That's why Author is fast, responsive, accessibility-ready, and optimally designed for reading. All scripts and stylesheets are minified, concatenated, and conditionally loaded to maximize performance. The layout adapts fluidly to all screen sizes to enhance usability. As one of few accessibility-ready themes, it performs well for users with wide ranges of disabilities. Based on the ancient Van de Graaf canon, Author features a layout that promotes readability. Use Author to create a simple blog, magazine, or news website. The simple and minimalist design works great for gaming, business, fashion, music, food, travel, and photography niches. Preview Author now on desktop, tablets, and mobile devices with the interactive live demo: https://www.competethemes.com/demos/?theme=author"},{name:"Auberge",slug:"auberge",version:"2.2.0",preview_url:"https://wp-themes.com/auberge",author:"webmandesign",screenshot_url:"//ts.w.org/wp-content/themes/auberge/screenshot.jpg?ver=2.2.0",rating:92,num_ratings:"10",homepage:"https://wordpress.org/themes/auberge/",description:"Auberge is responsive, retina-ready, modern restaurant &amp; café &amp; recipes blog WordPress theme. Supports Beaver Builder page builder plugin, Jetpack plugin to create nested food menus, WebMan Amplifier plugin for recipes, Schema.org markup with Google recipe view, Theme Hook Alliance action hooks, translation-ready code with support for RTL languages, header slideshow, customizable colors and layout, and other cool features."},{name:"Chef",slug:"chef",version:"1.04",preview_url:"https://wp-themes.com/chef",author:"themeisle",screenshot_url:"//ts.w.org/wp-content/themes/chef/screenshot.png?ver=1.04",rating:80,num_ratings:"2",homepage:"https://wordpress.org/themes/chef/",description:"Chef is a responsive magazine-style food theme that lets you share your awesome recipe with the world. Features include unlimited colors, fonts from Google, two types of front page layout, a configurable slider, social profile, mobile navigation and more."},{name:"Blogsonry",slug:"blogsonry",version:"1.0.9",preview_url:"https://wp-themes.com/blogsonry",author:"mrwweb",screenshot_url:"//ts.w.org/wp-content/themes/blogsonry/screenshot.png?ver=1.0.9",rating:100,num_ratings:"3",homepage:"https://wordpress.org/themes/blogsonry/",description:"A child theme of Twenty Thirteen with a masonry layout on the blog and archive pages. Just like Twenty Thirteen, this theme really makes Post Formats shine. Supports Jetpack Infinite Scroll (and responsive videos) if Jetpack is installed and Infinite Scroll Module is enabled. Behind the scenes, this updates Twenty Thirteen to Masonry 3 while we're at it. Originally designed &amp; developed for FoodCorps.",template:"twentythirteen"},{name:"Ignite",slug:"ignite",version:"1.68",preview_url:"https://wp-themes.com/ignite",author:"bensibley",screenshot_url:"//ts.w.org/wp-content/themes/ignite/screenshot.png?ver=1.68",rating:100,num_ratings:"23",homepage:"https://wordpress.org/themes/ignite/",description:"Ignite is a clean, free, and responsive blog theme. Its modern design is great for both business and personal websites. Ignite has a simple and minimalist design that looks equally great on laptops, tablets, and mobile devices. Features include: custom logo, social media icons, left- and right-sidebar layouts, five fonts, custom background colors, and many additional display options. Use it to blog about the news, food, music, fashion, or your travels. Ignite is now WooCommerce compatible, so you can even setup an eCommerce store. There is also a premium upgrade for Ignite called Ignite Plus. Preview Ignite now on desktop, tablets, and phones with the interactive live demo: https://www.competethemes.com/demos/?theme=ignite"},{name:"Restaurante",slug:"restaurante",version:"3.0.6",preview_url:"https://wp-themes.com/restaurante",author:"alexitsios",screenshot_url:"//ts.w.org/wp-content/themes/restaurante/screenshot.png?ver=3.0.6",rating:88,num_ratings:"9",homepage:"https://wordpress.org/themes/restaurante/",description:"Restaurante is a lightweight responsive bootstrap theme for restaurants, barbecues, grill houses, italian restaurants, fast food, pizzerias and more. Features include option to upload your own favicon, customizable background, header &amp; shortcodes. Last but not least it implements microdata, opengraph &amp; twitter cards in order to have the best visibility on search engines and social media."},{name:"Rambo",slug:"rambo",version:"1.6.3",preview_url:"https://wp-themes.com/rambo",author:"priyanshumittal",screenshot_url:"//ts.w.org/wp-content/themes/rambo/screenshot.png?ver=1.6.3",rating:92,num_ratings:"48",homepage:"https://wordpress.org/themes/rambo/",description:"Rambo is an ideal WordPress theme for those who wish to create an impressive web presence. Rambo is easy to use, provides everything you need to create great looking website. It is professional, smooth and sleek, with a clean modern layout, for almost any business types: agency, freelance, blog, startup, portfolio, corporate, firms, law firms, digital media agency , architecture firms, real estate firms, food , fashion etc etc. The theme is developed using Bootstrap 3 CSS framework that makes it friendly for all the modern devices like mobiles, tablets, laptops etc. In Rambo Lite, you can easily set Featured Banner, Services, Portfolio and 4 column widgetized footer. Page templates like Homepage, Full Width Page and Blog left sidebar template will be there. In the premium version, you will get caption Slider, Site Intro, unlimited Services, unlimited Projects, Latest News, Footer Callout, Wide &amp; Boxed Layout, 5 predefined color schemes, feature for creating custom color scheme and Layout Manager. Page templates like About Us, Services, Portfolio, Contact Us etc are there. The theme supports popular plugins like WPML, Polylang, Contact Form 7, WP Google Maps and JetPack Gallery Extensions. Just navigate to Appearance / Customize to start customizing. Both the lite and premium version of Rambo themes are completely translated in Spanish Language. Check premium version theme demo at http://webriti.com/demo/wp/rambo"},{name:"SuevaFree",slug:"suevafree",version:"3.3.2",preview_url:"https://wp-themes.com/suevafree",author:"alexvtn",screenshot_url:"//ts.w.org/wp-content/themes/suevafree/screenshot.png?ver=3.3.2",rating:90,num_ratings:"19",homepage:"https://wordpress.org/themes/suevafree/",description:"SuevaFree is a free clean and minimal WordPress blog theme, with an optional minimal layout and one page section, perfect to manage your personal, lifestyle, travel, food, recipes or fashion blog. You are able to customize and manage a lot of sections of SuevaFree from the WordPress Theme Customizer, like 5 different header layouts, two different layouts for the side sidebar, the post details, the footer section and much more. SuevaFree is also ecommerce ready and optimized to work with WooCommerce and Contact Form 7 plugins. The blog section has a beautiful masonry grid layout and you are able to create a pinterest style gallery, adding the image post formats. The theme support all modern browsers like Firefox, Chrome, Safari, Opera and Internet Explorer 8, 9 and 10 and uses the most modern technologies like HTML5 and CSS3. SuevaFree Essential Kit plugin is required to manage the one-page section."}]},function(e,t,n){"use strict";function replace(e){return"-"+e.toLowerCase()}function convertCase(e){var t={};for(var n in e)t[n.replace(o,replace)]=e[n];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(convertCase):t.fallbacks=convertCase(e.fallbacks)),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function camelCase(){return{onProcessStyle:function onProcessStyle(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=convertCase(e[t]);return e}return convertCase(e)}}};var o=/([A-Z])/g},function(e,t,n){"use strict";function registerClass(e,t){if(!t)return!0;if(Array.isArray(t)){for(var n=0;n<t.length;n++){if(!registerClass(e,t[n]))return!1}return!0}if(t.indexOf(" ")>-1)return registerClass(e,t.split(" "));var r=e.options.parent;if("$"===t[0]){var i=r.getRule(t.substr(1));return i?i===e?((0,o.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(r.classes[e.key]+=" "+r.classes[i.key],!0):((0,o.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}return e.options.parent.classes[e.key]+=" "+t,!0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function jssCompose(){return{onProcessStyle:function onProcessStyle(e,t){return e.composes?(registerClass(t,e.composes),delete e.composes,e):e}}};var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(21))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function addCamelCasedVersion(e){var t=/(-[a-z])/g,n=function replace(e){return e[1].toUpperCase()},o={};for(var r in e)o[r]=e[r],o[r.replace(t,n)]=e[r];return o}function iterate(e,t,n){if(!t)return t;var i=t,a=void 0===t?"undefined":o(t);switch("object"===a&&Array.isArray(t)&&(a="array"),a){case"object":if("fallbacks"===e){for(var s in t)t[s]=iterate(s,t[s],n);break}for(var l in t)t[l]=iterate(e+"-"+l,t[l],n);break;case"array":for(var u=0;u<t.length;u++)t[u]=iterate(e,t[u],n);break;case"number":0!==t&&(i=t+(n[e]||r[e]||""))}return i}Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=function defaultUnit(){var e=addCamelCasedVersion(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;for(var o in t)t[o]=iterate(o,t[o],e);return t},onChangeValue:function onChangeValue(t,n){return iterate(n,t,e)}}};var r=addCamelCasedVersion(function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(460)).default)},function(e,t,n){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function addScope(e,t){for(var n=e.split(c),o="",r=0;r<n.length;r++)o+=t+" "+n[r].trim(),n[r+1]&&(o+=", ");return o}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function jssGlobal(){return{onCreateRule:function onCreateRule(e,t,n){if(e===a)return new l(e,t,n);if("@"===e[0]&&e.substr(0,s.length)===s)return new u(e,t,n);var o=n.parent;return o&&("global"!==o.type&&"global"!==o.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null},onProcessRule:function onProcessRule(e){"style"===e.type&&(function handleNestedGlobalContainerRule(e){var t=e.options,n=e.style,r=n[a];if(r){for(var i in r)t.sheet.addRule(i,r[i],o({},t,{selector:addScope(i,e.selector)}));delete n[a]}}(e),function handlePrefixedGlobalRule(e){var t=e.options,n=e.style;for(var r in n)if(r.substr(0,a.length)===a){var i=addScope(r.substr(a.length),e.selector);t.sheet.addRule(i,n[r],o({},t,{selector:i})),delete n[r]}}(e))}}};var i=n(175),a="@global",s="@global ",l=function(){function GlobalContainerRule(e,t,n){_classCallCheck(this,GlobalContainerRule),this.type="global",this.key=e,this.options=n,this.rules=new i.RuleList(o({},n,{parent:this}));for(var r in t)this.rules.add(r,t[r],{selector:r});this.rules.process()}return r(GlobalContainerRule,[{key:"getRule",value:function getRule(e){return this.rules.get(e)}},{key:"addRule",value:function addRule(e,t,n){var o=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(o),o}},{key:"indexOf",value:function indexOf(e){return this.rules.indexOf(e)}},{key:"toString",value:function toString(){return this.rules.toString()}}]),GlobalContainerRule}(),u=function(){function GlobalPrefixedRule(e,t,n){_classCallCheck(this,GlobalPrefixedRule),this.name=e,this.options=n;var r=e.substr(s.length);this.rule=n.jss.createRule(r,t,o({},n,{parent:this,selector:r}))}return r(GlobalPrefixedRule,[{key:"toString",value:function toString(e){return this.rule.toString(e)}}]),GlobalPrefixedRule}(),c=/\s*,\s*/g},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="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};t.default=function jssIsolate(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1,n=[],o=void 0,r=void 0,i=function setSelector(){r.selector=n.join(",\n")},a=d(i);return{onProcessRule:function onProcessRule(i,l){if(l&&l!==o&&"style"===i.type&&p(i,l,e)){r||(o=i.options.jss.createStyleSheet(null,s),r=o.addRule("reset",u(e.reset)),o.attach());var c=i.selector;-1===n.indexOf(c)&&(n.push(c),t=a())}},onProcessSheet:function onProcessSheet(){!t&&n.length&&i()}}};var i=_interopRequireDefault(n(277)),a=_interopRequireDefault(n(276)),s={meta:"jss-isolate",index:-1/0,link:!0},l={inherited:i.default,all:a.default},u=function getStyle(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"inherited";if("string"==typeof e)return l[e];if("object"===(void 0===e?"undefined":r(e))){if(Array.isArray(e)){var t=e[0],n=e[1];return o({},l[t],n)}return o({},i.default,e)}return i.default},c={keyframes:!0,conditional:!0},p=function shouldIsolate(e,t,n){var o=e.options.parent;if(o&&c[o.type])return!1;var r=null==n.isolate||n.isolate;return null!=t.options.isolate&&(r=t.options.isolate),null!=e.style.isolate&&(r=e.style.isolate,delete e.style.isolate),"string"==typeof r?r===e.key:r},d=function createDebounced(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Date.now();return function(){var o=Date.now();return!(o-n<t)&&(n=o,e(),!0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};t.default=function jssNested(){function getReplaceRef(e){return function(t,n){var o=e.getRule(n);return o?o.selector:((0,r.default)(!1,"[JSS] Could not find the referenced rule %s in %s.",n,e.options.meta||e),n)}}function replaceParentRefs(t,n){for(var o=n.split(i),r=t.split(i),s="",l=0;l<o.length;l++)for(var u=o[l],c=0;c<r.length;c++){var p=r[c];s&&(s+=", "),s+=e(p)?p.replace(a,u):u+" "+p}return s}function getOptions(e,t,n){if(n)return o({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,o({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}var e=function hasAnd(e){return-1!==e.indexOf("&")};return{onProcessStyle:function onProcessStyle(t,n){if("style"!==n.type)return t;var r=n.options.parent,i=void 0,a=void 0;for(var l in t){var u=e(l),c="@"===l[0];if(u||c){if(i=getOptions(n,r,i),u){var p=replaceParentRefs(l,n.selector);a||(a=getReplaceRef(r)),p=p.replace(s,a),r.addRule(p,t[l],o({},i,{selector:p}))}else c&&r.addRule(l,null,i).addRule(n.key,t[l],{selector:n.selector});delete t[l]}}return t}}};var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(21)),i=/\s*,\s*/g,a=/&/g,s=/\$([\w-]+)/g},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="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},r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),a=_interopRequireDefault(n(454)),s=_interopRequireDefault(n(174)),l=_interopRequireDefault(n(466)),u=_interopRequireDefault(n(470)),c=_interopRequireDefault(n(469)),p=_interopRequireDefault(n(468)),d=_interopRequireDefault(n(71)),f=_interopRequireDefault(n(29)),m=_interopRequireDefault(n(176)),h=_interopRequireDefault(n(44)),b=_interopRequireDefault(n(471)),g=_interopRequireDefault(n(472)),A=u.default.concat([c.default,p.default]),v=0,C=function(){function Jss(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Jss),this.id=v++,this.version="9.6.0",this.plugins=new l.default,this.options={createGenerateClassName:m.default,Renderer:a.default?b.default:g.default,plugins:[]},this.generateClassName=(0,m.default)(),this.use.apply(this,A),this.setup(e)}return i(Jss,[{key:"setup",value:function setup(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?g.default:b.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function createStyleSheet(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===d.default.index?0:d.default.index+1);var o=new s.default(e,r({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o}},{key:"removeStyleSheet",value:function removeStyleSheet(e){return e.detach(),d.default.remove(e),this}},{key:"createRule",value:function createRule(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":o(e))&&(n=t,t=e,e=void 0);var r=n;r.jss=this,r.Renderer=this.options.Renderer,r.generateClassName||(r.generateClassName=this.generateClassName),r.classes||(r.classes={});var i=(0,h.default)(e,t,r);return!r.selector&&i instanceof f.default&&(i.selector="."+r.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function use(){for(var e=this,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return n.forEach(function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))}),this}}]),Jss}();t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(21)),i=function(){function PluginsRegistry(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,PluginsRegistry),this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return o(PluginsRegistry,[{key:"onCreateRule",value:function onCreateRule(e,t,n){for(var o=0;o<this.hooks.onCreateRule.length;o++){var r=this.hooks.onCreateRule[o](e,t,n);if(r)return r}return null}},{key:"onProcessRule",value:function onProcessRule(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.hooks.onProcessRule.length;n++)this.hooks.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}}},{key:"onProcessStyle",value:function onProcessStyle(e,t,n){for(var o=e,r=0;r<this.hooks.onProcessStyle.length;r++)o=this.hooks.onProcessStyle[r](o,t,n),t.style=o}},{key:"onProcessSheet",value:function onProcessSheet(e){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](e)}},{key:"onUpdate",value:function onUpdate(e,t,n){for(var o=0;o<this.hooks.onUpdate.length;o++)this.hooks.onUpdate[o](e,t,n)}},{key:"onChangeValue",value:function onChangeValue(e,t,n){for(var o=e,r=0;r<this.hooks.onChangeValue.length;r++)o=this.hooks.onChangeValue[r](o,t,n);return o}},{key:"use",value:function use(e){for(var t in e)this.hooks[t]?this.hooks[t].push(e[t]):(0,r.default)(!1,'[JSS] Unknown hook "%s".',t)}}]),PluginsRegistry}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(21)),i=function(){function SheetsManager(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SheetsManager),this.sheets=[],this.refs=[],this.keys=[]}return o(SheetsManager,[{key:"get",value:function get(e){var t=this.keys.indexOf(e);return this.sheets[t]}},{key:"add",value:function add(e,t){var n=this.sheets,o=this.refs,r=this.keys,i=n.indexOf(t);return-1!==i?i:(n.push(t),o.push(0),r.push(e),n.length-1)}},{key:"manage",value:function manage(e){var t=this.keys.indexOf(e),n=this.sheets[t];return 0===this.refs[t]&&n.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,e),n}},{key:"unmanage",value:function unmanage(e){var t=this.keys.indexOf(e);-1!==t?this.refs[t]>0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):(0,r.default)(!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function get(){return this.keys.length}}]),SheetsManager}();t.default=i},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(34)),r=_interopRequireDefault(n(29)),i=_interopRequireDefault(n(481)),a=_interopRequireDefault(n(44)),s=Date.now(),l="fnValues"+s,u="fnStyle"+ ++s;t.default={onCreateRule:function onCreateRule(e,t,n){if("function"!=typeof t)return null;var o=(0,a.default)(e,{},n);return o[u]=t,o},onProcessStyle:function onProcessStyle(e,t){var n={};for(var o in e){var r=e[o];"function"==typeof r&&(delete e[o],n[(0,i.default)(o)]=r)}return t=t,t[l]=n,e},onUpdate:function onUpdate(e,t){if(t.rules instanceof o.default)t.rules.update(e);else if(t instanceof r.default){if((t=t)[l])for(var n in t[l])t.prop(n,t[l][n](e));var i=(t=t)[u];if(i){var a=i(e);for(var s in a)t.prop(s,a[s])}}}}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(29)),r=_interopRequireDefault(n(44)),i=_interopRequireDefault(n(177));t.default={onCreateRule:function onCreateRule(e,t,n){if(!(0,i.default)(t))return null;var o=t,a=(0,r.default)(e,{},n);return o.subscribe(function(e){for(var t in e)a.prop(t,e[t])}),a},onProcessRule:function onProcessRule(e){if(e instanceof o.default){var t=e,n=t.style,r=function _loop(e){var o=n[e];if(!(0,i.default)(o))return"continue";delete n[e],o.subscribe({next:function next(n){t.prop(e,n)}})};for(var a in n){r(a)}}}}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=_interopRequireDefault(n(476)),r=_interopRequireDefault(n(475)),i=_interopRequireDefault(n(473)),a=_interopRequireDefault(n(474)),s=_interopRequireDefault(n(477)),l={"@charset":o.default,"@import":o.default,"@namespace":o.default,"@keyframes":r.default,"@media":i.default,"@supports":i.default,"@font-face":a.default,"@viewport":s.default,"@-ms-viewport":s.default};t.default=Object.keys(l).map(function(e){var t=new RegExp("^"+e);return{onCreateRule:function onCreateRule(n,o,r){return t.test(n)?new l[e](n,o,r):null}}})},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getStyle(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function setStyle(e,t,n){try{var o=n;if(Array.isArray(n)&&(o=(0,s.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,o,"important"),!0;e.style.setProperty(t,o)}catch(e){return!1}return!0}function setSelector(e,t){return e.selectorText=t,e.selectorText===t}function findPrevNode(e){var t=i.default.registry;if(t.length>0){var n=function findHigherSheet(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(o.attached&&o.options.index>t.index&&o.options.insertionPoint===t.insertionPoint)return o}return null}(t,e);if(n)return n.renderer.element;if(n=function findHighestSheet(e,t){for(var n=e.length-1;n>=0;n--){var o=e[n];if(o.attached&&o.options.insertionPoint===t.insertionPoint)return o}return null}(t,e))return n.renderer.element.nextElementSibling}var o=e.insertionPoint;if(o&&"string"==typeof o){var a=function findCommentNode(e){for(var t=d(),n=0;n<t.childNodes.length;n++){var o=t.childNodes[n];if(8===o.nodeType&&o.nodeValue.trim()===e)return o}return null}(o);if(a)return a.nextSibling;(0,r.default)("jss"===o,'[JSS] Insertion point "%s" not found.',o)}return null}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=_interopRequireDefault(n(21)),i=_interopRequireDefault(n(71)),a=_interopRequireDefault(n(29)),s=_interopRequireDefault(n(45)),l=function memoize(e){var t=void 0;return function(){return t||(t=e()),t}},u=1,c=7,p=function(){var e=function extractKey(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)};return function(t){if(t.type===u)return t.selectorText;if(t.type===c){var n=t.name;if(n)return"@keyframes "+n;var o=t.cssText;return"@"+e(o,o.indexOf("keyframes"))}return e(t.cssText)}}(),d=l(function(){return document.head||document.getElementsByTagName("head")[0]}),f=function(){var e=void 0,t=!1;return function(n){var o={};e||(e=document.createElement("style"));for(var r=0;r<n.length;r++){var i=n[r];if(i instanceof a.default){var s=i.selector;if(s&&-1!==s.indexOf("\\")){t||(d().appendChild(e),t=!0),e.textContent=s+" {}";var l=e.sheet;if(l){var u=l.cssRules;u&&(o[u[0].selectorText]=i.key)}}}}return t&&(d().removeChild(e),t=!1),o}}(),m=l(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),h=function(){function DomRenderer(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,DomRenderer),this.getStyle=getStyle,this.setStyle=setStyle,this.setSelector=setSelector,this.getKey=p,this.getUnescapedKeysMap=f,this.hasInsertedRules=!1,e&&i.default.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,o=t.meta,r=t.element;this.element=r||document.createElement("style"),this.element.type="text/css",this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),o&&this.element.setAttribute("data-meta",o);var a=m();a&&this.element.setAttribute("nonce",a)}return o(DomRenderer,[{key:"attach",value:function attach(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),function insertStyle(e,t){var n=t.insertionPoint,o=findPrevNode(t);if(o){var i=o.parentNode;i&&i.insertBefore(e,o)}else if(n&&"number"==typeof n.nodeType){var a=n,s=a.parentNode;s?s.insertBefore(e,a.nextSibling):(0,r.default)(!1,"[JSS] Insertion point is not in the DOM.")}else d().insertBefore(e,o)}(this.element,this.sheet.options))}},{key:"detach",value:function detach(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function deploy(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function insertRule(e,t){var n=this.element.sheet,o=n.cssRules,i=e.toString();if(t||(t=o.length),!i)return!1;try{n.insertRule(i,t)}catch(t){return(0,r.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,o[t]}},{key:"deleteRule",value:function deleteRule(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function indexOf(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function replaceRule(e,t){var n=this.indexOf(e),o=this.insertRule(t,n);return this.element.sheet.deleteRule(n),o}},{key:"getRules",value:function getRules(){return this.element.sheet.cssRules}}]),DomRenderer}();t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function(){function VirtualRenderer(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,VirtualRenderer)}return o(VirtualRenderer,[{key:"setStyle",value:function setStyle(){return!0}},{key:"getStyle",value:function getStyle(){return""}},{key:"setSelector",value:function setSelector(){return!0}},{key:"getKey",value:function getKey(){return""}},{key:"attach",value:function attach(){}},{key:"detach",value:function detach(){}},{key:"deploy",value:function deploy(){}},{key:"insertRule",value:function insertRule(){return!1}},{key:"deleteRule",value:function deleteRule(){return!0}},{key:"replaceRule",value:function replaceRule(){return!1}},{key:"getRules",value:function getRules(){}},{key:"indexOf",value:function indexOf(){return-1}}]),VirtualRenderer}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(34)),a=function(){function ConditionalRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ConditionalRule),this.type="conditional",this.isProcessed=!1,this.key=e,this.options=n,this.rules=new i.default(o({},n,{parent:this}));for(var r in t)this.rules.add(r,t[r]);this.rules.process()}return r(ConditionalRule,[{key:"getRule",value:function getRule(e){return this.rules.get(e)}},{key:"indexOf",value:function indexOf(e){return this.rules.indexOf(e)}},{key:"addRule",value:function addRule(e,t,n){var o=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(o),o}},{key:"toString",value:function toString(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""}}]),ConditionalRule}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(72)),i=function(){function FontFaceRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,FontFaceRule),this.type="font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return o(FontFaceRule,[{key:"toString",value:function toString(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,r.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,r.default)(this.key,this.style,e)}}]),FontFaceRule}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(34)),a=function(){function KeyframesRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,KeyframesRule),this.type="keyframes",this.isProcessed=!1,this.key=e,this.options=n,this.rules=new i.default(o({},n,{parent:this}));for(var r in t)this.rules.add(r,t[r],o({},this.options,{parent:this,selector:r}));this.rules.process()}return r(KeyframesRule,[{key:"toString",value:function toString(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),KeyframesRule}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function(){function SimpleRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SimpleRule),this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return o(SimpleRule,[{key:"toString",value:function toString(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),SimpleRule}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(72)),i=function(){function ViewportRule(e,t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ViewportRule),this.type="viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return o(ViewportRule,[{key:"toString",value:function toString(e){return(0,r.default)(this.key,this.style,e)}}]),ViewportRule}();t.default=i},function(e,t,n){"use strict";function cloneStyle(e){if(null==e)return e;var t=void 0===e?"undefined":o(e);if("string"===t||"number"===t||"function"===t)return e;if(i(e))return e.map(cloneStyle);if((0,r.default)(e))return e;var n={};for(var a in e){var s=e[a];"object"!==(void 0===s?"undefined":o(s))?n[a]=s:n[a]=cloneStyle(s)}return n}Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=cloneStyle;var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(177)),i=Array.isArray},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});e.CSS;t.default=function(e){return e}}).call(t,n(18))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="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};t.default=function(e){function extract(e){var t=null;for(var n in e){var r=e[n],i=void 0===r?"undefined":o(r);if("function"===i)t||(t={}),t[n]=r;else if("object"===i&&null!==r&&!Array.isArray(r)){var a=extract(r);a&&(t||(t={}),t[n]=a)}}return t}return extract(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=/([A-Z])/g,r=function replace(e){return"-"+e.toLowerCase()};t.default=function(e){return e.replace(o,r)}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n="2f1acc6c3a606b082e5eef5e54414ffb";null==e[n]&&(e[n]=0),t.default=e[n]++}).call(t,n(18))},function(e,t,n){var o=n(23)(n(13),"DataView");e.exports=o},function(e,t,n){function Hash(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}var o=n(532),r=n(533),i=n(534),a=n(535),s=n(536);Hash.prototype.clear=o,Hash.prototype.delete=r,Hash.prototype.get=i,Hash.prototype.has=a,Hash.prototype.set=s,e.exports=Hash},function(e,t,n){var o=n(23)(n(13),"Promise");e.exports=o},function(e,t,n){var o=n(23)(n(13),"Set");e.exports=o},function(e,t,n){function SetCache(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(74),r=n(557),i=n(558);SetCache.prototype.add=SetCache.prototype.push=r,SetCache.prototype.has=i,e.exports=SetCache},function(e,t,n){var o=n(23)(n(13),"WeakMap");e.exports=o},function(e,t){e.exports=function apply(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},function(e,t){e.exports=function arrayFilter(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}},function(e,t){e.exports=function arraySome(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},function(e,t,n){var o=n(48),r=n(35),i=Object.prototype.hasOwnProperty;e.exports=function assignValue(e,t,n){var a=e[t];i.call(e,t)&&r(a,n)&&(void 0!==n||t in e)||o(e,t,n)}},function(e,t,n){var o=n(16),r=Object.create,i=function(){function object(){}return function(e){if(!o(e))return{};if(r)return r(e);object.prototype=e;var t=new object;return object.prototype=void 0,t}}();e.exports=i},function(e,t,n){var o=n(183),r=n(521)(o);e.exports=r},function(e,t,n){var o=n(218),r=n(14);e.exports=function baseGetAllKeys(e,t,n){var i=t(e);return r(e)?i:o(i,n(e))}},function(e,t){e.exports=function baseHasIn(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var o=n(22),r=n(20),i="[object Arguments]";e.exports=function baseIsArguments(e){return r(e)&&o(e)==i}},function(e,t,n){var o=n(75),r=n(188),i=n(523),a=n(524),s=n(529),l=n(14),u=n(79),c=n(82),p=1,d="[object Arguments]",f="[object Array]",m="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function baseIsEqualDeep(e,t,n,b,g,A){var v=l(e),C=l(t),y=v?f:s(e),_=C?f:s(t),w=(y=y==d?m:y)==m,x=(_=_==d?m:_)==m,B=y==_;if(B&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(B&&!w)return A||(A=new o),v||c(e)?r(e,t,n,b,g,A):i(e,t,y,n,b,g,A);if(!(n&p)){var k=w&&h.call(e,"__wrapped__"),E=x&&h.call(t,"__wrapped__");if(k||E){var S=k?e.value():e,P=E?t.value():t;return A||(A=new o),g(S,P,n,b,A)}}return!!B&&(A||(A=new o),a(e,t,n,b,g,A))}},function(e,t,n){var o=n(75),r=n(185),i=1,a=2;e.exports=function baseIsMatch(e,t,n,s){var l=n.length,u=l,c=!s;if(null==e)return!u;for(e=Object(e);l--;){var p=n[l];if(c&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++l<u;){var d=(p=n[l])[0],f=e[d],m=p[1];if(c&&p[2]){if(void 0===f&&!(d in e))return!1}else{var h=new o;if(s)var b=s(f,m,d,e,t,h);if(!(void 0===b?r(m,f,i|a,s,h):b))return!1}}return!0}},function(e,t,n){var o=n(80),r=n(539),i=n(16),a=n(194),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,p=u.hasOwnProperty,d=RegExp("^"+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function baseIsNative(e){return!(!i(e)||r(e))&&(o(e)?d:s).test(a(e))}},function(e,t,n){var o=n(22),r=n(81),i=n(20),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function baseIsTypedArray(e){return i(e)&&r(e.length)&&!!a[o(e)]}},function(e,t,n){var o=n(78),r=n(552),i=Object.prototype.hasOwnProperty;e.exports=function baseKeys(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t,n){var o=n(16),r=n(78),i=n(553),a=Object.prototype.hasOwnProperty;e.exports=function baseKeysIn(e){if(!o(e))return i(e);var t=r(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t,n){var o=n(499),r=n(526),i=n(192);e.exports=function baseMatches(e){var t=r(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}},function(e,t,n){var o=n(185),r=n(569),i=n(570),a=n(77),s=n(191),l=n(192),u=n(51),c=1,p=2;e.exports=function baseMatchesProperty(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=r(n,e);return void 0===a&&a===t?i(n,e):o(t,a,c|p)}}},function(e,t,n){function baseMerge(e,t,n,u,c){e!==t&&i(t,function(i,l){if(s(i))c||(c=new o),a(e,t,l,n,baseMerge,u,c);else{var p=u?u(e[l],i,l+"",e,t,c):void 0;void 0===p&&(p=i),r(e,l,p)}},l)}var o=n(75),r=n(181),i=n(182),a=n(507),s=n(16),l=n(195);e.exports=baseMerge},function(e,t,n){var o=n(181),r=n(515),i=n(516),a=n(517),s=n(537),l=n(54),u=n(14),c=n(571),p=n(79),d=n(80),f=n(16),m=n(575),h=n(82),b=n(583);e.exports=function baseMergeDeep(e,t,n,g,A,v,C){var y=e[n],_=t[n],w=C.get(_);if(w)o(e,n,w);else{var x=v?v(y,_,n+"",e,t,C):void 0,B=void 0===x;if(B){var k=u(_),E=!k&&p(_),S=!k&&!E&&h(_);x=_,k||E||S?u(y)?x=y:c(y)?x=a(y):E?(B=!1,x=r(_,!0)):S?(B=!1,x=i(_,!0)):x=[]:m(_)||l(_)?(x=y,l(y)?x=b(y):(!f(y)||g&&d(y))&&(x=s(_))):B=!1}B&&(C.set(_,x),A(x,_,g,v,C),C.delete(_)),o(e,n,x)}}},function(e,t){e.exports=function baseProperty(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var o=n(184);e.exports=function basePropertyDeep(e){return function(t){return o(t,e)}}},function(e,t,n){var o=n(568),r=n(187),i=n(53),a=r?function(e,t){return r(e,"toString",{configurable:!0,enumerable:!1,value:o(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function baseTimes(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},function(e,t,n){function baseToString(e){if("string"==typeof e)return e;if(i(e))return r(e,baseToString)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}var o=n(36),r=n(96),i=n(14),a=n(37),s=1/0,l=o?o.prototype:void 0,u=l?l.toString:void 0;e.exports=baseToString},function(e,t){e.exports=function cacheHas(e,t){return e.has(t)}},function(e,t,n){var o=n(179);e.exports=function cloneArrayBuffer(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}},function(e,t,n){(function(e){var o=n(13),r="object"==typeof t&&t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r?o.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function cloneBuffer(e,t){if(t)return e.slice();var n=e.length,o=s?s(n):new e.constructor(n);return e.copy(o),o}}).call(t,n(94)(e))},function(e,t,n){var o=n(514);e.exports=function cloneTypedArray(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},function(e,t){e.exports=function copyArray(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}},function(e,t,n){var o=n(492),r=n(48);e.exports=function copyObject(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?r(n,u,c):o(n,u,c)}return n}},function(e,t,n){var o=n(13)["__core-js_shared__"];e.exports=o},function(e,t,n){var o=n(220),r=n(222);e.exports=function createAssigner(e){return o(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&r(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++o<i;){var l=n[o];l&&e(t,l,o,a)}return t})}},function(e,t,n){var o=n(24);e.exports=function createBaseEach(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var i=n.length,a=t?i:-1,s=Object(n);(t?a--:++a<i)&&!1!==r(s[a],a,s););return n}}},function(e,t){e.exports=function createBaseFor(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++r];if(!1===n(i[l],l,i))break}return t}}},function(e,t,n){var o=n(36),r=n(179),i=n(35),a=n(188),s=n(550),l=n(559),u=1,c=2,p="[object Boolean]",d="[object Date]",f="[object Error]",m="[object Map]",h="[object Number]",b="[object RegExp]",g="[object Set]",A="[object String]",v="[object Symbol]",C="[object ArrayBuffer]",y="[object DataView]",_=o?o.prototype:void 0,w=_?_.valueOf:void 0;e.exports=function equalByTag(e,t,n,o,_,x,B){switch(n){case y:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case C:return!(e.byteLength!=t.byteLength||!x(new r(e),new r(t)));case p:case d:case h:return i(+e,+t);case f:return e.name==t.name&&e.message==t.message;case b:case A:return e==t+"";case m:var k=s;case g:var E=o&u;if(k||(k=l),e.size!=t.size&&!E)return!1;var S=B.get(e);if(S)return S==t;o|=c,B.set(e,t);var P=a(k(e),k(t),o,_,x,B);return B.delete(e),P;case v:if(w)return w.call(e)==w.call(t)}return!1}},function(e,t,n){var o=n(525),r=1,i=Object.prototype.hasOwnProperty;e.exports=function equalObjects(e,t,n,a,s,l){var u=n&r,c=o(e),p=c.length;if(p!=o(t).length&&!u)return!1;for(var d=p;d--;){var f=c[d];if(!(u?f in t:i.call(t,f)))return!1}var m=l.get(e);if(m&&l.get(t))return m==t;var h=!0;l.set(e,t),l.set(t,e);for(var b=u;++d<p;){var g=e[f=c[d]],A=t[f];if(a)var v=u?a(A,g,f,t,e,l):a(g,A,f,e,t,l);if(!(void 0===v?g===A||s(g,A,n,a,l):v)){h=!1;break}b||(b="constructor"==f)}if(h&&!b){var C=e.constructor,y=t.constructor;C!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof C&&C instanceof C&&"function"==typeof y&&y instanceof y)&&(h=!1)}return l.delete(e),l.delete(t),h}},function(e,t,n){var o=n(495),r=n(528),i=n(55);e.exports=function getAllKeys(e){return o(e,i,r)}},function(e,t,n){var o=n(191),r=n(55);e.exports=function getMatchData(e){for(var t=r(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,o(a)]}return t}},function(e,t,n){var o=n(36),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=o?o.toStringTag:void 0;e.exports=function getRawTag(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var o=!0}catch(e){}var r=a.call(e);return o&&(t?e[s]=n:delete e[s]),r}},function(e,t,n){var o=n(490),r=n(581),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),o(a(e),function(t){return i.call(e,t)}))}:r;e.exports=s},function(e,t,n){var o=n(483),r=n(73),i=n(485),a=n(486),s=n(488),l=n(22),u=n(194),c=u(o),p=u(r),d=u(i),f=u(a),m=u(s),h=l;(o&&"[object DataView]"!=h(new o(new ArrayBuffer(1)))||r&&"[object Map]"!=h(new r)||i&&"[object Promise]"!=h(i.resolve())||a&&"[object Set]"!=h(new a)||s&&"[object WeakMap]"!=h(new s))&&(h=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?u(n):"";if(o)switch(o){case c:return"[object DataView]";case p:return"[object Map]";case d:return"[object Promise]";case f:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t){e.exports=function getValue(e,t){return null==e?void 0:e[t]}},function(e,t,n){var o=n(186),r=n(54),i=n(14),a=n(76),s=n(81),l=n(51);e.exports=function hasPath(e,t,n){for(var u=-1,c=(t=o(t,e)).length,p=!1;++u<c;){var d=l(t[u]);if(!(p=null!=e&&n(e,d)))break;e=e[d]}return p||++u!=c?p:!!(c=null==e?0:e.length)&&s(c)&&a(d,c)&&(i(e)||r(e))}},function(e,t,n){var o=n(50);e.exports=function hashClear(){this.__data__=o?o(null):{},this.size=0}},function(e,t){e.exports=function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var o=n(50),r="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function hashGet(e){var t=this.__data__;if(o){var n=t[e];return n===r?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t,n){var o=n(50),r=Object.prototype.hasOwnProperty;e.exports=function hashHas(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},function(e,t,n){var o=n(50),r="__lodash_hash_undefined__";e.exports=function hashSet(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?r:t,this}},function(e,t,n){var o=n(493),r=n(190),i=n(78);e.exports=function initCloneObject(e){return"function"!=typeof e.constructor||i(e)?{}:o(r(e))}},function(e,t){e.exports=function isKeyable(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var o=n(519),r=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function isMasked(e){return!!r&&r in e}},function(e,t){e.exports=function listCacheClear(){this.__data__=[],this.size=0}},function(e,t,n){var o=n(47),r=Array.prototype.splice;e.exports=function listCacheDelete(e){var t=this.__data__,n=o(t,e);return!(n<0||(n==t.length-1?t.pop():r.call(t,n,1),--this.size,0))}},function(e,t,n){var o=n(47);e.exports=function listCacheGet(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var o=n(47);e.exports=function listCacheHas(e){return o(this.__data__,e)>-1}},function(e,t,n){var o=n(47);e.exports=function listCacheSet(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var o=n(484),r=n(46),i=n(73);e.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},function(e,t,n){var o=n(49);e.exports=function mapCacheDelete(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t,n){var o=n(49);e.exports=function mapCacheGet(e){return o(this,e).get(e)}},function(e,t,n){var o=n(49);e.exports=function mapCacheHas(e){return o(this,e).has(e)}},function(e,t,n){var o=n(49);e.exports=function mapCacheSet(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t){e.exports=function mapToArray(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}},function(e,t,n){var o=n(83),r=500;e.exports=function memoizeCapped(e){var t=o(e,function(e){return n.size===r&&n.clear(),e}),n=t.cache;return t}},function(e,t,n){var o=n(193)(Object.keys,Object);e.exports=o},function(e,t){e.exports=function nativeKeysIn(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var o=n(189),r="object"==typeof t&&t&&!t.nodeType&&t,i=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===r&&o.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(t,n(94)(e))},function(e,t){var n=Object.prototype.toString;e.exports=function objectToString(e){return n.call(e)}},function(e,t,n){var o=n(489),r=Math.max;e.exports=function overRest(e,t,n){return t=r(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=r(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),o(e,this,u)}}},function(e,t){var n="__lodash_hash_undefined__";e.exports=function setCacheAdd(e){return this.__data__.set(e,n),this}},function(e,t){e.exports=function setCacheHas(e){return this.__data__.has(e)}},function(e,t){e.exports=function setToArray(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var o=n(510),r=n(561)(o);e.exports=r},function(e,t){var n=800,o=16,r=Date.now;e.exports=function shortOut(e){var t=0,i=0;return function(){var a=r(),s=o-(a-i);if(i=a,s>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var o=n(46);e.exports=function stackClear(){this.__data__=new o,this.size=0}},function(e,t){e.exports=function stackDelete(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function stackGet(e){return this.__data__.get(e)}},function(e,t){e.exports=function stackHas(e){return this.__data__.has(e)}},function(e,t,n){var o=n(46),r=n(73),i=n(74),a=200;e.exports=function stackSet(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var o=/^\./,r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(551)(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(r,function(e,n,o,r){t.push(o?r.replace(i,"$1"):n||e)}),t});e.exports=a},function(e,t){e.exports=function constant(e){return function(){return e}}},function(e,t,n){var o=n(184);e.exports=function get(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}},function(e,t,n){var o=n(496),r=n(531);e.exports=function hasIn(e,t){return null!=e&&r(e,t,o)}},function(e,t,n){var o=n(24),r=n(20);e.exports=function isArrayLikeObject(e){return r(e)&&o(e)}},function(e,t,n){var o=n(13).isFinite;e.exports=function isFinite(e){return"number"==typeof e&&o(e)}},function(e,t,n){var o=n(574);e.exports=function isNaN(e){return o(e)&&e!=+e}},function(e,t,n){var o=n(22),r=n(20),i="[object Number]";e.exports=function isNumber(e){return"number"==typeof e||r(e)&&o(e)==i}},function(e,t,n){var o=n(22),r=n(190),i=n(20),a="[object Object]",s=Function.prototype,l=Object.prototype,u=s.toString,c=l.hasOwnProperty,p=u.call(Object);e.exports=function isPlainObject(e){if(!i(e)||o(e)!=a)return!1;var t=r(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==p}},function(e,t,n){var o=n(48),r=n(183),i=n(95);e.exports=function mapValues(e,t){var n={};return t=i(t,3),r(e,function(e,r,i){o(n,r,t(e,r,i))}),n}},function(e,t,n){var o=n(506),r=n(520)(function(e,t,n){o(e,t,n)});e.exports=r},function(e,t){e.exports=function noop(){}},function(e,t,n){var o=n(13);e.exports=function(){return o.Date.now()}},function(e,t,n){var o=n(508),r=n(509),i=n(77),a=n(51);e.exports=function property(e){return i(e)?o(a(e)):r(e)}},function(e,t){e.exports=function stubArray(){return[]}},function(e,t){e.exports=function stubFalse(){return!1}},function(e,t,n){var o=n(518),r=n(195);e.exports=function toPlainObject(e){return o(e,r(e))}},function(e,t,n){var o=n(512);e.exports=function toString(e){return null==e?"":o(e)}},function(e,t,n){"use strict";function parseTableAlignCapture(e){return H.test(e)?"right":Y.test(e)?"center":X.test(e)?"left":null}function parseTable(e,t,n){n.inline=!0;var o=function parseTableHeader(e,t,n){return e[1].replace(G,"").trim().split(K).map(function(e){return t(e,n)})}(e,t,n),r=function parseTableAlign(e){return e[2].replace(G,"").trim().split(K).map(parseTableAlignCapture)}(e),i=function parseTableCells(e,t,n){return e[3].replace(G,"").trim().split("\n").map(function(e){return e.replace(G,"").split(K).map(function(e){return t(e.trim(),n)})})}(e,t,n);return n.inline=!1,{align:r,cells:i,header:o,type:"table"}}function getTableStyle(e,t){return null==e.align[t]?{}:{textAlign:e.align[t]}}function attributeValueToJSXPropValue(e,t){return"style"===e?t.split(/;\s?/).reduce(function(e,t){var n=t.slice(0,t.indexOf(":"));return e[n.replace(/(-[a-z])/g,function toUpper(e){return e[1].toUpperCase()})]=t.slice(n.length+1).trim(),e},{}):(function isInterpolation(e){return R.test(e)}(t)&&(t=t.slice(1,t.length-1)),"true"===t||"false"!==t&&t)}function parserFor(e){function nestedParse(n,o){for(var r=[],i="";n;)for(var a=0;a<t.length;){var s=t[a],l=e[s],u=l.match(n,o,i);if(u){var c=u[0];n=n.substring(c.length);var p=l.parse(u,nestedParse,o);null==p.type&&(p.type=s),r.push(p),i=c;break}a++}return r}var t=Object.keys(e);return t.sort(function(t,n){var o=e[t].order,r=e[n].order;return o!==r?o-r:t<n?-1:1}),function outerParse(e,t){return nestedParse(function normalizeWhitespace(e){return e.replace(y,"\n").replace(x,"").replace(V," ")}(e),t)}}function inlineRegex(e){return function match(t,n){return n.inline?e.exec(t):null}}function blockRegex(e){return function match(t,n){return n.inline?null:e.exec(t)}}function anyScopeRegex(e){return function match(t){return e.exec(t)}}function sanitizeUrl(e){try{if(0===decodeURIComponent(e).replace(/[^A-Z0-9/:]/gi,"").toLowerCase().indexOf("javascript:"))return null}catch(e){return null}return e}function unescapeUrl(e){return e.replace(ne,"$1")}function parseInline(e,t,n){var o=n.inline||!1;n.inline=!0;var r=e(t,n);return n.inline=o,r}function parseBlock(e,t,n){return n.inline=!1,e(t+"\n\n",n)}function parseCaptureInline(e,t,n){return{content:parseInline(t,e[1],n)}}function captureNothing(){return{}}function renderNothing(){return null}function get(e,t,n){for(var o=e,r=t.split(".");r.length&&void 0!==(o=o[r[0]]);)r.shift();return o||n}function compiler(e,t){function h(e,n){for(var o=get(t.overrides,e+".props",{}),i=arguments.length,a=Array(i>2?i-2:0),l=2;l<i;l++)a[l-2]=arguments[l];return r.a.createElement.apply(r.a,[function getTag(e,t){var n=get(t,e);return"function"==typeof n?n:get(t,e+".component",e)}(e,t.overrides),s({},o,n,{className:function cx(){return Array.prototype.slice.call(arguments).filter(Boolean).join(" ")}(n&&n.className,o.className)||void 0})].concat(a))}function compile(e){var n=!1;t.forceInline?n=!0:t.forceBlock||(n=!1===/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/g.test(e));var o=x(y(n?e:e.replace(te,"")+"\n\n",{inline:n})),r=void 0;return o.length>1?r=h(n?"span":"div",null,o):1===o.length?"string"==typeof(r=o[0])&&(r=h("span",null,r)):r=h("span",null),r}function attrStringToMap(e){var t=e.match(u);return t?t.reduce(function(e,t,n){var o=t.indexOf("=");if(-1!==o){var i=function normalizeAttributeKey(e){return-1!==e.indexOf("-")&&null===e.match(D)&&(e=e.replace(M,function(e,t){return t.toUpperCase()})),e}(t.slice(0,o)),s=a()(t.slice(o+1)),u=l[i]||i,c=e[u]=attributeValueToJSXPropValue(i,s);(S.test(c)||O.test(c))&&(e[u]=r.a.cloneElement(compile(c.trim()),{key:n}))}else e[l[t]||t]=!0;return e},{}):void 0}(t=t||{}).overrides=t.overrides||{};var n=[],o={},i={blockQuote:{match:blockRegex(d),order:fe,parse:function parse(e,t,n){return{content:t(e[0].replace(f,""),n)}},react:function react(e,t,n){return h("blockquote",{key:n.key},t(e.content,n))}},breakLine:{match:anyScopeRegex(m),order:fe,parse:captureNothing,react:function react(e,t,n){return h("br",{key:n.key})}},breakThematic:{match:blockRegex(b),order:fe,parse:captureNothing,react:function react(e,t,n){return h("hr",{key:n.key})}},codeBlock:{match:blockRegex(A),order:de,parse:function parse(e){return{content:e[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),lang:void 0}},react:function react(e,t,n){return h("pre",{key:n.key},h("code",{className:e.lang?"lang-"+e.lang:""},e.content))}},codeFenced:{match:blockRegex(g),order:de,parse:function parse(e){return{content:e[3],lang:e[2]||void 0,type:"codeBlock"}}},codeInline:{match:inlineRegex(v),order:he,parse:function parse(e){return{content:e[2]}},react:function react(e,t,n){return h("code",{key:n.key},e.content)}},footnote:{match:blockRegex(_),order:de,parse:function parse(e){return n.push({footnote:e[2],identifier:e[1]}),{}},react:renderNothing},footnoteReference:{match:inlineRegex(w),order:fe,parse:function parse(e){return{content:e[1],target:"#"+e[1]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(e.target)},h("sup",{key:n.key},e.content))}},gfmTask:{match:inlineRegex(B),order:fe,parse:function parse(e){return{completed:"x"===e[1].toLowerCase()}},react:function react(e,t,n){return h("input",{checked:e.completed,key:n.key,readOnly:!0,type:"checkbox"})}},heading:{match:blockRegex(k),order:fe,parse:function parse(e,t,n){return{content:parseInline(t,e[2],n),level:e[1].length}},react:function react(e,t,n){return h("h"+e.level,{key:n.key},t(e.content,n))}},headingSetext:{match:blockRegex(E),order:de,parse:function parse(e,t,n){return{content:parseInline(t,e[1],n),level:"="===e[2]?1:2,type:"heading"}}},htmlBlock:{match:anyScopeRegex(S),order:fe,parse:function parse(e,t,n){var o=e[3].match(S)?parseBlock:parseInline;return{attrs:attrStringToMap(e[2]),content:o(t,e[3].trim(),n),tag:e[1]}},react:function react(e,t,n){return h(e.tag,s({key:n.key},e.attrs),t(e.content,n))}},htmlComment:{match:anyScopeRegex(P),order:fe,parse:function parse(){return{}},react:renderNothing},htmlSelfClosing:{match:anyScopeRegex(O),order:fe,parse:function parse(e){return{attrs:attrStringToMap(e[2]),tag:e[1]}},react:function react(e,t,n){return h(e.tag,s({},e.attrs,{key:n.key}))}},image:{match:inlineRegex(pe),order:fe,parse:function parse(e){return{alt:e[1],target:unescapeUrl(e[2]),title:e[3]}},react:function react(e,t,n){return h("img",{key:n.key,alt:e.alt||void 0,title:e.title||void 0,src:sanitizeUrl(e.target)})}},link:{match:inlineRegex(ce),order:he,parse:function parse(e,t,n){return{content:t(e[1],n),target:unescapeUrl(e[2]),title:e[3]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(e.target),title:e.title},t(e.content,n))}},linkAngleBraceStyleDetector:{match:inlineRegex(N),order:de,parse:function parse(e){return{content:[{content:e[1],type:"text"}],target:e[1],type:"link"}}},linkBareUrlDetector:{match:inlineRegex(T),order:de,parse:function parse(e){return{content:[{content:e[1],type:"text"}],target:e[1],title:void 0,type:"link"}}},linkMailtoDetector:{match:inlineRegex(j),order:de,parse:function parse(e){var t=e[1],n=e[1];return c.test(n)||(n="mailto:"+n),{content:[{content:t.replace("mailto:",""),type:"text"}],target:n,type:"link"}}},list:{match:function match(e,t,n){var o=q.test(n),r=t._list||!t.inline;return o&&r?se.exec(e):null},order:fe,parse:function parse(e,t,n){var o=e[2],r=o.length>1,i=r?+o:void 0,a=e[0].replace(p,"\n").match(ae),s=!1;return{items:a.map(function(e,o){var r=ie.exec(e)[0].length,i=new RegExp("^ {1,"+r+"}","gm"),l=e.replace(i,"").replace(ie,""),u=o===a.length-1,c=-1!==l.indexOf("\n\n")||u&&s;s=c;var p=n.inline,d=n._list;n._list=!0;var f=void 0;c?(n.inline=!1,f=l.replace(I,"\n\n")):(n.inline=!0,f=l.replace(I,""));var m=t(f,n);return n.inline=p,n._list=d,m}),ordered:r,start:i}},react:function react(e,t,n){return h(e.ordered?"ol":"ul",{key:n.key,start:e.start},e.items.map(function generateListItem(e,o){return h("li",{key:o},t(e,n))}))}},newlineCoalescer:{match:blockRegex(C),order:he,parse:captureNothing,react:function react(){return"\n"}},paragraph:{match:blockRegex(L),order:he,parse:parseCaptureInline,react:function react(e,t,n){return h("p",{key:n.key},t(e.content,n))}},ref:{match:inlineRegex(F),order:de,parse:function parse(e){return o[e[1]]={target:e[2],title:e[4]},{}},react:renderNothing},refImage:{match:inlineRegex(W),order:de,parse:function parse(e){return{alt:e[1]||void 0,ref:e[2]}},react:function react(e,t,n){return h("img",{key:n.key,alt:e.alt,src:sanitizeUrl(o[e.ref].target),title:o[e.ref].title})}},refLink:{match:inlineRegex(U),order:de,parse:function parse(e,t,n){return{content:t(e[1],n),ref:e[2]}},react:function react(e,t,n){return h("a",{key:n.key,href:sanitizeUrl(o[e.ref].target),title:o[e.ref].title},t(e.content,n))}},table:{match:blockRegex(z),order:fe,parse:parseTable,react:function react(e,t,n){return h("table",{key:n.key},h("thead",null,h("tr",null,e.header.map(function generateHeaderCell(o,r){return h("th",{key:r,style:getTableStyle(e,r),scope:"col"},t(o,n))}))),h("tbody",null,e.cells.map(function generateTableRow(o,r){return h("tr",{key:r},o.map(function generateTableCell(o,r){return h("td",{key:r,style:getTableStyle(e,r)},t(o,n))}))})))}},text:{match:inlineRegex(Q),order:be,parse:function parse(e){return{content:e[0]}},react:function react(e){return e.content}},textBolded:{match:inlineRegex($),order:me,parse:parseCaptureInline,react:function react(e,t,n){return h("strong",{key:n.key},t(e.content,n))}},textEmphasized:{match:inlineRegex(Z),order:he,parse:function parse(e,t,n){return{content:t(e[2]||e[1],n)}},react:function react(e,t,n){return h("em",{key:n.key},t(e.content,n))}},textEscaped:{match:inlineRegex(J),order:fe,parse:function parse(e){return{content:e[1],type:"text"}}},textStrikethroughed:{match:inlineRegex(ee),order:he,parse:parseCaptureInline,react:function react(e,t,n){return h("del",{key:n.key},t(e.content,n))}}},y=parserFor(i),x=function reactFor(e){return function nestedReactOutput(t,n){if(n=n||{},Array.isArray(t)){for(var o=n.key,r=[],i=!1,a=0;a<t.length;a++){n.key=a;var s=nestedReactOutput(t[a],n),l="string"==typeof s;l&&i?r[r.length-1]+=s:r.push(s),i=l}return n.key=o,r}return e(t,nestedReactOutput,n)}}(function ruleOutput(e){return function nestedRuleOutput(t,n,o){return e[t.type].react(t,n,o)}}(i)),R=compile(e);return n.length&&R.props.children.push(h("footer",null,n.map(function createFootnote(e){return h("div",{id:e.identifier,key:e.identifier},e.identifier,x(y(e.footnote,{inline:!0})))}))),R}t.a=compiler;var o=n(1),r=n.n(o),i=n(900),a=n.n(i),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},l={accesskey:"accessKey",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",autocomplete:"autoComplete",autofocus:"autoFocus",autoplay:"autoPlay",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classId",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",crossorigin:"crossOrigin",enctype:"encType",for:"htmlFor",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",inputmode:"inputMode",keyparams:"keyParams",keytype:"keyType",marginheight:"marginHeight",marginwidth:"marginWidth",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",novalidate:"noValidate",radiogroup:"radioGroup",readonly:"readOnly",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",usemap:"useMap"},u=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,c=/mailto:/i,p=/\n{2,}$/,d=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,f=/^ *> ?/gm,m=/^ {2,}\n/,b=/^(?:( *[-*_]) *){3,}(?:\n *)+\n/,g=/^\s*(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n *)+\n/,A=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n/,v=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,C=/^(?:\n *)*\n/,y=/\r\n?/g,_=/^\[\^(.*)\](:.*)\n/,w=/^\[\^(.*)\]/,x=/\f/g,B=/^\s*?\[(x|\s)\]/,k=/^ *(#{1,6}) *([^\n]+?) *#* *\n+/,E=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,S=/^ *<([^ >/]+) ?([^>]*)\/{0}>(?=[\s\S]*<\/\1>)((?:[\s\S]*?(?:<\1[^>]*>[\s\S]*?<\/\1>)*[\s\S]*?)*?)<\/\1>\n*/,P=/^<!--.*?-->/,D=/^(data|aria)-[a-z_][a-z\d_.-]*$/,O=/^ *<([\w:]+)\s*((?:<.*?>|[^>])*)>(?!<\/\1>)\s*/,R=/^\{.*\}$/,T=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,j=/^<([^ >]+@[^ >]+)>/,N=/^<([^ >]+:\/[^ >]+)>/,I=/ *\n+$/,q=/^$|\n *$/,M=/-([a-z])?/gi,z=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,L=/^((?:[^\n]|\n(?! *\n))+)(?:\n *)+\n/,F=/^\[([^\]]*)\]:\s*(\S+)\s*("([^"]*)")?/,W=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,U=/^\[([^\]]*)\] ?\[([^\]]*)\]/,V=/\t/g,G=/(^ *\||\| *$)/g,Y=/^ *:-+: *$/,X=/^ *:-+ *$/,H=/^ *-+: *$/,K=/ *\| */,$=/^[*_]{2}([\s\S]+?)[*_]{2}(?!\*|_)/,Z=/^[*_]{1}([\s\S]+?)[*_]{1}(?!\*|_)/,J=/^\\([^0-9A-Za-z\s])/,Q=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,ee=/^~~(?=\S)([\s\S]*?\S)~~/,te=/(^\n+|(\n|\s)+$)/g,ne=/\\([^0-9A-Z\s])/gi,oe="(?:[*+-]|\\d+\\.)",re="( *)("+oe+") +",ie=new RegExp("^"+re),ae=new RegExp(re+"[^\\n]*(?:\\n(?!\\1"+oe+" )[^\\n]*)*(\\n|$)","gm"),se=new RegExp("^( *)("+oe+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+oe+" )\\n*|\\s*\\n*$)"),le="(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*",ue="\\s*<?((?:[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*",ce=new RegExp("^\\[("+le+")\\]\\("+ue+"\\)"),pe=new RegExp("^!\\[("+le+")\\]\\("+ue+"\\)"),de=1,fe=2,me=3,he=4,be=5},function(e,t,n){(function(t){(function(){function Lexer(e){this.tokens=[],this.tokens.links={},this.options=e||marked.defaults,this.rules=t.normal,this.options.gfm&&(this.options.tables?this.rules=t.tables:this.rules=t.gfm)}function InlineLexer(e,t){if(this.options=t||marked.defaults,this.links=e,this.rules=n.normal,this.renderer=this.options.renderer||new Renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=n.breaks:this.rules=n.gfm:this.options.pedantic&&(this.rules=n.pedantic)}function Renderer(e){this.options=e||{}}function Parser(e){this.tokens=[],this.token=null,this.options=e||marked.defaults,this.options.renderer=this.options.renderer||new Renderer,this.renderer=this.options.renderer,this.renderer.options=this.options}function escape(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function replace(e,t){return e=e.source,t=t||"",function self(n,o){return n?(o=o.source||o,o=o.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(n,o),self):new RegExp(e,t)}}function noop(){}function merge(e){for(var t,n,o=1;o<arguments.length;o++){t=arguments[o];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function marked(e,t,n){if(n||"function"==typeof t){n||(n=t,t=null);var o,r,i=(t=merge({},marked.defaults,t||{})).highlight,a=0;try{o=Lexer.lex(e,t)}catch(e){return n(e)}r=o.length;var s=function(e){if(e)return t.highlight=i,n(e);var r;try{r=Parser.parse(o,t)}catch(t){e=t}return t.highlight=i,e?n(e):n(null,r)};if(!i||i.length<3)return s();if(delete t.highlight,!r)return s();for(;a<o.length;a++)!function(e){"code"!==e.type?--r||s():i(e.text,e.lang,function(t,n){return t?s(t):null==n||n===e.text?--r||s():(e.text=n,e.escaped=!0,void(--r||s()))})}(o[a])}else try{return t&&(t=merge({},marked.defaults,t)),Parser.parse(Lexer.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/chjj/marked.",(t||marked.defaults).silent)return"<p>An error occured:</p><pre>"+escape(e.message+"",!0)+"</pre>";throw e}}var t={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};t.bullet=/(?:[*+-]|\d+\.)/,t.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,t.item=replace(t.item,"gm")(/bull/g,t.bullet)(),t.list=replace(t.list)(/bull/g,t.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+t.def.source+")")(),t.blockquote=replace(t.blockquote)("def",t.def)(),t._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",t.html=replace(t.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,t._tag)(),t.paragraph=replace(t.paragraph)("hr",t.hr)("heading",t.heading)("lheading",t.lheading)("blockquote",t.blockquote)("tag","<"+t._tag)("def",t.def)(),t.normal=merge({},t),t.gfm=merge({},t.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),t.gfm.paragraph=replace(t.paragraph)("(?!","(?!"+t.gfm.fences.source.replace("\\1","\\2")+"|"+t.list.source.replace("\\1","\\3")+"|")(),t.tables=merge({},t.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),Lexer.rules=t,Lexer.lex=function(e,t){return new Lexer(t).lex(e)},Lexer.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},Lexer.prototype.token=function(e,n,o){var r,i,a,s,l,u,c,p,d;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:a.replace(/\n+$/,"")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(n&&(a=this.rules.nptable.exec(e))){for(e=e.substring(a[0].length),u={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/\n$/,"").split("\n")},p=0;p<u.align.length;p++)/^ *-+: *$/.test(u.align[p])?u.align[p]="right":/^ *:-+: *$/.test(u.align[p])?u.align[p]="center":/^ *:-+ *$/.test(u.align[p])?u.align[p]="left":u.align[p]=null;for(p=0;p<u.cells.length;p++)u.cells[p]=u.cells[p].split(/ *\| */);this.tokens.push(u)}else if(a=this.rules.lheading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:"="===a[2]?1:2,text:a[1]});else if(a=this.rules.hr.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"hr"});else if(a=this.rules.blockquote.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"blockquote_start"}),a=a[0].replace(/^ *> ?/gm,""),this.token(a,n,!0),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),s=a[2],this.tokens.push({type:"list_start",ordered:s.length>1}),r=!1,d=(a=a[0].match(this.rules.item)).length,p=0;p<d;p++)c=(u=a[p]).length,~(u=u.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(c-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+c+"}","gm"),"")),this.options.smartLists&&p!==d-1&&(s===(l=t.bullet.exec(a[p+1])[0])||s.length>1&&l.length>1||(e=a.slice(p+1).join("\n")+e,p=d-1)),i=r||/\n\n(?!\s*$)/.test(u),p!==d-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,o),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!o&&n&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(n&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),u={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},p=0;p<u.align.length;p++)/^ *-+: *$/.test(u.align[p])?u.align[p]="right":/^ *:-+: *$/.test(u.align[p])?u.align[p]="center":/^ *:-+ *$/.test(u.align[p])?u.align[p]="left":u.align[p]=null;for(p=0;p<u.cells.length;p++)u.cells[p]=u.cells[p].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(u)}else if(n&&(a=this.rules.paragraph.exec(e)))e=e.substring(a[0].length),this.tokens.push({type:"paragraph",text:"\n"===a[1].charAt(a[1].length-1)?a[1].slice(0,-1):a[1]});else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"text",text:a[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var n={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};n._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,n._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,n.link=replace(n.link)("inside",n._inside)("href",n._href)(),n.reflink=replace(n.reflink)("inside",n._inside)(),n.normal=merge({},n),n.pedantic=merge({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),n.gfm=merge({},n.normal,{escape:replace(n.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(n.text)("]|","~]|")("|","|https?://|")()}),n.breaks=merge({},n.gfm,{br:replace(n.br)("{2,}","*")(),text:replace(n.gfm.text)("{2,}","*")()}),InlineLexer.rules=n,InlineLexer.output=function(e,t,n){return new InlineLexer(t,n).output(e)},InlineLexer.prototype.output=function(e){for(var t,n,o,r,i="";e;)if(r=this.rules.escape.exec(e))e=e.substring(r[0].length),i+=r[1];else if(r=this.rules.autolink.exec(e))e=e.substring(r[0].length),"@"===r[2]?(n=":"===r[1].charAt(6)?this.mangle(r[1].substring(7)):this.mangle(r[1]),o=this.mangle("mailto:")+n):o=n=escape(r[1]),i+=this.renderer.link(o,null,n);else if(this.inLink||!(r=this.rules.url.exec(e))){if(r=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(r[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(r[0])&&(this.inLink=!1),e=e.substring(r[0].length),i+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):escape(r[0]):r[0];else if(r=this.rules.link.exec(e))e=e.substring(r[0].length),this.inLink=!0,i+=this.outputLink(r,{href:r[2],title:r[3]}),this.inLink=!1;else if((r=this.rules.reflink.exec(e))||(r=this.rules.nolink.exec(e))){if(e=e.substring(r[0].length),t=(r[2]||r[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){i+=r[0].charAt(0),e=r[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(r,t),this.inLink=!1}else if(r=this.rules.strong.exec(e))e=e.substring(r[0].length),i+=this.renderer.strong(this.output(r[2]||r[1]));else if(r=this.rules.em.exec(e))e=e.substring(r[0].length),i+=this.renderer.em(this.output(r[2]||r[1]));else if(r=this.rules.code.exec(e))e=e.substring(r[0].length),i+=this.renderer.codespan(escape(r[2],!0));else if(r=this.rules.br.exec(e))e=e.substring(r[0].length),i+=this.renderer.br();else if(r=this.rules.del.exec(e))e=e.substring(r[0].length),i+=this.renderer.del(this.output(r[1]));else if(r=this.rules.text.exec(e))e=e.substring(r[0].length),i+=this.renderer.text(escape(this.smartypants(r[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(r[0].length),o=n=escape(r[1]),i+=this.renderer.link(o,null,n);return i},InlineLexer.prototype.outputLink=function(e,t){var n=escape(t.href),o=t.title?escape(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,o,this.output(e[1])):this.renderer.image(n,o,escape(e[1]))},InlineLexer.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},InlineLexer.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",o=e.length,r=0;r<o;r++)t=e.charCodeAt(r),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},Renderer.prototype.code=function(e,t,n){if(this.options.highlight){var o=this.options.highlight(e,t);null!=o&&o!==e&&(n=!0,e=o)}return t?'<pre><code class="'+this.options.langPrefix+escape(t,!0)+'">'+(n?e:escape(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:escape(e,!0))+"\n</code></pre>"},Renderer.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},Renderer.prototype.html=function(e){return e},Renderer.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},Renderer.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},Renderer.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},Renderer.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},Renderer.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},Renderer.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},Renderer.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},Renderer.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},Renderer.prototype.strong=function(e){return"<strong>"+e+"</strong>"},Renderer.prototype.em=function(e){return"<em>"+e+"</em>"},Renderer.prototype.codespan=function(e){return"<code>"+e+"</code>"},Renderer.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},Renderer.prototype.del=function(e){return"<del>"+e+"</del>"},Renderer.prototype.link=function(e,t,n){if(this.options.sanitize){try{var o=decodeURIComponent(function unescape(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===o.indexOf("javascript:")||0===o.indexOf("vbscript:"))return""}var r='<a href="'+e+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},Renderer.prototype.image=function(e,t,n){var o='<img src="'+e+'" alt="'+n+'"';return t&&(o+=' title="'+t+'"'),o+=this.options.xhtml?"/>":">"},Renderer.prototype.text=function(e){return e},Parser.parse=function(e,t,n){return new Parser(t,n).parse(e)},Parser.prototype.parse=function(e){this.inline=new InlineLexer(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},Parser.prototype.next=function(){return this.token=this.tokens.pop()},Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},Parser.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},Parser.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,o,r="",i="";for(n="",e=0;e<this.token.header.length;e++)({header:!0,align:this.token.align[e]}),n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(r+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",o=0;o<t.length;o++)n+=this.renderer.tablecell(this.inline.output(t[o]),{header:!1,align:this.token.align[o]});i+=this.renderer.tablerow(n)}return this.renderer.table(r,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var a=this.token.ordered;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,a);case"list_item_start":for(i="";"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":var s=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(s);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},noop.exec=noop,marked.options=marked.setOptions=function(e){return merge(marked.defaults,e),marked},marked.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new Renderer,xhtml:!1},marked.Parser=Parser,marked.parser=Parser.parse,marked.Renderer=Renderer,marked.Lexer=Lexer,marked.lexer=Lexer.lex,marked.InlineLexer=InlineLexer,marked.inlineLexer=InlineLexer.output,marked.parse=marked,e.exports=marked}).call(function(){return this||("undefined"!=typeof window?window:t)}())}).call(t,n(18))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}function getStyleComputedProperty(e,t){if(1!==e.nodeType)return[];var n=getComputedStyle(e,null);return t?n[t]:n}function getParentNode(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function getScrollParent(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=getStyleComputedProperty(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll)/.test(n+r+o)?e:getScrollParent(getParentNode(e))}function getOffsetParent(e){var t=e&&e.offsetParent,n=t&&t.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(t.nodeName)&&"static"===getStyleComputedProperty(t,"position")?getOffsetParent(t):t:e?e.ownerDocument.documentElement:document.documentElement}function getRoot(e){return null!==e.parentNode?getRoot(e.parentNode):e}function findCommonOffsetParent(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||o.contains(r))return function isOffsetContainer(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||getOffsetParent(e.firstElementChild)===e)}(a)?a:getOffsetParent(a);var s=getRoot(e);return s.host?findCommonOffsetParent(s.host,t):findCommonOffsetParent(e,getRoot(t).host)}function getScroll(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[t]}return e[t]}function getBordersSize(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+o+"Width"],10)}function getSize(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],l()?n["offset"+e]+o["margin"+("Height"===e?"Top":"Left")]+o["margin"+("Height"===e?"Bottom":"Right")]:0)}function getWindowSizes(){var e=document.body,t=document.documentElement,n=l()&&getComputedStyle(t);return{height:getSize("Height",e,t,n),width:getSize("Width",e,t,n)}}function getClientRect(e){return d({},e,{right:e.left+e.width,bottom:e.top+e.height})}function getBoundingClientRect(e){var t={};if(l())try{t=e.getBoundingClientRect();var n=getScroll(e,"top"),o=getScroll(e,"left");t.top+=n,t.left+=o,t.bottom+=n,t.right+=o}catch(e){}else t=e.getBoundingClientRect();var r={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?getWindowSizes():{},a=i.width||e.clientWidth||r.right-r.left,s=i.height||e.clientHeight||r.bottom-r.top,u=e.offsetWidth-a,c=e.offsetHeight-s;if(u||c){var p=getStyleComputedProperty(e);u-=getBordersSize(p,"x"),c-=getBordersSize(p,"y"),r.width-=u,r.height-=c}return getClientRect(r)}function getOffsetRectRelativeToArbitraryNode(e,t){var n=l(),o="HTML"===t.nodeName,r=getBoundingClientRect(e),i=getBoundingClientRect(t),a=getScrollParent(e),s=getStyleComputedProperty(t),u=parseFloat(s.borderTopWidth,10),c=parseFloat(s.borderLeftWidth,10),p=getClientRect({top:r.top-i.top-u,left:r.left-i.left-c,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!n&&o){var d=parseFloat(s.marginTop,10),f=parseFloat(s.marginLeft,10);p.top-=u-d,p.bottom-=u-d,p.left-=c-f,p.right-=c-f,p.marginTop=d,p.marginLeft=f}return(n?t.contains(a):t===a&&"BODY"!==a.nodeName)&&(p=function includeScroll(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=getScroll(t,"top"),r=getScroll(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}(p,t)),p}function isFixed(e){var t=e.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===getStyleComputedProperty(e,"position")||isFixed(getParentNode(e)))}function getBoundaries(e,t,n,o){var r={top:0,left:0},i=findCommonOffsetParent(e,t);if("viewport"===o)r=function getViewportOffsetRectRelativeToArtbitraryNode(e){var t=e.ownerDocument.documentElement,n=getOffsetRectRelativeToArbitraryNode(e,t),o=Math.max(t.clientWidth,window.innerWidth||0),r=Math.max(t.clientHeight,window.innerHeight||0),i=getScroll(t),a=getScroll(t,"left");return getClientRect({top:i-n.top+n.marginTop,left:a-n.left+n.marginLeft,width:o,height:r})}(i);else{var a=void 0;"scrollParent"===o?"BODY"===(a=getScrollParent(getParentNode(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===o?e.ownerDocument.documentElement:o;var s=getOffsetRectRelativeToArbitraryNode(a,i);if("HTML"!==a.nodeName||isFixed(i))r=s;else{var l=getWindowSizes(),u=l.height,c=l.width;r.top+=s.top-s.marginTop,r.bottom=u+s.top,r.left+=s.left-s.marginLeft,r.right=c+s.left}}return r.left+=n,r.top+=n,r.right-=n,r.bottom-=n,r}function computeAutoPlacement(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=getBoundaries(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return d({key:e},s[e],{area:function getArea(e){return e.width*e.height}(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,p=e.split("-")[1];return c+(p?"-"+p:"")}function getReferenceOffsets(e,t,n){return getOffsetRectRelativeToArbitraryNode(n,findCommonOffsetParent(t,n))}function getOuterSizes(e){var t=getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom),o=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function getOppositePlacement(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function getPopperOffsets(e,t,n){n=n.split("-")[0];var o=getOuterSizes(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return r[a]=t[a]+t[l]/2-o[l]/2,r[s]=n===s?t[s]-o[u]:t[getOppositePlacement(s)],r}function find(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function runModifiers(e,t,n){return(void 0===n?e:e.slice(0,function findIndex(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var o=find(e,function(e){return e[t]===n});return e.indexOf(o)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&isFunction(n)&&(t.offsets.popper=getClientRect(t.offsets.popper),t.offsets.reference=getClientRect(t.offsets.reference),t=n(t,e))}),t}function isModifierEnabled(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function getSupportedPropertyName(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length-1;o++){var r=t[o],i=r?""+r+n:e;if(void 0!==document.body.style[i])return i}return null}function getWindow(e){var t=e.ownerDocument;return t?t.defaultView:window}function attachToScrollParents(e,t,n,o){var r="BODY"===e.nodeName,i=r?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),r||attachToScrollParents(getScrollParent(i.parentNode),t,n,o),o.push(i)}function enableEventListeners(){this.state.eventsEnabled||(this.state=function setupEventListeners(e,t,n,o){n.updateBound=o,getWindow(e).addEventListener("resize",n.updateBound,{passive:!0});var r=getScrollParent(e);return attachToScrollParents(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}(this.reference,this.options,this.state,this.scheduleUpdate))}function disableEventListeners(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function removeEventListeners(e,t){return getWindow(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}(this.reference,this.state))}function isNumeric(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function setStyles(e,t){Object.keys(t).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&isNumeric(t[n])&&(o="px"),e.style[n]=t[n]+o})}function isModifierRequired(e,t,n){var o=find(e,function(e){return e.name===t}),r=!!o&&e.some(function(e){return e.name===n&&e.enabled&&e.order<o.order});if(!r){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}function clockwise(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=m.indexOf(e),o=m.slice(n+1).concat(m.slice(0,n));return t?o.reverse():o}function parseOffset(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(find(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(u=u.map(function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function toValue(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=o}return getClientRect(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)})})).forEach(function(e,t){e.forEach(function(n,o){isNumeric(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))})}),r}for(var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],r=0,i=0;i<o.length;i+=1)if(n&&navigator.userAgent.indexOf(o[i])>=0){r=1;break}var a=n&&window.Promise?function microtaskDebounce(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function taskDebounce(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}},s=void 0,l=function(){return void 0===s&&(s=-1!==navigator.appVersion.indexOf("MSIE 10")),s},u=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),p=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},f=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],m=f.slice(3),h={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},b={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function onCreate(){},onUpdate:function onUpdate(){},modifiers:{shift:{order:100,enabled:!0,fn:function shift(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:p({},l,i[l]),end:p({},l,i[l]+i[u]-a[u])};e.offsets.popper=d({},a,c[o])}return e}},offset:{order:200,enabled:!0,fn:function offset(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],l=void 0;return l=isNumeric(+n)?[+n,0]:parseOffset(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function preventOverflow(e,t){var n=t.boundariesElement||getOffsetParent(e.instance.popper);e.instance.reference===n&&(n=getOffsetParent(n));var o=getBoundaries(e.instance.popper,e.instance.reference,t.padding,n);t.boundaries=o;var r=t.priority,i=e.offsets.popper,a={primary:function primary(e){var n=i[e];return i[e]<o[e]&&!t.escapeWithReference&&(n=Math.max(i[e],o[e])),p({},e,n)},secondary:function secondary(e){var n="right"===e?"left":"top",r=i[n];return i[e]>o[e]&&!t.escapeWithReference&&(r=Math.min(i[n],o[e]-("right"===e?i.width:i.height))),p({},n,r)}};return r.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";i=d({},i,a[t](e))}),e.offsets.popper=i,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function keepTogether(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<i(o[l])&&(e.offsets.popper[l]=i(o[l])-n[u]),n[l]>i(o[s])&&(e.offsets.popper[l]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function arrow(e,t){var n;if(!isModifierRequired(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(r),u=l?"height":"width",c=l?"Top":"Left",d=c.toLowerCase(),f=l?"left":"top",m=l?"bottom":"right",h=getOuterSizes(o)[u];s[m]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[m]-h)),s[d]+h>a[m]&&(e.offsets.popper[d]+=s[d]+h-a[m]),e.offsets.popper=getClientRect(e.offsets.popper);var b=s[d]+s[u]/2-h/2,g=getStyleComputedProperty(e.instance.popper),A=parseFloat(g["margin"+c],10),v=parseFloat(g["border"+c+"Width"],10),C=b-e.offsets.popper[d]-A-v;return C=Math.max(Math.min(a[u]-h,C),0),e.arrowElement=o,e.offsets.arrow=(n={},p(n,d,Math.round(C)),p(n,f,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function flip(e,t){if(isModifierEnabled(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=getBoundaries(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),o=e.placement.split("-")[0],r=getOppositePlacement(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case h.FLIP:a=[o,r];break;case h.CLOCKWISE:a=clockwise(o);break;case h.COUNTERCLOCKWISE:a=clockwise(o,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(o!==s||a.length===l+1)return e;o=e.placement.split("-")[0],r=getOppositePlacement(o);var u=e.offsets.popper,c=e.offsets.reference,p=Math.floor,f="left"===o&&p(u.right)>p(c.left)||"right"===o&&p(u.left)<p(c.right)||"top"===o&&p(u.bottom)>p(c.top)||"bottom"===o&&p(u.top)<p(c.bottom),m=p(u.left)<p(n.left),h=p(u.right)>p(n.right),b=p(u.top)<p(n.top),g=p(u.bottom)>p(n.bottom),A="left"===o&&m||"right"===o&&h||"top"===o&&b||"bottom"===o&&g,v=-1!==["top","bottom"].indexOf(o),C=!!t.flipVariations&&(v&&"start"===i&&m||v&&"end"===i&&h||!v&&"start"===i&&b||!v&&"end"===i&&g);(f||A||C)&&(e.flipped=!0,(f||A)&&(o=a[l+1]),C&&(i=function getOppositeVariation(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=d({},e.offsets.popper,getPopperOffsets(e.instance.popper,e.offsets.reference,e.placement)),e=runModifiers(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function inner(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=getOppositePlacement(t),e.offsets.popper=getClientRect(r),e}},hide:{order:800,enabled:!0,fn:function hide(e){if(!isModifierRequired(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=find(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function computeStyle(e,t){var n=t.x,o=t.y,r=e.offsets.popper,i=find(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=getBoundingClientRect(getOffsetParent(e.instance.popper)),l={position:r.position},u={left:Math.floor(r.left),top:Math.floor(r.top),bottom:Math.floor(r.bottom),right:Math.floor(r.right)},c="bottom"===n?"top":"bottom",p="right"===o?"left":"right",f=getSupportedPropertyName("transform"),m=void 0,h=void 0;if(h="bottom"===c?-s.height+u.bottom:u.top,m="right"===p?-s.width+u.right:u.left,a&&f)l[f]="translate3d("+m+"px, "+h+"px, 0)",l[c]=0,l[p]=0,l.willChange="transform";else{var b="bottom"===c?-1:1,g="right"===p?-1:1;l[c]=h*b,l[p]=m*g,l.willChange=c+", "+p}var A={"x-placement":e.placement};return e.attributes=d({},A,e.attributes),e.styles=d({},l,e.styles),e.arrowStyles=d({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function applyStyle(e){return setStyles(e.instance.popper,e.styles),function setAttributes(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&setStyles(e.arrowElement,e.arrowStyles),e},onLoad:function applyStyleOnLoad(e,t,n,o,r){var i=getReferenceOffsets(0,t,e),a=computeAutoPlacement(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),setStyles(t,{position:"absolute"}),n},gpuAcceleration:void 0}}},g=function(){function Popper(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=a(this.update.bind(this)),this.options=d({},Popper.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys(d({},Popper.Defaults.modifiers,o.modifiers)).forEach(function(e){n.options.modifiers[e]=d({},Popper.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return d({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&isFunction(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return c(Popper,[{key:"update",value:function update$$1(){return function update(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference),e.placement=computeAutoPlacement(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=getPopperOffsets(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position="absolute",e=runModifiers(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function destroy$$1(){return function destroy(){return this.state.isDestroyed=!0,isModifierEnabled(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[getSupportedPropertyName("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]),Popper}();g.Utils=("undefined"!=typeof window?window:e).PopperUtils,g.placements=f,g.Defaults=b,t.default=g}.call(t,n(18))},function(e,t){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(n===setTimeout)return setTimeout(e,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function cleanUpNextTick(){s&&i&&(s=!1,i.length?a=i.concat(a):l=-1,a.length&&drainQueue())}function drainQueue(){if(!s){var e=runTimeout(cleanUpNextTick);s=!0;for(var t=a.length;t;){for(i=a,a=[];++l<t;)i&&i[l].run();l=-1,t=a.length}i=null,s=!1,function runClearTimeout(e){if(o===clearTimeout)return clearTimeout(e);if((o===defaultClearTimeout||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{return o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function Item(e,t){this.fun=e,this.array=t}function noop(){}var n,o,r=e.exports={};!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){n=defaultSetTimout}try{o="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){o=defaultClearTimeout}}();var i,a=[],s=!1,l=-1;r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];a.push(new Item(e,t)),1!==a.length||s||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=noop,r.addListener=noop,r.once=noop,r.off=noop,r.removeListener=noop,r.removeAllListeners=noop,r.emit=noop,r.prependListener=noop,r.prependOnceListener=noop,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";var o=n(43),r=n(351),i=n(590);e.exports=function(){function shim(e,t,n,o,a,s){s!==i&&r(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim};return e.checkPropTypes=o,e.PropTypes=e,e}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n,o){"use strict";function E(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function pa(e,t){return(e&t)===t}function va(e,t){if(S.hasOwnProperty(e)||2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))return!1;if(null===t)return!0;switch(typeof t){case"boolean":return S.hasOwnProperty(e)?e=!0:(t=wa(e))?e=t.hasBooleanValue||t.hasStringBooleanValue||t.hasOverloadedBooleanValue:(e=e.toLowerCase().slice(0,5),e="data-"===e||"aria-"===e),e;case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function wa(e){return D.hasOwnProperty(e)?D[e]:null}function Ia(e){return e[1].toUpperCase()}function Ja(e,t,n,o,r,i,a,s,l){de._hasCaughtError=!1,de._caughtError=null;var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){de._caughtError=e,de._hasCaughtError=!0}}function Na(){if(fe)for(var e in he){var t=he[e],n=fe.indexOf(e);if(-1<n||E("96",e),!ge[n]){t.extractEvents||E("97",e),ge[n]=t,n=t.eventTypes;for(var o in n){var r=void 0,i=n[o],a=t,s=o;Ae.hasOwnProperty(s)&&E("99",s),Ae[s]=i;var l=i.phasedRegistrationNames;if(l){for(r in l)l.hasOwnProperty(r)&&Qa(l[r],a,s);r=!0}else i.registrationName?(Qa(i.registrationName,a,s),r=!0):r=!1;r||E("98",o,e)}}}}function Qa(e,t,n){_e[e]&&E("100",e),_e[e]=t,Se[e]=t.eventTypes[n].dependencies}function Ta(e){fe&&E("101"),fe=Array.prototype.slice.call(e),Na()}function Ua(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];he.hasOwnProperty(t)&&he[t]===o||(he[t]&&E("102",t),he[t]=o,n=!0)}n&&Na()}function Za(e,t,n,o){t=e.type||"unknown-event",e.currentTarget=Te(o),de.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function $a(e,t){return null==t&&E("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ab(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function cb(e,t){if(e){var n=e._dispatchListeners,o=e._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)Za(e,t,n[r],o[r]);else n&&Za(e,t,n,o);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function db(e){return cb(e,!0)}function gb(e){return cb(e,!1)}function ib(e,t){var n=e.stateNode;if(!n)return null;var o=Oe(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&E("231",t,typeof n),n)}function jb(e,t,n,o){for(var r,i=0;i<ge.length;i++){var a=ge[i];a&&(a=a.extractEvents(e,t,n,o))&&(r=$a(r,a))}return r}function kb(e){e&&(je=$a(je,e))}function lb(e){var t=je;je=null,t&&(ab(t,e?db:gb),je&&E("95"),de.rethrowCaughtError())}function pb(e){if(e[We])return e[We];for(var t=[];!e[We];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}var n=void 0,o=e[We];if(5===o.tag||6===o.tag)return o;for(;e&&(o=e[We]);e=t.pop())n=o;return n}function qb(e){if(5===e.tag||6===e.tag)return e.stateNode;E("33")}function rb(e){return e[Ue]||null}function tb(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function ub(e,t,n){for(var o=[];e;)o.push(e),e=tb(e);for(e=o.length;0<e--;)t(o[e],"captured",n);for(e=0;e<o.length;e++)t(o[e],"bubbled",n)}function vb(e,t,n){(t=ib(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=$a(n._dispatchListeners,t),n._dispatchInstances=$a(n._dispatchInstances,e))}function wb(e){e&&e.dispatchConfig.phasedRegistrationNames&&ub(e._targetInst,vb,e)}function xb(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;ub(t=t?tb(t):null,vb,e)}}function yb(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=ib(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=$a(n._dispatchListeners,t),n._dispatchInstances=$a(n._dispatchInstances,e))}function zb(e){e&&e.dispatchConfig.registrationName&&yb(e._targetInst,null,e)}function Ab(e){ab(e,wb)}function Bb(e,t,n,o){if(n&&o)e:{for(var r=n,i=o,a=0,s=r;s;s=tb(s))a++;s=0;for(var l=i;l;l=tb(l))s++;for(;0<a-s;)r=tb(r),a--;for(;0<s-a;)i=tb(i),s--;for(;a--;){if(r===i||r===i.alternate)break e;r=tb(r),i=tb(i)}r=null}else r=null;for(i=r,r=[];n&&n!==i&&(null===(a=n.alternate)||a!==i);)r.push(n),n=tb(n);for(n=[];o&&o!==i&&(null===(a=o.alternate)||a!==i);)n.push(o),o=tb(o);for(o=0;o<r.length;o++)yb(r[o],"bubbled",e);for(e=n.length;0<e--;)yb(n[e],"captured",t)}function Eb(){return!Qe&&i.canUseDOM&&(Qe="textContent"in document.documentElement?"textContent":"innerText"),Qe}function Fb(){if(et._fallbackText)return et._fallbackText;var e,t,n=et._startText,o=n.length,r=Gb(),i=r.length;for(e=0;e<o&&n[e]===r[e];e++);var a=o-e;for(t=1;t<=a&&n[o-t]===r[i-t];t++);return et._fallbackText=r.slice(e,1<t?1-t:void 0),et._fallbackText}function Gb(){return"value"in et._root?et._root.value:et._root[Eb()]}function T(e,t,n,o){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var r in e)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=o:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?s.thatReturnsTrue:s.thatReturnsFalse,this.isPropagationStopped=s.thatReturnsFalse,this}function Kb(e,t,n,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)}function Lb(e){e instanceof this||E("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Jb(e){e.eventPool=[],e.getPooled=Kb,e.release=Lb}function Mb(e,t,n,o){return T.call(this,e,t,n,o)}function Nb(e,t,n,o){return T.call(this,e,t,n,o)}function dc(e,t){switch(e){case"topKeyUp":return-1!==ot.indexOf(t.keyCode);case"topKeyDown":return 229!==t.keyCode;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function ec(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function mc(e){if(e=Re(e)){bt&&"function"==typeof bt.restoreControlledState||E("194");var t=Oe(e.stateNode);bt.restoreControlledState(e.stateNode,e.type,t)}}function oc(e){gt?At?At.push(e):At=[e]:gt=e}function pc(){if(gt){var e=gt,t=At;if(At=gt=null,mc(e),t)for(e=0;e<t.length;e++)mc(t[e])}}function rc(e,t){return e(t)}function tc(e,t){if(yt)return rc(e,t);yt=!0;try{return rc(e,t)}finally{yt=!1,pc()}}function vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!_t[e.type]:"textarea"===t}function wc(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function yc(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n=(t="on"+e)in document;return n||((n=document.createElement("div")).setAttribute(t,"return;"),n="function"==typeof n[t]),!n&&lt&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}function zc(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Bc(e){e._valueTracker||(e._valueTracker=function Ac(e){var t=zc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&"function"==typeof n.get&&"function"==typeof n.set)return Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:!0,get:function(){return n.get.call(this)},set:function(e){o=""+e,n.set.call(this,e)}}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}(e))}function Cc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=zc(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}function Ec(e,t,n){return e=T.getPooled(wt.change,e,t,n),e.type="change",oc(n),Ab(e),e}function Hc(e){kb(e),lb(!1)}function Ic(e){if(Cc(qb(e)))return e}function Jc(e,t){if("topChange"===e)return t}function Lc(){xt&&(xt.detachEvent("onpropertychange",Mc),Bt=xt=null)}function Mc(e){"value"===e.propertyName&&Ic(Bt)&&(e=Ec(Bt,e,wc(e)),tc(Hc,e))}function Nc(e,t,n){"topFocus"===e?(Lc(),xt=t,Bt=n,xt.attachEvent("onpropertychange",Mc)):"topBlur"===e&&Lc()}function Oc(e){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return Ic(Bt)}function Pc(e,t){if("topClick"===e)return Ic(t)}function $c(e,t){if("topInput"===e||"topChange"===e)return Ic(t)}function bd(e,t,n,o){return T.call(this,e,t,n,o)}function dd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=St[e])&&!!t[e]}function ed(){return dd}function fd(e,t,n,o){return T.call(this,e,t,n,o)}function jd(e){return"string"==typeof(e=e.type)?e:"function"==typeof e?e.displayName||e.name:null}function kd(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function ld(e){return!!(e=e._reactInternalFiber)&&2===kd(e)}function md(e){2!==kd(e)&&E("188")}function nd(e){var t=e.alternate;if(!t)return 3===(t=kd(e))&&E("188"),1===t?null:e;for(var n=e,o=t;;){var r=n.return,i=r?r.alternate:null;if(!r||!i)break;if(r.child===i.child){for(var a=r.child;a;){if(a===n)return md(r),e;if(a===o)return md(r),t;a=a.sibling}E("188")}if(n.return!==o.return)n=r,o=i;else{a=!1;for(var s=r.child;s;){if(s===n){a=!0,n=r,o=i;break}if(s===o){a=!0,o=r,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,o=r;break}if(s===o){a=!0,o=i,n=r;break}s=s.sibling}a||E("189")}}n.alternate!==o&&E("190")}return 3!==n.tag&&E("188"),n.stateNode.current===n?e:t}function rd(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=pb(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],jt(e.topLevelType,t,e.nativeEvent,wc(e.nativeEvent))}function ud(e){Tt=!!e}function U(e,t,n){return n?l.listen(n,t,vd.bind(null,e)):null}function wd(e,t,n){return n?l.capture(n,t,vd.bind(null,e)):null}function vd(e,t){if(Tt){var n=wc(t);if(null===(n=pb(n))||"number"!=typeof n.tag||2===kd(n)||(n=null),Rt.length){var o=Rt.pop();o.topLevelType=e,o.nativeEvent=t,o.targetInst=n,e=o}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{tc(rd,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Rt.length&&Rt.push(e)}}}function yd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function Cd(e){if(qt[e])return qt[e];if(!It[e])return e;var t,n=It[e];for(t in n)if(n.hasOwnProperty(t)&&t in Mt)return qt[e]=n[t];return""}function Hd(e){return Object.prototype.hasOwnProperty.call(e,Wt)||(e[Wt]=Ft++,Lt[e[Wt]]={}),Lt[e[Wt]]}function Id(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Jd(e,t){var n=Id(e);e=0;for(var o;n;){if(3===n.nodeType){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Id(n)}}function Kd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}function Rd(e,t){if(Ht||null==Gt||Gt!==p())return null;var n=Gt;return"selectionStart"in n&&Kd(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Xt&&C(Xt,n)?null:(Xt=n,e=T.getPooled(Vt.select,Yt,e,t),e.type="select",e.target=Gt,Ab(e),e)}function Td(e,t,n,o){return T.call(this,e,t,n,o)}function Ud(e,t,n,o){return T.call(this,e,t,n,o)}function Vd(e,t,n,o){return T.call(this,e,t,n,o)}function Wd(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,32<=e||13===e?e:0}function Zd(e,t,n,o){return T.call(this,e,t,n,o)}function $d(e,t,n,o){return T.call(this,e,t,n,o)}function ae(e,t,n,o){return T.call(this,e,t,n,o)}function be(e,t,n,o){return T.call(this,e,t,n,o)}function ce(e,t,n,o){return T.call(this,e,t,n,o)}function V(e){0>nn||(e.current=tn[nn],tn[nn]=null,nn--)}function W(e,t){tn[++nn]=e.current,e.current=t}function ke(e){return le(e)?an:on.current}function me(e,t){var n=e.type.contextTypes;if(!n)return B;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function le(e){return 2===e.tag&&null!=e.type.childContextTypes}function ne(e){le(e)&&(V(rn),V(on))}function oe(e,t,n){null!=on.cursor&&E("168"),W(on,t),W(rn,n)}function pe(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var r in n)r in o||E("108",jd(e)||"Unknown",r);return a({},t,n)}function qe(e){if(!le(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||B,an=on.current,W(on,t),W(rn,rn.current),!0}function re(e,t){var n=e.stateNode;if(n||E("169"),t){var o=pe(e,an);n.__reactInternalMemoizedMergedChildContext=o,V(rn),V(on),W(on,o)}else V(rn);W(rn,t)}function Y(e,t,n){this.tag=e,this.key=t,this.stateNode=this.type=null,this.sibling=this.child=this.return=null,this.index=0,this.memoizedState=this.updateQueue=this.memoizedProps=this.pendingProps=this.ref=null,this.internalContextTag=n,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function se(e,t,n){var o=e.alternate;return null===o?(o=new Y(e.tag,e.key,e.internalContextTag),o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.effectTag=0,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null),o.expirationTime=n,o.pendingProps=t,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function te(e,t,n){var o=void 0,r=e.type,i=e.key;return"function"==typeof r?(o=r.prototype&&r.prototype.isReactComponent?new Y(2,i,t):new Y(0,i,t),o.type=r,o.pendingProps=e.props):"string"==typeof r?(o=new Y(5,i,t),o.type=r,o.pendingProps=e.props):"object"==typeof r&&null!==r&&"number"==typeof r.tag?(o=r,o.pendingProps=e.props):E("130",null==r?r:typeof r,""),o.expirationTime=n,o}function ue(e,t,n,o){return t=new Y(10,o,t),t.pendingProps=e,t.expirationTime=n,t}function ve(e,t,n){return t=new Y(6,null,t),t.pendingProps=e,t.expirationTime=n,t}function we(e,t,n){return t=new Y(7,e.key,t),t.type=e.handler,t.pendingProps=e,t.expirationTime=n,t}function xe(e,t,n){return e=new Y(9,null,t),e.expirationTime=n,e}function ye(e,t,n){return t=new Y(4,e.key,t),t.pendingProps=e.children||[],t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Be(e){return function(t){try{return e(t)}catch(e){}}}function De(e){"function"==typeof sn&&sn(e)}function Ee(e){"function"==typeof ln&&ln(e)}function Fe(e){return{baseState:e,expirationTime:0,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1}}function Ge(e,t){null===e.last?e.first=e.last=t:(e.last.next=t,e.last=t),(0===e.expirationTime||e.expirationTime>t.expirationTime)&&(e.expirationTime=t.expirationTime)}function He(e,t){var n=e.alternate,o=e.updateQueue;null===o&&(o=e.updateQueue=Fe(null)),null!==n?null===(e=n.updateQueue)&&(e=n.updateQueue=Fe(null)):e=null,null===(e=e!==o?e:null)?Ge(o,t):null===o.last||null===e.last?(Ge(o,t),Ge(e,t)):(Ge(o,t),e.last=t)}function Ie(e,t,n,o){return"function"==typeof(e=e.partialState)?e.call(t,n,o):e}function Je(e,t,n,o,r,i){null!==e&&e.updateQueue===n&&(n=t.updateQueue={baseState:n.baseState,expirationTime:n.expirationTime,first:n.first,last:n.last,isInitialized:n.isInitialized,callbackList:null,hasForceUpdate:!1}),n.expirationTime=0,n.isInitialized?e=n.baseState:(e=n.baseState=t.memoizedState,n.isInitialized=!0);for(var s=!0,l=n.first,u=!1;null!==l;){var c=l.expirationTime;if(c>i){var p=n.expirationTime;(0===p||p>c)&&(n.expirationTime=c),u||(u=!0,n.baseState=e)}else u||(n.first=l.next,null===n.first&&(n.last=null)),l.isReplace?(e=Ie(l,o,e,r),s=!0):(c=Ie(l,o,e,r))&&(e=s?a({},e,c):a(e,c),s=!1),l.isForced&&(n.hasForceUpdate=!0),null!==l.callback&&(null===(c=n.callbackList)&&(c=n.callbackList=[]),c.push(l));l=l.next}return null!==n.callbackList?t.effectTag|=32:null!==n.first||n.hasForceUpdate||(t.updateQueue=null),u||(n.baseState=e),e}function Ke(e,t){var n=e.callbackList;if(null!==n)for(e.callbackList=null,e=0;e<n.length;e++){var o=n[e],r=o.callback;o.callback=null,"function"!=typeof r&&E("191",r),r.call(t)}}function Xe(e){return null===e||void 0===e?null:"function"==typeof(e=hn&&e[hn]||e["@@iterator"])?e:null}function Ze(e,t){var n=t.ref;if(null!==n&&"function"!=typeof n){if(t._owner){var o=void 0;(t=t._owner)&&(2!==t.tag&&E("110"),o=t.stateNode),o||E("147",n);var r=""+n;return null!==e&&null!==e.ref&&e.ref._stringRef===r?e.ref:(e=function(e){var t=o.refs===B?o.refs={}:o.refs;null===e?delete t[r]:t[r]=e},e._stringRef=r,e)}"string"!=typeof n&&E("148"),t._owner||E("149",n)}return n}function $e(e,t){"textarea"!==e.type&&E("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function af(t){function b(e,n){if(t){var o=e.lastEffect;null!==o?(o.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function c(e,n){if(!t)return null;for(;null!==n;)b(e,n),n=n.sibling;return null}function d(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function e(e,t,n){return e=se(e,t,n),e.index=0,e.sibling=null,e}function f(e,n,o){return e.index=o,t?null!==(o=e.alternate)?(o=o.index)<n?(e.effectTag=2,n):o:(e.effectTag=2,n):n}function g(e){return t&&null===e.alternate&&(e.effectTag=2),e}function h(t,n,o,r){return null===n||6!==n.tag?(n=ve(o,t.internalContextTag,r),n.return=t,n):(n=e(n,o,r),n.return=t,n)}function k(t,n,o,r){return null!==n&&n.type===o.type?(r=e(n,o.props,r),r.ref=Ze(n,o),r.return=t,r):(r=te(o,t.internalContextTag,r),r.ref=Ze(n,o),r.return=t,r)}function q(t,n,o,r){return null===n||7!==n.tag?(n=we(o,t.internalContextTag,r),n.return=t,n):(n=e(n,o,r),n.return=t,n)}function v(t,n,o,r){return null===n||9!==n.tag?(n=xe(o,t.internalContextTag,r),n.type=o.value,n.return=t,n):(n=e(n,null,r),n.type=o.value,n.return=t,n)}function y(t,n,o,r){return null===n||4!==n.tag||n.stateNode.containerInfo!==o.containerInfo||n.stateNode.implementation!==o.implementation?(n=ye(o,t.internalContextTag,r),n.return=t,n):(n=e(n,o.children||[],r),n.return=t,n)}function u(t,n,o,r,i){return null===n||10!==n.tag?(n=ue(o,t.internalContextTag,r,i),n.return=t,n):(n=e(n,o,r),n.return=t,n)}function z(e,t,n){if("string"==typeof t||"number"==typeof t)return t=ve(""+t,e.internalContextTag,n),t.return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case cn:return t.type===mn?(t=ue(t.props.children,e.internalContextTag,n,t.key),t.return=e,t):(n=te(t,e.internalContextTag,n),n.ref=Ze(null,t),n.return=e,n);case pn:return t=we(t,e.internalContextTag,n),t.return=e,t;case dn:return n=xe(t,e.internalContextTag,n),n.type=t.value,n.return=e,n;case fn:return t=ye(t,e.internalContextTag,n),t.return=e,t}if(bn(t)||Xe(t))return t=ue(t,e.internalContextTag,n,null),t.return=e,t;$e(e,t)}return null}function G(e,t,n,o){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:h(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case cn:return n.key===r?n.type===mn?u(e,t,n.props.children,o,r):k(e,t,n,o):null;case pn:return n.key===r?q(e,t,n,o):null;case dn:return null===r?v(e,t,n,o):null;case fn:return n.key===r?y(e,t,n,o):null}if(bn(n)||Xe(n))return null!==r?null:u(e,t,n,o,null);$e(e,n)}return null}function I(e,t,n,o,r){if("string"==typeof o||"number"==typeof o)return e=e.get(n)||null,h(t,e,""+o,r);if("object"==typeof o&&null!==o){switch(o.$$typeof){case cn:return e=e.get(null===o.key?n:o.key)||null,o.type===mn?u(t,e,o.props.children,r,o.key):k(t,e,o,r);case pn:return e=e.get(null===o.key?n:o.key)||null,q(t,e,o,r);case dn:return e=e.get(n)||null,v(t,e,o,r);case fn:return e=e.get(null===o.key?n:o.key)||null,y(t,e,o,r)}if(bn(o)||Xe(o))return e=e.get(n)||null,u(t,e,o,r,null);$e(t,o)}return null}return function(n,o,r,i){"object"==typeof r&&null!==r&&r.type===mn&&null===r.key&&(r=r.props.children);var a="object"==typeof r&&null!==r;if(a)switch(r.$$typeof){case cn:e:{var s=r.key;for(a=o;null!==a;){if(a.key===s){if(10===a.tag?r.type===mn:a.type===r.type){c(n,a.sibling),(o=e(a,r.type===mn?r.props.children:r.props,i)).ref=Ze(a,r),o.return=n,n=o;break e}c(n,a);break}b(n,a),a=a.sibling}r.type===mn?(o=ue(r.props.children,n.internalContextTag,i,r.key),o.return=n,n=o):(i=te(r,n.internalContextTag,i),i.ref=Ze(o,r),i.return=n,n=i)}return g(n);case pn:e:{for(a=r.key;null!==o;){if(o.key===a){if(7===o.tag){c(n,o.sibling),(o=e(o,r,i)).return=n,n=o;break e}c(n,o);break}b(n,o),o=o.sibling}(o=we(r,n.internalContextTag,i)).return=n,n=o}return g(n);case dn:e:{if(null!==o){if(9===o.tag){c(n,o.sibling),(o=e(o,null,i)).type=r.value,o.return=n,n=o;break e}c(n,o)}(o=xe(r,n.internalContextTag,i)).type=r.value,o.return=n,n=o}return g(n);case fn:e:{for(a=r.key;null!==o;){if(o.key===a){if(4===o.tag&&o.stateNode.containerInfo===r.containerInfo&&o.stateNode.implementation===r.implementation){c(n,o.sibling),(o=e(o,r.children||[],i)).return=n,n=o;break e}c(n,o);break}b(n,o),o=o.sibling}(o=ye(r,n.internalContextTag,i)).return=n,n=o}return g(n)}if("string"==typeof r||"number"==typeof r)return r=""+r,null!==o&&6===o.tag?(c(n,o.sibling),o=e(o,r,i)):(c(n,o),o=ve(r,n.internalContextTag,i)),o.return=n,n=o,g(n);if(bn(r))return function L(e,n,o,r){for(var i=null,a=null,s=n,l=n=0,u=null;null!==s&&l<o.length;l++){s.index>l?(u=s,s=null):u=s.sibling;var p=G(e,s,o[l],r);if(null===p){null===s&&(s=u);break}t&&s&&null===p.alternate&&b(e,s),n=f(p,n,l),null===a?i=p:a.sibling=p,a=p,s=u}if(l===o.length)return c(e,s),i;if(null===s){for(;l<o.length;l++)(s=z(e,o[l],r))&&(n=f(s,n,l),null===a?i=s:a.sibling=s,a=s);return i}for(s=d(e,s);l<o.length;l++)(u=I(s,e,l,o[l],r))&&(t&&null!==u.alternate&&s.delete(null===u.key?l:u.key),n=f(u,n,l),null===a?i=u:a.sibling=u,a=u);return t&&s.forEach(function(t){return b(e,t)}),i}(n,o,r,i);if(Xe(r))return function N(e,n,o,r){var i=Xe(o);"function"!=typeof i&&E("150"),null==(o=i.call(o))&&E("151");for(var a=i=null,s=n,l=n=0,u=null,p=o.next();null!==s&&!p.done;l++,p=o.next()){s.index>l?(u=s,s=null):u=s.sibling;var m=G(e,s,p.value,r);if(null===m){s||(s=u);break}t&&s&&null===m.alternate&&b(e,s),n=f(m,n,l),null===a?i=m:a.sibling=m,a=m,s=u}if(p.done)return c(e,s),i;if(null===s){for(;!p.done;l++,p=o.next())null!==(p=z(e,p.value,r))&&(n=f(p,n,l),null===a?i=p:a.sibling=p,a=p);return i}for(s=d(e,s);!p.done;l++,p=o.next())null!==(p=I(s,e,l,p.value,r))&&(t&&null!==p.alternate&&s.delete(null===p.key?l:p.key),n=f(p,n,l),null===a?i=p:a.sibling=p,a=p);return t&&s.forEach(function(t){return b(e,t)}),i}(n,o,r,i);if(a&&$e(n,r),void 0===r)switch(n.tag){case 2:case 1:E("152",(i=n.type).displayName||i.name||"Component")}return c(n,o)}}function df(e,t,n,o,r){function f(e,t,n){var o=t.expirationTime;t.child=null===e?An(t,null,n,o):gn(t,e.child,n,o)}function g(e,t){var n=t.ref;null===n||e&&e.ref===n||(t.effectTag|=128)}function h(e,t,n,o){if(g(e,t),!n)return o&&re(t,!1),q(e,t);n=t.stateNode,Ot.current=t;var r=n.render();return t.effectTag|=1,f(e,t,r),t.memoizedState=n.state,t.memoizedProps=n.props,o&&re(t,!0),t.child}function k(e){var t=e.stateNode;t.pendingContext?oe(0,t.pendingContext,t.pendingContext!==t.context):t.context&&oe(0,t.context,!1),u(e,t.containerInfo)}function q(e,t){if(null!==e&&t.child!==e.child&&E("153"),null!==t.child){var n=se(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=se(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function v(e,t){switch(t.tag){case 3:k(t);break;case 2:qe(t);break;case 4:u(t,t.stateNode.containerInfo)}return null}var i=e.shouldSetTextContent,a=e.useSyncScheduling,s=e.shouldDeprioritizeSubtree,l=t.pushHostContext,u=t.pushHostContainer,c=n.enterHydrationState,p=n.resetHydrationState,d=n.tryToClaimNextHydratableInstance,m=(e=function Le(t,n,o,r){function e(e,t){t.updater=i,e.stateNode=t,t._reactInternalFiber=e}var i={isMounted:ld,enqueueSetState:function(e,o,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);He(e,{expirationTime:i,partialState:o,callback:r,isReplace:!1,isForced:!1,nextCallback:null,next:null}),t(e,i)},enqueueReplaceState:function(e,o,r){e=e._reactInternalFiber,r=void 0===r?null:r;var i=n(e);He(e,{expirationTime:i,partialState:o,callback:r,isReplace:!0,isForced:!1,nextCallback:null,next:null}),t(e,i)},enqueueForceUpdate:function(e,o){e=e._reactInternalFiber,o=void 0===o?null:o;var r=n(e);He(e,{expirationTime:r,partialState:null,callback:o,isReplace:!1,isForced:!0,nextCallback:null,next:null}),t(e,r)}};return{adoptClassInstance:e,constructClassInstance:function(t,n){var o=t.type,r=ke(t),i=2===t.tag&&null!=t.type.contextTypes,a=i?me(t,r):B;return n=new o(n,a),e(t,n),i&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=r,t.__reactInternalMemoizedMaskedChildContext=a),n},mountClassInstance:function(e,t){var n=e.alternate,o=e.stateNode,r=o.state||null,a=e.pendingProps;a||E("158");var s=ke(e);o.props=a,o.state=e.memoizedState=r,o.refs=B,o.context=me(e,s),null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent&&(e.internalContextTag|=1),"function"==typeof o.componentWillMount&&(r=o.state,o.componentWillMount(),r!==o.state&&i.enqueueReplaceState(o,o.state,null),null!==(r=e.updateQueue)&&(o.state=Je(n,e,r,o,a,t))),"function"==typeof o.componentDidMount&&(e.effectTag|=4)},updateClassInstance:function(e,t,n){var a=t.stateNode;a.props=t.memoizedProps,a.state=t.memoizedState;var s=t.memoizedProps,l=t.pendingProps;l||null==(l=s)&&E("159");var u=a.context,c=ke(t);if(c=me(t,c),"function"!=typeof a.componentWillReceiveProps||s===l&&u===c||(u=a.state,a.componentWillReceiveProps(l,c),a.state!==u&&i.enqueueReplaceState(a,a.state,null)),u=t.memoizedState,n=null!==t.updateQueue?Je(e,t,t.updateQueue,a,l,n):u,!(s!==l||u!==n||rn.current||null!==t.updateQueue&&t.updateQueue.hasForceUpdate))return"function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),!1;var p=l;if(null===s||null!==t.updateQueue&&t.updateQueue.hasForceUpdate)p=!0;else{var d=t.stateNode,f=t.type;p="function"==typeof d.shouldComponentUpdate?d.shouldComponentUpdate(p,n,c):!(f.prototype&&f.prototype.isPureReactComponent&&C(s,p)&&C(u,n))}return p?("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(l,n,c),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),o(t,l),r(t,n)),a.props=l,a.state=n,a.context=c,p}}}(o,r,function(e,t){e.memoizedProps=t},function(e,t){e.memoizedState=t})).adoptClassInstance,b=e.constructClassInstance,A=e.mountClassInstance,y=e.updateClassInstance;return{beginWork:function(e,t,n){if(0===t.expirationTime||t.expirationTime>n)return v(0,t);switch(t.tag){case 0:null!==e&&E("155");var o=t.type,r=t.pendingProps,C=ke(t);return C=me(t,C),o=o(r,C),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render?(t.tag=2,r=qe(t),m(t,o),A(t,n),t=h(e,t,!0,r)):(t.tag=1,f(e,t,o),t.memoizedProps=r,t=t.child),t;case 1:e:{if(r=t.type,n=t.pendingProps,o=t.memoizedProps,rn.current)null===n&&(n=o);else if(null===n||o===n){t=q(e,t);break e}r=r(n,o=me(t,o=ke(t))),t.effectTag|=1,f(e,t,r),t.memoizedProps=n,t=t.child}return t;case 2:return r=qe(t),o=void 0,null===e?t.stateNode?E("153"):(b(t,t.pendingProps),A(t,n),o=!0):o=y(e,t,n),h(e,t,o,r);case 3:return k(t),null!==(r=t.updateQueue)?(o=t.memoizedState,r=Je(e,t,r,null,null,n),o===r?(p(),t=q(e,t)):(o=r.element,C=t.stateNode,(null===e||null===e.child)&&C.hydrate&&c(t)?(t.effectTag|=2,t.child=An(t,null,o,n)):(p(),f(e,t,o)),t.memoizedState=r,t=t.child)):(p(),t=q(e,t)),t;case 5:l(t),null===e&&d(t),r=t.type;var _=t.memoizedProps;return null===(o=t.pendingProps)&&null===(o=_)&&E("154"),C=null!==e?e.memoizedProps:null,rn.current||null!==o&&_!==o?(_=o.children,i(r,o)?_=null:C&&i(r,C)&&(t.effectTag|=16),g(e,t),2147483647!==n&&!a&&s(r,o)?(t.expirationTime=2147483647,t=null):(f(e,t,_),t.memoizedProps=o,t=t.child)):t=q(e,t),t;case 6:return null===e&&d(t),null===(e=t.pendingProps)&&(e=t.memoizedProps),t.memoizedProps=e,null;case 8:t.tag=7;case 7:return r=t.pendingProps,rn.current?null===r&&null===(r=e&&e.memoizedProps)&&E("154"):null!==r&&t.memoizedProps!==r||(r=t.memoizedProps),o=r.children,t.stateNode=null===e?An(t,t.stateNode,o,n):gn(t,t.stateNode,o,n),t.memoizedProps=r,t.stateNode;case 9:return null;case 4:e:{if(u(t,t.stateNode.containerInfo),r=t.pendingProps,rn.current)null===r&&null==(r=e&&e.memoizedProps)&&E("154");else if(null===r||t.memoizedProps===r){t=q(e,t);break e}null===e?t.child=gn(t,null,r,n):f(e,t,r),t.memoizedProps=r,t=t.child}return t;case 10:e:{if(n=t.pendingProps,rn.current)null===n&&(n=t.memoizedProps);else if(null===n||t.memoizedProps===n){t=q(e,t);break e}f(e,t,n),t.memoizedProps=n,t=t.child}return t;default:E("156")}},beginFailedWork:function(e,t,n){switch(t.tag){case 2:qe(t);break;case 3:k(t);break;default:E("157")}return t.effectTag|=64,null===e?t.child=null:t.child!==e.child&&(t.child=e.child),0===t.expirationTime||t.expirationTime>n?v(0,t):(t.firstEffect=null,t.lastEffect=null,t.child=null===e?An(t,null,null,n):gn(t,e.child,null,n),2===t.tag&&(e=t.stateNode,t.memoizedProps=e.props,t.memoizedState=e.state),t.child)}}}function kf(t){function b(e){ce=Z=!0;var t=e.stateNode;if(t.current===e&&E("177"),t.isReadyForCommit=!1,Ot.current=null,1<e.effectTag)if(null!==e.lastEffect){e.lastEffect.nextEffect=e;var n=e.firstEffect}else n=e;else n=e.firstEffect;for(U(),oe=n;null!==oe;){var o=!1,r=void 0;try{for(;null!==oe;){var i=oe.effectTag;if(16&i&&_(oe),128&i){var a=oe.alternate;null!==a&&R(a)}switch(-242&i){case 2:x(oe),oe.effectTag&=-3;break;case 6:x(oe),oe.effectTag&=-3,P(oe.alternate,oe);break;case 4:P(oe.alternate,oe);break;case 8:pe=!0,S(oe),pe=!1}oe=oe.nextEffect}}catch(e){o=!0,r=e}o&&(null===oe&&E("178"),h(oe,r),null!==oe&&(oe=oe.nextEffect))}for(X(),t.current=e,oe=n;null!==oe;){n=!1,o=void 0;try{for(;null!==oe;){var s=oe.effectTag;if(36&s&&D(oe.alternate,oe),128&s&&O(oe),64&s)switch(r=oe,i=void 0,null!==re&&(i=re.get(r),re.delete(r),null==i&&null!==r.alternate&&(r=r.alternate,i=re.get(r),re.delete(r))),null==i&&E("184"),r.tag){case 2:r.stateNode.componentDidCatch(i.error,{componentStack:i.componentStack});break;case 3:null===le&&(le=i.error);break;default:E("157")}var l=oe.nextEffect;oe.nextEffect=null,oe=l}}catch(e){n=!0,o=e}n&&(null===oe&&E("178"),h(oe,o),null!==oe&&(oe=oe.nextEffect))}return Z=ce=!1,De(e.stateNode),ae&&(ae.forEach(G),ae=null),null!==le&&(e=le,le=null,Ob(e)),0===(t=t.current.expirationTime)&&(ie=re=null),t}function c(e){for(;;){var t=C(e.alternate,e,te),n=e.return,o=e.sibling,r=e;if(2147483647===te||2147483647!==r.expirationTime){if(2!==r.tag&&3!==r.tag)var i=0;else i=r.updateQueue,i=null===i?0:i.expirationTime;for(var a=r.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;r.expirationTime=i}if(null!==t)return t;if(null!==n&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==o)return o;if(null===n){e.stateNode.isReadyForCommit=!0;break}e=n}return null}function d(e){var t=l(e.alternate,e,te);return null===t&&(t=c(e)),Ot.current=null,t}function e(e){var t=p(e.alternate,e,te);return null===t&&(t=c(e)),Ot.current=null,t}function f(t){if(null!==re){if(!(0===te||te>t))if(te<=K)for(;null!==Q;)Q=k(Q)?e(Q):d(Q);else for(;null!==Q&&!A();)Q=k(Q)?e(Q):d(Q)}else if(!(0===te||te>t))if(te<=K)for(;null!==Q;)Q=d(Q);else for(;null!==Q&&!A();)Q=d(Q)}function g(t,n){if(Z&&E("243"),Z=!0,t.isReadyForCommit=!1,t!==ee||n!==te||null===Q){for(;-1<nn;)tn[nn]=null,nn--;an=B,on.current=B,rn.current=!1,a(),te=n,Q=se((ee=t).current,null,n)}var o=!1,s=null;try{f(n)}catch(e){o=!0,s=e}for(;o;){if(ue){le=s;break}var l=Q;if(null===l)ue=!0;else{var u=h(l,s);if(null===u&&E("183"),!ue){try{for(s=n,u=o=u;null!==l;){switch(l.tag){case 2:ne(l);break;case 5:i(l);break;case 3:r(l);break;case 4:r(l)}if(l===u||l.alternate===u)break;l=l.return}Q=e(o),f(s)}catch(e){o=!0,s=e;continue}break}}}return n=le,ue=Z=!1,le=null,null!==n&&Ob(n),t.isReadyForCommit?t.current.alternate:null}function h(e,t){var n=Ot.current=null,o=!1,r=!1,i=null;if(3===e.tag)n=e,q(e)&&(ue=!0);else for(var a=e.return;null!==a&&null===n;){if(2===a.tag?"function"==typeof a.stateNode.componentDidCatch&&(o=!0,i=jd(a),n=a,r=!0):3===a.tag&&(n=a),q(a)){if(pe||null!==ae&&(ae.has(a)||null!==a.alternate&&ae.has(a.alternate)))return null;n=null,r=!1}a=a.return}if(null!==n){null===ie&&(ie=new Set),ie.add(n);var s="";a=e;do{e:switch(a.tag){case 0:case 1:case 2:case 5:var l=a._debugOwner,u=a._debugSource,c=jd(a),p=null;l&&(p=jd(l)),l=u,c="\n in "+(c||"Unknown")+(l?" (at "+l.fileName.replace(/^.*[\\\/]/,"")+":"+l.lineNumber+")":p?" (created by "+p+")":"");break e;default:c=""}s+=c,a=a.return}while(a);a=s,e=jd(e),null===re&&(re=new Map),t={componentName:e,componentStack:a,error:t,errorBoundary:o?n.stateNode:null,errorBoundaryFound:o,errorBoundaryName:i,willRetry:r},re.set(n,t);try{var d=t.error;d&&d.suppressReactErrorLogging||console.error(d)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}return ce?(null===ae&&(ae=new Set),ae.add(n)):G(n),n}return null===le&&(le=t),null}function k(e){return null!==re&&(re.has(e)||null!==e.alternate&&re.has(e.alternate))}function q(e){return null!==ie&&(ie.has(e)||null!==e.alternate&&ie.has(e.alternate))}function v(){return 20*(1+((I()+100)/20|0))}function y(e){return 0!==$?$:Z?ce?1:te:!F||1&e.internalContextTag?v():1}function u(e,t){return z(e,t)}function z(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!Z&&n===ee&&t<te&&(Q=ee=null,te=0);var o=n,r=t;if(ke>Be&&E("185"),null===o.nextScheduledRoot)o.remainingExpirationTime=r,null===fe?(de=fe=o,o.nextScheduledRoot=o):(fe=fe.nextScheduledRoot=o,fe.nextScheduledRoot=de);else{var i=o.remainingExpirationTime;(0===i||r<i)&&(o.remainingExpirationTime=r)}be||(we?xe&&(ge=o,Ae=1,m(ge,Ae)):1===r?w(1,null):L(r)),!Z&&n===ee&&t<te&&(Q=ee=null,te=0)}e=e.return}}function G(e){z(e,1)}function I(){return K=2+((T()-H)/10|0)}function L(e){if(0!==me){if(e>me)return;M(he)}var t=T()-H;me=e,he=j(J,{timeout:10*(e-2)-t})}function N(){var e=0,t=null;if(null!==fe)for(var n=fe,o=de;null!==o;){var r=o.remainingExpirationTime;if(0===r){if((null===n||null===fe)&&E("244"),o===o.nextScheduledRoot){de=fe=o.nextScheduledRoot=null;break}if(o===de)de=r=o.nextScheduledRoot,fe.nextScheduledRoot=r,o.nextScheduledRoot=null;else{if(o===fe){(fe=n).nextScheduledRoot=de,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||r<e)&&(e=r,t=o),o===fe)break;n=o,o=o.nextScheduledRoot}}null!==(n=ge)&&n===t?ke++:ke=0,ge=t,Ae=e}function J(e){w(0,e)}function w(e,t){for(_e=t,N();null!==ge&&0!==Ae&&(0===e||Ae<=e)&&!ve;)m(ge,Ae),N();if(null!==_e&&(me=0,he=-1),0!==Ae&&L(Ae),_e=null,ve=!1,ke=0,Ce)throw e=ye,ye=null,Ce=!1,e}function m(e,t){if(be&&E("245"),be=!0,t<=I()){var n=e.finishedWork;null!==n?(e.finishedWork=null,e.remainingExpirationTime=b(n)):(e.finishedWork=null,null!==(n=g(e,t))&&(e.remainingExpirationTime=b(n)))}else null!==(n=e.finishedWork)?(e.finishedWork=null,e.remainingExpirationTime=b(n)):(e.finishedWork=null,null!==(n=g(e,t))&&(A()?e.finishedWork=n:e.remainingExpirationTime=b(n)));be=!1}function A(){return!(null===_e||_e.timeRemaining()>Se)&&(ve=!0)}function Ob(e){null===ge&&E("246"),ge.remainingExpirationTime=0,Ce||(Ce=!0,ye=e)}var n=function hf(e){function b(e){return e===vn&&E("174"),e}var t=e.getChildHostContext,n=e.getRootHostContext,o={current:vn},r={current:vn},i={current:vn};return{getHostContext:function(){return b(o.current)},getRootHostContainer:function(){return b(i.current)},popHostContainer:function(e){V(o),V(r),V(i)},popHostContext:function(e){r.current===e&&(V(o),V(r))},pushHostContainer:function(e,t){W(i,t),t=n(t),W(r,e),W(o,t)},pushHostContext:function(e){var n=b(i.current),a=b(o.current);a!==(n=t(a,e.type,n))&&(W(r,e),W(o,n))},resetHostContainer:function(){o.current=vn,i.current=vn}}}(t),o=function jf(e){function b(e,t){var n=new Y(5,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function c(e,t){switch(e.tag){case 5:return null!==(t=n(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=o(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function d(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;l=e}var t=e.shouldSetTextContent;if(!(e=e.hydration))return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){E("175")},prepareToHydrateHostTextInstance:function(){E("176")},popHydrationState:function(){return!1}};var n=e.canHydrateInstance,o=e.canHydrateTextInstance,r=e.getNextHydratableSibling,i=e.getFirstHydratableChild,a=e.hydrateInstance,s=e.hydrateTextInstance,l=null,u=null,p=!1;return{enterHydrationState:function(e){return u=i(e.stateNode.containerInfo),l=e,p=!0},resetHydrationState:function(){u=l=null,p=!1},tryToClaimNextHydratableInstance:function(e){if(p){var t=u;if(t){if(!c(e,t)){if(!(t=r(t))||!c(e,t))return e.effectTag|=2,p=!1,void(l=e);b(l,u)}l=e,u=i(t)}else e.effectTag|=2,p=!1,l=e}},prepareToHydrateHostInstance:function(e,t,n){return t=a(e.stateNode,e.type,e.memoizedProps,t,n,e),e.updateQueue=t,null!==t},prepareToHydrateHostTextInstance:function(e){return s(e.stateNode,e.memoizedProps,e)},popHydrationState:function(e){if(e!==l)return!1;if(!p)return d(e),p=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!t(n,e.memoizedProps))for(n=u;n;)b(e,n),n=r(n);return d(e),u=l?r(e.stateNode):null,!0}}}(t),r=n.popHostContainer,i=n.popHostContext,a=n.resetHostContainer,s=df(t,n,o,u,y),l=s.beginWork,p=s.beginFailedWork,C=function ef(e,t,n){function d(e){e.effectTag|=4}var o=e.createInstance,r=e.createTextInstance,i=e.appendInitialChild,a=e.finalizeInitialChildren,s=e.prepareUpdate,l=e.persistence,u=t.getRootHostContainer,c=t.popHostContext,p=t.getHostContext,f=t.popHostContainer,m=n.prepareToHydrateHostInstance,h=n.prepareToHydrateHostTextInstance,b=n.popHydrationState,g=void 0,A=void 0,v=void 0;return e.mutation?(g=function(){},A=function(e,t,n){(t.updateQueue=n)&&d(t)},v=function(e,t,n,o){n!==o&&d(t)}):E(l?"235":"236"),{completeWork:function(e,t,n){var l=t.pendingProps;switch(null===l?l=t.memoizedProps:2147483647===t.expirationTime&&2147483647!==n||(t.pendingProps=null),t.tag){case 1:return null;case 2:return ne(t),null;case 3:return f(t),V(rn),V(on),(l=t.stateNode).pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==e&&null!==e.child||(b(t),t.effectTag&=-3),g(t),null;case 5:c(t),n=u();var C=t.type;if(null!==e&&null!=t.stateNode){var y=e.memoizedProps,_=t.stateNode,w=p();_=s(_,C,y,l,n,w),A(e,t,_,C,y,l,n),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!l)return null===t.stateNode&&E("166"),null;if(e=p(),b(t))m(t,n,e)&&d(t);else{e=o(C,l,n,e,t);e:for(y=t.child;null!==y;){if(5===y.tag||6===y.tag)i(e,y.stateNode);else if(4!==y.tag&&null!==y.child){y.child.return=y,y=y.child;continue}if(y===t)break;for(;null===y.sibling;){if(null===y.return||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}a(e,C,l,n)&&d(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)v(e,t,e.memoizedProps,l);else{if("string"!=typeof l)return null===t.stateNode&&E("166"),null;e=u(),n=p(),b(t)?h(t)&&d(t):t.stateNode=r(l,e,n,t)}return null;case 7:(l=t.memoizedProps)||E("165"),t.tag=8,C=[];e:for((y=t.stateNode)&&(y.return=t);null!==y;){if(5===y.tag||6===y.tag||4===y.tag)E("247");else if(9===y.tag)C.push(y.type);else if(null!==y.child){y.child.return=y,y=y.child;continue}for(;null===y.sibling;){if(null===y.return||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}return y=l.handler,l=y(l.props,C),t.child=gn(t,null!==e?e.child:null,l,n),t.child;case 8:return t.tag=7,null;case 9:case 10:return null;case 4:return f(t),g(t),null;case 0:E("167");default:E("156")}}}}(t,n,o).completeWork,_=(n=function ff(t,n){function c(e){var t=e.ref;if(null!==t)try{t(null)}catch(t){n(e,t)}}function d(t){switch(Ee(t),t.tag){case 2:c(t);var o=t.stateNode;if("function"==typeof o.componentWillUnmount)try{o.props=t.memoizedProps,o.state=t.memoizedState,o.componentWillUnmount()}catch(e){n(t,e)}break;case 5:c(t);break;case 7:e(t.stateNode);break;case 4:r&&g(t)}}function e(e){for(var t=e;;)if(d(t),null===t.child||r&&4===t.tag){if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function f(e){return 5===e.tag||3===e.tag||4===e.tag}function g(t){for(var n=t,o=!1,r=void 0,i=void 0;;){if(!o){o=n.return;e:for(;;){switch(null===o&&E("160"),o.tag){case 5:r=o.stateNode,i=!1;break e;case 3:case 4:r=o.stateNode.containerInfo,i=!0;break e}o=o.return}o=!0}if(5===n.tag||6===n.tag)e(n),i?A(r,n.stateNode):b(r,n.stateNode);else if(4===n.tag?r=n.stateNode.containerInfo:d(n),null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;4===(n=n.return).tag&&(o=!1)}n.sibling.return=n.return,n=n.sibling}}var o=t.getPublicInstance,r=t.mutation;t=t.persistence,r||E(t?"235":"236");var i=r.commitMount,a=r.commitUpdate,s=r.resetTextContent,l=r.commitTextUpdate,u=r.appendChild,p=r.appendChildToContainer,m=r.insertBefore,h=r.insertInContainerBefore,b=r.removeChild,A=r.removeChildFromContainer;return{commitResetTextContent:function(e){s(e.stateNode)},commitPlacement:function(e){e:{for(var t=e.return;null!==t;){if(f(t)){var n=t;break e}t=t.return}E("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:E("161")}16&n.effectTag&&(s(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||f(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var r=e;;){if(5===r.tag||6===r.tag)n?o?h(t,r.stateNode,n):m(t,r.stateNode,n):o?p(t,r.stateNode):u(t,r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},commitDeletion:function(e){g(e),e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)},commitWork:function(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var r=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&a(n,i,r,e,o,t)}break;case 6:null===t.stateNode&&E("162"),n=t.memoizedProps,l(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:break;default:E("163")}},commitLifeCycles:function(e,t){switch(t.tag){case 2:var n=t.stateNode;if(4&t.effectTag)if(null===e)n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidMount();else{var o=e.memoizedProps;e=e.memoizedState,n.props=t.memoizedProps,n.state=t.memoizedState,n.componentDidUpdate(o,e)}null!==(t=t.updateQueue)&&Ke(t,n);break;case 3:null!==(n=t.updateQueue)&&Ke(n,null!==t.child?t.child.stateNode:null);break;case 5:n=t.stateNode,null===e&&4&t.effectTag&&i(n,t.type,t.memoizedProps,t);break;case 6:case 4:break;default:E("163")}},commitAttachRef:function(e){var t=e.ref;if(null!==t){var n=e.stateNode;switch(e.tag){case 5:t(o(n));break;default:t(n)}}},commitDetachRef:function(e){null!==(e=e.ref)&&e(null)}}}(t,h)).commitResetTextContent,x=n.commitPlacement,S=n.commitDeletion,P=n.commitWork,D=n.commitLifeCycles,O=n.commitAttachRef,R=n.commitDetachRef,T=t.now,j=t.scheduleDeferredCallback,M=t.cancelDeferredCallback,F=t.useSyncScheduling,U=t.prepareForCommit,X=t.resetAfterCommit,H=T(),K=2,$=0,Z=!1,Q=null,ee=null,te=0,oe=null,re=null,ie=null,ae=null,le=null,ue=!1,ce=!1,pe=!1,de=null,fe=null,me=0,he=-1,be=!1,ge=null,Ae=0,ve=!1,Ce=!1,ye=null,_e=null,we=!1,xe=!1,Be=1e3,ke=0,Se=1;return{computeAsyncExpiration:v,computeExpirationForFiber:y,scheduleWork:u,batchedUpdates:function(e,t){var n=we;we=!0;try{return e(t)}finally{(we=n)||be||w(1,null)}},unbatchedUpdates:function(e){if(we&&!xe){xe=!0;try{return e()}finally{xe=!1}}return e()},flushSync:function(e){var t=we;we=!0;try{e:{var n=$;$=1;try{var o=e();break e}finally{$=n}o=void 0}return o}finally{we=t,be&&E("187"),w(1,null)}},deferredUpdates:function(e){var t=$;$=v();try{return e()}finally{$=t}}}}function lf(e){function b(e){return null===(e=function od(e){if(!(e=nd(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode}var t=e.getPublicInstance,n=(e=kf(e)).computeAsyncExpiration,o=e.computeExpirationForFiber,r=e.scheduleWork;return{createContainer:function(e,t){var n=new Y(3,null,0);return e={current:n,containerInfo:e,pendingChildren:null,remainingExpirationTime:0,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:t,nextScheduledRoot:null},n.stateNode=e},updateContainer:function(e,t,i,a){var s=t.current;if(i){var l;e:{for(2===kd(i=i._reactInternalFiber)&&2===i.tag||E("170"),l=i;3!==l.tag;){if(le(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}(l=l.return)||E("171")}l=l.stateNode.context}i=le(i)?pe(i,l):l}else i=B;null===t.context?t.context=i:t.pendingContext=i,t=void 0===(t=a)?null:t,He(s,{expirationTime:a=null!=e&&null!=e.type&&null!=e.type.prototype&&!0===e.type.prototype.unstable_isAsyncReactComponent?n():o(s),partialState:{element:e},callback:t,isReplace:!1,isForced:!1,nextCallback:null,next:null}),r(s,a)},batchedUpdates:e.batchedUpdates,unbatchedUpdates:e.unbatchedUpdates,deferredUpdates:e.deferredUpdates,flushSync:e.flushSync,getPublicRootInstance:function(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:return t(e.child.stateNode);default:return e.child.stateNode}},findHostInstance:b,findHostInstanceWithNoPortals:function(e){return null===(e=function pd(e){if(!(e=nd(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:e.stateNode},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return function Ce(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);sn=Be(function(e){return t.onCommitFiberRoot(n,e)}),ln=Be(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(a({},e,{findHostInstanceByFiber:function(e){return b(e)},findFiberByHostInstance:function(e){return t?t(e):null}}))}}}function If(e,t,n){var o=wa(t);if(o&&va(t,n)){var r=o.mutationMethod;r?r(e,n):null==n||o.hasBooleanValue&&!n||o.hasNumericValue&&isNaN(n)||o.hasPositiveNumericValue&&1>n||o.hasOverloadedBooleanValue&&!1===n?Jf(e,t):o.mustUseProperty?e[o.propertyName]=n:(t=o.attributeName,(r=o.attributeNamespace)?e.setAttributeNS(r,t,""+n):o.hasBooleanValue||o.hasOverloadedBooleanValue&&!0===n?e.setAttribute(t,""):e.setAttribute(t,""+n))}else Kf(e,t,va(t,n)?n:null)}function Kf(e,t,n){(function Hf(e){return!!zn.hasOwnProperty(e)||!Mn.hasOwnProperty(e)&&(qn.test(e)?zn[e]=!0:(Mn[e]=!0,!1))})(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))}function Jf(e,t){var n=wa(t);n?(t=n.mutationMethod)?t(e,void 0):n.mustUseProperty?e[n.propertyName]=!n.hasBooleanValue&&"":e.removeAttribute(n.attributeName):e.removeAttribute(t)}function Lf(e,t){var n=t.value,o=t.checked;return a({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=o?o:e._wrapperState.initialChecked})}function Mf(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Nf(e,t){null!=(t=t.checked)&&If(e,"checked",t)}function Of(e,t){Nf(e,t);var n=t.value;null!=n?0===n&&""===e.value?e.value="0":"number"===t.type?(n!=(t=parseFloat(e.value)||0)||n==t&&e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n):(null==t.value&&null!=t.defaultValue&&e.defaultValue!==""+t.defaultValue&&(e.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked))}function Pf(e,t){switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":e.value="",e.value=e.defaultValue;break;default:e.value=e.value}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function Rf(e,t){return e=a({children:void 0},t),(t=function Qf(e){var t="";return r.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(t.children))&&(e.children=t),e}function Sf(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&o&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Tf(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function Uf(e,t){return null!=t.dangerouslySetInnerHTML&&E("91"),a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Vf(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&E("92"),Array.isArray(t)&&(1>=t.length||E("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function Wf(e,t){var n=t.value;null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function Xf(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function Zf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function $f(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Zf(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function cg(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function fg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=n,i=t[n];r=null==i||"boolean"==typeof i||""===i?"":o||"number"!=typeof i||0===i||Vn.hasOwnProperty(r)&&Vn[r]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}function hg(e,t,n){t&&(Yn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&E("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&E("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||E("61")),null!=t.style&&"object"!=typeof t.style&&E("62",n()))}function ig(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function lg(e,t){var n=Hd(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=Se[t];for(var o=0;o<t.length;o++){var r=t[o];n.hasOwnProperty(r)&&n[r]||("topScroll"===r?wd("topScroll","scroll",e):"topFocus"===r||"topBlur"===r?(wd("topFocus","focus",e),wd("topBlur","blur",e),n.topBlur=!0,n.topFocus=!0):"topCancel"===r?(yc("cancel",!0)&&wd("topCancel","cancel",e),n.topCancel=!0):"topClose"===r?(yc("close",!0)&&wd("topClose","close",e),n.topClose=!0):zt.hasOwnProperty(r)&&U(r,zt[r],e),n[r]=!0)}}function ng(e,t,n,o){return n=9===n.nodeType?n:n.ownerDocument,o===Xn&&(o=Zf(e)),o===Xn?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(o,e),e}function og(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function pg(e,t,n,o){var r=ig(t,n);switch(t){case"iframe":case"object":U("topLoad","load",e);var i=n;break;case"video":case"audio":for(i in Kn)Kn.hasOwnProperty(i)&&U(i,Kn[i],e);i=n;break;case"source":U("topError","error",e),i=n;break;case"img":case"image":U("topError","error",e),U("topLoad","load",e),i=n;break;case"form":U("topReset","reset",e),U("topSubmit","submit",e),i=n;break;case"details":U("topToggle","toggle",e),i=n;break;case"input":Mf(e,n),i=Lf(e,n),U("topInvalid","invalid",e),lg(o,"onChange");break;case"option":i=Rf(e,n);break;case"select":Tf(e,n),i=a({},n,{value:void 0}),U("topInvalid","invalid",e),lg(o,"onChange");break;case"textarea":Vf(e,n),i=Uf(e,n),U("topInvalid","invalid",e),lg(o,"onChange");break;default:i=n}hg(t,i,Hn);var l,u=i;for(l in u)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?fg(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&Un(e,c):"children"===l?"string"==typeof c?("textarea"!==t||""!==c)&&cg(e,c):"number"==typeof c&&cg(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_e.hasOwnProperty(l)?null!=c&&lg(o,l):r?Kf(e,l,c):null!=c&&If(e,l,c))}switch(t){case"input":Bc(e),Pf(e,n);break;case"textarea":Bc(e),Xf(e);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,null!=(t=n.value)?Sf(e,!!n.multiple,t,!1):null!=n.defaultValue&&Sf(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=s)}}function sg(e,t,n,o,r){var i=null;switch(t){case"input":n=Lf(e,n),o=Lf(e,o),i=[];break;case"option":n=Rf(e,n),o=Rf(e,o),i=[];break;case"select":n=a({},n,{value:void 0}),o=a({},o,{value:void 0}),i=[];break;case"textarea":n=Uf(e,n),o=Uf(e,o),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof o.onClick&&(e.onclick=s)}hg(t,o,Hn);var l,u;e=null;for(l in n)if(!o.hasOwnProperty(l)&&n.hasOwnProperty(l)&&null!=n[l])if("style"===l)for(u in t=n[l])t.hasOwnProperty(u)&&(e||(e={}),e[u]="");else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(_e.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));for(l in o){var c=o[l];if(t=null!=n?n[l]:void 0,o.hasOwnProperty(l)&&c!==t&&(null!=c||null!=t))if("style"===l)if(t){for(u in t)!t.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(e||(e={}),e[u]="");for(u in c)c.hasOwnProperty(u)&&t[u]!==c[u]&&(e||(e={}),e[u]=c[u])}else e||(i||(i=[]),i.push(l,e)),e=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,t=t?t.__html:void 0,null!=c&&t!==c&&(i=i||[]).push(l,""+c)):"children"===l?t===c||"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(_e.hasOwnProperty(l)?(null!=c&&lg(r,l),i||t===c||(i=[])):(i=i||[]).push(l,c))}return e&&(i=i||[]).push("style",e),i}function tg(e,t,n,o,r){"input"===n&&"radio"===r.type&&null!=r.name&&Nf(e,r),ig(n,o),o=ig(n,r);for(var i=0;i<t.length;i+=2){var a=t[i],s=t[i+1];"style"===a?fg(e,s):"dangerouslySetInnerHTML"===a?Un(e,s):"children"===a?cg(e,s):o?null!=s?Kf(e,a,s):e.removeAttribute(a):null!=s?If(e,a,s):Jf(e,a)}switch(n){case"input":Of(e,r);break;case"textarea":Wf(e,r);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,null!=(n=r.value)?Sf(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Sf(e,!!r.multiple,r.defaultValue,!0):Sf(e,!!r.multiple,r.multiple?[]:"",!1))}}function ug(e,t,n,o,r){switch(t){case"iframe":case"object":U("topLoad","load",e);break;case"video":case"audio":for(var i in Kn)Kn.hasOwnProperty(i)&&U(i,Kn[i],e);break;case"source":U("topError","error",e);break;case"img":case"image":U("topError","error",e),U("topLoad","load",e);break;case"form":U("topReset","reset",e),U("topSubmit","submit",e);break;case"details":U("topToggle","toggle",e);break;case"input":Mf(e,n),U("topInvalid","invalid",e),lg(r,"onChange");break;case"select":Tf(e,n),U("topInvalid","invalid",e),lg(r,"onChange");break;case"textarea":Vf(e,n),U("topInvalid","invalid",e),lg(r,"onChange")}hg(t,n,Hn),o=null;for(var a in n)n.hasOwnProperty(a)&&(i=n[a],"children"===a?"string"==typeof i?e.textContent!==i&&(o=["children",i]):"number"==typeof i&&e.textContent!==""+i&&(o=["children",""+i]):_e.hasOwnProperty(a)&&null!=i&&lg(r,a));switch(t){case"input":Bc(e),Pf(e,n);break;case"textarea":Bc(e),Xf(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=s)}return o}function vg(e,t){return e.nodeValue!==t}function Ng(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Pg(e,t,n,o,r){Ng(n)||E("200");var i=n._reactRootContainer;if(i)Qn.updateContainer(t,i,e,r);else{if(!(o=o||function Og(e){return!(!(e=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))}(n)))for(i=void 0;i=n.lastChild;)n.removeChild(i);var a=Qn.createContainer(n,o);i=n._reactRootContainer=a,Qn.unbatchedUpdates(function(){Qn.updateContainer(t,a,e,r)})}return Qn.getPublicRootInstance(i)}function Qg(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Ng(t)||E("200"),function pf(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:fn,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}function Rg(e,t){this._reactRootContainer=Qn.createContainer(e,t)}var r=o(1),i=o(347),a=o(197),s=o(43),l=o(346),p=o(350),C=o(354),_=o(348),x=o(349),B=o(170);r||E("227");var S={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0},P={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=P,n=e.Properties||{},o=e.DOMAttributeNamespaces||{},r=e.DOMAttributeNames||{};e=e.DOMMutationMethods||{};for(var i in n){D.hasOwnProperty(i)&&E("48",i);var a=i.toLowerCase(),s=n[i];1>=(a={attributeName:a,attributeNamespace:null,propertyName:i,mutationMethod:null,mustUseProperty:pa(s,t.MUST_USE_PROPERTY),hasBooleanValue:pa(s,t.HAS_BOOLEAN_VALUE),hasNumericValue:pa(s,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:pa(s,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:pa(s,t.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:pa(s,t.HAS_STRING_BOOLEAN_VALUE)}).hasBooleanValue+a.hasNumericValue+a.hasOverloadedBooleanValue||E("50",i),r.hasOwnProperty(i)&&(a.attributeName=r[i]),o.hasOwnProperty(i)&&(a.attributeNamespace=o[i]),e.hasOwnProperty(i)&&(a.mutationMethod=e[i]),D[i]=a}}},D={},O=P,R=O.MUST_USE_PROPERTY,j=O.HAS_BOOLEAN_VALUE,M=O.HAS_NUMERIC_VALUE,F=O.HAS_POSITIVE_NUMERIC_VALUE,X=O.HAS_OVERLOADED_BOOLEAN_VALUE,H=O.HAS_STRING_BOOLEAN_VALUE,K={Properties:{allowFullScreen:j,async:j,autoFocus:j,autoPlay:j,capture:X,checked:R|j,cols:F,contentEditable:H,controls:j,default:j,defer:j,disabled:j,download:X,draggable:H,formNoValidate:j,hidden:j,loop:j,multiple:R|j,muted:R|j,noValidate:j,open:j,playsInline:j,readOnly:j,required:j,reversed:j,rows:F,rowSpan:M,scoped:j,seamless:j,selected:R|j,size:F,start:M,span:F,spellCheck:H,style:0,tabIndex:0,itemScope:j,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:H},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(e,t){if(null==t)return e.removeAttribute("value");"number"!==e.type||!1===e.hasAttribute("value")?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t)}}},$=O.HAS_STRING_BOOLEAN_VALUE,Z="http://www.w3.org/1999/xlink",Q="http://www.w3.org/XML/1998/namespace",ee={Properties:{autoReverse:$,externalResourcesRequired:$,preserveAlpha:$},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:Z,xlinkArcrole:Z,xlinkHref:Z,xlinkRole:Z,xlinkShow:Z,xlinkTitle:Z,xlinkType:Z,xmlBase:Q,xmlLang:Q,xmlSpace:Q}},ie=/[\-\:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space".split(" ").forEach(function(e){var t=e.replace(ie,Ia);ee.Properties[t]=0,ee.DOMAttributeNames[t]=e}),O.injectDOMPropertyConfig(K),O.injectDOMPropertyConfig(ee);var de={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(e){"function"!=typeof e.invokeGuardedCallback&&E("197"),Ja=e.invokeGuardedCallback}},invokeGuardedCallback:function(e,t,n,o,r,i,a,s,l){Ja.apply(de,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,o,r,i,a,s,l){if(de.invokeGuardedCallback.apply(this,arguments),de.hasCaughtError()){var u=de.clearCaughtError();de._hasRethrowError||(de._hasRethrowError=!0,de._rethrowError=u)}},rethrowCaughtError:function(){return function Ka(){if(de._hasRethrowError){var e=de._rethrowError;throw de._rethrowError=null,de._hasRethrowError=!1,e}}.apply(de,arguments)},hasCaughtError:function(){return de._hasCaughtError},clearCaughtError:function(){if(de._hasCaughtError){var e=de._caughtError;return de._caughtError=null,de._hasCaughtError=!1,e}E("198")}},fe=null,he={},ge=[],Ae={},_e={},Se={},Pe=Object.freeze({plugins:ge,eventNameDispatchConfigs:Ae,registrationNameModules:_e,registrationNameDependencies:Se,possibleRegistrationNames:null,injectEventPluginOrder:Ta,injectEventPluginsByName:Ua}),Oe=null,Re=null,Te=null,je=null,Ne={injectEventPluginOrder:Ta,injectEventPluginsByName:Ua},Me=Object.freeze({injection:Ne,getListener:ib,extractEvents:jb,enqueueEvents:kb,processEventQueue:lb}),ze=Math.random().toString(36).slice(2),We="__reactInternalInstance$"+ze,Ue="__reactEventHandlers$"+ze,Ve=Object.freeze({precacheFiberNode:function(e,t){t[We]=e},getClosestInstanceFromNode:pb,getInstanceFromNode:function(e){return!(e=e[We])||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:qb,getFiberCurrentPropsFromNode:rb,updateFiberProps:function(e,t){e[Ue]=t}}),Ye=Object.freeze({accumulateTwoPhaseDispatches:Ab,accumulateTwoPhaseDispatchesSkipTarget:function(e){ab(e,xb)},accumulateEnterLeaveDispatches:Bb,accumulateDirectDispatches:function(e){ab(e,zb)}}),Qe=null,et={_root:null,_startText:null,_fallbackText:null},tt="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),nt={type:null,target:null,currentTarget:s.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};a(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=s.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=s.thatReturnsTrue)},persist:function(){this.isPersistent=s.thatReturnsTrue},isPersistent:s.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<tt.length;t++)this[tt[t]]=null}}),T.Interface=nt,T.augmentClass=function(e,t){function c(){}c.prototype=this.prototype;var n=new c;a(n,e.prototype),e.prototype=n,e.prototype.constructor=e,e.Interface=a({},this.Interface,t),e.augmentClass=this.augmentClass,Jb(e)},Jb(T),T.augmentClass(Mb,{data:null}),T.augmentClass(Nb,{data:null});var ot=[9,13,27,32],rt=i.canUseDOM&&"CompositionEvent"in window,it=null;i.canUseDOM&&"documentMode"in document&&(it=document.documentMode);var at;if(at=i.canUseDOM&&"TextEvent"in window&&!it){var st=window.opera;at=!("object"==typeof st&&"function"==typeof st.version&&12>=parseInt(st.version(),10))}var lt,ut=at,ct=i.canUseDOM&&(!rt||it&&8<it&&11>=it),pt=String.fromCharCode(32),dt={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split(" ")}},ft=!1,mt=!1,ht={eventTypes:dt,extractEvents:function(e,t,n,o){var r;if(rt)e:{switch(e){case"topCompositionStart":var i=dt.compositionStart;break e;case"topCompositionEnd":i=dt.compositionEnd;break e;case"topCompositionUpdate":i=dt.compositionUpdate;break e}i=void 0}else mt?dc(e,n)&&(i=dt.compositionEnd):"topKeyDown"===e&&229===n.keyCode&&(i=dt.compositionStart);return i?(ct&&(mt||i!==dt.compositionStart?i===dt.compositionEnd&&mt&&(r=Fb()):(et._root=o,et._startText=Gb(),mt=!0)),i=Mb.getPooled(i,t,n,o),r?i.data=r:null!==(r=ec(n))&&(i.data=r),Ab(i),r=i):r=null,(e=ut?function gc(e,t){switch(e){case"topCompositionEnd":return ec(t);case"topKeyPress":return 32!==t.which?null:(ft=!0,pt);case"topTextInput":return(e=t.data)===pt&&ft?null:e;default:return null}}(e,n):function hc(e,t){if(mt)return"topCompositionEnd"===e||!rt&&dc(e,t)?(e=Fb(),et._root=null,et._startText=null,et._fallbackText=null,mt=!1,e):null;switch(e){case"topPaste":return null;case"topKeyPress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"topCompositionEnd":return ct?null:t.data;default:return null}}(e,n))?(t=Nb.getPooled(dt.beforeInput,t,n,o),t.data=e,Ab(t)):t=null,[r,t]}},bt=null,gt=null,At=null,vt={injectFiberControlledHostComponent:function(e){bt=e}},Ct=Object.freeze({injection:vt,enqueueStateRestore:oc,restoreStateIfNeeded:pc}),yt=!1,_t={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};i.canUseDOM&&(lt=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var wt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split(" ")}},xt=null,Bt=null,kt=!1;i.canUseDOM&&(kt=yc("input")&&(!document.documentMode||9<document.documentMode));var Et={eventTypes:wt,_isInputEventSupported:kt,extractEvents:function(e,t,n,o){var r=t?qb(t):window,i=r.nodeName&&r.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===r.type)var a=Jc;else if(vc(r))if(kt)a=$c;else{a=Oc;var s=Nc}else!(i=r.nodeName)||"input"!==i.toLowerCase()||"checkbox"!==r.type&&"radio"!==r.type||(a=Pc);if(a&&(a=a(e,t)))return Ec(a,n,o);s&&s(e,r,t),"topBlur"===e&&null!=t&&(e=t._wrapperState||r._wrapperState)&&e.controlled&&"number"===r.type&&(e=""+r.value,r.getAttribute("value")!==e&&r.setAttribute("value",e))}};T.augmentClass(bd,{view:null,detail:null});var St={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};bd.augmentClass(fd,{screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:ed,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}});var Pt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},Dt={eventTypes:Pt,extractEvents:function(e,t,n,o){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement)||"topMouseOut"!==e&&"topMouseOver"!==e)return null;var r=o.window===o?o:(r=o.ownerDocument)?r.defaultView||r.parentWindow:window;if("topMouseOut"===e?(e=t,t=(t=n.relatedTarget||n.toElement)?pb(t):null):e=null,e===t)return null;var i=null==e?r:qb(e);r=null==t?r:qb(t);var a=fd.getPooled(Pt.mouseLeave,e,n,o);return a.type="mouseleave",a.target=i,a.relatedTarget=r,n=fd.getPooled(Pt.mouseEnter,t,n,o),n.type="mouseenter",n.target=r,n.relatedTarget=i,Bb(a,n,e,t),[a,n]}},Ot=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Rt=[],Tt=!0,jt=void 0,Nt=Object.freeze({get _enabled(){return Tt},get _handleTopLevel(){return jt},setHandleTopLevel:function(e){jt=e},setEnabled:ud,isEnabled:function(){return Tt},trapBubbledEvent:U,trapCapturedEvent:wd,dispatchEvent:vd}),It={animationend:yd("Animation","AnimationEnd"),animationiteration:yd("Animation","AnimationIteration"),animationstart:yd("Animation","AnimationStart"),transitionend:yd("Transition","TransitionEnd")},qt={},Mt={};i.canUseDOM&&(Mt=document.createElement("div").style,"AnimationEvent"in window||(delete It.animationend.animation,delete It.animationiteration.animation,delete It.animationstart.animation),"TransitionEvent"in window||delete It.transitionend.transition);var zt={topAbort:"abort",topAnimationEnd:Cd("animationend")||"animationend",topAnimationIteration:Cd("animationiteration")||"animationiteration",topAnimationStart:Cd("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:Cd("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Lt={},Ft=0,Wt="_reactListenersID"+(""+Math.random()).slice(2),Ut=i.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Vt={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split(" ")}},Gt=null,Yt=null,Xt=null,Ht=!1,Kt={eventTypes:Vt,extractEvents:function(e,t,n,o){var r,i=o.window===o?o.document:9===o.nodeType?o:o.ownerDocument;if(!(r=!i)){e:{i=Hd(i),r=Se.onSelect;for(var a=0;a<r.length;a++){var s=r[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}r=!i}if(r)return null;switch(i=t?qb(t):window,e){case"topFocus":(vc(i)||"true"===i.contentEditable)&&(Gt=i,Yt=t,Xt=null);break;case"topBlur":Xt=Yt=Gt=null;break;case"topMouseDown":Ht=!0;break;case"topContextMenu":case"topMouseUp":return Ht=!1,Rd(n,o);case"topSelectionChange":if(Ut)break;case"topKeyDown":case"topKeyUp":return Rd(n,o)}return null}};T.augmentClass(Td,{animationName:null,elapsedTime:null,pseudoElement:null}),T.augmentClass(Ud,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bd.augmentClass(Vd,{relatedTarget:null});var $t={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zt={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};bd.augmentClass(Zd,{key:function(e){if(e.key){var t=$t[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Wd(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Zt[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:ed,charCode:function(e){return"keypress"===e.type?Wd(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Wd(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),fd.augmentClass($d,{dataTransfer:null}),bd.augmentClass(ae,{touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:ed}),T.augmentClass(be,{propertyName:null,elapsedTime:null,pseudoElement:null}),fd.augmentClass(ce,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null});var Jt={},Qt={};"abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel".split(" ").forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t;n={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[t="top"+t]},Jt[e]=n,Qt[t]=n});var en={eventTypes:Jt,extractEvents:function(e,t,n,o){var r=Qt[e];if(!r)return null;switch(e){case"topKeyPress":if(0===Wd(n))return null;case"topKeyDown":case"topKeyUp":e=Zd;break;case"topBlur":case"topFocus":e=Vd;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":e=fd;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":e=$d;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":e=ae;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":e=Td;break;case"topTransitionEnd":e=be;break;case"topScroll":e=bd;break;case"topWheel":e=ce;break;case"topCopy":case"topCut":case"topPaste":e=Ud;break;default:e=T}return t=e.getPooled(r,t,n,o),Ab(t),t}};jt=function(e,t,n,o){kb(e=jb(e,t,n,o)),lb(!1)},Ne.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Oe=Ve.getFiberCurrentPropsFromNode,Re=Ve.getInstanceFromNode,Te=Ve.getNodeFromInstance,Ne.injectEventPluginsByName({SimpleEventPlugin:en,EnterLeaveEventPlugin:Dt,ChangeEventPlugin:Et,SelectEventPlugin:Kt,BeforeInputEventPlugin:ht});var tn=[],nn=-1;new Set;var on={current:B},rn={current:!1},an=B,sn=null,ln=null,un="function"==typeof Symbol&&Symbol.for,cn=un?Symbol.for("react.element"):60103,pn=un?Symbol.for("react.call"):60104,dn=un?Symbol.for("react.return"):60105,fn=un?Symbol.for("react.portal"):60106,mn=un?Symbol.for("react.fragment"):60107,hn="function"==typeof Symbol&&Symbol.iterator,bn=Array.isArray,gn=af(!0),An=af(!1),vn={},Cn=Object.freeze({default:lf}),yn=Cn&&lf||Cn,_n=yn.default?yn.default:yn,wn="object"==typeof performance&&"function"==typeof performance.now,xn=void 0;xn=wn?function(){return performance.now()}:function(){return Date.now()};var Bn=void 0,kn=void 0;if(i.canUseDOM)if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var En,Sn=null,Pn=!1,Dn=-1,On=!1,Rn=0,Tn=33,jn=33;En=wn?{didTimeout:!1,timeRemaining:function(){var e=Rn-performance.now();return 0<e?e:0}}:{didTimeout:!1,timeRemaining:function(){var e=Rn-Date.now();return 0<e?e:0}};var Nn="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===Nn){if(Pn=!1,e=xn(),0>=Rn-e){if(!(-1!==Dn&&Dn<=e))return void(On||(On=!0,requestAnimationFrame(In)));En.didTimeout=!0}else En.didTimeout=!1;Dn=-1,e=Sn,Sn=null,null!==e&&e(En)}},!1);var In=function(e){On=!1;var t=e-Rn+jn;t<jn&&Tn<jn?(8>t&&(t=8),jn=t<Tn?Tn:t):Tn=t,Rn=e+jn,Pn||(Pn=!0,window.postMessage(Nn,"*"))};Bn=function(e,t){return Sn=e,null!=t&&"number"==typeof t.timeout&&(Dn=xn()+t.timeout),On||(On=!0,requestAnimationFrame(In)),0},kn=function(){Sn=null,Pn=!1,Dn=-1}}else Bn=window.requestIdleCallback,kn=window.cancelIdleCallback;else Bn=function(e){return setTimeout(function(){e({timeRemaining:function(){return 1/0}})})},kn=function(e){clearTimeout(e)};var qn=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Mn={},zn={},Ln="http://www.w3.org/1999/xhtml",Fn="http://www.w3.org/2000/svg",Wn=void 0,Un=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==Fn||"innerHTML"in e)e.innerHTML=t;else{for((Wn=Wn||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=Wn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),Vn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Gn=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Gn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});var Yn=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),Xn=Ln,Hn=s.thatReturns(""),Kn={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},$n=Object.freeze({createElement:ng,createTextNode:og,setInitialProperties:pg,diffProperties:sg,updateProperties:tg,diffHydratedProperties:ug,diffHydratedText:vg,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(Of(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var r=rb(o);r||E("90"),Cc(o),Of(o,r)}}}break;case"textarea":Wf(e,n);break;case"select":null!=(t=n.value)&&Sf(e,!!n.multiple,t,!1)}}});vt.injectFiberControlledHostComponent($n);var Zn=null,Jn=null,Qn=_n({getRootHostContext:function(e){var t=e.nodeType;switch(t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:$f(null,"");break;default:e=$f(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}return e},getChildHostContext:function(e,t){return $f(e,t)},getPublicInstance:function(e){return e},prepareForCommit:function(){Zn=Tt;var e=p();if(Kd(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=window.getSelection&&window.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var o=n.anchorOffset,r=n.focusNode;n=n.focusOffset;try{t.nodeType,r.nodeType}catch(e){t=null;break e}var i=0,a=-1,s=-1,l=0,u=0,c=e,d=null;t:for(;;){for(var f;c!==t||0!==o&&3!==c.nodeType||(a=i+o),c!==r||0!==n&&3!==c.nodeType||(s=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break t;if(d===t&&++l===o&&(a=i),d===r&&++u===n&&(s=i),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;Jn={focusedElem:e,selectionRange:t},ud(!1)},resetAfterCommit:function(){var e=Jn,t=p(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&_(document.documentElement,n)){if(Kd(n))if(t=o.start,void 0===(e=o.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(window.getSelection){t=window.getSelection();var r=n[Eb()].length;e=Math.min(o.start,r),o=void 0===o.end?e:Math.min(o.end,r),!t.extend&&e>o&&(r=o,o=e,e=r),r=Jd(n,e);var i=Jd(n,o);if(r&&i&&(1!==t.rangeCount||t.anchorNode!==r.node||t.anchorOffset!==r.offset||t.focusNode!==i.node||t.focusOffset!==i.offset)){var a=document.createRange();a.setStart(r.node,r.offset),t.removeAllRanges(),e>o?(t.addRange(a),t.extend(i.node,i.offset)):(a.setEnd(i.node,i.offset),t.addRange(a))}}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(x(n),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}Jn=null,ud(Zn),Zn=null},createInstance:function(e,t,n,o,r){return e=ng(e,t,n,o),e[We]=r,e[Ue]=t,e},appendInitialChild:function(e,t){e.appendChild(t)},finalizeInitialChildren:function(e,t,n,o){pg(e,t,n,o);e:{switch(t){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e}e=!1}return e},prepareUpdate:function(e,t,n,o,r){return sg(e,t,n,o,r)},shouldSetTextContent:function(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(e,t){return!!t.hidden},createTextInstance:function(e,t,n,o){return e=og(e,t),e[We]=o,e},now:xn,mutation:{commitMount:function(e){e.focus()},commitUpdate:function(e,t,n,o,r){e[Ue]=r,tg(e,t,n,o,r)},resetTextContent:function(e){e.textContent=""},commitTextUpdate:function(e,t,n){e.nodeValue=n},appendChild:function(e,t){e.appendChild(t)},appendChildToContainer:function(e,t){8===e.nodeType?e.parentNode.insertBefore(t,e):e.appendChild(t)},insertBefore:function(e,t,n){e.insertBefore(t,n)},insertInContainerBefore:function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},removeChildFromContainer:function(e,t){8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)}},hydration:{canHydrateInstance:function(e,t){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e},canHydrateTextInstance:function(e,t){return""===t||3!==e.nodeType?null:e},getNextHydratableSibling:function(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},getFirstHydratableChild:function(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e},hydrateInstance:function(e,t,n,o,r,i){return e[We]=i,e[Ue]=n,ug(e,t,n,r,o)},hydrateTextInstance:function(e,t,n){return e[We]=n,vg(e,t)},didNotMatchHydratedContainerTextInstance:function(){},didNotMatchHydratedTextInstance:function(){},didNotHydrateContainerInstance:function(){},didNotHydrateInstance:function(){},didNotFindHydratableContainerInstance:function(){},didNotFindHydratableContainerTextInstance:function(){},didNotFindHydratableInstance:function(){},didNotFindHydratableTextInstance:function(){}},scheduleDeferredCallback:Bn,cancelDeferredCallback:kn,useSyncScheduling:!0});rc=Qn.batchedUpdates,Rg.prototype.render=function(e,t){Qn.updateContainer(e,this._reactRootContainer,null,t)},Rg.prototype.unmount=function(e){Qn.updateContainer(null,this._reactRootContainer,null,e)};var eo={createPortal:Qg,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(t)return Qn.findHostInstance(t);"function"==typeof e.render?E("188"):E("213",Object.keys(e))},hydrate:function(e,t,n){return Pg(null,e,t,!0,n)},render:function(e,t,n){return Pg(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return(null==e||void 0===e._reactInternalFiber)&&E("38"),Pg(e,t,n,!1,o)},unmountComponentAtNode:function(e){return Ng(e)||E("40"),!!e._reactRootContainer&&(Qn.unbatchedUpdates(function(){Pg(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:Qg,unstable_batchedUpdates:tc,unstable_deferredUpdates:Qn.deferredUpdates,flushSync:Qn.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:Me,EventPluginRegistry:Pe,EventPropagators:Ye,ReactControlledComponent:Ct,ReactDOMComponentTree:Ve,ReactDOMEventListener:Nt}};Qn.injectIntoDevTools({findFiberByHostInstance:pb,bundleType:0,version:"16.2.0",rendererPackageName:"react-dom"});var to=Object.freeze({default:eo}),no=to&&eo||to;t.exports=no.default?no.default:no},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(84));t.default=function MdContentCopy(e){return r.default.createElement(i.default,o({viewBox:"0 0 40 40"},e),r.default.createElement("g",null,r.default.createElement("path",{d:"m31.6 35v-23.4h-18.2v23.4h18.2z m0-26.6c1.8 0 3.4 1.4 3.4 3.2v23.4c0 1.8-1.6 3.4-3.4 3.4h-18.2c-1.8 0-3.4-1.6-3.4-3.4v-23.4c0-1.8 1.6-3.2 3.4-3.2h18.2z m-5-6.8v3.4h-20v23.4h-3.2v-23.4c0-1.8 1.4-3.4 3.2-3.4h20z"})))},e.exports=t.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(84));t.default=function MdFullscreenExit(e){return r.default.createElement(i.default,o({viewBox:"0 0 40 40"},e),r.default.createElement("g",null,r.default.createElement("path",{d:"m26.6 13.4h5v3.2h-8.2v-8.2h3.2v5z m-3.2 18.2v-8.2h8.2v3.2h-5v5h-3.2z m-10-18.2v-5h3.2v8.2h-8.2v-3.2h5z m-5 13.2v-3.2h8.2v8.2h-3.2v-5h-5z"})))},e.exports=t.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(1)),i=_interopRequireDefault(n(84));t.default=function MdFullscreen(e){return r.default.createElement(i.default,o({viewBox:"0 0 40 40"},e),r.default.createElement("g",null,r.default.createElement("path",{d:"m23.4 8.4h8.2v8.2h-3.2v-5h-5v-3.2z m5 20v-5h3.2v8.2h-8.2v-3.2h5z m-20-11.8v-8.2h8.2v3.2h-5v5h-3.2z m3.2 6.8v5h5v3.2h-8.2v-8.2h3.2z"})))},e.exports=t.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});_interopRequireDefault(n(1));var o=_interopRequireDefault(n(199));t.default=(0,o.default)()(function Measure(e){var t=e.measure,n=e.measureRef,o=e.contentRect;return(0,e.children)({measure:t,measureRef:n,contentRect:o})}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function getContentRect(e,t){var n={};if(t.indexOf("client")>-1&&(n.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(n.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(n.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var o=e.getBoundingClientRect();n.bounds={top:o.top,right:o.right,bottom:o.bottom,left:o.left,width:o.width,height:o.height}}if(t.indexOf("margin")>-1){var r=getComputedStyle(e);n.margin={top:parseInt(r.marginTop),right:parseInt(r.marginRight),bottom:parseInt(r.marginBottom),left:parseInt(r.marginLeft)}}return n},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function getTypes(e){var t=[];return o.forEach(function(n){e[n]&&t.push(n)}),t};var o=["client","offset","scroll","bounds","margin"];e.exports=t.default},function(e,t,n){"use strict";var o=n(452),r=(n.n(o),n(342)),i=(n.n(r),n(344));n.n(i)},function(e,t,n){"use strict";function ArgumentRenderer(e){var t=e.classes,n=e.name,o=e.type,i=e.description,a=e.returns,s=e.block,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","name","type","description","returns","block"]);return r.a.createElement(d.a,f({className:s&&t.block},p),a&&"Returns",n&&r.a.createElement("span",null,r.a.createElement(u.a,null,n),o&&":"),o&&r.a.createElement(c.a,null,o.name),o&&i&&" — ",i&&r.a.createElement(l.a,{text:""+i,inline:!0}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(19),u=n(89),c=n(209),p=n(198),d=n.n(p),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};ArgumentRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string,type:a.a.object,description:a.a.string,returns:a.a.bool,block:a.a.bool},t.a=n.i(s.a)(function styles(e){return{block:{marginBottom:e.space[2]}}})(ArgumentRenderer)},function(e,t,n){"use strict";function ArgumentsRenderer(e){var t=e.classes,n=e.args,o=e.heading;return 0===n.length?null:r.a.createElement("div",{className:t.root},o&&r.a.createElement("div",{className:t.headingWrapper},r.a.createElement(l.a,{level:5},"Arguments")),n.map(function(e){return r.a.createElement(s.a,c({key:e.name},e))}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(85),l=n(87),u=n(9),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};ArgumentsRenderer.propTypes={classes:a.a.object.isRequired,args:a.a.arrayOf(a.a.shape({name:a.a.string.isRequired,type:a.a.object,description:a.a.string})).isRequired,heading:a.a.bool},t.a=n.i(u.a)(function styles(e){var t=e.space;return{root:{marginBottom:t[2],fontSize:"inherit"},headingWrapper:{marginBottom:t[0]}}})(ArgumentsRenderer)},function(e,t,n){"use strict";function CodeRenderer(e){var t=e.classes,n=e.className,o=e.children;return r.a.createElement("span",{className:n},r.a.createElement("code",{className:t.code},o))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);CodeRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,children:a.a.node},t.a=n.i(s.a)(function styles(e){return{code:{display:"inline",fontFamily:e.fontFamily.monospace,fontSize:"inherit",color:"inherit",background:"transparent"}}})(CodeRenderer)},function(e,t,n){"use strict";function Components(e){var t=e.components,n=e.depth;return r.a.createElement(l.a,null,t.map(function(e){return r.a.createElement(s.a,{key:e.filepath,component:e,depth:n})}))}t.a=Components;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(642),l=n(603);Components.propTypes={components:a.a.array.isRequired,depth:a.a.number.isRequired}},function(e,t,n){"use strict";function ComponentsRenderer(e){var t=e.children;return r.a.createElement("div",null,t)}t.a=ComponentsRenderer;var o=n(1),r=n.n(o),i=n(0),a=n.n(i);ComponentsRenderer.propTypes={children:a.a.node.isRequired}},function(e,t,n){"use strict";var o=n(602);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function ComponentsListRenderer(e){var t=e.classes,n=e.items;return(n=n.filter(function(e){return e.name})).length?r.a.createElement("ul",{className:t.list},n.map(function(e){var n=e.heading,o=e.name,i=e.slug,a=e.content;return r.a.createElement("li",{className:l()(t.item,(!a||!a.props.items.length)&&t.isChild),key:o},r.a.createElement(u.a,{className:l()(n&&t.heading),href:"#"+i},o),a)})):null}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(202),c=n(9);ComponentsListRenderer.propTypes={items:a.a.array.isRequired,classes:a.a.object.isRequired},t.a=n.i(c.a)(function styles(e){var t=e.color,n=e.fontFamily,o=e.fontSize,r=e.space,i=e.mq;return{list:{margin:0,paddingLeft:r[2]},item:{color:t.base,display:"block",margin:[[r[1],0,r[1],0]],fontFamily:n.base,fontSize:o.base,listStyle:"none",overflow:"hidden",textOverflow:"ellipsis"},isChild:function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},i.small,{display:"inline-block",margin:[[0,r[1],0,0]]}),heading:{color:t.base,marginTop:r[1],fontFamily:n.base,fontWeight:"bold"}}})(ComponentsListRenderer)},function(e,t,n){"use strict";var o=n(605);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function _possibleConstructorReturn(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}var o=n(1),r=n.n(o),i=n(608),a=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),s=function(e){function EditorLoader(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,EditorLoader);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=EditorLoader.__proto__||Object.getPrototypeOf(EditorLoader)).call.apply(e,[this].concat(i))),n.state={editor:null},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(EditorLoader,o["Component"]),a(EditorLoader,[{key:"componentDidMount",value:function componentDidMount(){var e=this;n.e(1).then(n.bind(null,906)).then(function(t){e.setState({editor:t.default})})}},{key:"render",value:function render(){var e=this.state.editor;return e?r.a.createElement(e,this.props):r.a.createElement(i.a,null)}}]),EditorLoader}();t.a=s},function(e,t,n){"use strict";function EditorLoaderRenderer(e){var t=e.classes;return r.a.createElement("div",{className:t.root},"Loading…")}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);EditorLoaderRenderer.propTypes={classes:a.a.object.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.fontFamily,n=e.color,o=e.space,r=e.fontSize;return{root:{padding:[[o[1],o[2],o[1],o[1]]],fontFamily:t.base,fontSize:r.small,color:n.light,backgroundColor:n.codeBackground},"@global":{".CodeMirror.CodeMirror":{isolate:!1,fontFamily:t.monospace,height:"auto",padding:[[o[1],o[2]]],fontSize:r.small},".CodeMirror.CodeMirror pre":{isolate:!1,padding:0},".CodeMirror-scroll.CodeMirror-scroll":{isolate:!1,height:"auto",overflowY:"hidden",overflowX:"auto"},".cm-error.cm-error":{isolate:!1,background:"none"}}}})(EditorLoaderRenderer)},function(e,t,n){"use strict";var o=n(607);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function ErrorRenderer(e){var t=e.classes,n=e.error,o=e.info;return r.a.createElement("div",{className:t.root},r.a.createElement("pre",{className:t.stack},n.toString(),o.componentStack.toString()),r.a.createElement("div",{className:t.message},r.a.createElement("p",null,"This may be due to an error in a component you are overriding, or a bug in React Styleguidist."),r.a.createElement("p",null,"If you believe this is a bug, ",r.a.createElement("a",{style:{color:"inherit"},href:"https://github.com/styleguidist/react-styleguidist/issues"},"please submit an issue"),".")))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);ErrorRenderer.propTypes={classes:a.a.object.isRequired,error:a.a.object.isRequired,info:a.a.shape({componentStack:a.a.object.isRequired}).isRequired},t.a=n.i(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,o=e.color;return{root:{margin:e.space[2],lineHeight:1.2,fontSize:n.small},stack:{color:o.error,whiteSpace:"pre",fontFamily:t.monospace},message:{color:o.error,fontFamily:t.base}}})(ErrorRenderer)},function(e,t,n){"use strict";var o=n(610);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function Examples(e,t){var n=e.examples,o=e.name,i=t.codeRevision;return r.a.createElement(u.a,null,n.map(function(e,t){switch(e.type){case"code":return r.a.createElement(s.a,{code:e.content,evalInContext:e.evalInContext,key:i+"/"+t,name:o,index:t,settings:e.settings});case"markdown":return r.a.createElement(l.a,{text:e.content,key:t});default:return null}}))}t.a=Examples;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(632),l=n(19),u=n(613);Examples.propTypes={examples:a.a.array.isRequired,name:a.a.string.isRequired},Examples.contextTypes={codeRevision:a.a.number.isRequired}},function(e,t,n){"use strict";function ExamplesRenderer(e){var t=e.classes,n=e.children;return r.a.createElement("article",{className:t.root},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);ExamplesRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node},t.a=n.i(s.a)(function styles(){return{root:{}}})(ExamplesRenderer)},function(e,t,n){"use strict";function HeadingRenderer(e){var t=e.classes,n=e.level,o=e.children,i=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","level","children"]),a="h"+n,s=l()(t.heading,t["heading"+n]);return r.a.createElement(a,c({},i,{className:s}),o)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};HeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node},t.a=n.i(u.a)(function styles(e){var t=e.color,n=e.fontFamily,o=e.fontSize;return{heading:{margin:0,color:t.base,fontFamily:n.base,fontWeight:"normal"},heading1:{fontSize:o.h1},heading2:{fontSize:o.h2},heading3:{fontSize:o.h3},heading4:{fontSize:o.h4},heading5:{fontSize:o.h5},heading6:{fontSize:o.h6}}})(HeadingRenderer)},function(e,t,n){"use strict";function JsDoc(e){var t=function getMarkdown(e){return u()(p,function(t,n){return e[n]&&t(e[n])}).filter(Boolean).join("\n\n")}(e);return t?r.a.createElement(s.a,{text:t}):null}t.a=JsDoc;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(19),l=n(196),u=n.n(l),c=function paragraphs(e){return e.map(function(e){return e.description}).join("\n\n")},p={deprecated:function deprecated(e){return"**Deprecated:** "+e[0].description},see:function see(e){return c(e)},link:function link(e){return c(e)},author:function author(e){return function plural(e,t){return 1===e.length?t:t+"s"}(e,"Author")+": "+function list(e){return e.map(function(e){return e.description}).join(", ")}(e)},version:function version(e){return"Version: "+e[0].description},since:function since(e){return"Since: "+e[0].description}};JsDoc.propTypes={deprecated:a.a.array,see:a.a.array,link:a.a.array,author:a.a.array,version:a.a.array,since:a.a.array}},function(e,t,n){"use strict";function LinkRenderer(e){var t=e.classes,n=e.children,o=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","children"]);return r.a.createElement("a",c({},o,{className:l()(t.link,o.className)}),n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};LinkRenderer.propTypes={children:a.a.node,className:a.a.string,classes:a.a.object.isRequired},t.a=n.i(u.a)(function styles(e){var t=e.color;return{link:{"&, &:link, &:visited":{fontSize:"inherit",color:t.link,textDecoration:"none"},"&:hover, &:active":{isolate:!1,color:t.linkHover,cursor:"pointer"}}}})(LinkRenderer)},function(e,t,n){"use strict";function LogoRenderer(e){var t=e.classes,n=e.children;return r.a.createElement("h1",{className:t.logo},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);LogoRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node},t.a=n.i(s.a)(function styles(e){var t=e.color,n=e.fontFamily,o=e.fontSize;return{logo:{color:t.base,margin:0,fontFamily:n.base,fontSize:o.h4,fontWeight:"normal"}}})(LogoRenderer)},function(e,t,n){"use strict";var o=n(617);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function ListRenderer(e){var t=e.classes,i=e.ordered,a=e.children,s=i?"ol":"ul",u=l()(t.list,i&&t.ordered);return r.a.createElement(s,{className:u},o.Children.map(a,function(e){return n.i(o.cloneElement)(e,{className:t.li})}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=n(52),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};ListRenderer.propTypes={classes:a.a.object.isRequired,ordered:a.a.bool,children:a.a.node.isRequired},ListRenderer.defaultProps={ordered:!1},t.a=n.i(u.a)(function styles(e){var t=e.space,o=e.color,r=e.fontFamily;return{list:p({},n.i(c.b)({space:t,color:o,fontFamily:r}).para,{paddingLeft:t[3]}),ordered:{listStyleType:"decimal"},li:{color:o.base,fontFamily:r.base,fontSize:"inherit",listStyleType:"inherit"}}})(ListRenderer)},function(e,t,n){"use strict";var o=n(619);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function Code(e){var t=e.children,n=e.className;return n&&-1!==n.indexOf("lang-")?r.a.createElement("code",{className:n,dangerouslySetInnerHTML:{__html:t}}):r.a.createElement("code",{className:n},t)}function Markdown(e){var t=e.classes,o=e.text,r=e.inline?C(t):v(t);return n.i(s.a)(o,{overrides:r,forceBlock:!0})}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(585),l=n(576),u=n.n(l),c=n(83),p=n.n(c),d=n(9),f=n(202),m=n(207),h=n(52),b=n(623),g=n(620),A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};n(829),Code.propTypes={children:a.a.node,className:a.a.string};var v=p()(function(e){var t=u()(e,function(e){return{props:{className:e}}});return A({},t,{a:{component:f.a},h1:{component:b.a,props:{level:1}},h2:{component:b.a,props:{level:2}},h3:{component:b.a,props:{level:3}},h4:{component:b.a,props:{level:4}},h5:{component:b.a,props:{level:5}},h6:{component:b.a,props:{level:6}},p:{component:h.a,props:{semantic:"p"}},em:{component:m.a,props:{semantic:"em"}},strong:{component:m.a,props:{semantic:"strong"}},ul:{component:g.a},ol:{component:g.a,props:{ordered:!0}},code:{component:Code,props:{className:e.code}}})},function(){return"getBaseOverrides"}),C=p()(function(e){var t=v(e);return A({},t,{p:{component:m.a}})},function(){return"getInlineOverrides"});Markdown.propTypes={classes:a.a.object.isRequired,text:a.a.string.isRequired,inline:a.a.bool},t.a=n.i(d.a)(function styles(e){var t=e.space,o=e.fontFamily,r=e.fontSize,i=e.color,a=e.borderRadius;return{base:{color:i.base,fontFamily:o.base,fontSize:"inherit"},para:n.i(h.b)({space:t,color:i,fontFamily:o}).para,input:{isolate:!1,display:"inline-block",verticalAlign:"middle"},blockquote:{composes:"$para",fontSize:r.base,margin:[[t[2],t[4]]],padding:0},hr:{composes:"$para",borderWidth:[[0,0,1,0]],borderColor:i.border,borderStyle:"solid"},code:{fontFamily:o.monospace,fontSize:"inherit",color:"inherit",background:"transparent",whiteSpace:"inherit"},pre:{composes:"$para",backgroundColor:i.codeBackground,border:[[1,i.border,"solid"]],padding:[[t[1],t[2]]],fontSize:r.small,borderRadius:a,whiteSpace:"pre"},table:{composes:"$para",borderCollapse:"collapse"},thead:{composes:"$hr"},tbody:{},td:{fontFamily:o.base,padding:[[t[0],t[2],t[0],0]],fontSize:r.base},th:{composes:"$td",fontWeight:"bold"},tr:{}}})(Markdown)},function(e,t,n){"use strict";function MarkdownHeadingRenderer(e){var t=e.classes,n=e.level,o=e.children;return r.a.createElement("div",{className:t.spacing},r.a.createElement(l.a,{level:n},o))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(87);MarkdownHeadingRenderer.propTypes={classes:a.a.object.isRequired,level:a.a.oneOf([1,2,3,4,5,6]).isRequired,children:a.a.node},t.a=n.i(s.a)(function styles(e){return{spacing:{marginBottom:e.space[2]}}})(MarkdownHeadingRenderer)},function(e,t,n){"use strict";var o=n(622);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function MethodsRenderer(e){var t=e.methods;return r.a.createElement(d.a,{columns:h,rows:t,getRowKey:m})}t.a=MethodsRenderer;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(19),l=n(85),u=n(200),c=n(89),p=n(88),d=n(206),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},m=function getRowKey(e){return e.name},h=[{caption:"Method name",render:function render(e){var t=e.name,n=e.tags,o=void 0===n?{}:n;return r.a.createElement(c.a,{deprecated:!!o.deprecated},t+"()")}},{caption:"Parameters",render:function render(e){var t=e.params,n=void 0===t?[]:t;return r.a.createElement(u.a,{args:n})}},{caption:"Description",render:function render(e){var t=e.description,n=e.returns,o=e.tags,i=void 0===o?{}:o;return r.a.createElement("div",null,t&&r.a.createElement(s.a,{text:t}),n&&r.a.createElement(l.a,f({block:!0,returns:!0},n)),r.a.createElement(p.a,i))}}];MethodsRenderer.propTypes={methods:a.a.arrayOf(a.a.shape({name:a.a.string.isRequired,description:a.a.string,returns:a.a.object,params:a.a.array,tags:a.a.object})).isRequired}},function(e,t,n){"use strict";var o=n(624);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function NameRenderer(e){var t=e.classes,n=e.children,o=e.deprecated,i=c()(t.name,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.isDeprecated,o));return r.a.createElement(s.a,{className:i},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(86),l=n(9),u=n(2),c=n.n(u);NameRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired,deprecated:a.a.bool},t.a=n.i(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,o=e.color;return{name:{fontFamily:t.monospace,fontSize:n.small,color:o.name},isDeprecated:{color:o.light,textDecoration:"line-through"}}})(NameRenderer)},function(e,t,n){"use strict";function ParaRenderer(e){var t=e.classes,n=e.semantic,o=e.children,i=n||"div";return r.a.createElement(i,{className:t.para},o)}n.d(t,"b",function(){return l});var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=function styles(e){var t=e.space,n=e.color,o=e.fontFamily;return{para:{marginTop:0,marginBottom:t[2],color:n.base,fontFamily:o.base,fontSize:"inherit",lineHeight:1.5}}};ParaRenderer.propTypes={classes:a.a.object.isRequired,semantic:a.a.oneOf(["p"]),children:a.a.node.isRequired},t.a=n.i(s.a)(l)(ParaRenderer)},function(e,t,n){"use strict";function PathlineRenderer(e){var t=e.classes,n=e.children;return r.a.createElement("div",{className:t.pathline},n,r.a.createElement(p.a,{small:!0,className:t.copyButton,onClick:function onClick(){return l()(n)},title:"Copy to clipboard"},r.a.createElement(c.a,null)))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(275),l=n.n(s),u=n(592),c=n.n(u),p=n(208),d=n(9);PathlineRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.string},t.a=n.i(d.a)(function styles(e){var t=e.space,n=e.fontFamily,o=e.fontSize,r=e.color;return{pathline:{fontFamily:n.monospace,fontSize:o.small,color:r.light},copyButton:{marginLeft:t[0]}}})(PathlineRenderer)},function(e,t,n){"use strict";var o=n(628);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(223),l=n.n(s),u=n(636),c=n(52),p=n(90),d=n(631),f=n(91),m=n(30),h=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),b=function(e){function Playground(e,t){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Playground);var n=function _possibleConstructorReturn(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}(this,(Playground.__proto__||Object.getPrototypeOf(Playground)).call(this,e,t)),o=e.code,r=e.settings,i=t.config,a=void 0!==r.showcode?r.showcode:i.showCode;return n.state={code:o,activeTab:a?f.c:void 0},n.handleTabChange=n.handleTabChange.bind(n),n.handleChange=l()(n.handleChange.bind(n),i.previewDelay),n}return function _inherits(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)}(Playground,o["Component"]),h(Playground,[{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){var t=e.code;this.setState({code:t})}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.handleChange.cancel()}},{key:"handleChange",value:function handleChange(e){this.setState({code:e})}},{key:"handleTabChange",value:function handleTabChange(e){this.setState(function(t){return{activeTab:t.activeTab!==e?e:void 0}})}},{key:"render",value:function render(){var e=this.state,t=e.code,n=e.activeTab,o=this.props,i=o.evalInContext,a=o.index,s=o.name,l=o.settings,f=this.context.displayMode,h=r.a.createElement(u.a,{code:t,evalInContext:i});return l.noeditor?r.a.createElement(c.a,null,h):r.a.createElement(d.a,{name:s,preview:h,previewProps:l.props||{},tabButtons:r.a.createElement(p.a,{name:"exampleTabButtons",active:n,props:{onClick:this.handleTabChange}}),tabBody:r.a.createElement(p.a,{name:"exampleTabs",active:n,onlyActive:!0,props:{code:t,onChange:this.handleChange}}),toolbar:r.a.createElement(p.a,{name:"exampleToolbar",props:{name:s,isolated:f===m.a.example,example:a}})})}}]),Playground}();b.propTypes={code:a.a.string.isRequired,evalInContext:a.a.func.isRequired,index:a.a.number.isRequired,name:a.a.string.isRequired,settings:a.a.object},b.contextTypes={config:a.a.object.isRequired,displayMode:a.a.string},t.a=b},function(e,t,n){"use strict";function PlaygroundRenderer(e){var t=e.classes,n=e.name,o=e.preview,i=e.previewProps,a=e.tabButtons,s=e.tabBody,u=e.toolbar,p=i.className,d=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(i,["className"]);return r.a.createElement("div",{className:t.root},r.a.createElement("div",c({className:l()(t.preview,p)},d,{"data-preview":n}),o),r.a.createElement("div",{className:t.controls},r.a.createElement("div",{className:t.tabs},a),r.a.createElement("div",{className:t.toolbar},u)),r.a.createElement("div",{className:t.tab},s))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(9),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};PlaygroundRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string.isRequired,preview:a.a.node.isRequired,previewProps:a.a.object.isRequired,tabButtons:a.a.node.isRequired,tabBody:a.a.node.isRequired,toolbar:a.a.node.isRequired},t.a=n.i(u.a)(function styles(e){var t=e.space,n=e.color,o=e.borderRadius;return{root:{marginBottom:t[4]},preview:{padding:t[2],border:[[1,n.border,"solid"]],borderRadius:o,width:"100%",display:"inline-block"},controls:{display:"flex",alignItems:"center"},toolbar:{marginLeft:"auto"},tab:{}}})(PlaygroundRenderer)},function(e,t,n){"use strict";var o=n(630);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function PlaygroundErrorRenderer(e){var t=e.classes,n=e.message;return r.a.createElement("pre",{className:t.root},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);PlaygroundErrorRenderer.propTypes={classes:a.a.object.isRequired,message:a.a.string.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,o=e.color;return{root:{margin:0,lineHeight:1.2,fontSize:n.small,fontFamily:t.monospace,color:o.error,whiteSpace:"pre"}}})(PlaygroundErrorRenderer)},function(e,t,n){"use strict";var o=n(633);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(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 _inherits(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 o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(31),l=n.n(s),u=n(578),c=n.n(u),p=n(274),d=(n.n(p),n(634)),f=n(668),m=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),h=function(e){function PreviewComponent(){_classCallCheck(this,PreviewComponent);var e=_possibleConstructorReturn(this,(PreviewComponent.__proto__||Object.getPrototypeOf(PreviewComponent)).call(this));return e.state={},e.setState=e.setState.bind(e),e.setInitialState=e.setInitialState.bind(e),e}return _inherits(PreviewComponent,o["Component"]),m(PreviewComponent,[{key:"setInitialState",value:function setInitialState(e){Object.assign(this.state,e),this.setInitialState=c.a}},{key:"render",value:function render(){return this.props.component(this.state,this.setState,this.setInitialState)}}]),PreviewComponent}();h.propTypes={component:a.a.func.isRequired};var b=function(e){function Preview(){_classCallCheck(this,Preview);var e=_possibleConstructorReturn(this,(Preview.__proto__||Object.getPrototypeOf(Preview)).call(this));return e.state={error:null},e.handleError=e.handleError.bind(e),e}return _inherits(Preview,o["Component"]),m(Preview,[{key:"componentDidMount",value:function componentDidMount(){this.context.codeRevision>0&&console.clear(),this.executeCode()}},{key:"shouldComponentUpdate",value:function shouldComponentUpdate(e,t){return this.state.error!==t.error||this.props.code!==e.code}},{key:"componentDidUpdate",value:function componentDidUpdate(e){this.props.code!==e.code&&this.executeCode()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.unmountPreview()}},{key:"unmountPreview",value:function unmountPreview(){this.mountNode&&l.a.unmountComponentAtNode(this.mountNode)}},{key:"executeCode",value:function executeCode(){var e=this;this.setState({error:null});var t=this.props.code;if(t){var n=this.compileCode(t);if(n){var o=this.evalInContext(n),i=r.a.createElement(f.a,{onError:this.handleError},r.a.createElement(h,{component:o}));window.requestAnimationFrame(function(){e.unmountPreview();try{l.a.render(i,e.mountNode)}catch(t){e.handleError(t)}})}}}},{key:"compileCode",value:function compileCode(e){try{return function _compileCode(e,t){return n.i(p.transform)(e,t).code}(e,this.context.config.compilerConfig)}catch(e){this.handleError(e)}return!1}},{key:"evalInContext",value:function evalInContext(e){var t="\n\t\t\tvar stateWrapper = {\n\t\t\t\tset initialState(value) {\n\t\t\t\t\t__setInitialState(value)\n\t\t\t\t},\n\t\t\t}\n\t\t\twith (stateWrapper) {\n\t\t\t\treturn eval("+JSON.stringify(e)+")\n\t\t\t}\n\t\t";return this.props.evalInContext(t)}},{key:"handleError",value:function handleError(e){this.unmountPreview(),this.setState({error:e.toString()}),console.error(e)}},{key:"render",value:function render(){var e=this,t=this.state.error;return r.a.createElement("div",null,r.a.createElement("div",{ref:function ref(t){return e.mountNode=t}}),t&&r.a.createElement(d.a,{message:t}))}}]),Preview}();b.propTypes={code:a.a.string.isRequired,evalInContext:a.a.func.isRequired},b.contextTypes={config:a.a.object.isRequired,codeRevision:a.a.number.isRequired},t.a=b},function(e,t,n){"use strict";var o=n(635);n.d(t,"a",function(){return o.a})},function(module,__webpack_exports__,__webpack_require__){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function renderType(e){if(!e)return"unknown";var t=e.name;switch(t){case"arrayOf":return e.value.name+"[]";case"objectOf":return"{"+renderType(e.value)+"}";case"instanceOf":return e.value;default:return t}}function renderEnum(e){if(!Array.isArray(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value))return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value.map(function(e){var t=e.value;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__.a,{key:t},__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(t)))});return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,"One of:"," ",__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_group___default.a,{separator:", ",inline:!0},t))}function renderShape(e){var t=[];for(var n in e){var o=e[n],r=renderDefault(o),i=o.description;t.push(__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",{key:n},__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_rsg_components_Name__.a,null,n),": ",__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__.a,null,renderType(o)),r&&" — ",r,i&&" — ",i&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8_rsg_components_Markdown__.a,{text:i,inline:!0})))}return t}function renderDefault(prop){if(prop.required)return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light"},"Required");if(prop.defaultValue){if(prop.type){var propName=prop.type.name;if(defaultValueBlacklist.indexOf(prop.defaultValue.value)>-1)return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__.a,null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value)));if("func"===propName)return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value))},"Function");if("shape"===propName||"object"===propName)try{var object=eval("("+prop.defaultValue.value+")");return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:__WEBPACK_IMPORTED_MODULE_3_javascript_stringify___default()(object,null,2)},"Shape")}catch(e){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__.a,{size:"small",color:"light",underlined:!0,title:prop.defaultValue.value},"Shape")}}return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__.a,null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.b)(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.c)(prop.defaultValue.value)))}return""}function renderDescription(e){var t=e.description,n=e.tags,o=void 0===n?{}:n,r=renderExtra(e),i=[].concat(_toConsumableArray(o.arg||[]),_toConsumableArray(o.argument||[]),_toConsumableArray(o.param||[])),a=o.return&&o.return[0]||o.returns&&o.returns[0];return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("div",null,t&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_8_rsg_components_Markdown__.a,{text:t}),r&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12_rsg_components_Para__.a,null,r),__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_7_rsg_components_JsDoc__.a,o),i.length>0&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_rsg_components_Arguments__.a,{args:i,heading:!0}),a&&__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_5_rsg_components_Argument__.a,_extends({},a,{returns:!0})))}function renderExtra(e){var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e);if(!t)return null;switch(t.name){case"enum":return renderEnum(e);case"union":return renderUnion(e);case"shape":return renderShape(e.type.value);case"arrayOf":case"objectOf":return"shape"===t.value.name?renderShape(e.type.value.value):null;default:return null}}function renderUnion(e){if(!Array.isArray(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value))return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e).value.map(function(e,t){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__.a,{key:e.name+"-"+t},renderType(e))});return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement("span",null,"One of type:"," ",__WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2_react_group___default.a,{separator:", ",inline:!0},t))}function renderName(e){var t=e.name,n=e.tags,o=void 0===n?{}:n;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_9_rsg_components_Name__.a,{deprecated:!!o.deprecated},t)}function renderTypeColumn(e){return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__.a,null,renderType(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_15__util__.a)(e)))}function getRowKey(e){return e.name}function propsToArray(e){return __WEBPACK_IMPORTED_MODULE_14_lodash_map___default()(e,function(e,t){return _extends({},e,{name:t})})}function PropsRenderer(e){var t=e.props;return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_13_rsg_components_Table__.a,{columns:columns,rows:propsToArray(t),getRowKey:getRowKey})}__webpack_exports__.a=PropsRenderer;var __WEBPACK_IMPORTED_MODULE_0_react__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_0_react___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__),__WEBPACK_IMPORTED_MODULE_1_prop_types__=__webpack_require__(0),__WEBPACK_IMPORTED_MODULE_1_prop_types___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__),__WEBPACK_IMPORTED_MODULE_2_react_group__=__webpack_require__(198),__WEBPACK_IMPORTED_MODULE_2_react_group___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_react_group__),__WEBPACK_IMPORTED_MODULE_3_javascript_stringify__=__webpack_require__(456),__WEBPACK_IMPORTED_MODULE_3_javascript_stringify___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_javascript_stringify__),__WEBPACK_IMPORTED_MODULE_4_rsg_components_Arguments__=__webpack_require__(200),__WEBPACK_IMPORTED_MODULE_5_rsg_components_Argument__=__webpack_require__(85),__WEBPACK_IMPORTED_MODULE_6_rsg_components_Code__=__webpack_require__(86),__WEBPACK_IMPORTED_MODULE_7_rsg_components_JsDoc__=__webpack_require__(88),__WEBPACK_IMPORTED_MODULE_8_rsg_components_Markdown__=__webpack_require__(19),__WEBPACK_IMPORTED_MODULE_9_rsg_components_Name__=__webpack_require__(89),__WEBPACK_IMPORTED_MODULE_10_rsg_components_Type__=__webpack_require__(209),__WEBPACK_IMPORTED_MODULE_11_rsg_components_Text__=__webpack_require__(207),__WEBPACK_IMPORTED_MODULE_12_rsg_components_Para__=__webpack_require__(52),__WEBPACK_IMPORTED_MODULE_13_rsg_components_Table__=__webpack_require__(206),__WEBPACK_IMPORTED_MODULE_14_lodash_map__=__webpack_require__(196),__WEBPACK_IMPORTED_MODULE_14_lodash_map___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_lodash_map__),__WEBPACK_IMPORTED_MODULE_15__util__=__webpack_require__(639),_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},defaultValueBlacklist=["null","undefined"],columns=[{caption:"Prop name",render:renderName},{caption:"Type",render:renderTypeColumn},{caption:"Default",render:renderDefault},{caption:"Description",render:renderDescription}];PropsRenderer.propTypes={props:__WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object.isRequired}},function(e,t,n){"use strict";var o=n(637);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";t.c=function unquote(e){return e.replace(/^['"]|['"]$/g,"")},t.a=function getType(e){return e.flowType||e.type},t.b=function showSpaces(e){return e.replace(/^\s|\s$/g,"␣")}},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(201),l=n(203),u=n(88),c=n(19),p=n(90),d=n(641),f=n(91),m=n(30),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),g=function(){return r.a.createElement("div",null)},A=function(e){function ReactComponent(e,t){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,ReactComponent);var n=function _possibleConstructorReturn(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}(this,(ReactComponent.__proto__||Object.getPrototypeOf(ReactComponent)).call(this,e,t)),o=t.config.showUsage;return n.handleTabChange=n.handleTabChange.bind(n),n.state={activeTab:o?f.b:void 0},n}return function _inherits(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)}(ReactComponent,o["Component"]),b(ReactComponent,[{key:"handleTabChange",value:function handleTabChange(e){this.setState(function(t){return{activeTab:t.activeTab!==e?e:void 0}})}},{key:"render",value:function render(){var e=this.state.activeTab,t=this.context.displayMode,n=this.props,o=n.component,i=n.depth,a=o.name,f=o.slug,b=o.pathLine,A=o.props,v=A.description,C=A.examples,y=void 0===C?[]:C,_=A.tags,w=void 0===_?{}:_;return a?r.a.createElement(d.a,{name:a,slug:f,pathLine:b,docs:r.a.createElement(u.a,w),description:v&&r.a.createElement(c.a,{text:v}),heading:r.a.createElement(l.a,{id:f,deprecated:!!w.deprecated,slotName:"componentToolbar",slotProps:h({},o,{isolated:t!==m.a.all}),depth:i},a),examples:y.length>0?r.a.createElement(s.a,{examples:y,name:a}):r.a.createElement(g,{name:a}),tabButtons:r.a.createElement(p.a,{name:"docsTabButtons",active:e,props:h({},o,{onClick:this.handleTabChange})}),tabBody:r.a.createElement(p.a,{name:"docsTabs",active:e,onlyActive:!0,props:o})}):null}}]),ReactComponent}();A.propTypes={component:a.a.object.isRequired,depth:a.a.number.isRequired},A.contextTypes={config:a.a.object.isRequired,displayMode:a.a.string},t.a=A},function(e,t,n){"use strict";function ReactComponentRenderer(e){var t=e.classes,n=e.name,o=e.heading,i=e.pathLine,a=e.description,l=e.docs,u=e.examples,c=e.tabButtons,p=e.tabBody;return r.a.createElement("div",{className:t.root,id:n+"-container"},r.a.createElement("header",{className:t.header},o,i&&r.a.createElement(s.a,null,i)),(a||l)&&r.a.createElement("div",{className:t.docs},a,l),c&&r.a.createElement("div",{className:t.tabs},r.a.createElement("div",{className:t.tabButtons},c),p),u)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(629),l=n(9);ReactComponentRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string.isRequired,heading:a.a.node.isRequired,pathLine:a.a.string,tabButtons:a.a.node,tabBody:a.a.node,description:a.a.node,docs:a.a.node,examples:a.a.node,isolated:a.a.bool},t.a=n.i(l.a)(function styles(e){var t=e.color,n=e.fontSize,o=e.space;return{root:{marginBottom:o[6]},header:{marginBottom:o[3]},tabs:{marginBottom:o[3]},tabButtons:{marginBottom:o[2]},docs:{color:t.base,fontSize:n.text}}})(ReactComponentRenderer)},function(e,t,n){"use strict";var o=n(640);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function Section(e,t){var n=e.section,o=e.depth,i=t.displayMode,a=n.name,d=n.slug,f=n.content,m=n.components,h=n.sections,b=n.description,g=f&&r.a.createElement(s.a,{examples:f,name:a}),A=m&&r.a.createElement(l.a,{components:m,depth:o+1}),v=h&&r.a.createElement(u.a,{sections:h,depth:o+1});return r.a.createElement(c.a,{description:b,name:a,slug:d,content:g,components:A,sections:v,isolated:i!==p.a.all,depth:o})}t.a=Section;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(201),l=n(604),u=n(204),c=n(644),p=n(30);Section.propTypes={section:a.a.object.isRequired,depth:a.a.number.isRequired},Section.contextTypes={displayMode:a.a.string}},function(e,t,n){"use strict";function SectionRenderer(e){var t=e.classes,n=e.name,o=e.slug,i=e.content,a=e.components,s=e.sections,c=e.depth,p=e.description;return r.a.createElement("section",{className:t.root},n&&r.a.createElement(l.a,{depth:c,id:o,slotName:"sectionToolbar",slotProps:e},n),p&&r.a.createElement(u.a,{text:p}),i,a,s)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(203),u=n(19);SectionRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string,description:a.a.string,slug:a.a.string,content:a.a.node,components:a.a.node,sections:a.a.node,isolated:a.a.bool,depth:a.a.number.isRequired},t.a=n.i(s.a)(function styles(e){return{root:{marginBottom:e.space[4]}}})(SectionRenderer)},function(e,t,n){"use strict";var o=n(643);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function SectionHeading(e){var t=e.slotName,o=e.slotProps,i=e.children,a=e.id,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["slotName","slotProps","children","id"]),d=n.i(u.a)({slug:a,anchor:!0});return r.a.createElement(l.a,c({toolbar:r.a.createElement(s.a,{name:t,props:o}),id:a,href:d},p),i)}t.a=SectionHeading;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(90),l=n(647),u=n(211),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};SectionHeading.propTypes={children:a.a.node,id:a.a.string.isRequired,slotName:a.a.string.isRequired,slotProps:a.a.object.isRequired,depth:a.a.number.isRequired,deprecated:a.a.bool}},function(e,t,n){"use strict";function SectionHeadingRenderer(e){var t=e.classes,n=e.children,o=e.toolbar,i=e.id,a=e.href,s=e.depth,c=e.deprecated,p=Math.min(6,s),d=l()(t.sectionName,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.isDeprecated,c));return r.a.createElement("div",{className:t.wrapper},r.a.createElement(u.a,{level:p,id:i},r.a.createElement("a",{href:a,className:d},n)),r.a.createElement("div",{className:t.toolbar},o))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(2),l=n.n(s),u=n(87),c=n(9);SectionHeadingRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node,toolbar:a.a.node,id:a.a.string.isRequired,href:a.a.string.isRequired,depth:a.a.number.isRequired,deprecated:a.a.bool},t.a=n.i(c.a)(function styles(e){var t=e.color;return{wrapper:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:e.space[1]},toolbar:{marginLeft:"auto"},sectionName:{"&:hover, &:active":{isolate:!1,textDecoration:"underline",cursor:"pointer"}},isDeprecated:{textDecoration:"line-through",color:t.light}}})(SectionHeadingRenderer)},function(e,t,n){"use strict";function Sections(e){var t=e.sections,n=e.depth;return r.a.createElement(l.a,null,t.map(function(e,t){return r.a.createElement(s.a,{key:t,section:e,depth:n})}))}t.a=Sections;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(645),l=n(649);Sections.propTypes={sections:a.a.array.isRequired,root:a.a.bool,depth:a.a.number.isRequired}},function(e,t,n){"use strict";function SectionsRenderer(e){var t=e.classes,n=e.children;return r.a.createElement("section",{className:t.root},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);SectionsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node},t.a=n.i(s.a)(function styles(){return{root:{}}})(SectionsRenderer)},function(e,t,n){"use strict";function Slot(e,t){var n=e.name,o=e.active,i=e.onlyActive,a=e.className,l=e.props,u=void 0===l?{}:l,c=t.slots,p=c[n];if(!p)throw new Error('Slot "'+n+'" not found, available slots: '+Object.keys(c).join(", "));var d=p.map(function(e,t){var n=e,a=n.id,l=n.render;if(a&&l){if(i&&a!==o)return null;var c=u.onClick;u=s({},u,{name:a,active:o&&a===o,onClick:c&&function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return c.apply(void 0,[a].concat(t))}}),e=l}return r.a.createElement(e,s({key:t},u))}).filter(Boolean);return 0===d.length?null:r.a.createElement("div",{className:a},d)}t.a=Slot;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};Slot.propTypes={name:a.a.string.isRequired,active:a.a.string,onlyActive:a.a.bool,props:a.a.object,className:a.a.string},Slot.contextTypes={slots:a.a.object.isRequired}},function(e,t,n){"use strict";function _possibleConstructorReturn(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}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(659),l=n(652),u=n(204),c=n(666),p=n(611),d=n(212),f=(n.n(d),n(30)),m=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),h=function(e){function StyleGuide(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,StyleGuide);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=StyleGuide.__proto__||Object.getPrototypeOf(StyleGuide)).call.apply(e,[this].concat(i))),n.state={error:!1,info:null},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(StyleGuide,o["Component"]),m(StyleGuide,[{key:"getChildContext",value:function getChildContext(){return{codeRevision:this.props.codeRevision,config:this.props.config,slots:this.props.slots,displayMode:this.props.displayMode}}},{key:"componentDidCatch",value:function componentDidCatch(e,t){this.setState({error:e,info:t})}},{key:"render",value:function render(){var e=this.props,t=e.config,n=e.sections,o=e.welcomeScreen,i=e.patterns,a=e.displayMode;return this.state.error?r.a.createElement(p.a,{error:this.state.error,info:this.state.info}):o?r.a.createElement(c.a,{patterns:i}):r.a.createElement(l.a,{title:t.title,homepageUrl:d.HOMEPAGE,toc:r.a.createElement(s.a,{sections:n}),hasSidebar:t.showSidebar&&a===f.a.all},r.a.createElement(u.a,{sections:n,depth:1}))}}]),StyleGuide}();h.propTypes={codeRevision:a.a.number.isRequired,config:a.a.object.isRequired,slots:a.a.object.isRequired,sections:a.a.array.isRequired,welcomeScreen:a.a.bool,patterns:a.a.array,displayMode:a.a.string},h.childContextTypes={codeRevision:a.a.number.isRequired,config:a.a.object.isRequired,slots:a.a.object.isRequired,displayMode:a.a.string},h.defaultProps={displayMode:f.a.all},t.a=h},function(e,t,n){"use strict";function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function StyleGuideRenderer(e){var t=e.classes,n=e.title,o=e.homepageUrl,i=e.children,a=e.toc,u=e.hasSidebar;return r.a.createElement("div",{className:p()(t.root,u&&t.hasSidebar)},r.a.createElement("main",{className:t.content},i,r.a.createElement("footer",{className:t.footer},r.a.createElement(l.a,{text:"Generated with [React Styleguidist]("+o+")"}))),u&&r.a.createElement("div",{className:t.sidebar},r.a.createElement("div",{className:t.logo},r.a.createElement(s.a,null,n)),a))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(618),l=n(19),u=n(9),c=n(2),p=n.n(c);StyleGuideRenderer.propTypes={classes:a.a.object.isRequired,title:a.a.string.isRequired,homepageUrl:a.a.string.isRequired,children:a.a.node.isRequired,toc:a.a.node.isRequired,hasSidebar:a.a.bool},t.a=n.i(u.a)(function styles(e){var t,n=e.color,o=e.fontFamily,r=e.fontSize,i=e.sidebarWidth,a=e.mq,s=e.space,l=e.maxWidth;return{root:{backgroundColor:n.baseBackground},hasSidebar:_defineProperty({paddingLeft:i},a.small,{paddingLeft:0}),content:(t={maxWidth:l,padding:[[s[2],s[4]]],margin:[[0,"auto"]]},_defineProperty(t,a.small,{padding:s[2]}),_defineProperty(t,"display","block"),t),sidebar:_defineProperty({backgroundColor:n.sidebarBackground,border:[[n.border,"solid"]],borderWidth:[[0,1,0,0]],position:"fixed",top:0,left:0,bottom:0,width:i,overflow:"auto","-webkit-overflow-scrolling":"touch"},a.small,{position:"static",width:"auto",borderWidth:[[1,0,0,0]],paddingBottom:s[0]}),logo:{padding:s[2],borderBottom:[[1,n.border,"solid"]]},footer:{display:"block",color:n.light,fontFamily:o.base,fontSize:r.small}}})(StyleGuideRenderer)},function(e,t,n){"use strict";var o=n(651);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(672),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},u=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.a=function(e){return function(t){var i,c,p=t.name.replace(/Renderer$/,"");return c=i=function(i){function _class(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class),function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).apply(this,arguments))}return function _inherits(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)}(_class,o["Component"]),u(_class,[{key:"componentWillMount",value:function componentWillMount(){this.sheet=n.i(s.a)(e,this.context.config||{},p),this.sheet.update(this.props).attach()}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){this.sheet.update(e)}},{key:"render",value:function render(){return r.a.createElement(t,l({},this.props,{classes:this.sheet.classes}))}}]),_class}(),i.displayName="Styled("+p+")",i.contextTypes={config:a.a.object},c}}},function(e,t,n){"use strict";function TabButtonRenderer(e){var t=e.classes,n=e.name,o=e.className,i=e.onClick,a=e.active,s=e.children,l=u()(t.button,o,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.isActive,a));return r.a.createElement("button",{type:"button",name:n,className:l,onClick:i},s)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(2),u=n.n(l);TabButtonRenderer.propTypes={classes:a.a.object.isRequired,name:a.a.string,className:a.a.string,onClick:a.a.func,active:a.a.bool,children:a.a.node},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color,o=e.fontFamily,r=e.fontSize,i=e.buttonTextTransform;return{button:{padding:[[t[1],0]],fontFamily:o.base,fontSize:r.base,color:n.light,background:"transparent",textTransform:i,transition:"color 750ms ease-out",border:"none",cursor:"pointer","&:hover, &:focus":{isolate:!1,outline:0,color:n.linkHover,transition:"color 150ms ease-in"},"&:focus:not($isActive)":{isolate:!1,outline:[[1,"dotted",n.linkHover]]},"& + &":{isolate:!1,marginLeft:t[1]}},isActive:{borderBottom:[[2,n.linkHover,"solid"]]}}})(TabButtonRenderer)},function(e,t,n){"use strict";function TableRenderer(e){var t=e.classes,n=e.columns,o=e.rows,i=e.getRowKey;return r.a.createElement("table",{className:t.table},r.a.createElement("thead",{className:t.tableHead},r.a.createElement("tr",null,n.map(function(e){var n=e.caption;return r.a.createElement("th",{key:n,className:t.cellHeading},n)}))),r.a.createElement("tbody",null,o.map(function(e){return r.a.createElement("tr",{key:i(e)},n.map(function(n,o){var i=n.render;return r.a.createElement("td",{key:o,className:t.cell},i(e))}))})))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);TableRenderer.propTypes={classes:a.a.object.isRequired,columns:a.a.arrayOf(a.a.shape({caption:a.a.string.isRequired,render:a.a.func.isRequired})).isRequired,rows:a.a.arrayOf(a.a.object).isRequired,getRowKey:a.a.func.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color,o=e.fontFamily,r=e.fontSize;return{table:{width:"100%",borderCollapse:"collapse",marginBottom:t[4]},tableHead:{borderBottom:[[1,n.border,"solid"]]},cellHeading:{color:n.base,paddingRight:t[2],paddingBottom:t[1],textAlign:"left",fontFamily:o.base,fontWeight:"bold",fontSize:r.small,whiteSpace:"nowrap"},cell:{color:n.base,paddingRight:t[2],paddingTop:t[1],paddingBottom:t[1],verticalAlign:"top",fontFamily:o.base,fontSize:r.small,"&:last-child":{isolate:!1,width:"99%",paddingRight:0},"& p:last-child":{isolate:!1,marginBottom:0}}}})(TableRenderer)},function(e,t,n){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function _possibleConstructorReturn(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}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(606),l=n(658),u=n(682),c=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),p=function(e){function TableOfContents(){var e,t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,TableOfContents);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,(e=TableOfContents.__proto__||Object.getPrototypeOf(TableOfContents)).call.apply(e,[this].concat(i))),n.state={searchTerm:""},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(TableOfContents,o["Component"]),c(TableOfContents,[{key:"renderLevel",value:function renderLevel(e){var t=this,n=e.map(function(e){var n=[].concat(_toConsumableArray(e.sections||[]),_toConsumableArray(e.components||[]));return Object.assign({},e,{heading:!!e.name&&n.length>0,content:n.length>0&&t.renderLevel(n)})});return r.a.createElement(s.a,{items:n})}},{key:"renderSections",value:function renderSections(){var e=this.state.searchTerm,t=this.props.sections,o=1===t.length?t[0].components:t,r=n.i(u.a)(o,e);return this.renderLevel(r)}},{key:"render",value:function render(){var e=this,t=this.state.searchTerm;return r.a.createElement(l.a,{searchTerm:t,onSearchTermChange:function onSearchTermChange(t){return e.setState({searchTerm:t})}},this.renderSections())}}]),TableOfContents}();p.propTypes={sections:a.a.array.isRequired},t.a=p},function(e,t,n){"use strict";function TableOfContentsRenderer(e){var t=e.classes,n=e.children,o=e.searchTerm,i=e.onSearchTermChange;return r.a.createElement("div",null,r.a.createElement("div",{className:t.root},r.a.createElement("div",{className:t.search},r.a.createElement("input",{value:o,className:t.input,placeholder:"Filter by name",onChange:function onChange(e){return i(e.target.value)}})),n))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9);TableOfContentsRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node,searchTerm:a.a.string.isRequired,onSearchTermChange:a.a.func.isRequired},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color,o=e.fontFamily,r=e.fontSize,i=e.borderRadius;return{root:{fontFamily:o.base},search:{padding:t[2]},input:{display:"block",width:"100%",padding:t[1],color:n.base,backgroundColor:n.baseBackground,fontFamily:o.base,fontSize:r.base,border:[[1,n.border,"solid"]],borderRadius:i,transition:"border-color ease-in-out .15s","&:focus":{isolate:!1,borderColor:n.link,outline:0},"&::placeholder":{isolate:!1,fontFamily:o.base,fontSize:r.base,color:n.light}}}})(TableOfContentsRenderer)},function(e,t,n){"use strict";var o=n(657);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TextRenderer(e){var t,n=e.classes,o=e.semantic,i=e.size,a=e.color,s=e.underlined,l=e.children,p=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["classes","semantic","size","color","underlined","children"]),d=o||"span",f=u()(n.text,n[i+"Size"],n[a+"Color"],(t={},_defineProperty(t,n[o],o),_defineProperty(t,n.isUnderlined,s),t));return r.a.createElement(d,c({},p,{className:f}),l)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(2),u=n.n(l),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};TextRenderer.propTypes={classes:a.a.object.isRequired,semantic:a.a.oneOf(["em","strong"]),size:a.a.oneOf(["inherit","small","base","text"]),color:a.a.oneOf(["base","light"]),underlined:a.a.bool,children:a.a.node.isRequired},TextRenderer.defaultProps={size:"inherit",color:"base",underlined:!1},t.a=n.i(s.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,o=e.color;return{text:{fontFamily:t.base},inheritSize:{fontSize:"inherit"},smallSize:{fontSize:n.small},baseSize:{fontSize:n.base},textSize:{fontSize:n.text},baseColor:{color:o.base},lightColor:{color:o.light},em:{fontStyle:"italic"},strong:{fontWeight:"bold"},isUnderlined:{borderBottom:[[1,"dotted",o.lightest]]}}})(TextRenderer)},function(e,t,n){"use strict";function ToolbarButtonRenderer(e){var t=e.classes,n=e.className,o=e.onClick,i=e.href,a=e.title,s=e.small,l=e.children,c=u()(t.button,n,function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.isSmall,s));return void 0!==i?r.a.createElement("a",{href:i,title:a,className:c},l):r.a.createElement("button",{type:"button",onClick:o,title:a,className:c},l)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(9),l=n(2),u=n.n(l);ToolbarButtonRenderer.propTypes={classes:a.a.object.isRequired,className:a.a.string,href:a.a.string,onClick:a.a.func,title:a.a.string,small:a.a.bool,children:a.a.node},t.a=n.i(s.a)(function styles(e){var t=e.space,n=e.color;return{button:{padding:2,color:n.light,background:"transparent",transition:"color 750ms ease-out",cursor:"pointer","&:hover, &:focus":{isolate:!1,color:n.linkHover,transition:"color 150ms ease-in"},"&:focus":{isolate:!1,outline:[[1,"dotted",n.linkHover]]},"& + &":{isolate:!1,marginLeft:t[1]},"& svg":{width:t[3],height:t[3],color:"currentColor",cursor:"inherit"}},isSmall:{"& svg":{width:14,height:14}}}})(ToolbarButtonRenderer)},function(e,t,n){"use strict";function TypeRenderer(e){var t=e.classes,n=e.children;return r.a.createElement(s.a,{className:t.type},n)}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(86),l=n(9);TypeRenderer.propTypes={classes:a.a.object.isRequired,children:a.a.node.isRequired},t.a=n.i(l.a)(function styles(e){var t=e.fontFamily,n=e.fontSize,o=e.color;return{type:{fontFamily:t.monospace,fontSize:n.small,color:o.type}}})(TypeRenderer)},function(e,t,n){"use strict";function Usage(e){var t=e.props,n=t.props,o=t.methods,i=n&&r.a.createElement(s.a,{props:n}),a=o&&o.length>0&&r.a.createElement(l.a,{methods:o});return i||a?r.a.createElement("div",null,i,a):null}t.a=Usage;var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(638),l=n(625);Usage.propTypes={props:a.a.shape({props:a.a.object,methods:a.a.array}).isRequired}},function(e,t,n){"use strict";var o=n(663);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";function WelcomeRenderer(e){var t=e.classes,n=e.patterns;return r.a.createElement("div",{className:t.root},r.a.createElement(s.a,{text:"\n# Welcome to React Styleguidist!\n\n**We couldn’t find any components** using these patterns:\n\n"+n.map(function(e){return"- `"+e+"`"}).join("\n")+"\n\nCreate **styleguide.config.js** file in your project root directory like this:\n\n module.exports = {\n components: 'src/components/**/*.js'\n };\n\nRead more in the [locating components guide]("+u.DOCS_COMPONENTS+").\n\t\t\t\t"}))}var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(19),l=n(9),u=n(212);n.n(u);WelcomeRenderer.propTypes={classes:a.a.object.isRequired,patterns:a.a.array.isRequired},t.a=n.i(l.a)(function styles(e){var t=e.space;return{root:{maxWidth:e.maxWidth,margin:[[0,"auto"]],padding:t[4]}}})(WelcomeRenderer)},function(e,t,n){"use strict";var o=n(665);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(1),r=(n.n(o),n(0)),i=n.n(r),a=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),s=function(e){function Wrapper(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Wrapper),function _possibleConstructorReturn(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}(this,(Wrapper.__proto__||Object.getPrototypeOf(Wrapper)).apply(this,arguments))}return function _inherits(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)}(Wrapper,o["Component"]),a(Wrapper,[{key:"componentDidCatch",value:function componentDidCatch(e){this.props.onError(e)}},{key:"render",value:function render(){return this.props.children}}]),Wrapper}();s.propTypes={children:i.a.node.isRequired,onError:i.a.func.isRequired},t.a=s},function(e,t,n){"use strict";var o=n(667);n.d(t,"a",function(){return o.a})},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(205),l=function CodeTabButton(e){return r.a.createElement(s.a,e,"View Code")};l.propTypes={onClick:a.a.func.isRequired,name:a.a.string.isRequired,active:a.a.bool},t.a=l},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(594),l=n.n(s),u=n(593),c=n.n(u),p=n(208),d=n(211),f=function IsolateButton(e){var t=e.name,o=e.example;return e.isolated?r.a.createElement(p.a,{href:n.i(d.a)({anchor:!0,slug:"/"}),title:"Show all components"},r.a.createElement(c.a,null)):r.a.createElement(p.a,{href:n.i(d.a)({name:t,example:o,isolated:!0}),title:"Open isolated"},r.a.createElement(l.a,null))};f.propTypes={name:a.a.string.isRequired,example:a.a.number,isolated:a.a.bool},t.a=f},function(e,t,n){"use strict";var o=n(1),r=n.n(o),i=n(0),a=n.n(i),s=n(205),l=function UsageTabButton(e){var t=e.props;return t.props||t.methods&&t.methods.length>0?r.a.createElement(s.a,e,"Props & methods"):null};l.propTypes={onClick:a.a.func.isRequired,name:a.a.string.isRequired,props:a.a.shape({props:a.a.object,methods:a.a.array}).isRequired,active:a.a.bool},t.a=l},function(e,t,n){"use strict";var o=n(577),r=n.n(o),i=n(83),a=n.n(i),s=n(92),l=n(676);t.a=a()(function(e,t,n){var o=r()({},l,t.theme),i=r()({},e(o),t.styles&&t.styles[n]);return s.a.createStyleSheet(i,{meta:n,link:!0})})},function(e,t,n){"use strict";n(92),n(675)},function(e,t,n){"use strict";t.a={animation:"none 0s ease 0s 1 normal none running","backface-visibility":"visible",background:"transparent none repeat 0 0 / auto auto padding-box border-box scroll",border:"medium none currentColor","border-image":"none","border-radius":"0",bottom:"auto","box-shadow":"none",clear:"none",clip:"auto",columns:"auto","column-count":"auto","column-fill":"balance","column-gap":"normal","column-rule":"medium none currentColor","column-span":"1","column-width":"auto",content:"normal","counter-increment":"none","counter-reset":"none",float:"none",height:"auto",hyphens:"none",left:"auto",margin:"0","max-height":"none","max-width":"none","min-height":"0","min-width":"0",opacity:"1",outline:"medium none invert",overflow:"visible","overflow-x":"visible","overflow-y":"visible",padding:"0","page-break-after":"auto","page-break-before":"auto","page-break-inside":"auto",perspective:"none","perspective-origin":"50% 50%",position:"static",right:"auto","table-layout":"auto","text-decoration":"none",top:"auto",transform:"none","transform-origin":"50% 50% 0","transform-style":"flat",transition:"none 0s ease 0s","unicode-bidi":"normal","vertical-align":"baseline",width:"auto","z-index":"auto"}},function(e,t,n){"use strict";var o=n(92).a.createStyleSheet({body:{isolate:!1,margin:0,padding:0,border:0}}).attach().classes.body;document.body.classList.add(o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"spaceFactor",function(){return o}),n.d(t,"space",function(){return r}),n.d(t,"color",function(){return i}),n.d(t,"fontFamily",function(){return a}),n.d(t,"fontSize",function(){return s}),n.d(t,"mq",function(){return l}),n.d(t,"borderRadius",function(){return u}),n.d(t,"maxWidth",function(){return c}),n.d(t,"sidebarWidth",function(){return p}),n.d(t,"buttonTextTransform",function(){return d});var o=8,r=[o/2,o,2*o,3*o,4*o,5*o,6*o],i={base:"#333",light:"#999",lightest:"#ccc",link:"#1978c8",linkHover:"#f28a25",border:"#e8e8e8",name:"#7f9a44",type:"#b77daa",error:"#c00",baseBackground:"#fff",codeBackground:"#f5f5f5",sidebarBackground:"#f5f5f5"},a={base:["-apple-system","BlinkMacSystemFont",'"Segoe UI"','"Roboto"','"Oxygen"','"Ubuntu"','"Cantarell"','"Fira Sans"','"Droid Sans"','"Helvetica Neue"',"sans-serif"],monospace:["Consolas",'"Liberation Mono"',"Menlo","monospace"]},s={base:15,text:16,small:13,h1:48,h2:36,h3:24,h4:18,h5:16,h6:16},l={small:"@media (max-width: 600px)"},u=3,c=1e3,p=200,d="uppercase"},function(e,t,n){"use strict";t.a=function filterComponentExamples(e,t){return o({},e,{props:o({},e.props,{examples:[e.props.examples[t]]})})};var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";t.a=function filterComponentsByExactName(e,t){return e.filter(function(e){return e.name===t})}},function(e,t,n){"use strict";t.a=function filterComponentsByName(e,t){var r=n.i(o.a)(t);return e.filter(function(e){var t=e.name;return r.test(t)})};var o=n(210)},function(e,t,n){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function filterComponentsInSectionsByExactName(e,t){var r=[];return e.forEach(function(e){e.components&&r.push.apply(r,_toConsumableArray(n.i(o.a)(e.components,t))),e.sections&&r.push.apply(r,_toConsumableArray(filterComponentsInSectionsByExactName(e.sections,t)))}),r}t.a=filterComponentsInSectionsByExactName;var o=n(678)},function(e,t,n){"use strict";t.a=function filterSectionExamples(e,t){return o({},e,{content:[e.content[t]]})};var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function filterSectionsByName(e,t){var a=n.i(o.a)(t);return e.map(function(e){return i({},e,{sections:e.sections?filterSectionsByName(e.sections,t):[],components:e.components?n.i(r.a)(e.components,t):[]})}).filter(function(e){return e.components.length>0||e.sections.length>0||a.test(e.name)})}t.a=filterSectionsByName;var o=n(210),r=n(679),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function findSection(e,t){var n=e.find(function(e){return e.name===t});if(n)return n;var o=!0,r=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(o=(a=s.next()).done);o=!0){var l=a.value;if(l.sections&&0!==l.sections.length){var u=findSection(l.sections,t);if(u)return u}}}catch(e){r=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(r)throw i}}}t.a=findSection},function(e,t,n){"use strict";t.a=function getInfoFromHash(e){if("#!/"===e.substr(0,3)){var t=e.substr(3).split("/"),n=parseInt(t[1],10);return{targetName:t[0],targetIndex:r()(n)?void 0:n}}return{}};var o=n(573),r=n.n(o)},function(e,t,n){"use strict";t.a=function getPageTitle(e,t,n){return n===o.a.component||n===o.a.example?e[0].components[0].name+" — "+t:n===o.a.section?e[0].name+" — "+t:t};var o=n(30)},function(e,t,n){"use strict";t.a=function getRouteData(e,t){var o=n.i(u.a)(t),p=o.targetName,d=o.targetIndex,f=c.a.all;if(p){var m=n.i(a.a)(e,p);if(m.length)e=[{components:m}],f=c.a.component;else{var h=n.i(l.a)(e,p);e=h?[h]:[],f=c.a.section}r()(d)&&(1===m.length?(e=[{components:[n.i(i.a)(m[0],d)]}],f=c.a.example):1===e.length&&(e=[n.i(s.a)(e[0],d)],f=c.a.example))}return{sections:e,displayMode:f}};var o=n(572),r=n.n(o),i=n(677),a=n(680),s=n(681),l=n(683),u=n(684),c=n(30)},function(e,t,n){"use strict";(function(e){t.a=function globalizeComponent(t){t.name&&(e[t.name]=t.props.path&&"default"!==t.props.path?t.module[t.props.path]:t.module.default||t.module)}}).call(t,n(18))},function(e,t,n){"use strict";function globalizeComponents(e){e.forEach(function(e){e.components&&e.components.forEach(o.a),e.sections&&globalizeComponents(e.sections)})}t.a=globalizeComponents;var o=n(687)},function(e,t,n){"use strict";function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.a=function processComponents(e){return e.map(function(e){return o({},e,{name:e.props.displayName,props:o({},e.props,{examples:[].concat(_toConsumableArray(e.props.examples||[]),_toConsumableArray(e.props.example||[]))})})})};var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";function processSections(e){return e.map(function(e){return r({},e,{components:n.i(o.a)(e.components||[]),sections:processSections(e.sections||[])})})}t.a=processSections;var o=n(689),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}},function(e,t,n){"use strict";t.a=function renderStyleguide(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.location,p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document,d=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.history,f=n.i(c.a)(e.sections);n.i(u.a)(f);var m=n.i(l.a)(f,o.hash),h=m.sections,b=m.displayMode;if(p.title=n.i(s.a)(h,e.config.title,b),"#/"===o.hash){var g=o.pathname+o.search;d.replaceState("",p.title,g)}return r.a.createElement(a.a,{codeRevision:t,config:e.config,slots:i.a,welcomeScreen:e.welcomeScreen,patterns:e.patterns,sections:h,displayMode:b})};var o=n(1),r=n.n(o),i=n(91),a=n(653),s=n(685),l=n(686),u=n(688),c=n(690)},function(e,t,n){(e.exports=n(7)(void 0)).push([e.i,"/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quote {\n color: #8e908c;\n}\n\n/* Tomorrow Red */\n.hljs-variable,\n.hljs-template-variable,\n.hljs-tag,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-regexp,\n.hljs-deletion {\n color: #c82829;\n}\n\n/* Tomorrow Orange */\n.hljs-number,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-literal,\n.hljs-type,\n.hljs-params,\n.hljs-meta,\n.hljs-link {\n color: #f5871f;\n}\n\n/* Tomorrow Yellow */\n.hljs-attribute {\n color: #eab700;\n}\n\n/* Tomorrow Green */\n.hljs-string,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-addition {\n color: #718c00;\n}\n\n/* Tomorrow Blue */\n.hljs-title,\n.hljs-section {\n color: #4271ae;\n}\n\n/* Tomorrow Purple */\n.hljs-keyword,\n.hljs-selector-tag {\n color: #8959a8;\n}\n\n.hljs {\n display: block;\n overflow-x: auto;\n background: white;\n color: #4d4d4c;\n padding: 0.5em;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'<Action icon="i-four-squares" href="#">Action</Action>',settings:{},evalInContext:i},{type:"markdown",content:"#### With right additional content"},{type:"code",content:"<Action\n icon={{ name: 'i-four-squares', size: 'md' }}\n rightAddon={<Label intent=\"danger\">danger</Label>}\n href=\"#\"\n>\n Action\n</Action>",settings:{},evalInContext:i},{type:"markdown",content:"#### With bottom additional content"},{type:"code",content:'<Action icon="i-four-squares" href="#" bottomAddon={\'Additional content\'}>Action</Action>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The `Alert` are used for highlighting important content for the user about events happened (or will be happened) in the system."},{type:"code",content:'<div>\n <Alert intent="info">\n <Icon name="i-circle-exclamation-mark" /> Updates for 115 packages are available.\n </Alert>\n <Alert intent="warning" style={{ textAlign: \'center\' }}>\n <Button>Done</Button>\n </Alert>\n <Alert icon={null} onClose={() => alert(\'close\')}>\n <Media title="Synchronize" image={<Icon src="http://placehold.it/128" size="xl" />}>\n Please wait while synchronization process will be finished\n </Media>\n </Alert>\n <Alert intent="info">\n <Media image={<Button icon="shopping-cart" intent="primary">Buy</Button>}>\n This paid extension is not licensed. Some or all functions and features of the extension may not be available.\n Purchase a license to unlock all functions and features of this extension.\n </Media>\n </Alert>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"There are four types of the messages\n\n- info (green) - for notification about successfully finished operations; usually they are shown just after the operations is finished\n- warning (yellow) - for notification about some important facts which should be taken in account before performing the operation\n- error (red) - for notification about any errors occured, just after it was happened\n- progress (neutral grey) - for notification about process of performing background (asynchronous) operations\n\nAll the messages have to be clear and understandable for users (what was happened, why, what to do next)."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This is helper component for handling outside clicks."},{type:"code",content:"initialState = {\n visible: false,\n};\n\n<div>\n <Button onClick={() => setState({ visible: true })}>Show component</Button>\n {state.visible && (\n <AutoClosable onClose={() => setState({ visible: false })}>\n <div style={{ backgroundColor: 'red', padding: '10px' }}>\n Click outside of me\n </div>\n </AutoClosable>\n )}\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:"<AuxiliaryActions>\n <a>Action 1</a>\n <a>Action 2</a>\n <a>Action 3</a>\n</AuxiliaryActions>",settings:{},evalInContext:i},{type:"markdown",content:"Custom separator:"},{type:"code",content:'<AuxiliaryActions separator=", ">\n <a>Action 1</a>\n <a>Action 2</a>\n <a>Action 3</a>\n</AuxiliaryActions>',settings:{},evalInContext:i},{type:"markdown",content:"Single action:"},{type:"code",content:'<AuxiliaryActions separator=", ">\n <a>Action 1</a>\n</AuxiliaryActions>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<Badge label="9+">\n <Button>button with badge</Button>\n</Badge>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Intent:"},{type:"code",content:"<div>\n <Button>Default</Button>{' '}\n <Button intent=\"primary\">Primary</Button>{' '}\n <Button intent=\"secondary\">Secondary</Button>{' '}\n <Button intent=\"success\">Success</Button>{' '}\n <Button intent=\"warning\">Warning</Button>{' '}\n <Button intent=\"danger\">Danger</Button>{' '}\n <Button intent=\"info\">Info</Button>\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"State:"},{type:"code",content:'<div>\n <ButtonGroup>\n <Button state="hovered">Hovered</Button>\n <Button state="active">Active</Button>\n <Button state="loading">Loading</Button>\n </ButtonGroup>\n <ButtonGroup>\n <Button intent="secondary" state="hovered">Hovered</Button>\n <Button intent="secondary" state="active">Active</Button>\n <Button intent="secondary" state="loading">Loading</Button>\n </ButtonGroup>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Toggle:"},{type:"code",content:"initialState = {\n selected: false,\n text: 'Toggle is unpressed',\n};\n\n<div>\n <span>{state.text}</span><br />\n\n <ButtonGroup>\n <Button tooltip=\"Controlled toggle\" selected={state.selected} onClick={() => setState({ selected: !state.selected })}>Toggle</Button>\n <Button intent=\"primary\" onToggle={selected => setState({ text: `Toggle is ${selected ? '' : 'un'}pressed` })}>Uncontrolled toggle</Button>\n </ButtonGroup>\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Type:"},{type:"code",content:"<div>\n <Button type=\"button\">Button</Button>{' '}\n <Button type=\"submit\">Submit</Button>{' '}\n <Button type=\"reset\">Reset</Button>{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Button as an anchor (not recommended -- use a link instead):"},{type:"code",content:'<Button component="a" href="http://plesk.com" target="_blank">Open plesk.com site</Button>',settings:{},evalInContext:i},{type:"markdown",content:"Button icons set:"},{type:"code",content:"const icons = [\n 'archive',\n 'arrow-right',\n 'backup',\n 'clean',\n 'clock',\n 'copy',\n 'customize-order',\n 'download',\n 'edit',\n 'folder',\n 'globe',\n 'globe-alt',\n 'import',\n 'invisible',\n 'link',\n 'list',\n 'lock',\n 'ok-app',\n 'ok-circle',\n 'plugins',\n 'plus',\n 'power',\n 'question-circle',\n 'refresh',\n 'reload',\n 'remove',\n 'remove-app',\n 'remove-circle',\n 'search',\n 'security-scan',\n 'settings',\n 'share',\n 'shopping-cart',\n 'start',\n 'stop',\n 'suspend',\n 'themes',\n 'unarchive',\n 'unlock',\n 'upload',\n 'upload-alt',\n 'user',\n 'user-alt',\n 'visible',\n];\n\nconst ButtonIconDemo = ({ icon }) => (\n <div>\n <Button icon={icon} />&nbsp; {icon}\n </div>\n);\n\n<div className=\"button-icon-set-demo\">\n <style>\n {`\n .button-icon-set-demo {\n display: flex;\n flex-wrap: wrap;\n font-size: 13px;\n color: #444;\n }\n .button-icon-set-demo > div {\n flex: 0 0 160px;\n margin: 0 5px 5px 0;\n }\n @supports (display: grid) {\n .button-icon-set-demo {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));\n grid-gap: 5px;\n }\n .button-icon-set-demo > div { margin: 0; }\n }\n `}\n </style>\n {icons.map(icon => <ButtonIconDemo key={icon} icon={icon} />)}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Buttons with text and icon:"},{type:"code",content:'<div>\n <Button icon="download">Default</Button>{\' \'}\n <Button icon="download" intent="primary">Primary</Button>{\' \'}\n <Button icon={<Icon name="i-circle-check-mark-02" />} intent="secondary">Secondary</Button>{\' \'}\n <Button icon="download" state="active">Active</Button>{\' \'}\n <Button icon="download" state="loading">Loading</Button>{\' \'}\n <Button icon="download" state="hovered">Hovered</Button>{\' \'}\n <Button icon="download" disabled>Disabled</Button>{\' \'}\n <Button icon={<Icon name="i-circle-check-mark-02" />} intent="secondary" disabled>Disabled</Button>{\' \'}\n <br /><br />\n <Button icon={<Icon name="i-four-squares" thin />}>Default</Button>{\' \'}\n <Button icon={<Icon name="i-arrow-down-06" thin />} intent="secondary">Secondary</Button>{\' \'}\n <Button icon={<Icon name="i-gear" thin />} intent="primary">Primary</Button>{\' \'}\n <Button icon={<Icon name="i-circle-check-mark" thin />} intent="success">Success</Button>{\' \'}\n <Button icon={<Icon name="i-circle-question-mark-02" thin />} intent="danger">Danger</Button>{\' \'}\n <Button icon={<Icon name="i-two-sheets-blank" thin />} intent="warning">Warning</Button>{\' \'}\n <Button icon={<Icon name="i-magnifying-glass" thin />} intent="info">Info</Button>{\' \'}\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Buttons without text, but with icon:"},{type:"code",content:'<div>\n <Button icon="user-alt" />{\' \'}\n <Button icon="download" state="loading" />{\' \'}\n <Button icon={<Icon name="i-circle-check-mark-02" />} />{\' \'}\n <Button icon={<Icon name="i-circle-check-mark-02" />} intent="secondary" />{\' \'}\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Buttons with caret are used for opening a drop-down (nested) button menu. See [Dropdown](#dropdown) for more information."},{type:"code",content:'<div>\n <Button icon="download" caret>Default</Button>{\' \'}\n <Button icon="download" intent="primary" caret>Primary</Button>{\' \'}\n <Button icon={<Icon name="i-circle-check-mark-02" />} intent="secondary" caret>Secondary</Button>{\' \'}\n <Button icon="download" disabled caret>Disabled</Button>{\' \'}\n <Button icon="shopping-cart" caret />{\' \'}\n <Button icon="download" state="loading" caret />{\' \'}\n <Button caret />{\' \'}\n</div>',settings:{},evalInContext:i},{type:"markdown",content:'Buttons can have a "disabled" state which should be used when it is physically or logically impossible to perform the operation. Users should be able to perform an action that makes disabled button available without leaving the screen, or be directed to a place where disabled buttons can be made available by purchasing or installing something, if it\'s required.'},{type:"code",content:"<div>\n <Button disabled>Disabled</Button>{' '}\n <Button intent=\"secondary\" disabled>Disabled</Button>{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"[Tooltip](#tooltip) is used for explaining what will happen when the button is pressed."},{type:"code",content:'<Button tooltip="I\'m a tooltip.">Button with tooltip</Button>',settings:{},evalInContext:i},{type:"markdown",content:"Tooltips can have different text depending on the button state (enabled/disabled)."},{type:"code",content:"initialState = {\n disabled: false,\n};\n\n<div>\n <Switch\n tooltip=\"Click me.\"\n checked={!state.disabled}\n onChange={() => setState({ disabled: !state.disabled })}\n />{' '}\n <Button\n tooltip={`I'm in ${state.disabled ? 'disabled' : 'enabled'} state.`}\n disabled={state.disabled}\n component=\"a\"\n >\n {state.disabled ? 'Disabled' : 'Enabled'}\n </Button>\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<div>\n <ButtonGroup>\n <Button>Button</Button>\n <Button icon="download">Button</Button>\n <Button caret>Button</Button>\n <Button icon="shopping-cart" />\n <ButtonGroup>\n <Button>Button</Button>\n <Button caret />\n </ButtonGroup>\n </ButtonGroup>\n <br /><br />\n <ButtonGroup>\n <Button intent="secondary">Button</Button>\n <Button intent="secondary" icon={<Icon name="i-arrow-down-06" />}>Button</Button>\n <Button intent="secondary" caret>Button</Button>\n <Button intent="secondary" icon={<Icon name="i-shopping-cart-02" />} />\n <ButtonGroup>\n <Button intent="secondary">Button</Button>\n <Button intent="secondary" caret />\n </ButtonGroup>\n </ButtonGroup>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Simple usage:"},{type:"code",content:'<Card title="example.com" >\n <div>Card content.</div>\n</Card>',settings:{},evalInContext:i},{type:"markdown",content:"Progress state:"},{type:"code",content:'<Card\n title="example.com"\n progress="Processing..."\n>\n <div>Card content.</div>\n</Card>',settings:{},evalInContext:i},{type:"markdown",content:"Tile view:"},{type:"code",content:'<div style={{ maxWidth: \'584px\' }}>\n <Card\n title="example.com example.com example.com example.com example.com example.com example.com example.com example.com example.com example.com example.com"\n titleLink="http://example.com"\n view="tile"\n sideHeader={\n <PreviewPanel background="https://picsum.photos/600/200?image=8">\n <p>\n <Button icon="link" intent="primary" component="a" href="#card">Go to page</Button>\n </p>\n <h4 style={{ color: \'#fff\' }}>\n Current theme &mdash;\n <a href="#card">Twenty Seventeen</a>\n </h4>\n </PreviewPanel>\n }\n sideContent={\n <Section>\n <SectionItem title="SSL/TLS certificate">\n <Label intent="success">INSTALLED</Label> <a href="#!">View</a>\n </SectionItem>\n <SectionItem title="Security status">\n <Label intent="success">OK</Label>\n </SectionItem>\n </Section>\n }\n >\n <div>Card content.</div>\n </Card>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Extended view:"},{type:"code",content:'initialState = {\n isSelected: false,\n};\n\n<Card\n title="example.com"\n subtitle="My CMS"\n titleLink="http://example.com"\n selection={{\n isSelected: state.isSelected,\n onSelectionChange: ({ isSelected }) => setState({ isSelected }),\n }}\n menu={\n <Menu>\n <MenuItem>{\'Item\'}</MenuItem>\n <MenuItem>{\'Item\'}</MenuItem>\n <MenuItem>{\'Item\'}</MenuItem>\n <MenuItem>{\'Item\'}</MenuItem>\n </Menu>\n }\n buttons={[\n {\n icon: \'i-two-arrows-refresh-04\',\n onClick: () => alert(\'Refresh clicked\'),\n tooltip: \'Refresh\',\n },\n ]}\n sideHeader={\n <PreviewPanel image="https://picsum.photos/600/450?image=63">\n <h1 style={{ color: \'#fff\' }}>Caption</h1>\n <h4 style={{ color: \'#fff\' }}>Description</h4>\n <div>\n <Button intent="primary">Button</Button>\n {\' \'}\n <Button>Button</Button>\n </div>\n </PreviewPanel>\n }\n sideContent={\n <Section>\n <SectionItem title="SSL/TLS certificate">\n <Label intent="success">INSTALLED</Label> <a href="#!">View</a>\n </SectionItem>\n <SectionItem title="Security status">\n <Label intent="success">OK</Label>\n </SectionItem>\n </Section>\n }\n rowContent={\'Row content\'}\n>\n\n <Tabs active={1}>\n <Tab key={1} title="Information and tools">\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n </Tab>\n <Tab key={2} title="Plugins">\n Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam eaque ipsa, quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt, explicabo.\n </Tab>\n <Tab key={3} title="Themes">\n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </Tab>\n <Tab key={3} title="Database">\n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </Tab>\n <Tab key={3} title="Updates">\n Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n </Tab>\n </Tabs>\n</Card>',settings:{},evalInContext:i},{type:"markdown",content:"Extended view with labels:"},{type:"code",content:'initialState = {\n isSelected: false,\n};\n\n<Card\n title="example.com"\n subtitle="My CMS"\n titleLink="http://example.com"\n selection={{\n isSelected: state.isSelected,\n onSelectionChange: ({ isSelected }) => setState({ isSelected }),\n }}\n intent="danger"\n labels={[\n <Label key="danger" intent="danger">PROBLEMS DON&#39;T FIXED</Label>,\n <Label key="warning" intent="warning">DEBUGGING IS ON</Label>,\n ]}\n buttons={[\n {\n icon: \'i-two-arrows-refresh-04\',\n onClick: () => alert(\'Refresh clicked\'),\n tooltip: \'Refresh\',\n },\n ]}\n sideHeader={\n <PreviewPanel image="https://picsum.photos/600/450?image=63">\n <Button icon="themes" intent="primary">Change image</Button>\n <Button\n icon={<Icon name="i-trashcan" />}\n style={{\n position: \'absolute\',\n top: 10,\n right: 10,\n color: \'#fff\',\n backgroundColor: \'rgba(0, 0, 0, 0)\',\n }}\n />\n </PreviewPanel>\n }\n sideContent={\n <Section>\n <SectionItem title="SSL/TLS certificate">\n <Label intent="success">INSTALLED</Label> <a href="#!">View</a>\n </SectionItem>\n <SectionItem title="Security status">\n <Label intent="success">OK</Label>\n </SectionItem>\n </Section>\n }\n rowContent={\'Row content\'}\n>\n <div>Card content.</div>\n <hr />\n <div>Card content.</div>\n</Card>',settings:{},evalInContext:i},{type:"markdown",content:"Row view:"},{type:"code",content:"initialState = {\n isSelected: false,\n};\n\n<Card\n view=\"row\"\n title=\"example.com\"\n subtitle=\"My CMS\"\n titleLink=\"http://example.com\"\n selection={{\n isSelected: state.isSelected,\n onSelectionChange: ({ isSelected }) => setState({ isSelected }),\n }}\n buttons={[\n {\n icon: 'i-two-arrows-refresh-04',\n onClick: () => alert('Refresh clicked'),\n tooltip: 'Refresh',\n },\n ]}\n sideHeader={\n <PreviewPanel image=\"https://picsum.photos/600/450?image=63\" />\n }\n sideContent={\n <div>\n <ul style={{ margin: '0' }}>\n <li>Status 1</li>\n <li>Status 2</li>\n <li>Status 3</li>\n </ul>\n </div>\n }\n rowContent={'Row content'}\n>\n <div>Card content.</div>\n <hr />\n <div>Card content.</div>\n</Card>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Card](#card) for examples.\n\nImage with paddings:"},{type:"code",content:'<PreviewPanel image="./images/fail.png" alt="fail" padding={[5, 10]} />',settings:{},evalInContext:i},{type:"markdown",content:"Background with hover content:"},{type:"code",content:'<PreviewPanel background="./images/fail.png">\n <Button intent="primary">Action</Button>\n</PreviewPanel>',settings:{},evalInContext:i},{type:"markdown",content:"Custom HTML content:"},{type:"code",content:"<PreviewPanel\n html={`\n <html>\n <head>\n <style>\n h1 {\n color: red;\n }\n </style>\n </head>\n <body>\n <h1>Sample HTML content</h1>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec feugiat ornare orci,\n maximus efficitur elit mollis vitae. Aenean blandit aliquam enim, vel maximus lectus\n malesuada in. Duis luctus venenatis diam tincidunt ornare. Vestibulum ac auctor nibh,\n suscipit sollicitudin neque. Aliquam vitae nulla consequat, accumsan sem eget, pretium\n nibh. Mauris blandit arcu erat, non eleifend mi viverra eu. Cras placerat tincidunt\n feugiat. Vivamus et massa feugiat, rhoncus ipsum sed, consectetur nisi. Cras vel\n scelerisque nisl. Nulla pellentesque, velit eget cursus vestibulum, augue lacus euismod\n dui, a accumsan dolor ligula sed est.\n </p>\n </body>\n </html>\n `}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={"./example-data/wp-themes.json":n(457),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Simple usage:"},{type:"code",content:"const themes = require('./example-data/wp-themes.json');\n\n<CardList\n items={themes.slice(30, 35)}\n itemKey=\"slug\"\n itemRender={\n item => (\n <Card\n title={item.name}\n titleLink={item.homepage}\n sideHeader={\n <img\n src={item.screenshot_url}\n style={{ maxWidth: '100%', minWidth: '124px', height: 'auto', maxHeight: '100%' }}\n />\n }\n rowContent={\n <div>\n <p>\n {`Author: ${item.author}`}\n </p>\n <p>\n {`Version: ${item.version}`}\n </p>\n </div>\n }\n >\n <Section>\n {item.description}\n </Section>\n </Card>\n )\n }\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Advanced usage:"},{type:"code",content:"const themes = require('./example-data/wp-themes.json');\ninitialState = {\n view: 'row',\n selection: [],\n items: [],\n totalItems: 0,\n loading: false,\n};\n\nconst fetchItems = ({ page, pageSize }) => {\n const offset = (page - 1) * pageSize;\n setState({\n loading: true,\n });\n\n setTimeout(() => {\n setState({\n loading: false,\n items: themes.slice(state.view === 'responsive' ? 0 : offset, offset + pageSize),\n totalItems: themes.length,\n });\n }, 1000);\n};\n\n<CardList\n items={state.items}\n totalItems={state.totalItems}\n loading={state.loading}\n onItemsFetch={fetchItems}\n selection={state.selection}\n onSelectionChange={selection => {\n setState({ selection });\n }}\n viewSwitcher\n view={state.view}\n onViewChange={view => setState({ view })}\n toolbarGroups={[\n <ToolbarGroup key=\"click-button\" title=\"Actions\">\n <Button onClick={() => alert('Hello!')}>{'Click me'}</Button>\n </ToolbarGroup>,\n ]}\n itemKey=\"slug\"\n itemRender={\n item => (\n <Card\n title={item.name}\n titleLink={item.homepage}\n sideHeader={\n <img\n src={item.screenshot_url}\n style={{ maxWidth: '100%', minWidth: '124px', height: 'auto', maxHeight: '100%' }}\n />\n }\n rowContent={\n <div>\n <p>\n {`Author: ${item.author}`}\n </p>\n <p>\n {`Version: ${item.version}`}\n </p>\n </div>\n }\n >\n {item.description}\n </Card>\n )\n }\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Small carousel without scrolling:"},{type:"code",content:"const colors = ['#bcdf94', '#c6e5fa'];\n\n<Carousel>\n {colors.map(backgroundColor => (\n <div style={{ backgroundColor, width: '240px', padding: '50px 0' }} key={backgroundColor}>\n {backgroundColor}\n </div>\n ))}\n</Carousel>",settings:{},evalInContext:i},{type:"markdown",content:"Large carousel with scrolling:"},{type:"code",content:"const colors = ['#bcdf94', '#c6e5fa', '#fdd896', '#f4b3b3'];\n\n<Carousel>\n {colors.map(backgroundColor => (\n <div style={{ backgroundColor, width: '240px', padding: '50px 0' }} key={backgroundColor}>\n {backgroundColor}\n </div>\n ))}\n</Carousel>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Checkbox>\n Check me\n</Checkbox>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"initialState = { mode: 'javascript' };\nconst modes = [\n 'javascript',\n 'php',\n];\n\n<div className=\"code-editor-demo\">\n <style>\n {`\n .code-editor-demo .CodeMirror {\n padding: 0;\n height: auto;\n }\n `}\n </style>\n <p>\n <select onChange={e => setState({ mode: e.target.value })}>\n {modes.map(mode => (\n <option key={mode} value={mode}>{mode}</option>\n ))}\n </select>\n </p>\n <CodeEditor\n onSave={() => alert('saved')}\n mode={state.mode}\n >\n {'const message = \"I\\'m a CodeEditor.\";'}\n </CodeEditor>\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Select mode by filename:"},{type:"code",content:"initialState = { fileName: 'example.js' };\n\n<div className=\"code-editor-demo\">\n <style>\n {`\n .code-editor-demo .CodeMirror {\n padding: 0;\n height: auto;\n }\n `}\n </style>\n <p>\n <input value={state.fileName} onChange={e => setState({ fileName: e.target.value })} />\n </p>\n <CodeEditor\n onSave={() => alert('saved')}\n fileName={state.fileName}\n >\n {'const message = \"I\\'m a CodeEditor.\";'}\n </CodeEditor>\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This element is used to output dynamically updating data, usually for console output. It use monospace font to show console formatting texts.\n\nScroll by default should be pulled downward, so if new line appear - it should be seen like auto scroll.\n\nWhen user pull scrolling up - auto scroll mode is disabled. It start again when user pull scroll to bottom."},{type:"code",content:"<ConsoleOutput cursor>\n {`1:C 03 May 05:35:26.569 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf\n _._ \n _.-''__ ''-._ \n _.-'' '. '_. ''-._ Redis 3.2.8 (00000000/0) 64 bit\n .-'' .-'''. '''/ _.,_ ''-._ \n ( ' , .-' | ', ) Running in standalone mode\n |'-._'-...-' __...-.''-._|'' _.-'| Port: 6379\n | '-._ '._ / _.-' | PID: 1\n '-._ '-._ '-./ _.-' _.-' \n |'-._'-._ '-.__.-' _.-'_.-'| \n | '-._'-._ _.-'_.-' | http://redis.io \n '-._ '-._'-.__.-'_.-' _.-' \n |'-._'-._ '-.__.-' _.-'_.-'| \n | '-._'-._ _.-'_.-' | \n '-._ '-._'-.__.-'_.-' _.-' \n '-._ '-.__.-' _.-' \n '-._ _.-' \n '-.__.-' \n \n1:M 03 May 05:35:26.571 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.\n1:M 03 May 05:35:26.571 # Server started, Redis version 3.2.8\n1:M 03 May 05:35:26.571 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.\n1:M 03 May 05:35:26.572 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.\n1:M 03 May 05:35:26.572 * The server is now ready to accept connections on port 6379\n`}\n</ConsoleOutput>",settings:{},evalInContext:i},{type:"markdown",content:"Default console size 25x80 characters, but for some purposes, size colud be adjusted.\n\nCursor in the bottom of the text should blink, showing it waiting incoming data. When there is no connection, or this data has no more auto update - cursor should be hidden"}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Cuttable>\n <p>Line 1</p>\n <p>Line 2</p>\n <p>Line 3</p>\n <p>Line 4</p>\n <p>Line 5</p>\n <p>Line 6</p>\n</Cuttable>",settings:{},evalInContext:i},{type:"markdown",content:"Custom localization:"},{type:"code",content:"const messages = {\n Cuttable: {\n showMore: 'Развернуть...',\n showLess: 'Свернуть...',\n },\n};\n\n<LocaleProvider messages={messages}>\n <Cuttable>\n <p>Line 1</p>\n <p>Line 2</p>\n <p>Line 3</p>\n <p>Line 4</p>\n <p>Line 5</p>\n <p>Line 6</p>\n </Cuttable>\n</LocaleProvider>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Dialog window contains text and user interface elements focused on a specific task. Dialog window user about something important and asks user to make a decision.\n\nBasic usage:"},{type:"code",content:'const messages = {\n \'en-US\': {\n languages: {\n english: \'English\',\n russian: \'Russian\',\n },\n Dialog: {\n cancelButton: \'Cancel\',\n },\n okButton: \'Ok, continue\',\n closeButton: \'Close\',\n },\n \'ru-RU\': {\n languages: {\n english: \'английский\',\n russian: \'русский\',\n },\n Dialog: {\n cancelButton: \'Отменить\',\n },\n okButton: \'Ок, продолжить\',\n closeButton: \'Закрыть\',\n },\n};\n\ninitialState = {\n locale: \'en-US\',\n show: false,\n};\n\nconst handleClose = () => setState({ show: false });\nconst handleSubmit = values => {\n const valuesString = Object\n .keys(values)\n .map(name => `${name} = ${values[name]}`)\n .join(\'\\n\');\n\n alert(`Submit values:\\n${valuesString}`);\n};\n\n<LocaleProvider messages={messages[state.locale]}>\n <div>\n <select value={state.locale} onChange={event => setState({ locale: event.target.value })}>\n <Translate component="option" value="en-US" content="languages.english" />\n <Translate component="option" value="ru-RU" content="languages.russian" />\n </select>\n <hr />\n\n <Button onClick={() => setState({ show: 1 })}>One button</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 2 })}>Without image, without title</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 3 })}>Without image, with title</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 4 })}>With banner</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 5 })}>With image</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 6 })}>Form</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 7 })}>Form with banner</Button>\n {\' \'}\n <Button onClick={() => setState({ show: 8 })}>Form with image</Button>\n\n <Dialog\n isOpen={state.show === 1}\n cancelTitle={<Translate content="okButton" />}\n size="sm"\n onClose={handleClose}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 2}\n buttons={<Button intent="primary" onClick={handleClose}><Translate content="okButton" /></Button>}\n size="sm"\n onClose={handleClose}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 3}\n title="Be careful"\n buttons={<Button intent="primary" onClick={handleClose}><Translate content="okButton" /></Button>}\n size="sm"\n onClose={handleClose}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 4}\n title="Be careful"\n banner="https://picsum.photos/600/200?image=8"\n buttons={<Button onClick={handleClose}><Translate content="okButton" /></Button>}\n size="sm"\n onClose={handleClose}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 5}\n title="Be careful"\n image="https://picsum.photos/600/200?image=8"\n buttons={<Button onClick={handleClose}><Translate content="okButton" /></Button>}\n size="sm"\n onClose={handleClose}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n <p>\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n Lorem ipsum dolor sit amet, consectetur adipisicing elit.\n Adipisci alias eos iure iusto laboriosam necessitatibus\n nobis veritatis? Alias blanditiis est ipsam labore minus!\n Cumque eligendi quaerat quis similique velit veniam?\n </p>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 6}\n title="Be careful"\n size="sm"\n onClose={handleClose}\n form={{\n onSubmit: handleSubmit,\n values: {\n db: \'\',\n db2: \'1\',\n name: \'Demo Admin\',\n password: \'\',\n },\n }}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title="Backup settings">\n <FormField label="Restore" name="db">\n {({ getId, getName, getValue, setValue }) => (\n <select\n id={getId()}\n name={getName()}\n value={getValue()}\n onChange={e => setValue(e.target.value)}\n >\n <option value>Database</option>\n <option value="1">MySQL</option>\n <option value="2">PostgreSQL</option>\n </select>\n )}\n </FormField>\n <FormField label="Restore" name="db2">\n {({ getId, getName, getValue, setValue }) => [\n <div key="1">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_1`}\n value="1"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_1`}>Configuration and contents of the selected objects</label>\n </div>,\n <div key="2">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_2`}\n value="2"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_2`}>Only configuration of the selected object</label>\n </div>,\n ]}\n </FormField>\n </Section>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 7}\n title="Be careful careful careful careful careful careful careful careful careful careful"\n banner="https://picsum.photos/600/200?image=8"\n size="sm"\n onClose={handleClose}\n cancelTitle={<Translate content="closeButton" />}\n form={{\n onSubmit: handleSubmit,\n submitButton: { children: <Translate content="okButton" /> },\n values: {\n db: \'\',\n db2: \'1\',\n name: \'Demo Admin\',\n password: \'\',\n },\n }}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title="Backup settings">\n <FormField label="Restore" name="db">\n {({ getId, getName, getValue, setValue }) => (\n <select\n id={getId()}\n name={getName()}\n value={getValue()}\n onChange={e => setValue(e.target.value)}\n >\n <option value>Database</option>\n <option value="1">MySQL</option>\n <option value="2">PostgreSQL</option>\n </select>\n )}\n </FormField>\n <FormField label="Restore" name="db2">\n {({ getId, getName, getValue, setValue }) => [\n <div key="1">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_1`}\n value="1"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_1`}>Configuration and contents of the selected objects</label>\n </div>,\n <div key="2">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_2`}\n value="2"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_1`}>Only configuration of the selected object</label>\n </div>,\n ]}\n </FormField>\n </Section>\n </Dialog>\n\n <Dialog\n isOpen={state.show === 8}\n title="Be careful careful careful careful careful careful careful careful careful careful"\n image="https://picsum.photos/600/200?image=8"\n size="sm"\n onClose={handleClose}\n cancelTitle={<Translate content="closeButton" />}\n form={{\n onSubmit: handleSubmit,\n submitButton: { children: <Translate content="okButton" /> },\n values: {\n db: \'\',\n db2: \'1\',\n name: \'Demo Admin\',\n password: \'\',\n },\n }}\n >\n <h4>We are not sure that there is enough space for the task. Available only 36 Mb.</h4>\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title="Backup settings">\n <FormField label="Restore" name="db">\n {({ getId, getName, getValue, setValue }) => (\n <select\n id={getId()}\n name={getName()}\n value={getValue()}\n onChange={e => setValue(e.target.value)}\n >\n <option value>Database</option>\n <option value="1">MySQL</option>\n <option value="2">PostgreSQL</option>\n </select>\n )}\n </FormField>\n <FormField label="Restore" name="db2">\n {({ getId, getName, getValue, setValue }) => [\n <div key="1">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_1`}\n value="1"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'1\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_1`}>Configuration and contents of the selected objects</label>\n </div>,\n <div key="2">\n <input\n type="radio"\n name={getName()}\n id={`${getId()}_2`}\n value="2"\n onChange={e => setValue(e.target.value)}\n checked={getValue() === \'2\'}\n />\n {\' \'}\n <label htmlFor={`${getId()}_1`}>Only configuration of the selected object</label>\n </div>,\n ]}\n </FormField>\n </Section>\n </Dialog>\n </div>\n</LocaleProvider>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The Drawer slides in from the side. The drawer can toggle open or closed. Closed by default, the drawer opens temporarily above all other content. The Drawer can be cancelled by clicking the close button or pressing the Esc key. The Drawer seamless integrates with [Form](#form). If you set any props to the `form` prop then your content will be wrap with the Form component. Opened Drawer automatically get focus but you can choose any else control by setting property `autofocus` for it.\n\n#### When To Use\n\nDrawer is used for working with complex forms. Its opening and closing are fully controlled by the user - it is opened and displayed at the user's request and is closed whenever the user wants.\n\n#### Basic usage"},{type:"code",content:'initialState = {\n isOpen: false,\n};\n\n<div>\n <Button onClick={() => setState({ isOpen: true })}>Show</Button>\n <Drawer\n title="Drawer title"\n subtitle="Drawer subtitle"\n isOpen={state.isOpen}\n onClose={() => setState({ isOpen: false })}\n >\n {\'I\\\'m a Drawer.\'}\n </Drawer>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"#### Nested drawers"},{type:"code",content:'initialState = {\n isFirstOpen: false,\n isSecondOpen: false,\n};\n\n<div>\n <Button onClick={() => setState({ isFirstOpen: true })}>Show</Button>\n <Drawer\n title="Drawer title"\n subtitle="Drawer subtitle"\n isOpen={state.isFirstOpen}\n onClose={() => setState({ isFirstOpen: false })}\n >\n <Button onClick={() => setState({ isSecondOpen: true })}>Show</Button>\n <Drawer\n title="Drawer title"\n subtitle="Drawer subtitle"\n isOpen={state.isSecondOpen}\n onClose={() => setState({ isSecondOpen: false })}\n backButton\n >\n {\'I\\\'m a nested Drawer.\'}\n </Drawer>\n </Drawer>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"#### Drawer with Form"},{type:"code",content:'initialState = {\n isOpen: false,\n};\n\n<div>\n <Button onClick={() => setState({ isOpen: true })}>Show</Button>\n <Drawer\n title="Drawer title"\n subtitle="Drawer subtitle"\n isOpen={state.isOpen}\n onClose={() => setState({ isOpen: false })}\n form={{\n onSubmit: () => {\n window.alert(\'Form saved\');\n setState({ isOpen: false });\n },\n values: {\n name: \'Demo Admin\',\n password: \'\',\n sendTechAnnounce: true,\n name1: \'Demo Admin\',\n password1: \'\',\n sendTechAnnounce1: true,\n name2: \'Demo Admin\',\n password2: \'\',\n sendTechAnnounce2: true,\n name3: \'Demo Admin\',\n password3: \'\',\n sendTechAnnounce3: true,\n name4: \'Demo Admin\',\n password4: \'\',\n sendTechAnnounce4: true,\n name5: \'Demo Admin\',\n password5: \'\',\n sendTechAnnounce5: true,\n name6: \'Demo Admin\',\n password6: \'\',\n sendTechAnnounce6: true,\n },\n applyButton: false,\n }}\n >\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name1" label="Your name" required />\n <FormFieldPassword name="password1" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce1"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name2" label="Your name" required />\n <FormFieldPassword name="password2" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce2"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name3" label="Your name" required />\n <FormFieldPassword name="password3" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce3"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name4" label="Your name" required />\n <FormFieldPassword name="password4" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce4"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name5" label="Your name" required />\n <FormFieldPassword name="password5" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce5"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n <Section title="Registration data">\n <FormFieldText name="name6" label="Your name" required />\n <FormFieldPassword name="password6" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce6"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n </Drawer>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"const menu = (\n <Menu>\n <MenuItem onClick={() => alert('First')}>{'First'}</MenuItem>\n <MenuItem onClick={() => alert('Second')}>{'Second'}</MenuItem>\n <MenuItem onClick={() => alert('Third')}>{'Third'}</MenuItem>\n </Menu>\n);\n\n<Dropdown\n menu={menu}\n>\n {'Dropdown'}\n</Dropdown>",settings:{},evalInContext:i},{type:"markdown",content:"Custom trigger:"},{type:"code",content:"const menu = (\n <Menu>\n <MenuItem onClick={() => alert('First')}>{'First'}</MenuItem>\n <MenuItem onClick={() => alert('Second')}>{'Second'}</MenuItem>\n <MenuItem onClick={() => alert('Third')}>{'Third'}</MenuItem>\n </Menu>\n);\n\n<Dropdown\n menu={menu}\n>\n <Icon name=\"i-menu\" />\n</Dropdown>",settings:{},evalInContext:i}]},function(e,t,n){var o={"./index":n(117),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Goal of the message is the same as of ordinary Status Message but it is used for attracting additional attention. It is recommended to use the message without any other content on the screen."},{type:"code",content:'const {\n ExtendedStatusMessageTitle,\n ExtendedStatusMessageDescription,\n ExtendedStatusMessageActions,\n} = require(\'./index\');\n\n<ExtendedStatusMessage intent="info" image={<img src="http://placehold.it/256" alt="" />}>\n <ExtendedStatusMessageTitle>\n All packages are up-to-date\n </ExtendedStatusMessageTitle>\n <ExtendedStatusMessageDescription>\n Check on Nov 10, 2016 11:44 AM\n </ExtendedStatusMessageDescription>\n <ExtendedStatusMessageActions>\n <Button intent="primary"><Icon src="http://placehold.it/32" /> Recheck Now</Button>\n </ExtendedStatusMessageActions>\n</ExtendedStatusMessage>',settings:{},evalInContext:i},{type:"markdown",content:'The element consists of\n\n- icon - image for illustrating purpose\n- title - text label for summary of the message\n- description - one or more text paragraphs for full details of the message; the paragraphs may have text formatting (like bold/italic) and links\n- actions (optional) - buttons for performing operations related to the message\n\nThere are the following types of the message:\n\n- default (grey color)\n- Success (green) for “ok”, “good” messages\n- Info (light blue) for “neutral” messages\n- Warning (yellow) for “important” messages\n- Danger (red) for “error”, “bad” messages\n\nThe message may have several descriptions and actions separated by "separator".'},{type:"code",content:'const {\n ExtendedStatusMessageTitle,\n ExtendedStatusMessageDescription,\n ExtendedStatusMessageActions,\n ExtendedStatusMessageSeparator,\n} = require(\'./index\');\n\n<ExtendedStatusMessage intent="info" image={<img src="http://placehold.it/256" alt="" />}>\n <ExtendedStatusMessageTitle>\n All packages are up-to-date\n </ExtendedStatusMessageTitle>\n <ExtendedStatusMessageDescription>\n Check on Nov 10, 2016 11:44 AM\n </ExtendedStatusMessageDescription>\n <ExtendedStatusMessageActions>\n <Button><Icon src="http://placehold.it/32" /> Recheck Now</Button>\n </ExtendedStatusMessageActions>\n <ExtendedStatusMessageSeparator />\n <ExtendedStatusMessageDescription>\n Check on Nov 10, 2016 11:44 AM\n </ExtendedStatusMessageDescription>\n <ExtendedStatusMessageActions>\n <Button><Icon src="http://placehold.it/32" /> Recheck Now</Button>\n </ExtendedStatusMessageActions>\n</ExtendedStatusMessage>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic example:"},{type:"code",content:'const handleSubmit = values => {\n values = Object.keys(values).map(name => `${name} = ${values[name]}`);\n alert(`Submit values:\\n${values.join(\'\\n\')}`);\n};\n\nconst handleCancel = () => {\n alert(\'Cancel clicked\');\n};\n\n<Form\n onSubmit={handleSubmit}\n values={{\n name: \'Demo Admin\',\n password: \'\',\n sendTechAnnounce: true,\n }}\n applyButton={false}\n cancelButton={{\n onClick: handleCancel,\n }}\n>\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n</Form>',settings:{},evalInContext:i},{type:"markdown",content:"Behavior example:"},{type:"code",content:'initialState = {\n errors: {},\n state: null,\n status: null,\n};\n\nconst handleSubmit = values => {\n const errors = {};\n Object.keys(values).forEach(name => {\n if (!values[name]) {\n errors[name] = {\n isEmpty: \'This field is required\',\n };\n }\n });\n\n setState({ errors });\n\n if (Object.keys(errors).length) {\n return;\n }\n\n setState({\n state: \'submit\',\n });\n setTimeout(() => {\n setState({\n state: null,\n });\n if (values.name === \'Demo Admin\') {\n setState({\n status: `We found out that ${values.name} is not your real name!`,\n });\n } else {\n setState({\n status: \'success\',\n });\n }\n }, 2000);\n};\n\nconst handleCancel = () => {\n alert(\'Cancel clicked\');\n};\n\n<div>\n {state.status && state.status === \'success\' ? <Alert intent="success">Data was successfully submitted.</Alert> : null}\n {state.status && state.status !== \'success\' ? <Alert intent="danger">{state.status}</Alert> : null}\n <Form\n onSubmit={handleSubmit}\n values={{\n name: \'Demo Admin\',\n password: \'\',\n sendTechAnnounce: true,\n }}\n errors={state.errors}\n state={state.state}\n applyButton={false}\n cancelButton={{\n onClick: handleCancel,\n }}\n >\n <Section title="Registration data">\n <FormFieldText name="name" label="Your name" required />\n <FormFieldPassword name="password" label="Password" required />\n </Section>\n <Section title=" ">\n <FormFieldCheckbox\n name="sendTechAnnounce"\n label="I would like to receive security-related information and other technical notifications from Plesk."\n required\n />\n </Section>\n </Form>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<FormField label="Field label">\n Field value\n</FormField>',settings:{},evalInContext:i},{type:"markdown",content:"Field with description:"},{type:"code",content:'<FormField label="Field label" description="Field description">\n Field value\n</FormField>',settings:{},evalInContext:i},{type:"markdown",content:"Field with errors:"},{type:"code",content:"<FormField label=\"Field label\" errors={{ isEmpty: 'Please provide a value.' }}>\n Field value\n</FormField>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:'<div>\n <FormFieldCheckbox\n label="Unchecked checkbox"\n value={false}\n />\n\n <FormFieldCheckbox\n label="Checked checkbox"\n value\n />\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Disabled state:"},{type:"code",content:'<div>\n <FormFieldCheckbox\n label="Unchecked checkbox"\n value={false}\n disabled\n />\n\n <FormFieldCheckbox\n label="Checked checkbox"\n value\n disabled\n />\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Custom checked and unchecked values:"},{type:"code",content:"initialState = {\n value: 'on',\n};\n\n<div>\n <Switch\n checked={state.value === 'on'}\n onChange={checked => setState({ value: checked ? 'on' : 'off' })}\n />\n <br />\n <FormFieldCheckbox\n label={state.value}\n value={state.value}\n onChange={value => setState({ value })}\n checkedValue=\"on\"\n uncheckedValue=\"off\"\n />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<FormFieldPassword\n label="Password label"\n/>',settings:{},evalInContext:i},{type:"markdown",content:"Without controls:"},{type:"code",content:'<FormFieldPassword\n label="Password label"\n hideShowButton\n hideGenerateButton\n hidePasswordMeter\n/>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Code sample:"},{type:"code",content:"<FormFieldRadioButtons\n label=\"Domain DNS zone\"\n value=\"master\"\n options={[{\n value: 'master',\n label: 'Master',\n description: 'Use master DNS zone',\n }, {\n value: 'slave',\n label: 'Slave',\n indentFields: [\n <FormFieldText\n key=\"ip\"\n label={null}\n description=\"Enter IP address of slave DNS zone\"\n />\n ],\n }, {\n value: 'custom',\n label: 'Custom',\n description: 'This option is not available',\n disabled: true,\n }]}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<FormFieldText\n label="Text label"\n/>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<div>\n <style>\n {`\n .Grid_demoBox {\n background: #ffe0b2;\n padding: 8px;\n color: rgba(0,0,0,.3);\n box-shadow: 0 1px 2px rgba(0,0,0,.5);\n }\n `}\n </style>\n\n <Grid sm={3} gap="md">\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n </Grid>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Minimum Column Width:"},{type:"code",content:'<Grid minColumnWidth={200} gap="md">\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n</Grid>',settings:{},evalInContext:i},{type:"markdown",content:"Maximum Columns Number:"},{type:"code",content:'<Grid minColumnWidth={300} maxColumnsNumber={2} gap="md">\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n <GridCol><div className="Grid_demoBox">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div></GridCol>\n</Grid>',settings:{},evalInContext:i},{type:"markdown",content:"Gap:"},{type:"code",content:'<div>\n <Grid xs={3}>\n <GridCol><div style={{ background: \'#ffcdd2\' }} className="Grid_demoBox">no gap</div></GridCol>\n <GridCol><div style={{ background: \'#c8e6c9\' }} className="Grid_demoBox">no gap</div></GridCol>\n <GridCol><div style={{ background: \'#b3e5fc\' }} className="Grid_demoBox">no gap</div></GridCol>\n </Grid>\n\n <Grid xs={3} gap="xs">\n <GridCol><div className="Grid_demoBox">{\'gap="xs"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="xs"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="xs"\'}</div></GridCol>\n </Grid>\n\n <Grid xs={3} gap="sm">\n <GridCol><div className="Grid_demoBox">{\'gap="sm"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="sm"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="sm"\'}</div></GridCol>\n </Grid>\n\n <Grid xs={3} gap="md">\n <GridCol><div className="Grid_demoBox">{\'gap="md"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="md"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="md"\'}</div></GridCol>\n </Grid>\n\n <Grid xs={3} gap="lg">\n <GridCol><div className="Grid_demoBox">{\'gap="lg"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="lg"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="lg"\'}</div></GridCol>\n </Grid>\n\n <Grid xs={3} gap="xl">\n <GridCol><div className="Grid_demoBox">{\'gap="xl"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="xl"\'}</div></GridCol>\n <GridCol><div className="Grid_demoBox">{\'gap="xl"\'}</div></GridCol>\n </Grid>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Nested:"},{type:"code",content:'<Grid xs={3} gap="md">\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol>\n <Grid xs={2} gap="md">\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n </Grid>\n </GridCol>\n <GridCol>\n <Grid xs="auto" gap="md">\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n </Grid>\n </GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n <GridCol><div className="Grid_demoBox">GridCol</div></GridCol>\n</Grid>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<div>\n <style>\n {`\n .GridCol_demoBox {\n background: #ffe0b2;\n padding: 4px;\n text-align: center;\n color: rgba(0,0,0,.3);\n box-shadow: 0 1px 2px rgba(0,0,0,.5);\n }\n `}\n </style>\n\n <Grid gap="xs">\n <GridCol><div className="GridCol_demoBox">-</div></GridCol>\n <GridCol xs={1}><div className="GridCol_demoBox">1</div></GridCol>\n <GridCol xs={11}><div className="GridCol_demoBox">11</div></GridCol>\n <GridCol xs={2}><div className="GridCol_demoBox">2</div></GridCol>\n <GridCol xs={10}><div className="GridCol_demoBox">10</div></GridCol>\n <GridCol xs={3}><div className="GridCol_demoBox">3</div></GridCol>\n <GridCol xs={9}><div className="GridCol_demoBox">9</div></GridCol>\n <GridCol xs={4}><div className="GridCol_demoBox">4</div></GridCol>\n <GridCol xs={8}><div className="GridCol_demoBox">8</div></GridCol>\n <GridCol xs={5}><div className="GridCol_demoBox">5</div></GridCol>\n <GridCol xs={7}><div className="GridCol_demoBox">7</div></GridCol>\n <GridCol xs={6}><div className="GridCol_demoBox">6</div></GridCol>\n <GridCol xs={6}><div className="GridCol_demoBox">6</div></GridCol>\n <GridCol xs={7}><div className="GridCol_demoBox">7</div></GridCol>\n <GridCol xs={5}><div className="GridCol_demoBox">5</div></GridCol>\n <GridCol xs={8}><div className="GridCol_demoBox">8</div></GridCol>\n <GridCol xs={4}><div className="GridCol_demoBox">4</div></GridCol>\n <GridCol xs={9}><div className="GridCol_demoBox">9</div></GridCol>\n <GridCol xs={3}><div className="GridCol_demoBox">3</div></GridCol>\n <GridCol xs={10}><div className="GridCol_demoBox">10</div></GridCol>\n <GridCol xs={2}><div className="GridCol_demoBox">2</div></GridCol>\n <GridCol xs={11}><div className="GridCol_demoBox">11</div></GridCol>\n <GridCol xs={1}><div className="GridCol_demoBox">1</div></GridCol>\n <GridCol xs={12}><div className="GridCol_demoBox">12</div></GridCol>\n </Grid>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Responsive variations:"},{type:"code",content:'<div>\n <Grid gap="sm">\n <GridCol md={6} lg={4} xl={2}><div className="GridCol_demoBox">...</div></GridCol>\n <GridCol md={6} lg={4} xl={8}><div className="GridCol_demoBox">...</div></GridCol>\n <GridCol md={6} lg={4} xl={2}><div className="GridCol_demoBox">...</div></GridCol>\n <GridCol md={6} lg={6} xl={8}><div className="GridCol_demoBox">...</div></GridCol>\n <GridCol md={6} lg={3} xl={2}><div className="GridCol_demoBox">...</div></GridCol>\n <GridCol md={6} lg={3} xl={2}><div className="GridCol_demoBox">...</div></GridCol>\n </Grid>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<Hint>\n I&#39;m a Hint. <a href="http://plesk.com">Click me.</a>\n</Hint>',settings:{},evalInContext:i}]},function(e,t,n){var o={"./Icon":n(62),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Icons set:"},{type:"code",content:"const { SVG_NAMES } = require('./Icon');\ninitialState = {\n size: 'sm',\n thin: false,\n};\n\nconst IconCard = ({ name }) => (\n <span\n style={{\n display: 'inline-block',\n textAlign: 'center',\n backgroundColor: 'white',\n padding: '5px 10px',\n margin: '2px',\n }}\n >\n <Icon name={name} size={state.size} thin={state.thin} />\n <div>{name}</div>\n </span>\n);\n\n<div>\n Size:\n <SegmentedControl\n buttons={[\n { value: 'sm', title: 'sm' },\n { value: 'md', title: 'md' },\n { value: 'lg', title: 'lg' },\n { value: 'xl', title: 'xl' },\n { value: 'xxl', title: 'xxl' },\n ]}\n selected=\"sm\"\n onChange={size => setState({ size })}\n inline\n />\n {' '}\n <Switch checked={state.thin} onChange={checked => setState({ thin: checked })}>Thin:</Switch>\n\n <br /><br />\n\n {SVG_NAMES.map(name => <IconCard name={name} key={name} />)}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Sizes:"},{type:"code",content:'<div>\n <Icon name="i-four-squares" size="sm" /><br />\n <Icon name="i-four-squares" size="md" /><br />\n <Icon name="i-four-squares" size="lg" /><br />\n <Icon name="i-four-squares" size="xl" /><br />\n <Icon name="i-four-squares" size="xxl" /><br />\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Custom image:"},{type:"code",content:'<Icon src="http://placehold.it/32" />',settings:{},evalInContext:i},{type:"markdown",content:"Custom SVG:"},{type:"code",content:'<Icon size="md">\n <svg height="32" width="32">\n <circle cx="16" cy="16" r="14" stroke="black" strokeWidth="2" fill="red" />\n </svg>\n</Icon>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Input />",settings:{},evalInContext:i},{type:"markdown",content:"Input with placeholder:"},{type:"code",content:'<Input placeholder="Enter value" />',settings:{},evalInContext:i},{type:"markdown",content:"Sizes:"},{type:"code",content:'<Grid gap="xs">\n <GridCol><Input size="sm" placeholder="sm" /></GridCol>\n <GridCol><Input size="md" placeholder="md (default)" /></GridCol>\n <GridCol><Input size="lg" placeholder="lg" /></GridCol>\n <GridCol><Input size="xl" placeholder="xl" /></GridCol>\n <GridCol><Input size="fill" placeholder="fill" /></GridCol>\n</Grid>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:'<Item\n icon="http://placehold.it/64"\n title="Title"\n>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n</Item>',settings:{},evalInContext:i},{type:"markdown",content:"See [ItemList](#itemlist) component for full example."}]},function(e,t,n){var o={"../Item":n(129),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"The component receive (inherits) all properties of the [Grid component](#grid)\n\nBasic usage:"},{type:"code",content:"const Item = require('../Item').default;\n\nconst items = [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n },\n];\n\n<ItemList minColumnWidth={220} gap=\"md\">\n {items.map(({ key, icon, title }) => (\n <Item\n key={key}\n icon={icon}\n title={title}\n />\n ))}\n</ItemList>",settings:{},evalInContext:i},{type:"markdown",content:"Advanced usage:"},{type:"code",content:"const Item = require('../Item').default;\n\nconst items = [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet.',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n href: 'https://google.com',\n description: 'Lorem ipsum dolor sit amet',\n },\n];\n\n<ItemList minColumnWidth={280} gap=\"xl\">\n {items.map(({ key, icon, title, href, description }) => (\n <Item\n key={key}\n icon={{ src: icon, size: 'xl' }}\n title={<a href={href}>{title}</a>}\n onClick={() => (window.location = href)}\n >\n <div>\n {description}\n </div>\n <Button\n intent=\"primary\"\n onClick={e => {\n e.stopPropagation();\n alert('Hello');\n }}\n >\n Push me\n </Button>\n </Item>\n ))}\n</ItemList>",settings:{},evalInContext:i},{type:"markdown",content:"Reorderable item list:"},{type:"code",content:"initialState = {\n items: [\n {\n key: '1',\n icon: 'http://placehold.it/64',\n title: 'Item 1',\n },\n {\n key: '2',\n icon: 'http://placehold.it/64',\n title: 'Item 2',\n },\n {\n key: '3',\n icon: 'http://placehold.it/64',\n title: 'Item 3',\n },\n {\n key: '4',\n icon: 'http://placehold.it/64',\n title: 'Item 4',\n },\n ],\n};\nconst handleReorderEnd = ({ oldIndex, newIndex }) => {\n const { items } = state;\n\n items.splice(newIndex, 0, items.splice(oldIndex, 1)[0]);\n setState({\n items,\n });\n};\n\n\n<ItemList minColumnWidth={220} gap=\"md\" reorderable onReorderEnd={handleReorderEnd}>\n {state.items.map(({ key, icon, title }) => (\n <Item\n key={key}\n icon={icon}\n title={title}\n />\n ))}\n</ItemList>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<div>\n <Label intent=\"inactive\">inactive</Label>{' '}\n <Label intent=\"info\">info</Label>{' '}\n <Label intent=\"success\">success</Label>{' '}\n <Label intent=\"warning\">warning</Label>{' '}\n <Label intent=\"danger\">danger</Label>{' '}\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n}, {\n key: 'col2',\n title: 'Column 2',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\n<List\n columns={columns}\n data={data}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Sortable Columns Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n sortable: true,\n width: '30%',\n}, {\n key: 'col2',\n title: 'Column 2',\n sortable: true,\n width: '70%',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\n<List\n columns={columns}\n data={data}\n sortColumn=\"col1\"\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Row Select Example:"},{type:"code",content:"const columns = [{\n key: 'col1',\n title: 'Column 1',\n width: '70%',\n}, {\n key: 'col2',\n title: 'Column 2',\n width: '30%',\n}];\n\nconst data = [{\n key: '1',\n col1: '(1, 1)',\n col2: '(1, 2)',\n}, {\n key: '2',\n col1: '(2, 1)',\n col2: '(2, 2)',\n}, {\n key: '3',\n disabled: true,\n col1: '(3, 1)',\n col2: '(3, 2)',\n}];\n\ninitialState = {\n selection: ['2'],\n};\n\n<div>\n <div>\n {state.selection.length} rows selected\n </div>\n <List\n columns={columns}\n data={data}\n selection={state.selection}\n onSelectionChange={selection => setState({ selection })}\n />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"const messages = {\n 'en-US': {\n languages: {\n english: 'English',\n russian: 'Russian',\n },\n key: 'Translatable content.',\n 'section.key': 'Parameter value is \\'%%param%%\\'.',\n Cuttable: {\n showMore: 'more...',\n showLess: 'less...',\n },\n line: 'Line %%number%%',\n },\n 'ru-RU': {\n languages: {\n english: 'английский',\n russian: 'русский',\n },\n key: 'Переводимый контент.',\n 'section.key': 'Значение параметра \\'%%param%%\\'.',\n Cuttable: {\n showMore: 'больше...',\n showLess: 'меньше...',\n },\n line: 'Строка %%number%%',\n },\n};\n\ninitialState = {\n locale: 'en-US',\n};\n\n<LocaleProvider messages={messages[state.locale]}>\n <select value={state.locale} onChange={event => setState({ locale: event.target.value })}>\n <Translate component=\"option\" value=\"en-US\" content=\"languages.english\" />\n <Translate component=\"option\" value=\"ru-RU\" content=\"languages.russian\" />\n </select>\n <hr />\n <Translate content=\"key\" /><br />\n Untranslatable content.<br />\n <Translate content=\"section.key\" params={{ param: <b>value</b> }} /><br />\n <Translate content=\"unknown\" /><br />\n <Translate content=\"unknown\" fallback=\"Fallback value for unknown key.\" /><hr />\n <Cuttable>\n {[1, 2, 3, 4, 5, 6].map(number => <Translate key={number} component=\"p\" content=\"line\" params={{ number }} />)}\n </Cuttable>\n</LocaleProvider>",settings:{},evalInContext:i},{type:"markdown",content:"See [Translate](#translate) component for details about it props."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Markdown>\n {`\n# Heading\n\n## Sub-heading\n\n### Another deeper heading\n\nParagraphs are separated\nby a blank line.\n\nTwo spaces at the end of a line leave a\nline break.\n\nText attributes _italic_, *italic*, __bold__, **bold**, \\`monospace\\`.\n\nHorizontal rule:\n\n---\n\nBullet list:\n\n * apples\n * oranges\n * pears\n\nNumbered list:\n\n 1. apples\n 2. oranges\n 3. pears\n\nA [link](http://example.com).\n`}\n</Markdown>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'<Media title="Title" image={<Icon src="http://placehold.it/128" size="xl" />}>\n Content\n</Media>',settings:{},evalInContext:i},{type:"markdown",content:"#### With additional content"},{type:"code",content:'<Media\n title="Title"\n titleSize="xl"\n titleAddon={<Label intent="success">success</Label>}\n image={<Icon src="http://placehold.it/128" size="xl" />}\n>\n <MediaSection>Content</MediaSection>\n <MediaSection>\n <Button intent="primary">Click me</Button>\n </MediaSection>\n</Media>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Media](#media) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"<Grid xs={3} gap=\"xs\">\n <GridCol>\n {'Item states:'}\n <Menu>\n <MenuItem>{'Normal'}</MenuItem>\n <MenuItem label={<Label intent=\"danger\">{'99'}</Label>}>{'With label'}</MenuItem>\n <MenuItem icon=\"i-folder-blank-open\">{'With icon'}</MenuItem>\n <MenuItem active>{'Active'}</MenuItem>\n <MenuItem disabled>{'Disabled'}</MenuItem>\n </Menu>\n </GridCol>\n <GridCol>\n {'With groups:'}\n <Menu onItemClick={() => alert('Item clicked')}>\n <MenuHeader>{'Header'}</MenuHeader>\n <MenuItem icon=\"i-folder-blank-open\">{'First'}</MenuItem>\n <MenuItem icon=\"i-folder-blank-open\" disabled>{'Second'}</MenuItem>\n <MenuItem icon=\"i-folder-blank-open\">{'Third'}</MenuItem>\n <MenuDivider />\n <MenuItem>{'First'}</MenuItem>\n <MenuItem>{'Second'}</MenuItem>\n <MenuItem>{'Third'}</MenuItem>\n </Menu>\n </GridCol>\n <GridCol>\n {'With selectable items:'}\n <Menu onItemClick={() => alert('Item clicked')}>\n <MenuSelectableItem>{'First'}</MenuSelectableItem>\n <MenuSelectableItem selected>{'Second'}</MenuSelectableItem>\n <MenuSelectableItem>{'Third'}</MenuSelectableItem>\n </Menu>\n </GridCol>\n</Grid>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Menu](#menu) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"initialState = {\n current: 1,\n};\n\n<Pagination\n current={state.current}\n total={2}\n onSelect={current => setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 1,\n};\n\n<Pagination\n current={state.current}\n total={5}\n onSelect={current => setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 20,\n};\n\n<Pagination\n current={state.current}\n total={30}\n onSelect={current => setState({ current })}\n/>",settings:{},evalInContext:i},{type:"code",content:"initialState = {\n current: 1,\n};\n\n<Pagination\n current={state.current}\n total={30}\n onSelect={current => setState({ current })}\n isShowNavigationButtons={false}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"const onToggle = collapsed => alert(`The panel will be ${collapsed ? 'collapsed' : 'expanded'}.`);\n\n<Panel title=\"Panel Title\" collapsible onToggle={onToggle}>\n Panel content.\n</Panel>",settings:{},evalInContext:i},{type:"markdown",content:"Panel with Item List:"},{type:"code",content:'<Panel>\n <ItemList>\n <Item\n icon="http://placehold.it/64"\n title="Backup Manager"\n />\n <Item\n icon="http://placehold.it/64"\n title="Databases"\n />\n <Item\n icon="http://placehold.it/64"\n title="Scheduled Tasks"\n />\n <Item\n icon="http://placehold.it/64"\n title="WordPress"\n />\n </ItemList>\n</Panel>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Plaintext>\n {`\n First line.\n Second line.\n <b>bold</b>\n`}\n</Plaintext>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic example:"},{type:"code",content:'initialState = {\n title: null,\n intent: null,\n};\n\n\n<div>\n <style>\n {`\n .uilib_Popover_demo { margin: 80px auto; }\n .uilib_Popover_demo tr td { text-align: center; padding: 5px 10px; }\n .uilib_Popover_demo tr td:first-child { text-align: left; }\n .uilib_Popover_demo tr td:nth-child(2) { text-align: left; }\n .uilib_Popover_demo tr td:nth-child(4) { text-align: right; }\n .uilib_Popover_demo tr td:last-child { text-align: right; }\n `}\n </style>\n\n <div className="uilib_Popover_tools">\n <Switch onChange={() => setState({ title: state.title ? null : \'Title\' })}>With title</Switch>\n {\' \'}\n <SegmentedControl\n buttons={[\n { value: \'null\', title: \'default\' },\n { value: \'info\', title: \'info\' },\n { value: \'success\', title: \'success\' },\n { value: \'warning\', title: \'warning\' },\n { value: \'danger\', title: \'danger\' },\n ]}\n selected={\'null\'}\n onChange={intent => setState({ intent: intent === \'null\' ? null : intent })}\n inline\n />\n </div>\n\n\n <table className="uilib_Popover_demo">\n <tbody>\n <tr>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top right</a>} placement="top-right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top</a>} placement="top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>top left</a>} placement="top-left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left bottom</a>} placement="left-bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td />\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right bottom</a>} placement="right-bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left</a>} placement="left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>auto</a>} placement="auto">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right</a>} placement="right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>left top</a>} placement="left-top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n <td />\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>right top</a>} placement="right-top">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n </tr>\n <tr>\n <td />\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom right</a>} placement="bottom-right">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom</a>} placement="bottom">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td>\n <Popover title={state.title} intent={state.intent} target={<a>bottom left</a>} placement="bottom-left">\n <p>Lorem ipsum dolor sit amet.</p>\n </Popover>\n </td>\n <td />\n </tr>\n </tbody>\n </table>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Popover with form:"},{type:"code",content:'<Popover title={state.title} target={<a>click me</a>} placement="bottom">\n <Form applyButton={false}>\n <FormFieldText label="Your name" required />\n <FormFieldPassword label="Password" required />\n </Form>\n</Popover>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Rating control used to display mark of something. It is recommended to use 5 stars because it common element.\n\nIt is possible that rating has floats values - than one star shown as partially filled.\n\nBasic usage:"},{type:"code",content:"<div>\n <Rating /><br />\n <Rating value={1.25} /><br />\n <Rating value={2.5} /><br />\n <Rating value={3.75} /><br />\n <Rating value={5} /><br />\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Small variants:"},{type:"code",content:"<div>\n <Rating small /><br />\n <Rating small value={1.25} /><br />\n <Rating small value={2.5} /><br />\n <Rating small value={3.75} /><br />\n <Rating small value={5} /><br />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Design examples:"},{type:"code",content:'<Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<Section title="My CMS" vertical>\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<Section>\n <SectionItem title="SSL/TLS certificate">\n <Label intent="success">INSTALLED</Label> <a href="#!">View</a>\n </SectionItem>\n <SectionItem title="Security status">\n <Label intent="success">OK</Label>\n </SectionItem>\n</Section>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS" intent="danger">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="warning">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="success">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS" intent="inactive">\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'initialState = {\n visible: true,\n disabled: false,\n title1: \'My CMS\',\n title2: \'My CMS\',\n};\n\n<div>\n {state.visible && (\n <Section\n title={state.title2}\n collapsible\n onTitleChange={newTitle => setState({ title2: newTitle })}\n onClose={() => setState({ visible: false })}\n >\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n\n <SectionItem title="" actions>\n <Button key="1" intent="primary">Primary Button</Button>\n {\' \'}\n <Button key="2" intent="secondary">Secondary Button</Button>\n </SectionItem>\n </Section>\n )}\n\n <Section\n intent={state.disabled ? \'inactive\' : null}\n title={state.title1}\n collapsible\n onTitleChange={newTitle => setState({ title1: newTitle })}\n onClose={() => {}}\n buttons={[\n <span key="1">\n <Switch\n checked={state.disabled}\n onChange={checked => setState({ disabled: !!checked })}\n >\n Disable section\n </Switch>\n {state.disabled ? \' On\' : \' Off\'}\n </span>,\n ]}\n >\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"code",content:'<div>\n <Section title="My CMS">\n <p>\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque. Nullam sed purus nunc. In sed laoreet neque. Nam hendrerit velit eu\n sapien convallis suscipit. Sed finibus ex eget nibh feugiat, quis consequat lacus\n ultrices. Sed id libero fermentum arcu finibus rhoncus. Aliquam rhoncus libero et\n enim euismod, eu congue leo imperdiet. Duis in odio vel purus eleifend efficitur id\n in mi.\n </p>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n\n <Section title="My CMS">\n <Alert intent="warning">\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque.\n </Alert>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n </Section>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"Something crazy:"},{type:"code",content:'<div>\n <Section title="My CMS">\n <p>\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque. Nullam sed purus nunc. In sed laoreet neque. Nam hendrerit velit eu\n sapien convallis suscipit. Sed finibus ex eget nibh feugiat, quis consequat lacus\n ultrices. Sed id libero fermentum arcu finibus rhoncus. Aliquam rhoncus libero et\n enim euismod, eu congue leo imperdiet. Duis in odio vel purus eleifend efficitur id\n in mi.\n </p>\n\n <SectionItem title="WordPress Version">\n 4.8 (Updated 22.05.2017)\n </SectionItem>\n <SectionItem title="Administrator\'s name">\n Default_Administrator_Name\n </SectionItem>\n <SectionItem title="Logged in as">\n <a href="#!">Log in</a>\n </SectionItem>\n\n <Alert intent="warning">\n Sed vestibulum tellus nisl, et lacinia lectus condimentum eu. Nulla eu tincidunt\n tortor. Suspendisse non felis diam. Donec eget nunc pretium, venenatis est id,\n porttitor neque.\n </Alert>\n\n <SectionItem title="Admin Password">\n <a href="#!">Show / Change</a>\n </SectionItem>\n <SectionItem title="Password protected access">\n <Switch /> Off\n </SectionItem>\n\n <br />\n\n <Button key="1" intent="primary">Primary Button</Button>\n {\' \'}\n <Button key="2" intent="secondary">Secondary Button</Button>\n </Section>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [Section](#section) component."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Icon-buttons:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 'details', icon: 'list', tooltip: 'Detail view' },\n { value: 'icons', icon: 'copy', tooltip: 'Icons view' },\n { value: 'list', icon: 'plugins', tooltip: 'List view' },\n ]}\n selected=\"details\"\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Icon-buttons with text:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, icon: 'globe', title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Text only:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, title: 'Button' },\n ]}\n selected={2}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Mixed buttons:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Labels:"},{type:"code",content:"<div>\n <SegmentedControl\n label=\"Label at the top:\"\n buttons={[\n { value: 1, title: 'Button' },\n { value: 2, title: 'Button' },\n { value: 3, title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n />\n <br /><br />\n <SegmentedControl\n label=\"Label at the left:\"\n labelPlacement=\"left\"\n buttons={[\n { value: 1, icon: 'globe', title: 'Button' },\n { value: 2, icon: 'globe', title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n selected={1}\n onChange={() => {}}\n />\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Multiple:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, title: 'First' },\n { value: 2, title: 'Second' },\n { value: 3, title: 'Third' },\n ]}\n multiple\n selected={[1, 2]}\n onChange={() => {}}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Monospaced:"},{type:"code",content:"<SegmentedControl\n buttons={[\n { value: 1, icon: 'globe', title: 'Button with long name' },\n { value: 2, title: 'Button' },\n { value: 3, icon: 'globe', title: 'Button' },\n ]}\n monospaced\n selected={1}\n onChange={() => {}}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={"../index":n(168),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"code",content:"const {\n MenuItem,\n MenuDivider,\n} = require('../index');\n\nconst menu = (\n <Menu>\n <MenuItem>Edit</MenuItem>\n <MenuItem>Add a post</MenuItem>\n <MenuDivider />\n <MenuItem>Delete</MenuItem>\n </Menu>\n);\n\n<SplitButton menu={menu} opened>Manage my Blog</SplitButton>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"#### Basic usage"},{type:"code",content:'<div>\n <Status intent="success">\n Success\n </Status>{\' \'}\n <Status intent="info">\n Info\n </Status>{\' \'}\n <Status intent="warning">\n Warning\n </Status>{\' \'}\n <Status intent="danger">\n Danger\n </Status>\n</div>',settings:{},evalInContext:i},{type:"markdown",content:"#### With additional content"},{type:"code",content:"<Status\n icon={{ size: 'md' }}\n intent=\"danger\"\n rightAddon={<Label intent=\"danger\">danger</Label>}\n bottomAddon={'Additional content'}\n>\n Danger\n</Status>",settings:{},evalInContext:i},{type:"markdown",content:"#### With custom icon"},{type:"code",content:'<Status\n icon="i-eye-03"\n intent="inactive"\n>\n Inactive\n</Status>',settings:{},evalInContext:i}]},function(e,t,n){var o={".":n(154),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'const {\n SubnavItem,\n} = require(\'.\');\n\ninitialState = {\n active: 1,\n};\n\n<Subnav>\n <SubnavItem active={state.active === 1}>\n <a href="#!" onClick={() => setState({ active: 1 })}>Link 1</a>\n </SubnavItem>\n <SubnavItem active={state.active === 2}>\n <a href="#!" onClick={() => setState({ active: 2 })}>Link 2</a>\n </SubnavItem>\n <SubnavItem active={state.active === 3}>\n <a href="#!" onClick={() => setState({ active: 3 })}>Link 3</a>\n </SubnavItem>\n</Subnav>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic `Switch`:"},{type:"code",content:"<Switch />",settings:{},evalInContext:i},{type:"markdown",content:"Intents of `Switch`:"},{type:"code",content:"<div>\n <Switch defaultChecked />{' '}\n <Switch defaultChecked intent=\"warning\" />{' '}\n <Switch defaultChecked intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"`Switch` with label:"},{type:"code",content:"<Switch>Switch me</Switch>",settings:{},evalInContext:i},{type:"markdown",content:"Disabled `Switch`:"},{type:"code",content:"<div>\n <Switch disabled />{' '}\n <Switch defaultChecked disabled />{' '}\n <Switch defaultChecked disabled intent=\"warning\" />{' '}\n <Switch defaultChecked disabled intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Loading `Switch`:"},{type:"code",content:"<div>\n <Switch loading />{' '}\n <Switch defaultChecked loading />{' '}\n <Switch defaultChecked loading intent=\"warning\" />{' '}\n <Switch defaultChecked loading intent=\"danger\" />{' '}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"`onChange` handler:"},{type:"code",content:"initialState = { checked: false };\n<div>\n <Switch onChange={checked => setState({ checked })} />\n {state.checked ? ' on' : ' off'}\n</div>",settings:{},evalInContext:i},{type:"markdown",content:"Remote control:"},{type:"code",content:"initialState = { checked: true };\n<div>\n <Button onClick={() => setState({ checked: !state.checked })}>Toggle</Button>\n {' '}\n <Switch checked={state.checked} />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:'<SwitchesPanel title="Switch Panel">\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Maintenance mode"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n defaultChecked\n />\n <SwitchesPanelItem\n onChange={() => {}}\n title="Debugging"\n />\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Maintenance mode"\n intent="warning"\n defaultChecked\n >\n <Button icon={<Icon name="i-circle-question-mark" />} />\n </SwitchesPanelItem>\n <SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt."\n />\n</SwitchesPanel>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Used in [SwitchesPanel](#switchespanel).\n\nBasic usage:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n/>',settings:{},evalInContext:i},{type:"markdown",content:"Complex example:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt. Vestibulum rutrum quam vitae fringilla tincidunt."\n fullDescription={\n <p>\n Used by millions, Akismet is quite\n possibly the best way in the world to\n <strong>protect your blog from spam</strong>\n . It keeps your site protected even while\n you sleep. To get started: activate the\n Akismet plugin and then go to your Akismet\n Settings page to set up your API key.\n </p>\n }\n defaultChecked\n>\n <a href="javascript:">Settings</a>\n</SwitchesPanelItem>',settings:{},evalInContext:i},{type:"markdown",content:"Three buttons in controls:"},{type:"code",content:'<SwitchesPanelItem\n onChange={() => {}}\n title="Search engine indexing"\n description="Vestibulum rutrum quam vitae fringilla tincidunt. Vestibulum rutrum quam vitae fringilla tincidunt."\n fullDescription={\n <p>\n Used by millions, Akismet is quite\n possibly the best way in the world to\n <strong>protect your blog from spam</strong>\n . It keeps your site protected even while\n you sleep. To get started: activate the\n Akismet plugin and then go to your Akismet\n Settings page to set up your API key.\n </p>\n }\n>\n <Button icon={<Icon name="i-circle-exclamation-mark" />} />\n <Button icon={<Icon name="i-circle-info" />} />\n</SwitchesPanelItem>',settings:{},evalInContext:i},{type:"markdown",content:"Intents:"},{type:"code",content:'<div>\n <SwitchesPanelItem\n onChange={() => {}}\n intent="warning"\n title="Search engine indexing"\n >\n <Button icon={<Icon name="i-circle-info" />} />\n </SwitchesPanelItem>\n {\' \'}\n <SwitchesPanelItem\n onChange={() => {}}\n intent="danger"\n title="Search engine indexing"\n >\n <a href="javascript:">Settings</a>\n </SwitchesPanelItem>\n</div>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"SearchBar is a part of the [Tabs](#tabs) component, providing type-as-you-go search through the items of a list displayed under the current Tab. While the primary usage for the SearchBar is providing search for tab groups, it can also be used as a standalone component outside of [Tabs](#tabs) for searching through arbitrary data.\n\n### Standalone usage\n\nBasic usage:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\n<SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={state.filteredData}\n/>",settings:{},evalInContext:i},{type:"markdown",content:"Responsive:"},{type:"code",content:'initialState = {\n responsive: true,\n loading: false,\n};\n\nconst onSearch = (value, reset) => {\n if (state.responsive) {\n setState({ responsive: false })\n } else if (value) {\n setState({ loading: true });\n\n setTimeout(() => {\n alert(`Searching for: ${value}`);\n setState({ loading: false });\n reset();\n }, 1000)\n }\n};\n\n<SearchBar\n autoFocus\n loading={state.loading}\n responsive={state.responsive}\n onSearch={onSearch}\n leftAddon={state.responsive\n ? null\n : (\n <Button\n icon={<Icon name="i-arrow-right-07" thin />}\n onClick={() => setState({ responsive: true })}\n />\n )\n }\n/>',settings:{},evalInContext:i},{type:"markdown",content:"With Menu component:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\nconst renderMenu = data => (\n <Menu>\n <MenuHeader>Search results:</MenuHeader>\n {data.map((item, idx) => [\n idx > 0 && <MenuDivider key={`d_${item.value}`} />,\n <MenuItem key={item.value}>\n - {item.title}\n </MenuItem>,\n ])}\n </Menu>\n);\n\n<SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={renderMenu(state.filteredData)}\n/>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Tab is used in [Tabs](#tabs) component.\n\nDifferent variations:"},{type:"code",content:'const closeHandler = () => {\n alert(\'Close clicked!\');\n};\n\n<Tabs>\n <Tab title="Tab title" onClose={() => {}} />\n <Tab title="Tab title" />\n <Tab title="Tab with icon" icon="i-circle-exclamation-mark-02" onClose={closeHandler} />\n <Tab title="Tab with icon component" icon={<Icon name="i-circle-check-mark-02" />} />\n <Tab title="Tab with label" label="5" />\n <Tab title="Tab with label" label={<Label intent="success">3</Label>} onClose={closeHandler} />\n</Tabs>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Shows tabs with custom content.\nAllow place specified element at the right of tab list."},{type:"code",content:'<Tabs active={2} addon={<Button>Some button</Button>}>\n <Tab key={1} title="Extensions Catalog" icon="i-plus">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title="My Extensions" icon="i-four-squares">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title="Updates" icon="i-circle-check-mark" label="7">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n</Tabs>',settings:{},evalInContext:i},{type:"markdown",content:"Monospaced version:"},{type:"code",content:'<Tabs active={2} addon={<Button>Some button</Button>} monospaced>\n <Tab key={1} title="Extensions Catalog" icon="i-plus">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title="My Extensions" icon="i-four-squares">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title="Updates" icon="i-circle-check-mark" label="7">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n <Tab key={4} title="Tab with very very long title">\n Here comes content for <b>Tab with very very long title</b> tab.\n </Tab>\n</Tabs>',settings:{},evalInContext:i},{type:"markdown",content:"With search:"},{type:"code",content:"const initialData = [\n { value: '1', title: 'First item' },\n { value: '2', title: 'Second item' },\n { value: '3', title: 'Third item' },\n { value: '4', title: 'Forth item' },\n { value: '5', title: 'Fifth item' },\n { value: '6', title: 'Sixth item' },\n];\ninitialState = {\n data: initialData,\n filteredData: initialData,\n value: '',\n};\n\nconst filterData = (value, data) => data\n .filter(item => !value\n || item.title\n .toLowerCase()\n .indexOf(value.toLowerCase()) !== -1\n );\n\n<Tabs\n active={2}\n addon={<Button>Some button</Button>}\n search={\n <SearchBar\n onTyping={value => setState({ value, filteredData: filterData(value, state.data) })}\n onItemSelect={(value, reset) => {\n alert(`Selected value: ${value}`);\n reset();\n }}\n results={state.filteredData}\n />\n }\n>\n <Tab key={1} title=\"Extensions Catalog\" icon=\"i-plus\">\n Here comes content for <b>Extensions Catalog</b> tab.\n </Tab>\n <Tab key={2} title=\"My Extensions\" icon=\"i-four-squares\">\n Here comes content for <b>My Extensions</b> tab.\n </Tab>\n <Tab key={3} title=\"Updates\" icon=\"i-circle-check-mark\" label=\"7\">\n Here comes content for <b>Updates</b> tab.\n </Tab>\n</Tabs>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<div>\n <Button\n intent=\"info\"\n onClick={() => this.toaster.add({ intent: 'info', message: 'Info message' })}\n >\n Show info message\n </Button>{' '}\n <Button\n intent=\"success\"\n onClick={() => this.toaster.add({ intent: 'success', message: 'Success message' })}\n >\n Show success message\n </Button>{' '}\n <Button\n intent=\"warning\"\n onClick={() => this.toaster.add({ intent: 'warning', message: 'Warning message' })}\n >\n Show warning message\n </Button>{' '}\n <Button\n intent=\"danger\"\n onClick={() => this.toaster.add({ intent: 'danger', message: 'Danger message' })}\n >\n Show danger message\n </Button>{' '}\n <Button\n onClick={() => this.toaster.clear()}\n >\n Close all messages\n </Button>{' '}\n <Toaster ref={ref => (this.toaster = ref)} />\n</div>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Basic usage:"},{type:"code",content:"<Toolbar>\n <ToolbarGroup title=\"Install\">\n <Button>{'Install WordPress'}</Button>\n </ToolbarGroup>\n <ToolbarGroup title=\"Update\">\n <Button icon={<Icon name=\"i-arrow-up-06\" />}>{'Update'}</Button>\n </ToolbarGroup>\n <ToolbarGroup title=\"Actions\">\n <Button>{'Check security'}</Button>\n <Button icon={<Icon name=\"i-arrow-up-06\" />}>{'Update'}</Button>\n <Switch>Switch</Switch>\n </ToolbarGroup>\n <ToolbarExpander />\n <ToolbarGroup title=\"View\">\n <Dropdown\n menu={\n <Menu>\n <MenuItem>{'By name'}</MenuItem>\n <MenuItem>{'By creation time'}</MenuItem>\n <MenuItem>{'By edit time'}</MenuItem>\n <MenuItem>{'By theme'}</MenuItem>\n </Menu>\n }\n >\n {'Sort'}\n </Dropdown>\n <Dropdown\n menu={\n <Menu>\n <MenuItem>{'List'}</MenuItem>\n <MenuItem>{'Tiles'}</MenuItem>\n </Menu>\n }\n >\n {'View'}\n </Dropdown>\n </ToolbarGroup>\n <ToolbarGroup title=\"Views\">\n <SegmentedControl\n buttons={[\n { value: 'details', icon: 'list', title: 'Detail' },\n { value: 'icons', icon: 'copy', title: 'Icons' },\n { value: 'list', icon: 'plugins', title: 'List' },\n ]}\n selected=\"details\"\n onChange={() => {}}\n />\n </ToolbarGroup>\n</Toolbar>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Usage example:"},{type:"code",content:"<Toolbar>\n <ToolbarGroup title=\"Left Group\">\n <Button>{'Left Group Button'}</Button>\n </ToolbarGroup>\n <ToolbarExpander />\n <ToolbarGroup title=\"Right Group\">\n <Button>{'Right Group Button'}</Button>\n </ToolbarGroup>\n</Toolbar>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"See [toolbar](#toolbar) for examples."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"ToolTip used to describe element when mouse hover it\n\n`Tooltip` appear when mouse hover on element and some short time (`delay` prop) passed without mouse move.\n\n`Tooltip` disappear immediately when mouse leave element."},{type:"code",content:'initialState = {\n time: (new Date()).getTime(),\n};\nsetTimeout(() => {\n setState({\n time: (new Date()).getTime(),\n });\n}, 250);\n\n<LocaleProvider messages={{ element: \'Some element\', tooltip: \'Some help text (%%time%%)\' }}>\n <Tooltip className="asd" title={<Translate content="tooltip" params={{ time: state.time }} />}>\n <Translate content="element" />\n </Tooltip>\n</LocaleProvider>',settings:{},evalInContext:i},{type:"markdown",content:"If information is important it should not be used in `Tooltip`, only minor information or information that user can see on next screen are allowed (example: `Icon` description, `Button` that lead to next screen description).\n\nTooltip as prop of `Button` components:"},{type:"code",content:'<Button tooltip="Create a customer account with subscription">\n Add a Customer\n</Button>',settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"This component used inside context of [`LocaleProvider`](#localeprovider) component."},{type:"code",content:"<LocaleProvider messages={{ key: 'value' }}>\n <Translate content=\"key\" />\n</LocaleProvider>",settings:{},evalInContext:i}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"### Native properties\n\nThere are no documentation about native properties supported by the DOM like `onClick`, `onMouseEnter`, `style`, etc.\n\n### Spread\n\nUndocumented properties supplied are spread to the root element. For instance, `className` or `data-id` properties is applied to the root."}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Plesk UI Library is available as an npm package.\n\nTo install and save in your package.json dependencies, run:\n\n```bash\nyarn add @plesk/ui-library\n```\n\nor\n\n```bash\nnpm install @plesk/ui-library\n```"}]},function(e,t,n){var o={react:n(1)},r=n(6).bind(null,o);n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:"Welcome to Plesk UI Library!"}]},function(e,t,n){var o={"../../package.json":n(172),react:n(1)},r=n(6).bind(null,o),i=n(5).bind(null,"var React = require('react');",r);e.exports=[{type:"markdown",content:'Example:\n\n```html\n<span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"container"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>\n<span class="hljs-tag">&lt;<span class="hljs-name">script</span>&gt;</span><span class="javascript">\n <span class="hljs-built_in">require</span>([<span class="hljs-string">\'plesk-ui-library\'</span>], <span class="hljs-function"><span class="hljs-keyword">function</span> (<span class="hljs-params">PleskUiLibrary</span>) </span>{\n PleskUiLibrary.render(\n PleskUiLibrary.createElement(\n PleskUiLibrary.Alert,\n { <span class="hljs-attr">intent</span>: <span class="hljs-string">\'info\'</span> },\n <span class="hljs-string">\'Welcome to the Plesk UI Library \'</span> + PleskUiLibrary.version + <span class="hljs-string">\'!\'</span>\n ),\n <span class="hljs-built_in">document</span>.getElementById(<span class="hljs-string">\'container\'</span>)\n );\n });\n</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span>\n```\n\nResult:'},{type:"code",content:"const { version } = require('../../package.json'); \n<Alert intent=\"info\">{`Welcome to the Plesk UI Library ${version}!`}</Alert>",settings:{noeditor:!0},evalInContext:i}]},function(e,t,n){e.exports={description:"`Action` component.\n",methods:[],displayName:"Action",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Action`.",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Useful when rendering an `Action` as `<Link>` instead `<a>`.",defaultValue:{value:"'a'",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon of the Action.",defaultValue:{value:"null",computed:!1},tags:{}},rightAddon:{type:{name:"node"},required:!1,description:"Right additional content.",defaultValue:{value:"null",computed:!1},tags:{}},bottomAddon:{type:{name:"node"},required:!1,description:"Bottom additional content.",defaultValue:{value:"null",computed:!1},tags:{}},nowrap:{type:{name:"bool"},required:!1,description:"Suppresses line breaks (text wrapping) within the source.",defaultValue:{value:"false",computed:!1},tags:{}},outerProps:{type:{name:"object"},required:!1,description:"Props for the outer element.",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(693)}},function(e,t,n){e.exports={description:"`Alert` component.\n",methods:[],displayName:"Alert",props:{intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Alert`",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Click handler for close button. Button will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(694)}},function(e,t,n){e.exports={description:"AutoClosable component.\n",displayName:"AutoClosable",methods:[],props:{onClose:{type:{name:"func"},required:!1,description:"onClose handler",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"element"},required:!0,description:"Content of the AutoClosable",tags:{}}},doclets:{},tags:{},examples:n(695)}},function(e,t,n){e.exports={description:"Auxiliary Actions component is used for executing additional (not primary) actions.\nYou should not use the actions for submitting data in Form.\n",methods:[],displayName:"AuxiliaryActions",props:{children:{type:{name:"node"},required:!1,description:"Actions",defaultValue:{value:"null",computed:!1},tags:{}},separator:{type:{name:"node"},required:!1,description:"Custom separator between actions",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(696)}},function(e,t,n){e.exports={description:"`Badge` component.\n",methods:[],displayName:"Badge",props:{label:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!0,description:"Display value. See [label](#label) for all props.",tags:{}},hidden:{type:{name:"bool"},required:!1,description:"Set true for hide the badge.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Badge`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(697)}},function(e,t,n){e.exports={description:"`Button` component is used for executing actions, changing the application state, opening forms or dialog windows, and submitting data.\nAs a rule, you should not use buttons for navigation between individual pages (use links instead).\n",displayName:"Button",methods:[],props:{intent:{type:{name:"enum",value:[{value:"'primary'",computed:!1},{value:"'secondary'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'info'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},selected:{type:{name:"bool"},required:!1,description:"Selected state of toggle button. Used in controlled component mode.",defaultValue:{value:"null",computed:!1},tags:{}},onToggle:{type:{name:"func"},required:!1,description:"Toggle button callback. Used in uncontrolled component mode.",defaultValue:{value:"null",computed:!1},tags:{}},state:{type:{name:"enum",value:[{value:"'active'",computed:!1},{value:"'loading'",computed:!1},{value:"'hovered'",computed:!1}]},required:!1,description:"State of the button",defaultValue:{value:"null",computed:!1},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Is button disabled?",defaultValue:{value:"false",computed:!1},tags:{}},tooltip:{type:{name:"node"},required:!1,description:"Tooltip for component",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"enum",value:[{value:"'archive'",computed:!1},{value:"'arrow-right'",computed:!1},{value:"'backup'",computed:!1},{value:"'clean'",computed:!1},{value:"'clock'",computed:!1},{value:"'copy'",computed:!1},{value:"'customize-order'",computed:!1},{value:"'download'",computed:!1},{value:"'edit'",computed:!1},{value:"'folder'",computed:!1},{value:"'globe'",computed:!1},{value:"'globe-alt'",computed:!1},{value:"'import'",computed:!1},{value:"'invisible'",computed:!1},{value:"'link'",computed:!1},{value:"'list'",computed:!1},{value:"'lock'",computed:!1},{value:"'ok-app'",computed:!1},{value:"'ok-circle'",computed:!1},{value:"'plugins'",computed:!1},{value:"'plus'",computed:!1},{value:"'power'",computed:!1},{value:"'question-circle'",computed:!1},{value:"'refresh'",computed:!1},{value:"'reload'",computed:!1},{value:"'remove'",computed:!1},{value:"'remove-app'",computed:!1},{value:"'remove-circle'",computed:!1},{value:"'search'",computed:!1},{value:"'security-scan'",computed:!1},{value:"'settings'",computed:!1},{value:"'share'",computed:!1},{value:"'shopping-cart'",computed:!1},{value:"'start'",computed:!1},{value:"'stop'",computed:!1},{value:"'suspend'",computed:!1},{value:"'themes'",computed:!1},{value:"'unarchive'",computed:!1},{value:"'unlock'",computed:!1},{value:"'upload'",computed:!1},{value:"'upload-alt'",computed:!1},{value:"'user'",computed:!1},{value:"'user-alt'",computed:!1},{value:"'visible'",computed:!1}]},{name:"element"}]},required:!1,description:"Icon of the button",defaultValue:{value:"null",computed:!1},tags:{}},caret:{type:{name:"union",value:[{name:"bool"},{name:"element"}]},required:!1,description:"Show caret",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the button",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Component to render as the root element. Useful when rendering a `Button` as `<a>` or `<Link>`.",defaultValue:{value:"'button'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(698)}},function(e,t,n){e.exports={description:"`ButtonGroup` component is used for visual grouping of several [Buttons](#button) together. Buttons are typically grouped\nbased on the similarity of their actions -- for example, for visually separating buttons that add new elements to the list \nfrom buttons that modify existing elements in the list.\n",methods:[],displayName:"ButtonGroup",props:{children:{type:{name:"node"},required:!1,description:"Content of the button group",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(699)}},function(e,t,n){e.exports={description:"`Card` component.\n",displayName:"Card",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Card`.",defaultValue:{value:"null",computed:!1},tags:{}},view:{type:{name:"enum",value:[{value:"'extended'",computed:!1},{value:"'tile'",computed:!1},{value:"'row'",computed:!1}]},required:!1,description:"View mode.",defaultValue:{value:"'extended'",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!0,description:"Text of title.",tags:{}},titleLink:{type:{name:"string"},required:!1,description:"Link for title.",defaultValue:{value:"''",computed:!1},tags:{}},subtitle:{type:{name:"node"},required:!1,description:"Text of subtitle.",defaultValue:{value:"''",computed:!1},tags:{}},labels:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"List of labels in header. See [Label](#label) component for details.",defaultValue:{value:"[]",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"shape",value:{icon:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}],required:!0},onClick:{name:"func",required:!0},tooltip:{name:"node",required:!1}}}},required:!1,description:"List of additional buttons in header.",defaultValue:{value:"[]",computed:!1},tags:{}},menu:{type:{name:"element"},required:!1,description:"See [Menu](#menu).",defaultValue:{value:"null",computed:!1},tags:{}},selection:{type:{name:"shape",value:{isSelected:{name:"bool",required:!0},onSelectionChange:{name:"func",required:!0}}},required:!1,description:"Selection control.",defaultValue:{value:"null",computed:!1},tags:{}},sideHeader:{type:{name:"element"},required:!1,description:"Side header section. Recommended to use [PreviewPanel](#previewpanel) component.",defaultValue:{value:"null",computed:!1},tags:{}},sideContent:{type:{name:"element"},required:!1,description:"Side content section.",defaultValue:{value:"null",computed:!1},tags:{}},rowContent:{type:{name:"any"},required:!1,description:"Content for row view.",defaultValue:{value:"null",computed:!1},tags:{}},progress:{type:{name:"union",value:[{name:"bool"},{name:"node"}]},required:!1,description:"Indicate the progress state of the card.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(700)}},function(e,t,n){e.exports={description:"`PreviewPanel` component.\n",displayName:"PreviewPanel",methods:[],props:{html:{type:{name:"string"},required:!1,description:"HTML content. Width of content will be adjusted to fit preview panel.",defaultValue:{value:"null",computed:!1},tags:{}},background:{type:{name:"string"},required:!1,description:"Background image content.",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"string"},required:!1,description:"Image content.",defaultValue:{value:"null",computed:!1},tags:{}},padding:{type:{name:"union",value:[{name:"number"},{name:"arrayOf",value:{name:"number"}}]},required:!1,description:"Padding of image content (in pixels). Could be a number or an array of numbers. Behavior as in CSS property `padding`.",defaultValue:{value:"0",computed:!1},tags:{}},alt:{type:{name:"string"},required:!1,description:"Alt property for an image.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"any"},required:!1,description:"Custom content for hover over preview panel. Hidden in card for the row view.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(701)}},function(e,t,n){e.exports={description:"`CardList` component.\n",displayName:"CardList",methods:[],props:{items:{type:{name:"array"},required:!0,description:"Array of data items for rendering.",tags:{}},onItemsFetch:{type:{name:"func"},required:!1,description:"Callback for fetching items.",defaultValue:{value:"null",computed:!1},tags:{}},totalItems:{type:{name:"number"},required:!1,description:"Total items. Equal items.length by default.",defaultValue:{value:"null",computed:!1},tags:{}},view:{type:{name:"enum",value:[{value:"'extended'",computed:!1},{value:"'tile'",computed:!1},{value:"'row'",computed:!1},{value:"'responsive'",computed:!1}]},required:!1,description:"View mode.",defaultValue:{value:"'extended'",computed:!1},tags:{}},onViewChange:{type:{name:"func"},required:!1,description:"View change callback.",defaultValue:{value:"null",computed:!1},tags:{}},viewSwitcher:{type:{name:"bool"},required:!1,description:"View switcher config.",defaultValue:{value:"false",computed:!1},tags:{}},selection:{type:{name:"array"},required:!1,description:"Array of keys of selected cards.",defaultValue:{value:"[]",computed:!1},tags:{}},onSelectionChange:{type:{name:"func"},required:!1,description:"Selection change handler for list. Checkboxes will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},selectionButton:{type:{name:"shape",value:{badge:{name:"union",value:[{name:"string"},{name:"object"}],description:"See [badge](#badge) for all props.",required:!1},menuItems:{name:"arrayOf",value:{name:"element"},description:"Array of additional [menuitems](#menuitem).",required:!1}}},required:!1,description:"Config for selection button in the toolbar.",defaultValue:{value:"{\n badge: null,\n menuItems: [],\n}",computed:!1},tags:{}},toolbarGroups:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"Toolbar groups for the toolbar.",defaultValue:{value:"[]",computed:!1},tags:{}},itemKey:{type:{name:"string"},required:!0,description:"Unique key.",tags:{}},itemRender:{type:{name:"func"},required:!0,description:"Render function for item.",tags:{}},loading:{type:{name:"bool"},required:!1,description:"Indicate the loading state of the list.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(702)}},function(e,t,n){e.exports={description:"Carousel component.\n",displayName:"Carousel",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Slides",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(703)}},function(e,t,n){e.exports={description:"`Checkbox` component.\n",displayName:"Checkbox",methods:[],props:{checked:{type:{name:"bool"},required:!1,description:"Determine whether the `Checkbox` is checked.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the checked state is changing.",defaultValue:{value:"undefined",computed:!0},tags:{}},tooltip:{type:{name:"node"},required:!1,description:"Tooltip for component",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"any"},required:!1,description:"Label of the `Checkbox`",defaultValue:{value:"undefined",computed:!0},tags:{}},inputProps:{type:{name:"object"},required:!1,description:"Additional props for input element",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(704)}},function(e,t,n){e.exports={description:"`CodeEditor` component.\n",displayName:"CodeEditor",methods:[],props:{mode:{type:{name:"union",value:[{name:"string"},{name:"object"}]},required:!1,description:"The mode to use. When not given, this will default to the first mode that was loaded.",defaultValue:{value:"''",computed:!1},tags:{}},fileName:{type:{name:"string"},required:!1,description:"CodeEditor can detect mode by file name. Will be ignored if you set mode property.",defaultValue:{value:"''",computed:!1},tags:{}},children:{type:{name:"string"},required:!1,description:"Content of the `CodeEditor`.",defaultValue:{value:"''",computed:!1},tags:{}},readOnly:{type:{name:"bool"},required:!1,description:"Set read only.",defaultValue:{value:"false",computed:!1},tags:{}},autofocus:{type:{name:"bool"},required:!1,description:"Set auto focus.",defaultValue:{value:"false",computed:!1},tags:{}},onInit:{type:{name:"func"},required:!1,description:"onInit event handler.",defaultValue:{value:"null",computed:!1},tags:{}},onChange:{type:{name:"func"},required:!1,description:"onChange event handler.",defaultValue:{value:"null",computed:!1},tags:{}},onSave:{type:{name:"func"},required:!1,description:"onSave event handler.",defaultValue:{value:"null",computed:!1},tags:{}},options:{type:{name:"object"},required:!1,description:"See all supported options in [CodeMirror](https://codemirror.net/doc/manual.html#config) documentation.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(705)}},function(e,t,n){e.exports={description:"ConsoleOutput component.\n",methods:[],displayName:"ConsoleOutput",props:{children:{type:{name:"node"},required:!1,description:"Console output content",defaultValue:{value:"null",computed:!1},tags:{}},wide:{type:{name:"bool"},required:!1,description:"Enable wide mode",defaultValue:{value:"false",computed:!1},tags:{}},cursor:{type:{name:"bool"},required:!1,description:"Enable cursor",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(706)}},function(e,t,n){e.exports={description:"The `Collapse` component shows and hides part of content.\n",displayName:"Cuttable",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the component.",defaultValue:{value:"null",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"Whether the component is open or closed.",defaultValue:{value:"true",computed:!1},tags:{}},maxHeight:{type:{name:"string"},required:!1,description:"Max height of content",defaultValue:{value:"'7rem'",computed:!1},tags:{}},locale:{type:{name:"shape",value:{showMore:{name:"any",required:!1},showLess:{name:"any",required:!1}}},required:!1,description:"Localization messages",defaultValue:{value:"{\n showMore: 'Show more',\n showLess: 'Show less',\n}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(707)}},function(e,t,n){e.exports={description:"`Dialog` component.\n",displayName:"Dialog",methods:[],props:{isOpen:{type:{name:"bool"},required:!1,description:"Toggles visibility.",defaultValue:{value:"false",computed:!1},tags:{}},banner:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Banner. Renders in front of content as wide as dialog.",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Image. Renders into content.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},cancelTitle:{type:{name:"node"},required:!1,description:'Title of "cancel" button',defaultValue:{value:"null",computed:!1},tags:{}},buttons:{type:{name:"node"},required:!1,description:'Buttons except "cancel" button',defaultValue:{value:"null",computed:!1},tags:{}},form:{type:{name:"object"},required:!1,description:"Wraps children into [Form](#form) if not empty.",defaultValue:{value:"null",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1}]},required:!1,description:"Dialog width",defaultValue:{value:"'md'",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:'On close event handler. Called immediately after dialog closed by "cancel" button or "Esc" key.',defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `DialogWindow`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(708)}},function(e,t,n){e.exports={description:"`Drawer` component.\n",methods:[],displayName:"Drawer",props:{isOpen:{type:{name:"bool"},required:!1,description:"Toggles visibility.",defaultValue:{value:"false",computed:!1},tags:{}},title:{type:{name:"node"},required:!0,description:"The title of the `Drawer`.",tags:{}},subtitle:{type:{name:"node"},required:!1,description:"The subtitle of the `Drawer`.",defaultValue:{value:"''",computed:!1},tags:{}},backButton:{type:{name:"bool"},required:!1,description:"Show back button in the header. If true the close button is not show.",defaultValue:{value:"false",computed:!1},tags:{}},placement:{type:{name:"enum",value:[{value:"'left'",computed:!1},{value:"'right'",computed:!1}]},required:!1,description:"Overlay placement.",defaultValue:{value:"'left'",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1}]},required:!1,description:"Overlay size.",defaultValue:{value:"'md'",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"onClose handler.",defaultValue:{value:"null",computed:!1},tags:{}},form:{type:{name:"object"},required:!1,description:"Wraps children into [Form](#form) if not empty.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Drawer`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(709)}},function(e,t,n){e.exports={description:"`Dropdown` component is a [Button](#button) that opens a drop-down (nested) button menu.\nUse dropdown for grouping buttons that are not used often or are less important than others -- in other words,\nfor stuff that you don't want to show users all the time, especially if you have limited screen space.\n",displayName:"Dropdown",methods:[],props:{menu:{type:{name:"element"},required:!0,description:"Dropdown [menu](#menu).",tags:{}},menuPlacement:{type:{name:"string"},required:!1,description:"Menu placement.",defaultValue:{value:"'bottom-start'",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Dropdown`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(710)}},function(e,t,n){e.exports={description:"",methods:[],displayName:"ExtendedStatusMessage",props:{image:{type:{name:"any"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},examples:n(711)}},function(e,t,n){e.exports={description:"`Form` component.\n",displayName:"Form",methods:[],props:{requiredMark:{type:{name:"any"},required:!1,description:"Required mark.",defaultValue:{value:"<span className={`${CLS_PREFIX}form__required`}>{'*'}</span>",computed:!1},tags:{}},hideRequiredLegend:{type:{name:"bool"},required:!1,description:"Hide required legend.",defaultValue:{value:"false",computed:!1},tags:{}},values:{type:{name:"object"},required:!1,description:"Form values.",defaultValue:{value:"{}",computed:!1},tags:{}},errors:{type:{name:"object"},required:!1,description:"Form errors.",defaultValue:{value:"{}",computed:!1},tags:{}},state:{type:{name:"enum",value:[{value:"'submit'",computed:!1},{value:"'apply'",computed:!1},{value:"'cancel'",computed:!1}]},required:!1,description:"Current active state",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Form`.",defaultValue:{value:"null",computed:!1},tags:{}},submitButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Submit button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},applyButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Apply button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},cancelButton:{type:{name:"union",value:[{name:"bool"},{name:"object"}]},required:!1,description:"Cancel button visibility or custom configuration",defaultValue:{value:"true",computed:!1},tags:{}},additionalButtons:{type:{name:"array"},required:!1,description:"Additional buttons",defaultValue:{value:"[]",computed:!1},tags:{}},onSubmit:{type:{name:"func"},required:!1,description:"Submit handler",defaultValue:{value:"null",computed:!1},tags:{}},footerClassName:{type:{name:"string"},required:!1,description:"Additional class name for the buttons container.",defaultValue:{value:"null",computed:!1},tags:{}},vertical:{type:{name:"bool"},required:!1,description:"Form responsive view will be switched automatically.\nSpecify this parameter explicitly if you want disable this behaviour and choice vertical or horizontal form view.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(712)}},function(e,t,n){e.exports={description:"`FormField` component.\n",displayName:"FormField",methods:[],props:{id:{type:{name:"string"},required:!1,description:"Field ID.",defaultValue:{value:"undefined",computed:!0},tags:{}},name:{type:{name:"string"},required:!1,description:"Field name.",defaultValue:{value:"undefined",computed:!0},tags:{}},value:{type:{name:"any"},required:!1,description:"Field value.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the value is changing.",defaultValue:{value:"null",computed:!1},tags:{}},label:{type:{name:"any"},required:!1,description:"Field label.",defaultValue:{value:"undefined",computed:!0},tags:{}},description:{type:{name:"any"},required:!1,description:"Field description.",defaultValue:{value:"undefined",computed:!0},tags:{}},errors:{type:{name:"object"},required:!1,description:"Field errors.",defaultValue:{value:"{}",computed:!1},tags:{}},required:{type:{name:"bool"},required:!1,description:"Indicates whether field is required.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"union",value:[{name:"node"},{name:"func"}]},required:!1,description:"Content of the `FormField`.",defaultValue:{value:"undefined",computed:!0},tags:{}}},doclets:{},tags:{},examples:n(713)}},function(e,t,n){e.exports={description:"`FormFieldCheckbox` component.\n",methods:[],displayName:"FormFieldCheckbox",props:{disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}},checkedValue:{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"Custom checked value. Default is boolean true.",defaultValue:{value:"true",computed:!1},tags:{}},uncheckedValue:{type:{name:"union",value:[{name:"bool"},{name:"string"}]},required:!1,description:"Custom unchecked value. Default is boolean false.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(714)}},function(e,t,n){e.exports={description:"`FormFieldPassword` component.\n",displayName:"FormFieldPassword",methods:[],props:{hideShowButton:{type:{name:"bool"},required:!1,description:"Is show button hidden?",defaultValue:{value:"false",computed:!1},tags:{}},hideGenerateButton:{type:{name:"bool"},required:!1,description:"Is generate button hidden?",defaultValue:{value:"false",computed:!1},tags:{}},hidePasswordMeter:{type:{name:"bool"},required:!1,description:"Is password meter hidden?",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(715)}},function(e,t,n){e.exports={description:"`FormFieldRadioGroup` are used for making a choice among a set of mutually exclusive, related options. Only one option can be chosen.\n",displayName:"FormFieldRadioButtons",methods:[],props:{options:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",description:"Option value.",required:!0},label:{name:"node",description:"Option label.",required:!0},description:{name:"node",description:"Text hint located below option for providing additional information.",required:!1},disabled:{name:"bool",description:"Set true if option is not available to choice.",required:!1},indentFields:{name:"array",description:"Optional array of `FormField` components under this option.",required:!1}}}},required:!0,description:"Options definition.",tags:{}},value:{type:{name:"string"},required:!0,description:"Value of current chosen option.",tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(716)}},function(e,t,n){e.exports={description:"`FormFieldText` component.\n",displayName:"FormFieldText",methods:[],props:{size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'fill'",computed:!1}]},required:!1,description:"Size of the input",defaultValue:{value:"undefined",computed:!0},tags:{}},placeholder:{type:{name:"string"},required:!1,description:"Placeholder of the input",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Disabled state of field.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(717)}},function(e,t,n){e.exports={description:"`Grid` component.\n",displayName:"Grid",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Grid`.",defaultValue:{value:"null",computed:!1},tags:{}},minColumnWidth:{type:{name:"number"},required:!1,description:"Minimal column width",defaultValue:{value:"null",computed:!1},tags:{}},maxColumnsNumber:{type:{name:"union",value:[{name:"number"},{name:"func"}]},required:!1,description:"Maximum columns number",defaultValue:{value:"6",computed:!1},tags:{}},xs:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `xs` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},sm:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `sm` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},md:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `md` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},lg:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `lg` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},xl:{type:{name:"enum",value:[{value:"1",computed:!1},{value:"2",computed:!1},{value:"3",computed:!1},{value:"4",computed:!1},{value:"5",computed:!1},{value:"6",computed:!1},{value:"'auto'",computed:!1}]},required:!1,description:"Number of columns for `xl` breakpoint",defaultValue:{value:"null",computed:!1},tags:{}},gap:{type:{name:"enum",value:[{value:"'xs'",computed:!1},{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1}]},required:!1,description:"Specifying the gutters between grid items",defaultValue:{value:"null",computed:!1},tags:{}},onColumnsChange:{type:{name:"func"},required:!1,description:"Columns number change notifier",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(718)}},function(e,t,n){e.exports={description:"`GridCol` component.\n",methods:[],displayName:"GridCol",props:{children:{type:{name:"node"},required:!1,description:"Content of the `GridCol`.",defaultValue:{value:"null",computed:!1},tags:{}},xs:{type:{name:"number"},required:!1,description:"Column size for `xs` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},sm:{type:{name:"number"},required:!1,description:"Column size for `sm` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},md:{type:{name:"number"},required:!1,description:"Column size for `sm` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},lg:{type:{name:"number"},required:!1,description:"Column size for `md` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}},xl:{type:{name:"number"},required:!1,description:"Column size for `lg` breakpoint (from 1 to 12)",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(719)}},function(e,t,n){e.exports={description:"`Hint` component.\n",methods:[],displayName:"Hint",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Hint`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(720)}},function(e,t,n){e.exports={description:"`Icons` are small symbolic images used for two things: to help quickly find the right control on the screen and to\nbring user attention to something that requires consideration. In the former case, `Icon` typically acts as a part\nof a [Button](#button) and helps differentiate this particular [Button](#button) from others. `Icons` come in several\nstandard sizes.\n",methods:[],displayName:"Icon",props:{name:{type:{name:"enum",value:[{value:"'i-filter-02'",computed:!1},{value:"'i-filter-check-mark'",computed:!1},{value:"'i-sliders'",computed:!1},{value:"'i-two-sheets-blank'",computed:!1},{value:"'i-server-arrow-left'",computed:!1},{value:"'i-server-refresh'",computed:!1},{value:"'i-two-arrows-refresh-04'",computed:!1},{value:"'i-circle-check-mark'",computed:!1},{value:"'i-check-mark'",computed:!1},{value:"'i-monitor-refresh'",computed:!1},{value:"'i-three-dots'",computed:!1},{value:"'i-square-arrow-up-04'",computed:!1},{value:"'i-square-arrow-down-04'",computed:!1},{value:"'i-shield-star'",computed:!1},{value:"'i-trash-can-04'",computed:!1},{value:"'i-menu'",computed:!1},{value:"'i-folder-blank-closed-02'",computed:!1},{value:"'i-arrow-refresh-02'",computed:!1},{value:"'i-eye-03'",computed:!1},{value:"'i-www-site-picture-text'",computed:!1},{value:"'i-cloud-refresh'",computed:!1},{value:"'i-broken-chain'",computed:!1},{value:"'i-monitor-arrow-down'",computed:!1},{value:"'i-eye-02'",computed:!1},{value:"'i-arrows-looping-06'",computed:!1},{value:"'i-circle-plus-02'",computed:!1},{value:"'i-circle-cross-mark-02'",computed:!1},{value:"'i-circle-question-mark-02'",computed:!1},{value:"'i-circle-check-mark-02'",computed:!1},{value:"'i-circle-minus-02'",computed:!1},{value:"'i-circle-info-02'",computed:!1},{value:"'i-circle-exclamation-mark-02'",computed:!1},{value:"'i-pencil-02'",computed:!1},{value:"'i-magnifying-glass'",computed:!1},{value:"'i-circle-exclamation-mark'",computed:!1},{value:"'i-cross-mark'",computed:!1},{value:"'i-plus'",computed:!1},{value:"'i-circle-question-mark'",computed:!1},{value:"'i-arrow-up-07'",computed:!1},{value:"'i-arrow-down-07'",computed:!1},{value:"'i-arrow-right-07'",computed:!1},{value:"'i-arrow-left-07'",computed:!1},{value:"'i-arrow-up-06'",computed:!1},{value:"'i-arrow-down-06'",computed:!1},{value:"'i-trashcan'",computed:!1},{value:"'i-four-squares'",computed:!1},{value:"'i-shopping-cart-02'",computed:!1},{value:"'i-chain'",computed:!1},{value:"'i-gear'",computed:!1},{value:"'i-list'",computed:!1},{value:"'i-pencil'",computed:!1},{value:"'i-circle-cross-mark'",computed:!1},{value:"'i-circle-plus'",computed:!1},{value:"'i-circle-minus'",computed:!1},{value:"'i-circle-info'",computed:!1},{value:"'i-folder-blank-open'",computed:!1}]},required:!1,description:"Name of the icon",defaultValue:{value:"null",computed:!1},tags:{}},src:{type:{name:"string"},required:!1,description:"Url to custom image",defaultValue:{value:"null",computed:!1},tags:{}},size:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'xxl'",computed:!1}]},required:!1,description:"Size of the icon",defaultValue:{value:"null",computed:!1},tags:{}},thin:{type:{name:"bool"},required:!1,description:"Thin version of SVG icons",defaultValue:{value:"false",computed:!1},tags:{}},alt:{type:{name:"string"},required:!1,description:"Alternative text for image",defaultValue:{value:"''",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the icon",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(721)}},function(e,t,n){e.exports={description:"`Input` component.\n",methods:[],displayName:"Input",props:{type:{type:{name:"string"},required:!1,description:"The HTML input type.",defaultValue:{value:"'text'",computed:!1},tags:{}},size:{type:{name:"union",value:[{name:"number"},{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'fill'",computed:!1}]}]},required:!1,description:"Size of the input",defaultValue:{value:"'md'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(722)}},function(e,t,n){e.exports={description:"`Item` component.\n",displayName:"Item",methods:[],props:{component:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Component to render as the root element. Useful when rendering a `Item` as `<a>` or `<Link>`.",defaultValue:{value:"'div'",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!0,description:"Icon",tags:{}},title:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Item`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(723)}},function(e,t,n){e.exports={description:"`ItemList` component.\n",displayName:"ItemList",methods:[],props:{reorderable:{type:{name:"bool"},required:!1,description:"Enable reorderable view.",defaultValue:{value:"false",computed:!1},tags:{}},onReorderEnd:{type:{name:"func"},required:!1,description:"Reorder end handler.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `ItemList`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(724)}},function(e,t,n){e.exports={description:"Label component.\n",methods:[],displayName:"Label",props:{children:{type:{name:"any"},required:!1,description:"Content of the Label",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'inactive'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1},{value:"'info'",computed:!1}]},required:!1,description:"Intent of the Label",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(725)}},function(e,t,n){e.exports={description:"`List` component.\n",displayName:"List",methods:[],props:{columns:{type:{name:"arrayOf",value:{name:"shape",value:{key:{name:"string",description:"Unique column key.",required:!0},title:{name:"node",description:"Column title.",required:!1},render:{name:"func",description:"Optional cell renderer function: `row => Component`. By default render value of cell.",required:!1},sortable:{name:"bool",description:"Is column sortable.\nDefault is `false`",required:!1},sort:{name:"func",description:"Optional function for row comparison: `(row1, row2) => -1 | 0 | 1`",required:!1}}}},required:!0,description:"Columns definition.\n\nIn addition to the properties described below, you can use any native properties\nsupported by the `TH` element like `width`, `className`, `style`, etc.",tags:{}},data:{type:{name:"arrayOf",value:{name:"shape",value:{key:{name:"string",description:"Unique column key. This property can by renamed using `rowKey` property of List.",required:!1},disabled:{name:"bool",description:"Optional property for disabling ability to select this row.",required:!1}}}},required:!1,description:"Array of row objects.\n\nEach row must contains `key` property, all columns keys, and can contain `disabled` property.",defaultValue:{value:"[]",computed:!1},tags:{}},sortColumn:{type:{name:"string"},required:!1,description:"Current sort column key",defaultValue:{value:"null",computed:!1},tags:{}},sortDirection:{type:{name:"enum",value:[{value:"'ASC'",computed:!1},{value:"'DESC'",computed:!1}]},required:!1,description:"Sort direction of the column being sorted.",defaultValue:{value:"'ASC'",computed:!1},tags:{}},onSortChange:{type:{name:"func"},required:!1,description:"Sort change handler",defaultValue:{value:"null",computed:!1},tags:{}},selection:{type:{name:"array"},required:!1,description:"Array of keys of selected rows",defaultValue:{value:"[]",computed:!1},tags:{}},onSelectionChange:{type:{name:"func"},required:!1,description:"Selection change handler for list. Checkboxes will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},rowKey:{type:{name:"union",value:[{name:"string"},{name:"func"}]},required:!1,description:"Row's key getter. Could be a string or function like: `row => <unique_string>`",defaultValue:{value:"'key'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(726)}},function(e,t,n){e.exports={description:"LocaleProvider provides a uniform localization support for built-in text of components.\n",displayName:"LocaleProvider",methods:[],props:{messages:{type:{name:"object"},required:!0,description:"Localization messages",tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(727)}},function(e,t,n){e.exports={description:"Markdown component.\n",methods:[],displayName:"Markdown",props:{children:{type:{name:"string"},required:!0,description:"Content of the Markdown",tags:{}},compact:{type:{name:"bool"},required:!1,description:"Compact mode",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(728)}},function(e,t,n){e.exports={description:"`Media` component.\n",methods:[],displayName:"Media",props:{title:{type:{name:"node"},required:!1,description:"Title",defaultValue:{value:"null",computed:!1},tags:{}},titleAddon:{type:{name:"node"},required:!1,description:"Title addon",defaultValue:{value:"null",computed:!1},tags:{}},titleSize:{type:{name:"enum",value:[{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1}]},required:!1,description:"Title size",defaultValue:{value:"null",computed:!1},tags:{}},image:{type:{name:"any"},required:!1,description:"Image",defaultValue:{value:"null",computed:!1},tags:{}},imageSpacing:{type:{name:"enum",value:[{value:"'sm'",computed:!1},{value:"'md'",computed:!1},{value:"'lg'",computed:!1},{value:"'xl'",computed:!1},{value:"'xxl'",computed:!1}]},required:!1,description:"Spacings between image and content",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Media`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(729)}},function(e,t,n){e.exports={description:"`MediaSection` component.\n",methods:[],displayName:"MediaSection",props:{children:{type:{name:"node"},required:!1,description:"Content of the `MediaSection`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(730)}},function(e,t,n){e.exports={description:"`Menu` component.\n",methods:[],displayName:"Menu",props:{onItemClick:{type:{name:"func"},required:!1,description:"Triggered when menu item was clicked.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Menu`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(731)}},function(e,t,n){e.exports={description:"`MenuDivider` component.\n",methods:[],displayName:"MenuDivider",props:{},doclets:{},tags:{},examples:n(732)}},function(e,t,n){e.exports={description:"`MenuHeader` component.\n",methods:[],displayName:"MenuHeader",props:{children:{type:{name:"node"},required:!1,description:"Content of the `MenuHeader`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(733)}},function(e,t,n){e.exports={description:"`MenuItem` component.\n",methods:[],displayName:"MenuItem",props:{active:{type:{name:"bool"},required:!1,description:"Whether item is active.",defaultValue:{value:"false",computed:!1},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Whether item is disabled.",defaultValue:{value:"false",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon",defaultValue:{value:"null",computed:!1},tags:{}},label:{type:{name:"node"},required:!1,description:"Right label of item.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `MenuItem`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(734)}},function(e,t,n){e.exports={description:"`MenuSelectableItem` component.\n",methods:[],displayName:"MenuSelectableItem",props:{selected:{type:{name:"bool"},required:!1,description:"Whether item is selected.",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `MenuSelectableItem`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(735)}},function(e,t,n){e.exports={description:"`Pagination` component.\n",methods:[],displayName:"Pagination",props:{total:{type:{name:"number"},required:!0,description:"Number of pages in pagination.",tags:{}},current:{type:{name:"number"},required:!1,description:"Current page number.",defaultValue:{value:"1",computed:!1},tags:{}},onSelect:{type:{name:"func"},required:!0,description:"On select callback.",tags:{}},maxPageButtons:{type:{name:"number"},required:!1,description:"Max page buttons.",defaultValue:{value:"11",computed:!1},tags:{}},isShowPageButtons:{type:{name:"bool"},required:!1,description:"Set false if want to hide page buttons.",defaultValue:{value:"null",computed:!1},tags:{}},isShowNavigationButtons:{type:{name:"bool"},required:!1,description:"Set false if want to hide navigation buttons.",defaultValue:{value:"true",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(736)}},function(e,t,n){e.exports={description:"Panel component.\n",displayName:"Panel",methods:[],props:{title:{type:{name:"node"},required:!1,description:"Panel title.",defaultValue:{value:"null",computed:!1},tags:{}},collapsible:{type:{name:"bool"},required:!1,description:"Is panel collapsible.",defaultValue:{value:"false",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},onToggle:{type:{name:"func"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(737)}},function(e,t,n){e.exports={description:"Plaintext component.\n",methods:[],displayName:"Plaintext",props:{children:{type:{name:"string"},required:!0,description:"Content of the Plaintext",tags:{}}},doclets:{},tags:{},examples:n(738)}},function(e,t,n){e.exports={description:"Popover component.\n",displayName:"Popover",methods:[],props:{target:{type:{name:"element"},required:!0,description:"The reference element used to position the popover.",tags:{}},visible:{type:{name:"bool"},required:!1,description:"Popover visibility. For controlled component only.",defaultValue:{value:"null",computed:!1},tags:{}},defaultVisible:{type:{name:"bool"},required:!1,description:"Popover default (on init) visibility. For uncontrolled component only.",defaultValue:{value:"false",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Popover title. Header will only be rendered if this prop is defined.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Click handler for close button. If it is not defined then default behavior (hide popover) will be used.",defaultValue:{value:"null",computed:!1},tags:{}},placement:{type:{name:"enum",value:[{value:"'auto'",computed:!1},{value:"'top-left'",computed:!1},{value:"'top'",computed:!1},{value:"'top-right'",computed:!1},{value:"'right-top'",computed:!1},{value:"'right'",computed:!1},{value:"'right-bottom'",computed:!1},{value:"'bottom-right'",computed:!1},{value:"'bottom'",computed:!1},{value:"'bottom-left'",computed:!1},{value:"'left-bottom'",computed:!1},{value:"'left'",computed:!1},{value:"'left-top'",computed:!1}]},required:!1,description:"Popover placement",defaultValue:{value:"'auto'",computed:!1},tags:{}},canCloseOnOutsideClick:{type:{name:"bool"},required:!1,description:"Indicating if clicking outside the popover should close it.",defaultValue:{value:"true",computed:!1},tags:{}},canCloseOnEscapePress:{type:{name:"bool"},required:!1,description:"Indicating if pressing the escape key should close the popover.",defaultValue:{value:"true",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the Popover",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'info'",computed:!1},{value:"'success'",computed:!1},{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(739)}},function(e,t,n){e.exports={description:"Rating component.\n",methods:[],displayName:"Rating",props:{value:{type:{name:"number"},required:!1,description:"Rating value from 0 to 5.",defaultValue:{value:"0",computed:!1},tags:{}},small:{type:{name:"bool"},required:!1,description:"Small variant.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(740)}},function(e,t,n){e.exports={description:"`Section` component.\n",displayName:"Section",methods:[],props:{title:{type:{name:"node"},required:!1,description:"Title of the section.",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'danger'",computed:!1},{value:"'warning'",computed:!1},{value:"'success'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},collapsible:{type:{name:"bool"},required:!1,description:"Is section collapsible.",defaultValue:{value:"false",computed:!1},tags:{}},collapsed:{type:{name:"bool"},required:!1,description:"Is section collapsed now.",defaultValue:{value:"false",computed:!1},tags:{}},onTitleChange:{type:{name:"func"},required:!1,description:"Event handler of title change with inline editing form.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Event handler of closing section with X-sign at the right.",defaultValue:{value:"null",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"element"}},required:!1,description:"Array of custom section action button at the right.",defaultValue:{value:"null",computed:!1},tags:{}},vertical:{type:{name:"bool"},required:!1,description:"Vertical or horizontal section view.\nSection view will be automatically switched if this parameter is not specified explicitly.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `Section`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(741)}},function(e,t,n){e.exports={description:"`SectionItem` component. Used as row in `Section` component.\n",methods:[],displayName:"SectionItem",props:{children:{type:{name:"node"},required:!1,description:"Content of the `SectionItem`.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"node"},required:!1,description:"Title of the section item.",defaultValue:{value:"null",computed:!1},tags:{}},actions:{type:{name:"bool"},required:!1,description:"Is this section item contains actions? If it so than there should be extra whitespaces.",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(742)}},function(e,t,n){e.exports={description:"`Segmented Control` is a group of several [Buttons](#button) typically used for switching between\ndifferent content views (list, tiles, and so on). Since there can only be one current content view for a\nparticular content, one of the buttons in a group is always active, and only one button should be active at a time.\nThe buttons are displayed in-line and can contain text, images or both.\n",displayName:"SegmentedControl",methods:[],props:{label:{type:{name:"node"},required:!1,description:"Label",defaultValue:{value:"null",computed:!1},tags:{}},labelPlacement:{type:{name:"enum",value:[{value:"'top'",computed:!1},{value:"'left'",computed:!1}]},required:!1,description:"Where to place label",defaultValue:{value:"'top'",computed:!1},tags:{}},buttons:{type:{name:"arrayOf",value:{name:"shape",value:{value:{name:"any",required:!0},title:{name:"node",required:!1}}}},required:!0,description:'Array of buttons to display (every array item must contain an unique "value" property)',tags:{}},monospaced:{type:{name:"bool"},required:!1,description:"Monospaced version of buttons (all button would have the same width).\nAttention: using it with buttons dynamic update may cause to wrong behavior!",defaultValue:{value:"false",computed:!1},tags:{}},multiple:{type:{name:"bool"},required:!1,description:"Multiple selected options version (any number of buttons can be selected)",defaultValue:{value:"false",computed:!1},tags:{}},selected:{type:{name:"union",value:[{name:"any"},{name:"arrayOf",value:{name:"any"}}]},required:!0,description:"Selected value or an array of values (for multiple version).\nUsed in controlled version or as default value in uncontrolled version (with onChange property)",tags:{}},onChange:{type:{name:"func"},required:!1,description:"On change selection callback for uncontrolled mode.",defaultValue:{value:"null",computed:!1},tags:{}},inline:{type:{name:"bool"},required:!1,description:"Should component displays as inline element?",defaultValue:{value:"false",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(743)}},function(e,t,n){e.exports={description:"`Split Button` is a combination of a standard [button](#button) with a [drop-down](#dropdown) menu.\nIt is used for grouping several related actions when one of the actions should be accessible immediately\nbecause it is used more often than others.\n",methods:[],displayName:"SplitButton",props:{menu:{type:{name:"any"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}},opened:{type:{name:"bool"},required:!1,description:"",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the button group",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(744)}},function(e,t,n){e.exports={description:"`Status` component.\n",methods:[],displayName:"Status",props:{children:{type:{name:"node"},required:!1,description:"Content of the `Status`.",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Icon of the Status.",defaultValue:{value:"null",computed:!1},tags:{}},intent:{type:{name:"enum",value:[{value:"'danger'",computed:!1},{value:"'warning'",computed:!1},{value:"'success'",computed:!1},{value:"'info'",computed:!1},{value:"'inactive'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},rightAddon:{type:{name:"node"},required:!1,description:"Right additional content.",defaultValue:{value:"null",computed:!1},tags:{}},bottomAddon:{type:{name:"node"},required:!1,description:"Bottom additional content.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(745)}},function(e,t,n){e.exports={description:"Subnav component.\n",methods:[],displayName:"Subnav",props:{children:{type:{name:"node"},required:!1,description:"Subnav items",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(746)}},function(e,t,n){e.exports={description:"`Switch` component.\n",displayName:"Switch",methods:[],props:{checked:{type:{name:"bool"},required:!1,description:"Determine whether the `Switch` is checked.",defaultValue:{value:"undefined",computed:!0},tags:{}},onChange:{type:{name:"func"},required:!1,description:"A callback function, can be executed when the checked state is changing.",defaultValue:{value:"undefined",computed:!0},tags:{}},tooltip:{type:{name:"any"},required:!1,description:"Tooltip for component",defaultValue:{value:"undefined",computed:!0},tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"undefined",computed:!0},tags:{}},disabled:{type:{name:"bool"},required:!1,description:"Is `Switch` disabled?",defaultValue:{value:"false",computed:!1},tags:{}},loading:{type:{name:"bool"},required:!1,description:"Loading indication",defaultValue:{value:"false",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Label of the `Switch`",defaultValue:{value:"undefined",computed:!0},tags:{}}},doclets:{},tags:{},examples:n(747)}},function(e,t,n){e.exports={description:"`SwitchesPanel` component.\nUsed to organize [SwitchesPanelItem](#switchespanelitem) components with responsive section layout.\nInherits properties of [Section](#section) component.\n",methods:[],displayName:"SwitchesPanel",props:{children:{type:{name:"node"},required:!1,description:"Content of the `SwitchesPanel`. Recommended to use [SwitchesPanelItem](#switchespanelitem) components.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(748)}},function(e,t,n){e.exports={description:"`SwitchesPanelItem` component.\n",displayName:"SwitchesPanelItem",methods:[],props:{onChange:{type:{name:"func"},required:!0,description:"A callback function, can be executed when the checked state is changing.",tags:{}},intent:{type:{name:"enum",value:[{value:"'warning'",computed:!1},{value:"'danger'",computed:!1}]},required:!1,description:"Visual intent color to apply to component.",defaultValue:{value:"null",computed:!1},tags:{}},title:{type:{name:"string"},required:!0,description:"Title of the `SwitchesPanelItem`. Must be no longer than two lines.",tags:{}},description:{type:{name:"string"},required:!1,description:"`SwitchesPanelItem` description. Must be no longer than three lines.",defaultValue:{value:"null",computed:!1},tags:{}},fullDescription:{type:{name:"node"},required:!1,description:"Rich full description of the `SwitchesPanelItem`.\nAdds control button with question mark that shows `Popover` on click.",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the control actions.\nDon't place here more than three buttons (with the one from 'fullDescription' property) or one link and one button.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(749)}},function(e,t,n){e.exports={description:"SearchBar component.\n",displayName:"SearchBar",methods:[],props:{maxWidth:{type:{name:"number"},required:!1,description:"Maximum width of SearchBar",defaultValue:{value:"500",computed:!1},tags:{}},minWidth:{type:{name:"number"},required:!1,description:"Minimum width of SearchBar",defaultValue:{value:"270",computed:!1},tags:{}},leftAddon:{type:{name:"element"},required:!1,description:"Addon in the left side or SearchBar.",defaultValue:{value:"null",computed:!1},tags:{}},loading:{type:{name:"bool"},required:!1,description:"Should disable input and show spinner or not.",defaultValue:{value:"false",computed:!1},tags:{}},responsive:{type:{name:"bool"},required:!1,description:"Should collapse input or not. Used for control in independence of context.",defaultValue:{value:"null",computed:!1},tags:{}},onSearch:{type:{name:"func"},required:!1,description:"Callback for pressing 'Enter' key or 'Search' button.\n\narguments:\n* value - search value\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},onTyping:{type:{name:"func"},required:!1,description:"Callback for pressing any key in input. Used for a live search.\n\narguments:\n* value - search value\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},onItemSelect:{type:{name:"func"},required:!1,description:"Callback for selecting menu item with mouse click or key pressing.\n\narguments:\n* value - selected value\n* clearHandler - function that clears input value",defaultValue:{value:"null",computed:!1},tags:{}},results:{type:{name:"union",value:[{name:"arrayOf",value:{name:"shape",value:{value:{name:"string",required:!0},title:{name:"string",required:!0}}}},{name:"element"}]},required:!1,description:'Results to display.\nCould be specified by array of objects with "value" and "title" properties or by Menu component.\nIf Menu component is used then key property of MenuItem will be treated as value.',defaultValue:{value:"null",computed:!1},tags:{}},inputProps:{type:{name:"object"},required:!1,description:"Props of underlying input element.",defaultValue:{value:"{}",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(750)}},function(e,t,n){e.exports={description:"Tab component.\n",methods:[],displayName:"Tab",props:{title:{type:{name:"node"},required:!0,description:"Tab title",tags:{}},label:{type:{name:"union",value:[{name:"string"},{name:"element"}]},required:!1,description:"Label in tab title",defaultValue:{value:"null",computed:!1},tags:{}},icon:{type:{name:"union",value:[{name:"string"},{name:"object"},{name:"element"}]},required:!1,description:"Name of icon or Icon component for tab",defaultValue:{value:"null",computed:!1},tags:{}},onActivate:{type:{name:"func"},required:!1,description:"Activate callback.",defaultValue:{value:"null",computed:!1},tags:{}},onClose:{type:{name:"func"},required:!1,description:"Close callback",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"node"},required:!1,description:"Tab content",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(751)}},function(e,t,n){e.exports={description:"`Tabs` component is a content area with a group of individual [Tab](#tab) elements, each displaying different content\nin the same screen area. `Tabs` are used when you have too much content to display in one place at the same time, so\nthe content is broken into logical groups and each group is displayed under its own [Tab](#tab) that serves both as a\ngroup name and a navigation button.\n",displayName:"Tabs",methods:[],props:{active:{type:{name:"number"},required:!1,description:"Number of active tab",defaultValue:{value:"1",computed:!1},tags:{}},addon:{type:{name:"element"},required:!1,description:"Addon for search bar, dropdown etc.",defaultValue:{value:"null",computed:!1},tags:{}},placeholder:{type:{name:"element"},required:!1,description:"Placeholder for search bar, dropdown etc.",defaultValue:{value:"null",computed:!1},tags:{deprecated:[{title:"deprecated",description:"Do not use! Use `addon` instead!"}]}},addonMinWidth:{type:{name:"number"},required:!1,description:"Minimum add-on width in pixels",defaultValue:{value:"null",computed:!1},tags:{}},monospaced:{type:{name:"bool"},required:!1,description:"Monospaced version of tabs (all visible tabs as wide as widest of them)",defaultValue:{value:"null",computed:!1},tags:{}},search:{type:{name:"element"},required:!1,description:"[SearchBar](#searchbar) element",defaultValue:{value:"null",computed:!1},tags:{}},children:{type:{name:"union",value:[{name:"arrayOf",value:{name:"element"}},{name:"element"}]},required:!1,description:"[Tabs](#tab)",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(752)}},function(e,t,n){e.exports={description:"Toaster component.\n",displayName:"Toaster",methods:[{name:"add",docblock:"Add a new toast\n\n@param {Object} props Toast props { type, message }\n@returns {string} New toast key\n@public",modifiers:[],params:[{name:"props",description:"Toast props { type, message }",type:{name:"Object"},optional:void 0}],returns:{description:"New toast key",type:{name:"string"}},description:"Add a new toast",tags:{param:[{title:"param",description:"Toast props { type, message }",type:{type:"NameExpression",name:"Object"},name:"props"}],returns:[{title:"returns",description:"New toast key",type:{type:"NameExpression",name:"string"}}],public:[{title:"public",description:null}]}},{name:"update",docblock:"Update toast by key\n\n@param {string} key\n@param {Object} props New props\n@returns {string} Updated toast key\n@public",modifiers:[],params:[{name:"key",description:null,type:{name:"string"},optional:void 0},{name:"props",description:"New props",type:{name:"Object"},optional:void 0}],returns:{description:"Updated toast key",type:{name:"string"}},description:"Update toast by key",tags:{param:[{title:"param",description:null,type:{type:"NameExpression",name:"string"},name:"key"},{title:"param",description:"New props",type:{type:"NameExpression",name:"Object"},name:"props"}],returns:[{title:"returns",description:"Updated toast key",type:{type:"NameExpression",name:"string"}}],public:[{title:"public",description:null}]}},{name:"remove",docblock:"Remove toast by key\n\n@param {string} key\n@public",modifiers:[],params:[{name:"key",description:null,type:{name:"string"},optional:void 0}],returns:null,description:"Remove toast by key",tags:{param:[{title:"param",description:null,type:{type:"NameExpression",name:"string"},name:"key"}],public:[{title:"public",description:null}]}},{name:"clear",docblock:"Clear all toasts\n\n@public",modifiers:[],params:[],returns:null,description:"Clear all toasts",tags:{public:[{title:"public",description:null}]}}],props:{position:{type:{name:"enum",value:[{value:"'top'",computed:!1}]},required:!1,description:"Toaster position",defaultValue:{value:"'top'",computed:!1},tags:{}},toasts:{type:{name:"array"},required:!1,description:"",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(753)}},function(e,t,n){e.exports={description:"`Toolbar` component is a panel containing various instruments used for managing the contents of a large content block.\nToolbar is located on top of the managed content block.\nIt typically consists of three main parts: controls that add new elements, controls that work with existing elements,\nand controls for changing the way the content block looks.\n",displayName:"Toolbar",methods:[],props:{children:{type:{name:"node"},required:!1,description:"Content of the `Toolbar`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(754)}},function(e,t,n){e.exports={description:"`ToolbarExpander` is a part of the [Toolbar](#toolbar) component. It is used to split all toolbar controls into two groups:\nall controls before ToolbarExpander are aligned left, and all controls after ToolbarExpander are aligned right.\n\n`ToolbarExpander` can also be used to create equal space between several control groups in a toolbar.\n",methods:[],displayName:"ToolbarExpander",props:{children:{type:{name:"node"},required:!1,description:"Content of the `ToolbarExpander`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(755)}},function(e,t,n){e.exports={description:"`ToolbarGroup` is a part of the [Toolbar](#toolbar) component similar to [ButtonGroup](#buttongroup).\nIt is used for grouping several toolbar controls together.\n",displayName:"ToolbarGroup",methods:[],props:{title:{type:{name:"node"},required:!0,description:"Title.",tags:{}},children:{type:{name:"node"},required:!1,description:"Content of the `ToolbarGroup`.",defaultValue:{value:"null",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(756)}},function(e,t,n){e.exports={description:"Tooltip component.\n",displayName:"Tooltip",methods:[],props:{title:{type:{name:"node"},required:!0,description:"Content of the tooltip",tags:{}},delay:{type:{name:"number"},required:!1,description:"Show delay (ms)",defaultValue:{value:"550",computed:!1},tags:{}},children:{type:{name:"element"},required:!0,description:"Element with tooltip",tags:{}}},doclets:{},tags:{},examples:n(757)}},function(e,t,n){e.exports={description:"`Translate` component.\n",methods:[],displayName:"Translate",props:{content:{type:{name:"string"},required:!1,description:"Translatable content or message key.",defaultValue:{value:"null",computed:!1},tags:{}},params:{type:{name:"object"},required:!1,description:"Message params",defaultValue:{value:"null",computed:!1},tags:{}},fallback:{type:{name:"string"},required:!1,description:"Fallback translation value.",defaultValue:{value:"null",computed:!1},tags:{}},component:{type:{name:"string"},required:!1,description:"Component to render as the root element. Useful when rendering a `Translate` as `<option>`.",defaultValue:{value:"'span'",computed:!1},tags:{}}},doclets:{},tags:{},examples:n(758)}},function(e,t,n){var o=n(692);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!0};r.transform=void 0;n(217)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){e.exports={config:{title:"Plesk UI Library 0.4.1",highlightTheme:"base16-light",showCode:!1,showUsage:!1,showSidebar:!0,previewDelay:500,theme:{color:{link:"#2498e3",linkHover:"#188dd9"},fontFamily:{base:["Open Sans Tilde","Open Sans","Helvetica Neue","Helvetica","sans-serif"]},fontSize:{base:"inherit",text:"inherit"}},styles:{StyleGuide:{root:{isolate:!1},hasSidebar:{isolate:!1,paddingLeft:220},sidebar:{isolate:!1,width:220},content:{isolate:!1}},Link:{link:{isolate:!1}},ComponentsList:{list:{isolate:!1},item:{isolate:!1},isChild:{isolate:!1},heading:{isolate:!1}},TableOfContents:{root:{isolate:!1}},Sections:{root:{isolate:!1}},Section:{root:{isolate:!1}},ReactComponent:{root:{isolate:!1}},Examples:{root:{isolate:!1}},Playground:{root:{isolate:!1},preview:{isolate:!1,backgroundColor:"white",backgroundImage:"linear-gradient(45deg,#efefef 25%,transparent 0,transparent 75%,#efefef 0,#efefef),linear-gradient(45deg,#efefef 25%,transparent 0,transparent 75%,#efefef 0,#efefef)",backgroundPosition:"0 0,10px 10px",backgroundSize:"20px 20px"}}},compilerConfig:{objectAssign:"Object.assign"},editorConfig:{theme:"base16-light",mode:"jsx",lineWrapping:!0,smartIndent:!1,matchBrackets:!0,viewportMargin:1/0,lineNumbers:!1}},welcomeScreen:!1,patterns:void 0,sections:[{name:"Introduction",description:void 0,slug:"introduction",components:[],sections:[{name:"Installation",description:void 0,slug:"installation",components:[],sections:[],content:n(760)},{name:"Usage example",description:void 0,slug:"usage-example",components:[],sections:[],content:n(762)},{name:"Components",description:void 0,slug:"components",components:[],sections:[],content:n(759)}],content:n(761)},{name:"Buttons",description:void 0,slug:"buttons",components:[{filepath:"../src/components/Button/Button.js",slug:"button",pathLine:"import { Button } from '@plesk/ui-library';",module:n(105),props:n(768),hasExamples:!0,metadata:{}},{filepath:"../src/components/ButtonGroup/ButtonGroup.js",slug:"buttongroup",pathLine:"import { ButtonGroup } from '@plesk/ui-library';",module:n(106),props:n(769),hasExamples:!0,metadata:{}},{filepath:"../src/components/Dropdown/Dropdown.js",slug:"dropdown",pathLine:"import { Dropdown } from '@plesk/ui-library';",module:n(115),props:n(780),hasExamples:!0,metadata:{}},{filepath:"../src/components/SplitButton/SplitButton.js",slug:"splitbutton",pathLine:"import { SplitButton } from '@plesk/ui-library';",module:n(151),props:n(814),hasExamples:!0,metadata:{}},{filepath:"../src/components/Toolbar/Toolbar.js",slug:"toolbar",pathLine:"import { Toolbar } from '@plesk/ui-library';",module:n(162),props:n(824),hasExamples:!0,metadata:{}},{filepath:"../src/components/Toolbar/ToolbarGroup.js",slug:"toolbargroup",pathLine:"import { ToolbarGroup } from '@plesk/ui-library';",module:n(164),props:n(826),hasExamples:!0,metadata:{}},{filepath:"../src/components/Toolbar/ToolbarExpander.js",slug:"toolbarexpander",pathLine:"import { ToolbarExpander } from '@plesk/ui-library';",module:n(163),props:n(825),hasExamples:!0,metadata:{}},{filepath:"../src/components/SegmentedControl/SegmentedControl.js",slug:"segmentedcontrol",pathLine:"import { SegmentedControl } from '@plesk/ui-library';",module:n(150),props:n(813),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Graphic",description:void 0,slug:"graphic",components:[{filepath:"../src/components/Icon/Icon.js",slug:"icon",pathLine:"import { Icon } from '@plesk/ui-library';",module:n(62),props:n(791),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Navigation",description:void 0,slug:"navigation",components:[{filepath:"../src/components/Tabs/Tabs.js",slug:"tabs",pathLine:"import { Tabs } from '@plesk/ui-library';",module:n(160),props:n(822),hasExamples:!0,metadata:{}},{filepath:"../src/components/Tabs/Tab.js",slug:"tab",pathLine:"import { Tab } from '@plesk/ui-library';",module:n(70),props:n(821),hasExamples:!0,metadata:{}},{filepath:"../src/components/Tabs/SearchBar.js",slug:"searchbar",pathLine:"import { SearchBar } from '@plesk/ui-library';",module:n(159),props:n(820),hasExamples:!0,metadata:{}},{filepath:"../src/components/Subnav/Subnav.js",slug:"subnav",pathLine:"import { Subnav } from '@plesk/ui-library';",module:n(153),props:n(816),hasExamples:!0,metadata:{}},{filepath:"../src/components/AuxiliaryActions/AuxiliaryActions.js",slug:"auxiliaryactions",pathLine:"import { AuxiliaryActions } from '@plesk/ui-library';",module:n(102),props:n(766),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Menu",description:void 0,slug:"menu",components:[{filepath:"../src/components/Menu/Menu.js",slug:"menu-1",pathLine:"import { Menu } from '@plesk/ui-library';",module:n(138),props:n(801),hasExamples:!0,metadata:{}},{filepath:"../src/components/Menu/MenuItem.js",slug:"menuitem",pathLine:"import { MenuItem } from '@plesk/ui-library';",module:n(40),props:n(804),hasExamples:!0,metadata:{}},{filepath:"../src/components/Menu/MenuSelectableItem.js",slug:"menuselectableitem",pathLine:"import { MenuSelectableItem } from '@plesk/ui-library';",module:n(66),props:n(805),hasExamples:!0,metadata:{}},{filepath:"../src/components/Menu/MenuHeader.js",slug:"menuheader",pathLine:"import { MenuHeader } from '@plesk/ui-library';",module:n(140),props:n(803),hasExamples:!0,metadata:{}},{filepath:"../src/components/Menu/MenuDivider.js",slug:"menudivider",pathLine:"import { MenuDivider } from '@plesk/ui-library';",module:n(139),props:n(802),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Data Display",description:void 0,slug:"data-display",components:[{filepath:"../src/components/List/List.js",slug:"list",pathLine:"import { List } from '@plesk/ui-library';",module:n(132),props:n(796),hasExamples:!0,metadata:{}},{filepath:"../src/components/ItemList/ItemList.js",slug:"itemlist",pathLine:"import { ItemList } from '@plesk/ui-library';",module:n(130),props:n(794),hasExamples:!0,metadata:{}},{filepath:"../src/components/Item/Item.js",slug:"item",pathLine:"import { Item } from '@plesk/ui-library';",module:n(128),props:n(793),hasExamples:!0,metadata:{}},{filepath:"../src/components/CardList/CardList.js",slug:"cardlist",pathLine:"import { CardList } from '@plesk/ui-library';",module:n(57),props:n(772),hasExamples:!0,metadata:{}},{filepath:"../src/components/Card/Card.js",slug:"card",pathLine:"import { Card } from '@plesk/ui-library';",module:n(107),props:n(770),hasExamples:!0,metadata:{}},{filepath:"../src/components/Card/PreviewPanel.js",slug:"previewpanel",pathLine:"import { PreviewPanel } from '@plesk/ui-library';",module:n(56),props:n(771),hasExamples:!0,metadata:{}},{filepath:"../src/components/Pagination/Pagination.js",slug:"pagination",pathLine:"import { Pagination } from '@plesk/ui-library';",module:n(141),props:n(806),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Form",description:void 0,slug:"form",components:[{filepath:"../src/components/Form/Form.js",slug:"form-1",pathLine:"import { Form } from '@plesk/ui-library';",module:n(118),props:n(782),hasExamples:!0,metadata:{}},{filepath:"../src/components/FormField/FormField.js",slug:"formfield",pathLine:"import { FormField } from '@plesk/ui-library';",module:n(119),props:n(783),hasExamples:!0,metadata:{}},{filepath:"../src/components/FormFieldText/FormFieldText.js",slug:"formfieldtext",pathLine:"import { FormFieldText } from '@plesk/ui-library';",module:n(123),props:n(787),hasExamples:!0,metadata:{}},{filepath:"../src/components/FormFieldPassword/FormFieldPassword.js",slug:"formfieldpassword",pathLine:"import { FormFieldPassword } from '@plesk/ui-library';",module:n(121),props:n(785),hasExamples:!0,metadata:{}},{filepath:"../src/components/FormFieldCheckbox/FormFieldCheckbox.js",slug:"formfieldcheckbox",pathLine:"import { FormFieldCheckbox } from '@plesk/ui-library';",module:n(120),props:n(784),hasExamples:!0,metadata:{}},{filepath:"../src/components/FormFieldRadioButtons/FormFieldRadioButtons.js",slug:"formfieldradiobuttons",pathLine:"import { FormFieldRadioButtons } from '@plesk/ui-library';",module:n(122),props:n(786),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Layout",description:void 0,slug:"layout",components:[{filepath:"../src/components/Grid/Grid.js",slug:"grid",pathLine:"import { Grid } from '@plesk/ui-library';",module:n(124),props:n(788),hasExamples:!0,metadata:{}},{filepath:"../src/components/GridCol/GridCol.js",slug:"gridcol",pathLine:"import { GridCol } from '@plesk/ui-library';",module:n(125),props:n(789),hasExamples:!0,metadata:{}},{filepath:"../src/components/Carousel/Carousel.js",slug:"carousel",pathLine:"import { Carousel } from '@plesk/ui-library';",module:n(108),props:n(773),hasExamples:!0,metadata:{}},{filepath:"../src/components/Section/Section.js",slug:"section",pathLine:"import { Section } from '@plesk/ui-library';",module:n(148),props:n(811),hasExamples:!0,metadata:{}},{filepath:"../src/components/Section/SectionItem.js",slug:"sectionitem",pathLine:"import { SectionItem } from '@plesk/ui-library';",module:n(149),props:n(812),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Panels",description:void 0,slug:"panels",components:[{filepath:"../src/components/Dialog/Dialog.js",slug:"dialog",pathLine:"import { Dialog } from '@plesk/ui-library';",module:n(113),props:n(778),hasExamples:!0,metadata:{}},{filepath:"../src/components/Drawer/Drawer.js",slug:"drawer",pathLine:"import { Drawer } from '@plesk/ui-library';",module:n(114),props:n(779),hasExamples:!0,metadata:{}},{filepath:"../src/components/Panel/Panel.js",slug:"panel",pathLine:"import { Panel } from '@plesk/ui-library';",module:n(143),props:n(807),hasExamples:!0,metadata:{}},{filepath:"../src/components/Alert/Alert.js",slug:"alert",pathLine:"import { Alert } from '@plesk/ui-library';",module:n(99),props:n(764),hasExamples:!0,metadata:{}},{filepath:"../src/components/ExtendedStatusMessage/ExtendedStatusMessage.js",slug:"extendedstatusmessage",pathLine:"import { ExtendedStatusMessage } from '@plesk/ui-library';",module:n(116),props:n(781),hasExamples:!0,metadata:{}},{filepath:"../src/components/Popover/Popover.js",slug:"popover",pathLine:"import { Popover } from '@plesk/ui-library';",module:n(145),props:n(809),hasExamples:!0,metadata:{}},{filepath:"../src/components/Tooltip/Tooltip.js",slug:"tooltip",pathLine:"import { Tooltip } from '@plesk/ui-library';",module:n(166),props:n(827),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Elements",description:void 0,slug:"elements",components:[{filepath:"../src/components/CodeEditor/CodeEditor.js",slug:"codeeditor",pathLine:"import { CodeEditor } from '@plesk/ui-library';",module:n(110),props:n(775),hasExamples:!0,metadata:{}},{filepath:"../src/components/ConsoleOutput/ConsoleOutput.js",slug:"consoleoutput",pathLine:"import { ConsoleOutput } from '@plesk/ui-library';",module:n(111),props:n(776),hasExamples:!0,metadata:{}},{filepath:"../src/components/Rating/Rating.js",slug:"rating",pathLine:"import { Rating } from '@plesk/ui-library';",module:n(147),props:n(810),hasExamples:!0,metadata:{}},{filepath:"../src/components/Switch/Switch.js",slug:"switch",pathLine:"import { Switch } from '@plesk/ui-library';",module:n(155),props:n(817),hasExamples:!0,metadata:{}},{filepath:"../src/components/SwitchesPanelItem/SwitchesPanelItem.js",slug:"switchespanelitem",pathLine:"import { SwitchesPanelItem } from '@plesk/ui-library';",module:n(158),props:n(819),hasExamples:!0,metadata:{}},{filepath:"../src/components/SwitchesPanel/SwitchesPanel.js",slug:"switchespanel",pathLine:"import { SwitchesPanel } from '@plesk/ui-library';",module:n(157),props:n(818),hasExamples:!0,metadata:{}},{filepath:"../src/components/Checkbox/Checkbox.js",slug:"checkbox",pathLine:"import { Checkbox } from '@plesk/ui-library';",module:n(109),props:n(774),hasExamples:!0,metadata:{}},{filepath:"../src/components/Input/Input.js",slug:"input",pathLine:"import { Input } from '@plesk/ui-library';",module:n(127),props:n(792),hasExamples:!0,metadata:{}},{filepath:"../src/components/Label/Label.js",slug:"label",pathLine:"import { Label } from '@plesk/ui-library';",module:n(131),props:n(795),hasExamples:!0,metadata:{}},{filepath:"../src/components/Badge/Badge.js",slug:"badge",pathLine:"import { Badge } from '@plesk/ui-library';",module:n(103),props:n(767),hasExamples:!0,metadata:{}},{filepath:"../src/components/Cuttable/Cuttable.js",slug:"cuttable",pathLine:"import { Cuttable } from '@plesk/ui-library';",module:n(112),props:n(777),hasExamples:!0,metadata:{}},{filepath:"../src/components/Plaintext/Plaintext.js",slug:"plaintext",pathLine:"import { Plaintext } from '@plesk/ui-library';",module:n(144),props:n(808),hasExamples:!0,metadata:{}},{filepath:"../src/components/Markdown/Markdown.js",slug:"markdown",pathLine:"import { Markdown } from '@plesk/ui-library';",module:n(135),props:n(798),hasExamples:!0,metadata:{}},{filepath:"../src/components/Media/Media.js",slug:"media",pathLine:"import { Media } from '@plesk/ui-library';",module:n(136),props:n(799),hasExamples:!0,metadata:{}},{filepath:"../src/components/Media/MediaSection.js",slug:"mediasection",pathLine:"import { MediaSection } from '@plesk/ui-library';",module:n(137),props:n(800),hasExamples:!0,metadata:{}},{filepath:"../src/components/Action/Action.js",slug:"action",pathLine:"import { Action } from '@plesk/ui-library';",module:n(97),props:n(763),hasExamples:!0,metadata:{}},{filepath:"../src/components/Status/Status.js",slug:"status",pathLine:"import { Status } from '@plesk/ui-library';",module:n(152),props:n(815),hasExamples:!0,metadata:{}},{filepath:"../src/components/Hint/Hint.js",slug:"hint",pathLine:"import { Hint } from '@plesk/ui-library';",module:n(126),props:n(790),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Localization",description:void 0,slug:"localization",components:[{filepath:"../src/components/LocaleProvider/LocaleProvider.js",slug:"localeprovider",pathLine:"import { LocaleProvider } from '@plesk/ui-library';",module:n(133),props:n(797),hasExamples:!0,metadata:{}},{filepath:"../src/components/Translate/Translate.js",slug:"translate",pathLine:"import { Translate } from '@plesk/ui-library';",module:n(167),props:n(828),hasExamples:!0,metadata:{}}],sections:[],content:void 0},{name:"Miscellaneous",description:void 0,slug:"miscellaneous",components:[{filepath:"../src/components/Toaster/Toaster.js",slug:"toaster",pathLine:"import { Toaster } from '@plesk/ui-library';",module:n(161),props:n(823),hasExamples:!0,metadata:{}},{filepath:"../src/components/AutoClosable/AutoClosable.js",slug:"autoclosable",pathLine:"import { AutoClosable } from '@plesk/ui-library';",module:n(100),props:n(765),hasExamples:!0,metadata:{}}],sections:[],content:void 0}]}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return e;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _possibleConstructorReturn(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}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(0)),i=_interopRequireDefault(n(339)),a=_interopRequireDefault(n(341)),s=_interopRequireDefault(n(1)),l=_interopRequireDefault(n(213)),u=n(214),c=function addClass(e,t){return t&&t.split(" ").forEach(function(t){return(0,i.default)(e,t)})},p=function removeClass(e,t){return t&&t.split(" ").forEach(function(t){return(0,a.default)(e,t)})},d=(o({},l.default.propTypes,{classNames:u.classNamesShape,onEnter:r.func,onEntering:r.func,onEntered:r.func,onExit:r.func,onExiting:r.func,onExited:r.func}),function(e){function CSSTransition(){var t,n,o;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,CSSTransition);for(var r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return t=n=_possibleConstructorReturn(this,e.call.apply(e,[this].concat(i))),n.onEnter=function(e,t){var o=n.getClassNames(t?"appear":"enter").className;n.removeClasses(e,"exit"),c(e,o),n.props.onEnter&&n.props.onEnter(e)},n.onEntering=function(e,t){var o=n.getClassNames(t?"appear":"enter").activeClassName;n.reflowAndAddClass(e,o),n.props.onEntering&&n.props.onEntering(e)},n.onEntered=function(e,t){n.removeClasses(e,t?"appear":"enter"),n.props.onEntered&&n.props.onEntered(e)},n.onExit=function(e){var t=n.getClassNames("exit").className;n.removeClasses(e,"appear"),n.removeClasses(e,"enter"),c(e,t),n.props.onExit&&n.props.onExit(e)},n.onExiting=function(e){var t=n.getClassNames("exit").activeClassName;n.reflowAndAddClass(e,t),n.props.onExiting&&n.props.onExiting(e)},n.onExited=function(e){n.removeClasses(e,"exit"),n.props.onExited&&n.props.onExited(e)},n.getClassNames=function(e){var t=n.props.classNames,o="string"!=typeof t?t[e]:t+"-"+e;return{className:o,activeClassName:"string"!=typeof t?t[e+"Active"]:o+"-active"}},o=t,_possibleConstructorReturn(n,o)}return function _inherits(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)}(CSSTransition,e),CSSTransition.prototype.removeClasses=function removeClasses(e,t){var n=this.getClassNames(t),o=n.className,r=n.activeClassName;o&&p(e,o),r&&p(e,r)},CSSTransition.prototype.reflowAndAddClass=function reflowAndAddClass(e,t){e.scrollTop,c(e,t)},CSSTransition.prototype.render=function render(){var e=o({},this.props);return delete e.classNames,s.default.createElement(l.default,o({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},CSSTransition}(s.default.Component));d.propTypes={},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=_interopRequireDefault(n(0)),i=n(1),a=_interopRequireDefault(i),s=n(834),l=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},u=(r.default.any,r.default.node,r.default.bool,r.default.bool,r.default.bool,r.default.func,function(e){function TransitionGroup(t,n){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,TransitionGroup);var r=function _possibleConstructorReturn(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}(this,e.call(this,t,n));return r.handleExited=function(e,t,n){var i=(0,s.getChildMapping)(r.props.children);e in i||(n&&n(t),r.setState(function(t){var n=o({},t.children);return delete n[e],{children:n}}))},r.state={children:(0,s.getChildMapping)(t.children,function(e){return(0,i.cloneElement)(e,{onExited:function onExited(t){r.handleExited(e.key,t,e.props.onExited)},in:!0,appear:r.getProp(e,"appear"),enter:r.getProp(e,"enter"),exit:r.getProp(e,"exit")})})},r}return function _inherits(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)}(TransitionGroup,e),TransitionGroup.prototype.getChildContext=function getChildContext(){return{transitionGroup:{isMounting:!this.appeared}}},TransitionGroup.prototype.getProp=function getProp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props;return null!=n[t]?n[t]:e.props[t]},TransitionGroup.prototype.componentDidMount=function componentDidMount(){this.appeared=!0},TransitionGroup.prototype.componentWillReceiveProps=function componentWillReceiveProps(e){var t=this,n=this.state.children,o=(0,s.getChildMapping)(e.children),r=(0,s.mergeChildMappings)(n,o);Object.keys(r).forEach(function(a){var s=r[a];if((0,i.isValidElement)(s)){var l=function onExited(e){t.handleExited(s.key,e,s.props.onExited)},u=a in n,c=a in o,p=n[a],d=(0,i.isValidElement)(p)&&!p.props.in;!c||u&&!d?c||!u||d?c&&u&&(0,i.isValidElement)(p)&&(r[a]=(0,i.cloneElement)(s,{onExited:l,in:p.props.in,exit:t.getProp(s,"exit",e),enter:t.getProp(s,"enter",e)})):r[a]=(0,i.cloneElement)(s,{in:!1}):r[a]=(0,i.cloneElement)(s,{onExited:l,in:!0,exit:t.getProp(s,"exit",e),enter:t.getProp(s,"enter",e)})}}),this.setState({children:r})},TransitionGroup.prototype.render=function render(){var e=this.props,t=e.component,n=e.childFactory,o=function _objectWithoutProperties(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(e,["component","childFactory"]),r=this.state.children;return delete o.appear,delete o.enter,delete o.exit,a.default.createElement(t,o,l(r).map(n))},TransitionGroup}(a.default.Component));u.childContextTypes={transitionGroup:r.default.object.isRequired},u.propTypes={},u.defaultProps={component:"div",childFactory:function childFactory(e){return e}},t.default=u,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function getChildMapping(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function mapper(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)}),n},t.mergeChildMappings=function mergeChildMappings(e,t){function getValueForKey(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var n=Object.create(null),o=[];for(var r in e)r in t?o.length&&(n[r]=o,o=[]):o.push(r);var i=void 0,a={};for(var s in t){if(n[s])for(i=0;i<n[s].length;i++){var l=n[s][i];a[n[s][i]]=getValueForKey(l)}a[s]=getValueForKey(s)}for(i=0;i<o.length;i++)a[o[i]]=getValueForKey(o[i]);return a};var o=n(1)},function(e,t,n){"use strict";function y(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function A(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function B(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function C(){}function E(e,t,n){this.props=e,this.context=t,this.refs=r,this.updater=n||f}function J(e,t,n){var o,r={},i=null,a=null;if(null!=t)for(o in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)g.call(t,o)&&!v.hasOwnProperty(o)&&(r[o]=t[o]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];r.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===r[o]&&(r[o]=l[o]);return{$$typeof:s,type:e,key:i,ref:a,props:r,_owner:b.current}}function K(e){return"object"==typeof e&&null!==e&&e.$$typeof===s}function N(e,t,n,o){if(w.length){var r=w.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function O(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>w.length&&w.push(e)}function P(e,t,n,o){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var i=!1;if(null===e)i=!0;else switch(r){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case s:case l:case u:case c:i=!0}}if(i)return n(o,e,""===t?"."+Q(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var p=t+Q(r=e[a],a);i+=P(r,p,n,o)}else if(null===e||void 0===e?p=null:(p=d&&e[d]||e["@@iterator"],p="function"==typeof p?p:null),"function"==typeof p)for(e=p.call(e),a=0;!(r=e.next()).done;)r=r.value,p=t+Q(r,a++),i+=P(r,p,n,o);else"object"===r&&(n=""+e,y("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function Q(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function escape(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function R(e,t){e.func.call(e.context,t,e.count++)}function S(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?T(e,o,n,i.thatReturnsArgument):null!=e&&(K(e)&&(t=r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(_,"$&/")+"/")+n,e={$$typeof:s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),o.push(e))}function T(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(_,"$&/")+"/"),t=N(t,i,o,r),null==e||P(e,"",S,t),O(t)}var o=n(197),r=n(170),i=n(43),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.call"):60104,u=a?Symbol.for("react.return"):60105,c=a?Symbol.for("react.portal"):60106,p=a?Symbol.for("react.fragment"):60107,d="function"==typeof Symbol&&Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};A.prototype.isReactComponent={},A.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=A.prototype;var m=B.prototype=new C;m.constructor=B,o(m,A.prototype),m.isPureReactComponent=!0;var h=E.prototype=new C;h.constructor=E,o(h,A.prototype),h.unstable_isAsyncReactComponent=!0,h.render=function(){return this.props.children};var b={current:null},g=Object.prototype.hasOwnProperty,v={key:!0,ref:!0,__self:!0,__source:!0},_=/\/+/g,w=[],x={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return T(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;t=N(null,null,t,n),null==e||P(e,"",R,t),O(t)},count:function(e){return null==e?0:P(e,"",i.thatReturnsNull,null)},toArray:function(e){var t=[];return T(e,t,null,i.thatReturnsArgument),t},only:function(e){return K(e)||y("143"),e}},Component:A,PureComponent:B,unstable_AsyncComponent:E,Fragment:p,createElement:J,cloneElement:function(e,t,n){var r=o({},e.props),i=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=b.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)g.call(t,c)&&!v.hasOwnProperty(c)&&(r[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){u=Array(c);for(var p=0;p<c;p++)u[p]=arguments[p+2];r.children=u}return{$$typeof:s,type:e.type,key:i,ref:a,props:r,_owner:l}},createFactory:function(e){var t=J.bind(null,e);return t.type=e,t},isValidElement:K,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:b,assign:o}},k=Object.freeze({default:x}),D=k&&x||k;e.exports=D.default?D.default:D},function(e,t,n){"use strict";function toFloat(e){return parseFloat(e)||0}function getBordersSize(e){return Array.prototype.slice.call(arguments,1).reduce(function(t,n){return t+toFloat(e["border-"+n+"-width"])},0)}function getHTMLElementContentRect(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var o=getComputedStyle(e),r=function getPaddings(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n+=1){var r=o[n],i=e["padding-"+r];t[r]=toFloat(i)}return t}(o),i=r.left+r.right,a=r.top+r.bottom,s=toFloat(o.width),l=toFloat(o.height);if("border-box"===o.boxSizing&&(Math.round(s+i)!==t&&(s-=getBordersSize(o,"left","right")+i),Math.round(l+a)!==n&&(l-=getBordersSize(o,"top","bottom")+a)),!function isDocumentElement(e){return e===document.documentElement}(e)){var u=Math.round(s+i)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return createRectInit(r.left,r.top,s,l)}function getContentRect(e){return r?f(e)?function getSVGContentRect(e){var t=e.getBBox();return createRectInit(0,0,t.width,t.height)}(e):getHTMLElementContentRect(e):d}function createRectInit(e,t,n,o){return{x:e,y:t,width:n,height:o}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function getIndex(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return"undefined"!=typeof Map?Map:function(){function anonymous(){this.__entries__=[]}var e={size:{}};return e.size.get=function(){return this.__entries__.length},anonymous.prototype.get=function(e){var t=getIndex(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},anonymous.prototype.set=function(e,t){var n=getIndex(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},anonymous.prototype.delete=function(e){var t=this.__entries__,n=getIndex(t,e);~n&&t.splice(n,1)},anonymous.prototype.has=function(e){return!!~getIndex(this.__entries__,e)},anonymous.prototype.clear=function(){this.__entries__.splice(0)},anonymous.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n+=1){var r=o[n];e.call(t,r[1],r[0])}},Object.defineProperties(anonymous.prototype,e),anonymous}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof navigator&&/Trident\/.*rv:11/.test(navigator.userAgent),u="undefined"!=typeof MutationObserver&&!l,c=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){function resolvePending(){n&&(n=!1,e()),o&&proxy()}function timeoutCallback(){i(resolvePending)}function proxy(){var e=Date.now();if(n){if(e-r<a)return;o=!0}else n=!0,o=!1,setTimeout(timeoutCallback,t);r=e}var n=!1,o=!1,r=0;return proxy}(this.refresh.bind(this),20)};c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},c.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName;s.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var p=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n+=1){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=createRectInit(0,0,0,0),f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof SVGGraphicsElement}:function(e){return e instanceof SVGElement&&"function"==typeof e.getBBox},m=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=e};m.prototype.isActive=function(){var e=getContentRect(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var h=function(e,t){var n=function createReadOnlyRect(e){var t=e.x,n=e.y,o=e.width,r=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return p(a,{x:t,y:n,width:o,height:r,top:n,right:t+o,bottom:r+n,left:t}),a}(t);p(this,{target:e,contentRect:n})},b=function(e,t,n){if("function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.activeObservations_=[],this.observations_=new o,this.callback_=e,this.controller_=t,this.callbackCtx_=n};b.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new m(e)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new h(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0};var g="undefined"!=typeof WeakMap?new WeakMap:new o,A=function(e){if(!(this instanceof A))throw new TypeError("Cannot call a class as a function");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=c.getInstance(),n=new b(e,t,this);g.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){A.prototype[e]=function(){return(t=g.get(this))[e].apply(t,arguments);var t}});var v="undefined"!=typeof ResizeObserver?ResizeObserver:A;t.default=v},function(e,t,n){var o=n(278);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(279);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(280);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(281);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(282);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(283);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(284);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(285);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(286);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(287);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(288);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(289);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(290);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(291);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(292);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(293);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(294);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(295);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(296);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(297);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(298);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(299);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(300);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(301);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(302);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(303);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(304);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(305);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(306);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(307);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(308);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(309);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(310);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(311);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(312);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(313);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(314);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(316);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(317);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(318);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(319);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(320);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(321);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(322);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(323);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(324);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(325);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(326);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(327);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(328);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(329);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(330);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(331);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(332);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(333);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(334);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(335);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(336);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){var o=n(337);"string"==typeof o&&(o=[[e.i,o,""]]);var r={};r.transform=void 0;n(8)(o,r);o.locals&&(e.exports=o.locals)},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return e;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(e,t,n){var o;!function(n,r){void 0===(o=function(){return n.svg4everybody=r()}.apply(t,[]))||(e.exports=o)}(this,function(){function embed(e,t,n){if(n){var o=document.createDocumentFragment(),r=!t.hasAttribute("viewBox")&&n.getAttribute("viewBox");r&&t.setAttribute("viewBox",r);for(var i=n.cloneNode(!0);i.childNodes.length;)o.appendChild(i.firstChild);e.appendChild(o)}}function loadreadystatechange(e){e.onreadystatechange=function(){if(4===e.readyState){var t=e._cachedDocument;t||(t=e._cachedDocument=document.implementation.createHTMLDocument(""),t.body.innerHTML=e.responseText,e._cachedTarget={}),e._embeds.splice(0).map(function(n){var o=e._cachedTarget[n.id];o||(o=e._cachedTarget[n.id]=t.getElementById(n.id)),embed(n.parent,n.svg,o)})}},e.onreadystatechange()}return function svg4everybody(e){function oninterval(){for(var e=0;e<a.length;){var o=a[e],l=o.parentNode,u=function getSVGAncestor(e){for(var t=e;"svg"!==t.nodeName.toLowerCase()&&(t=t.parentNode););return t}(l),c=o.getAttribute("xlink:href")||o.getAttribute("href");if(!c&&n.attributeName&&(c=o.getAttribute(n.attributeName)),u&&c){if(t)if(!n.validate||n.validate(c,u,o)){l.removeChild(o);var p=c.split("#"),d=p.shift(),f=p.join("#");if(d.length){var m=r[d];m||((m=r[d]=new XMLHttpRequest).open("GET",d),m.send(),m._embeds=[]),m._embeds.push({parent:l,svg:u,id:f}),loadreadystatechange(m)}else embed(l,u,document.getElementById(f))}else++e,++s}else++e}(!a.length||a.length-s>0)&&i(oninterval,67)}var t,n=Object(e),o=window.top!==window.self;t="polyfill"in n?n.polyfill:/\bTrident\/[567]\b|\bMSIE (?:9|10)\.0\b/.test(navigator.userAgent)||(navigator.userAgent.match(/\bEdge\/12\.(\d+)\b/)||[])[1]<10547||(navigator.userAgent.match(/\bAppleWebKit\/(\d+)\b/)||[])[1]<537||/\bEdge\/.(\d+)\b/.test(navigator.userAgent)&&o;var r={},i=window.requestAnimationFrame||setTimeout,a=document.getElementsByTagName("use"),s=0;t&&oninterval()}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,o){var r,i=n(899);r="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:o;var a=n.i(i.a)(r);t.default=a}.call(t,n(18),n(901)(e))},function(e,t,n){"use strict";t.a=function symbolObservablePonyfill(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}},function(e,t){var n=/[\'\"]/;e.exports=function unquote(e){return e?(n.test(e.charAt(0))&&(e=e.substr(1)),n.test(e.charAt(e.length-1))&&(e=e.substr(0,e.length-1)),e):""}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t){},function(e,t,n){e.exports=n(216)}]); \ No newline at end of file diff --git a/build/codemirror.2b069d61.js b/build/codemirror.2b069d61.js new file mode 100644 index 0000000..0cb04b7 --- /dev/null +++ b/build/codemirror.2b069d61.js @@ -0,0 +1 @@ +webpackJsonp([2],{904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeMirror=void 0;var r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(907));n(933),n(934),n(917),n(931),n(932),n(936),r.default.loadMode=function(e,t){r.default.modes.hasOwnProperty(t)?e.setOption("mode",t):n(937)("./"+t+"/"+t+".js").then(function(){e.setOption("mode",t)})},t.CodeMirror=r.default},907:function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function classTest(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,r){var i=document.createElement(e);if(n&&(i.className=n),r&&(i.style.cssText=r),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function eltP(e,t,n,r){var i=elt(e,t,n,r);return i.setAttribute("role","presentation"),i}function contains(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function activeElt(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function addClass(e,t){var n=e.className;classTest(t).test(n)||(e.className+=(n?" ":"")+t)}function joinClasses(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!classTest(n[r]).test(t)&&(t+=" "+n[r]);return t}function bind(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function copyObj(e,t,n){t||(t={});for(var r in e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function countColumn(e,t,n,r,i){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=r||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=n-a%n,o=s+1}}function indexOf(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function findColumn(e,t,n){for(var r=0,i=0;;){var o=e.indexOf("\t",r);-1==o&&(o=e.length);var a=o-r;if(o==e.length||i+a>=t)return r+Math.min(a,t-i);if(i+=o-r,i+=n-i%n,r=o+1,i>=t)return r}}function spaceStr(e){for(;W.length<=e;)W.push(lst(W)+" ");return W[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function nothing(){}function createObj(e,t){var n;return Object.create?n=Object.create(e):(nothing.prototype=e,n=new nothing),t&&copyObj(t,n),n}function isWordCharBasic(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||I.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function isExtendingChar(e){return e.charCodeAt(0)>=768&&E.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:t<e.length)&&isExtendingChar(e.charAt(t));)t+=n;return t}function findFirst(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var i=(t+n)/2,o=r<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+r}}function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var i=n.children[r],o=i.chunkSize();if(t<o){n=i;break}t-=o}return n.lines[t]}function getBetween(e,t,n){var r=[],i=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;i==n.line&&(o=o.slice(0,n.ch)),i==t.line&&(o=o.slice(t.ch)),r.push(o),++i}),r}function getLines(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function updateLineHeight(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function lineNo(e){if(null==e.parent)return null;for(var t=e.parent,n=indexOf(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var i=0;r.children[i]!=t;++i)n+=r.children[i].chunkSize();return n+t.first}function lineAtHeight(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var i=e.children[r],o=i.height;if(t<o){e=i;continue e}t-=o,n+=i.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a].height;if(t<s)break;t-=s}return n+a}function isLine(e,t){return t>=e.first&&t<e.first+e.size}function lineNumberFor(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Pos(e,t,n){if(void 0===n&&(n=null),!(this instanceof Pos))return new Pos(e,t,n);this.line=e,this.ch=t,this.sticky=n}function cmp(e,t){return e.line-t.line||e.ch-t.ch}function equalCursorPos(e,t){return e.sticky==t.sticky&&0==cmp(e,t)}function copyPos(e){return Pos(e.line,e.ch)}function maxPos(e,t){return cmp(e,t)<0?t:e}function minPos(e,t){return cmp(e,t)<0?e:t}function clipLine(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function clipPos(e,t){if(t.line<e.first)return Pos(e.first,0);var n=e.first+e.size-1;return t.line>n?Pos(n,getLine(e,n).text.length):function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}(t,getLine(e,t.line).text.length)}function clipPosArray(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=clipPos(e,t[r]);return n}function MarkedSpan(e,t,n){this.marker=e,this.from=t,this.to=n}function getMarkedSpanFor(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function removeMarkedSpan(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function stretchSpansOverChange(e,t){if(t.full)return null;var n=isLine(e,t.from.line)&&getLine(e,t.from.line).markedSpans,r=isLine(e,t.to.line)&&getLine(e,t.to.line).markedSpans;if(!n&&!r)return null;var i=t.from.ch,o=t.to.ch,a=0==cmp(t.from,t.to),s=function markedSpansBefore(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(r||(r=[])).push(new MarkedSpan(a,o.from,s?null:o.to))}}return r}(n,i,a),l=function markedSpansAfter(e,t,n){var r;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(r||(r=[])).push(new MarkedSpan(a,s?null:o.from-t,null==o.to?null:o.to-t))}}return r}(r,o,a),c=1==t.text.length,u=lst(t.text).length+(c?i:0);if(s)for(var d=0;d<s.length;++d){var h=s[d];if(null==h.to){var p=getMarkedSpanFor(l,h.marker);p?c&&(h.to=null==p.to?null:p.to+u):h.to=i}}if(l)for(var f=0;f<l.length;++f){var m=l[f];if(null!=m.to&&(m.to+=u),null==m.from){getMarkedSpanFor(s,m.marker)||(m.from=u,c&&(s||(s=[])).push(m))}else m.from+=u,c&&(s||(s=[])).push(m)}s&&(s=clearEmptySpans(s)),l&&l!=s&&(l=clearEmptySpans(l));var g=[s];if(!c){var v,y=t.text.length-2;if(y>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(v||(v=[])).push(new MarkedSpan(s[x].marker,null,null));for(var C=0;C<y;++C)g.push(v);g.push(l)}return g}function clearEmptySpans(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function detachMarkedSpans(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function attachMarkedSpans(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function extraLeft(e){return e.inclusiveLeft?-1:0}function extraRight(e){return e.inclusiveRight?1:0}function compareCollapsedMarkers(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),i=t.find(),o=cmp(r.from,i.from)||extraLeft(e)-extraLeft(t);if(o)return-o;var a=cmp(r.to,i.to)||extraRight(e)-extraRight(t);return a||t.id-e.id}function collapsedSpanAtSide(e,t){var n,r=B&&e.markedSpans;if(r)for(var i=void 0,o=0;o<r.length;++o)(i=r[o]).marker.collapsed&&null==(t?i.from:i.to)&&(!n||compareCollapsedMarkers(n,i.marker)<0)&&(n=i.marker);return n}function collapsedSpanAtStart(e){return collapsedSpanAtSide(e,!0)}function collapsedSpanAtEnd(e){return collapsedSpanAtSide(e,!1)}function conflictingCollapsedRange(e,t,n,r,i){var o=getLine(e,t),a=B&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=cmp(c.from,n)||extraLeft(l.marker)-extraLeft(i),d=cmp(c.to,r)||extraRight(l.marker)-extraRight(i);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?cmp(c.from,r)<=0:cmp(c.from,r)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineNo(e,t){var n=getLine(e,t),r=visualLine(n);return n==r?t:lineNo(r)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,r=getLine(e,t);if(!lineIsHidden(e,r))return t;for(;n=collapsedSpanAtEnd(r);)r=n.find(1,!0).line;return lineNo(r)+1}function lineIsHidden(e,t){var n=B&&t.markedSpans;if(n)for(var r=void 0,i=0;i<n.length;++i)if((r=n[i]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&lineIsHiddenInner(e,t,r))return!0}}function lineIsHiddenInner(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return lineIsHiddenInner(e,r.line,getMarkedSpanFor(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if((i=t.markedSpans[o]).marker.collapsed&&!i.marker.widgetNode&&i.from==n.to&&(null==i.to||i.to!=n.from)&&(i.marker.inclusiveLeft||n.marker.inclusiveRight)&&lineIsHiddenInner(e,t,i))return!0}function heightAtLine(e){for(var t=0,n=(e=visualLine(e)).parent,r=0;r<n.lines.length;++r){var i=n.lines[r];if(i==e)break;t+=i.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==n)break;t+=s.height}return t}function lineLength(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=collapsedSpanAtStart(r);){var i=t.find(0,!0);r=i.from.line,n+=i.from.ch-i.to.ch}for(r=e;t=collapsedSpanAtEnd(r);){var o=t.find(0,!0);n-=r.text.length-o.from.ch,n+=(r=o.to.line).text.length-o.to.ch}return n}function findMaxLine(e){var t=e.display,n=e.doc;t.maxLine=getLine(n,n.first),t.maxLineLength=lineLength(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=lineLength(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function getBidiPartAt(e,t,n){var r;R=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==n?r=i:R=i),o.from==t&&(o.from!=o.to&&"before"!=n?r=i:R=i)}return null!=r?r:R}function getOrder(e,t){var n=e.order;return null==n&&(n=e.order=z(e.text,t)),n}function getHandlers(e,t){return e._handlers&&e._handlers[t]||V}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,i=r&&r[t];if(i){var o=indexOf(i,n);o>-1&&(r[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),i=0;i<n.length;++i)n[i].apply(null,r)}function signalDOMEvent(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),signal(e,n||t.type,e,t),e_defaultPrevented(t)||t.codemirrorIgnore}function signalCursorActivity(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==indexOf(n,t[r])&&n.push(t[r])}function hasHandler(e,t){return getHandlers(e,t).length>0}function eventMixin(e){e.prototype.on=function(e,t){G(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}function zeroWidthElement(e){if(null==P){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(P=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=P?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=O)return O;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=S(t,0,1).getBoundingClientRect(),r=S(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(O=r.right-n.right<3)}function resolveMode(e){if("string"==typeof e&&Y.hasOwnProperty(e))e=Y[e];else if(e&&"string"==typeof e.name&&Y.hasOwnProperty(e.name)){var t=Y[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=X[t.name];if(!n)return getMode(e,"text/plain");var r=n(e,t);if(Q.hasOwnProperty(t.name)){var i=Q[t.name];for(var o in i)i.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=i[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}function extendMode(e,t){copyObj(t,Q.hasOwnProperty(e)?Q[e]:Q[e]={})}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var i=t[r];i instanceof Array&&(i=i.concat([])),n[r]=i}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}function highlightLine(e,t,n,r){var i=[e.state.modeGen],o={};runMode(e,t.text,e.doc.mode,n,function(e,t){return i.push(e,t)},o,r);for(var a=n.state,s=function(r){n.baseTokens=i;var s=e.state.overlays[r],l=1,c=0;n.state=!0,runMode(e,t.text,s.mode,n,function(e,t){for(var n=l;c<e;){var r=i[l];r>e&&i.splice(l,1,e,i[l+1],r),l+=2,c=Math.min(e,r)}if(t)if(s.opaque)i.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var o=i[n+1];i[n+1]=(o?o+" ":"")+"overlay "+t}},o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function getLineStyles(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=getContextBefore(e,lineNo(t)),i=t.text.length>e.options.maxHighlightLength&&copyState(e.doc.mode,r.state),o=highlightLine(e,t,r);i&&(r.state=i),t.stateAfter=r.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var r=e.doc,i=e.display;if(!r.mode.startState)return new ee(r,!0,t);var o=function findStartLine(e,t,n){for(var r,i,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=getLine(o,s-1),c=l.stateAfter;if(c&&(!n||s+(c instanceof J?c.lookAhead:0)<=o.modeFrontier))return s;var u=countColumn(l.text,null,e.options.tabSize);(null==i||r>u)&&(i=s-1,r=u)}return i}(e,t,n),a=o>r.first&&getLine(r,o-1).stateAfter,s=a?ee.fromSaved(r,a,o):new ee(r,startState(r.mode),o);return r.iter(o,t,function(n){processLine(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=i.viewFrom&&r<i.viewTo?s.save():null,s.nextLine()}),n&&(r.modeFrontier=s.line),s}function processLine(e,t,n,r){var i=e.doc.mode,o=new Z(t,e.options.tabSize,n);for(o.start=o.pos=r||0,""==t&&callBlankLine(i,n.state);!o.eol();)readToken(i,o,n.state),o.start=o.pos}function callBlankLine(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=innerMode(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function readToken(e,t,n,r){for(var i=0;i<10;i++){r&&(r[0]=innerMode(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function takeToken(e,t,n,r){var i,o,a=e.doc,s=a.mode,l=getLine(a,(t=clipPos(a,t)).line),c=getContextBefore(e,t.line,n),u=new Z(l.text,e.options.tabSize,c);for(r&&(o=[]);(r||u.pos<t.ch)&&!u.eol();)u.start=u.pos,i=readToken(s,u,c.state),r&&o.push(new te(u,i,copyState(a.mode,c.state)));return r?o:new te(u,i,c.state)}function extractLineClasses(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function runMode(e,t,n,r,i,o,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,d=new Z(t,e.options.tabSize,r),h=e.options.addModeClass&&[null];for(""==t&&extractLineClasses(callBlankLine(n,r.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(s=!1,a&&processLine(e,t,r,d.pos),d.pos=t.length,l=null):l=extractLineClasses(readToken(n,d,r.state,h),o),h){var p=h[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){for(;c<d.start;)i(c=Math.min(d.start,c+5e3),u);u=l}d.start=d.pos}for(;c<d.pos;){var f=Math.min(d.pos,c+5e3);i(f,u),c=f}}function cleanUpLine(e){e.parent=null,detachMarkedSpans(e)}function interpretTokenStyle(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?oe:ie;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function buildLineContent(e,t){var n=eltP("span",null,null,l?"padding-right: .1px":null),r={pre:eltP("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(a||l)&&e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,s=void 0;r.pos=0,r.addToken=buildToken,hasBadBidiRects(e.display.measure)&&(s=getOrder(o,e.doc.direction))&&(r.addToken=function buildTokenBadBidi(e,t){return function(n,r,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+r.length;;){for(var d=void 0,h=0;h<t.length&&!((d=t[h]).to>c&&d.from<=c);h++);if(d.to>=u)return e(n,r,i,o,a,s,l);e(n,r.slice(0,d.to-c),i,o,null,s,l),o=null,r=r.slice(d.to-c),c=d.to}}}(r.addToken,s)),r.map=[];!function insertLineContent(e,t,n){var r=e.markedSpans,i=e.text,o=0;if(!r){for(var a=1;a<n.length;a+=2)t.addToken(t,i.slice(o,o=n[a]),interpretTokenStyle(n[a+1],t.cm.options));return}for(var s,l,c,u,d,h,p,f=i.length,m=0,g=1,v="",y=0;;){if(y==m){c=u=d=h=l="",p=null,y=1/0;for(var x=[],C=void 0,b=0;b<r.length;++b){var S=r[b],w=S.marker;"bookmark"==w.type&&S.from==m&&w.widgetNode?x.push(w):S.from<=m&&(null==S.to||S.to>m||w.collapsed&&S.to==m&&S.from==m)?(null!=S.to&&S.to!=m&&y>S.to&&(y=S.to,u=""),w.className&&(c+=" "+w.className),w.css&&(l=(l?l+";":"")+w.css),w.startStyle&&S.from==m&&(d+=" "+w.startStyle),w.endStyle&&S.to==y&&(C||(C=[])).push(w.endStyle,S.to),w.title&&!h&&(h=w.title),w.collapsed&&(!p||compareCollapsedMarkers(p.marker,w)<0)&&(p=S)):S.from>m&&y>S.from&&(y=S.from)}if(C)for(var L=0;L<C.length;L+=2)C[L+1]==y&&(u+=" "+C[L]);if(!p||p.from==m)for(var k=0;k<x.length;++k)buildCollapsedSpan(t,0,x[k]);if(p&&(p.from||0)==m){if(buildCollapsedSpan(t,(null==p.to?f+1:p.to)-m,p.marker,null==p.from),null==p.to)return;p.to==m&&(p=!1)}}if(m>=f)break;for(var M=Math.min(f,y);;){if(v){var T=m+v.length;if(!p){var P=T>M?v.slice(0,M-m):v;t.addToken(t,P,s?s+c:c,d,m+P.length==y?u:"",h,l)}if(T>=M){v=v.slice(M-m),m=M;break}m=T,d=""}v=i.slice(o,o=n[g++]),s=interpretTokenStyle(n[g++],t.cm.options)}}}(o,r,getLineStyles(e,o,t!=e.display.externalMeasured&&lineNo(o))),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=joinClasses(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=joinClasses(o.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(zeroWidthElement(e.display.measure))),0==i?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return signal(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=joinClasses(r.pre.className,r.textClass||"")),r}function defaultSpecialCharPlaceholder(e){var t=elt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function buildToken(e,t,n,r,i,o,l){if(t){var c,u=e.splitSpaces?function splitSpaces(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!n||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o=" "),r+=o,n=" "==o}return r}(t,e.trailingSpace):t,d=e.cm.state.specialChars,h=!1;if(d.test(t)){c=document.createDocumentFragment();for(var p=0;;){d.lastIndex=p;var f=d.exec(t),m=f?f.index-p:t.length-p;if(m){var g=document.createTextNode(u.slice(p,p+m));a&&s<9?c.appendChild(elt("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!f)break;p+=m+1;var v=void 0;if("\t"==f[0]){var y=e.cm.options.tabSize,x=y-e.col%y;(v=c.appendChild(elt("span",spaceStr(x),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=x}else"\r"==f[0]||"\n"==f[0]?((v=c.appendChild(elt("span","\r"==f[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",f[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),a&&s<9?c.appendChild(elt("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||i||h||l){var C=n||"";r&&(C+=r),i&&(C+=i);var b=elt("span",[c],C,l);return o&&(b.title=o),e.content.appendChild(b)}e.content.appendChild(c)}}function buildCollapsedSpan(e,t,n,r){var i=!r&&n.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!r&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",n.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function LineView(e,t,n){this.line=t,this.rest=function visualLineContinued(e){for(var t,n;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?lineNo(lst(this.rest))-n+1:1,this.node=this.text=null,this.hidden=lineIsHidden(e,t)}function buildViewArray(e,t,n){for(var r,i=[],o=t;o<n;o=r){var a=new LineView(e.doc,getLine(e.doc,o),o);r=o+a.size,i.push(a)}return i}function signalLater(e,t){var n=getHandlers(e,t);if(n.length){var r,i=Array.prototype.slice.call(arguments,2);ae?r=ae.delayedCallbacks:se?r=se:(r=se=[],setTimeout(fireOrphanDelayed,0));for(var o=function(e){r.push(function(){return n[e].apply(null,i)})},a=0;a<n.length;++a)o(a)}}function fireOrphanDelayed(){var e=se;se=null;for(var t=0;t<e.length;++t)e[t]()}function updateLineForChanges(e,t,n,r){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?function updateLineText(e,t){var n=t.text.className,r=getLineContent(e,t);t.text==t.node&&(t.node=r.pre);t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,updateLineClasses(e,t)):n&&(t.text.className=n)}(e,t):"gutter"==o?updateLineGutter(e,t,n,r):"class"==o?updateLineClasses(e,t):"widget"==o&&function updateLineWidgets(e,t,n){t.alignable&&(t.alignable=null);for(var r=t.node.firstChild,i=void 0;r;r=i)i=r.nextSibling,"CodeMirror-linewidget"==r.className&&t.node.removeChild(r);insertLineWidgets(e,t,n)}(e,t,r)}t.changes=null}function ensureLineWrapped(e){return e.node==e.text&&(e.node=elt("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function getLineContent(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):buildLineContent(e,t)}function updateLineClasses(e,t){!function updateLineBackground(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=ensureLineWrapped(t);t.background=r.insertBefore(elt("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?ensureLineWrapped(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function updateLineGutter(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=ensureLineWrapped(t);t.gutterBackground=elt("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=ensureLineWrapped(t),s=t.gutter=elt("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(elt("div",lineNumberFor(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.options.gutters.length;++l){var c=e.options.gutters[l],u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(elt("div",[u],"CodeMirror-gutter-elt","left: "+r.gutterLeft[c]+"px; width: "+r.gutterWidth[c]+"px"))}}}function buildLineElement(e,t,n,r){var i=getLineContent(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),updateLineClasses(e,t),updateLineGutter(e,t,n,r),insertLineWidgets(e,t,r),t.node}function insertLineWidgets(e,t,n){if(insertLineWidgetsFor(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)insertLineWidgetsFor(e,t.rest[r],t,n,!1)}function insertLineWidgetsFor(e,t,n,r,i){if(t.widgets)for(var o=ensureLineWrapped(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=elt("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),function positionLineWidget(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var i=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(i-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}(l,c,n,r),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),signalLater(l,"redraw")}}function widgetHeight(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!contains(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),removeChildrenAndAdd(t.display.measure,elt("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function eventInWidget(e,t){for(var n=e_target(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function paddingTop(e){return e.lineSpace.offsetTop}function paddingVert(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function paddingH(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=removeChildrenAndAdd(e.measure,elt("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function scrollGap(e){return A-e.display.nativeBarWidth}function displayWidth(e){return e.display.scroller.clientWidth-scrollGap(e)-e.display.barWidth}function displayHeight(e){return e.display.scroller.clientHeight-scrollGap(e)-e.display.barHeight}function mapFromLineView(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var i=0;i<e.rest.length;i++)if(lineNo(e.rest[i])>n)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function measureChar(e,t,n,r){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,r)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[findViewIndex(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function prepareMeasureForLine(e,t){var n=lineNo(t),r=findViewForLine(e,n);r&&!r.text?r=null:r&&r.changes&&(updateLineForChanges(e,r,n,getDimensions(e)),e.curOp.forceUpdate=!0),r||(r=function updateExternalMeasurement(e,t){var n=lineNo(t=visualLine(t)),r=e.display.externalMeasured=new LineView(e.doc,t,n);r.lineN=n;var i=r.built=buildLineContent(e,r);return r.text=i.pre,removeChildrenAndAdd(e.display.lineMeasure,i.pre),r}(e,t));var i=mapFromLineView(r,t,n);return{line:t,view:r,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function measureCharPrepared(e,t,n,r,i){t.before&&(n=-1);var o,l=n+(r||"");return t.cache.hasOwnProperty(l)?o=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(!function ensureLineHeights(e,t,n){var r=e.options.lineWrapping,i=r&&displayWidth(e);if(!t.measure.heights||r&&t.measure.width!=i){var o=t.measure.heights=[];if(r){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function measureCharInner(e,t,n,r){var i,o=nodeAndOffsetInLineMap(t.map,n,r),l=o.node,c=o.start,u=o.end,d=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){for(;c&&isExtendingChar(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&isExtendingChar(t.line.text.charAt(o.coverStart+u));)++u;if((i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():getUsefulRect(S(l,c,u).getClientRects(),r)).left||i.right||0==c)break;u=c,c-=1,d="right"}a&&s<11&&(i=function maybeUpdateRectForZooming(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function hasBadZoomedRects(e){if(null!=$)return $;var t=removeChildrenAndAdd(e,elt("span","x")),n=t.getBoundingClientRect(),r=S(t,0,1).getBoundingClientRect();return $=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,i))}else{c>0&&(d=r="right");var p;i=e.options.lineWrapping&&(p=l.getClientRects()).length>1?p["right"==r?p.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var f=l.parentNode.getClientRects()[0];i=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:le}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,x=0;x<y.length-1&&!(v<y[x]);x++);var C=x?y[x-1]:0,b=y[x],w={left:("right"==d?i.right:i.left)-t.rect.left,right:("left"==d?i.left:i.right)-t.rect.left,top:C,bottom:b};i.left||i.right||(w.bogus=!0);e.options.singleCursorHeightPerLine||(w.rtop=m,w.rbottom=g);return w}(e,t,n,r)).bogus||(t.cache[l]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}function nodeAndOffsetInLineMap(e,t,n){for(var r,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?o=(i=t-s)+1:(c==e.length-3||t==l&&e[c+3]>t)&&(i=(o=l-s)-1,t>=l&&(a="right")),null!=i){if(r=e[c+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==i)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&i==l-s)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)r=e[(c+=3)+2],a="right";break}return{node:r,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function getUsefulRect(e,t){var n=le;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var i=e.length-1;i>=0&&(n=e[i]).left==n.right;i--);return n}function clearLineMeasurementCacheFor(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function clearLineMeasurementCache(e){e.display.externalMeasure=null,removeChildren(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)clearLineMeasurementCacheFor(e.display.view[t])}function clearCaches(e){clearLineMeasurementCache(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function pageScrollX(){return u&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pageScrollY(){return u&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function widgetTopHeight(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=widgetHeight(e.widgets[n]));return t}function intoCoordSystem(e,t,n,r,i){if(!i){var o=widgetTopHeight(t);n.top+=o,n.bottom+=o}if("line"==r)return n;r||(r="local");var a=heightAtLine(t);if("local"==r?a+=paddingTop(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:pageScrollY());var l=s.left+("window"==r?0:pageScrollX());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function fromCoordSystem(e,t,n){if("div"==n)return t;var r=t.left,i=t.top;if("page"==n)r-=pageScrollX(),i-=pageScrollY();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();r+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:i-a.top}}function charCoords(e,t,n,r,i){return r||(r=getLine(e.doc,t.line)),intoCoordSystem(e,r,measureChar(e,r,t.ch,i),n)}function cursorCoords(e,t,n,r,i,o){function get(t,a){var s=measureCharPrepared(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,intoCoordSystem(e,r,s,n)}function getBidi(e,t,n){var r=1==a[t].level;return get(n?e-1:e,r!=n)}r=r||getLine(e.doc,t.line),i||(i=prepareMeasureForLine(e,r));var a=getOrder(r,e.doc.direction),s=t.ch,l=t.sticky;if(s>=r.text.length?(s=r.text.length,l="before"):s<=0&&(s=0,l="after"),!a)return get("before"==l?s-1:s,"before"==l);var c=getBidiPartAt(a,s,l),u=R,d=getBidi(s,c,"before"==l);return null!=u&&(d.other=getBidi(s,u,"before"!=l)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var r=getLine(e.doc,t.line),i=heightAtLine(r)+paddingTop(e.display);return{left:n,right:n,top:i,bottom:i+r.height}}function PosWithInfo(e,t,n,r,i){var o=Pos(e,t,n);return o.xRel=i,r&&(o.outside=!0),o}function coordsChar(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(r.first,0,null,!0,-1);var i=lineAtHeight(r,n),o=r.first+r.size-1;if(i>o)return PosWithInfo(r.first+r.size-1,getLine(r,o).text.length,null,!0,1);t<0&&(t=0);for(var a=getLine(r,i);;){var s=function coordsCharInner(e,t,n,r,i){i-=heightAtLine(t);var o=prepareMeasureForLine(e,t),a=widgetTopHeight(t),s=0,l=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?function coordsBidiPartWrapped(e,t,n,r,i,o,a){var s=wrappedLineExtent(e,t,r,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,h=0;h<i.length;h++){var p=i[h];if(!(p.from>=c||p.to<=l)){var f=1!=p.level,m=measureCharPrepared(e,r,f?Math.min(c,p.to)-1:Math.max(l,p.from)).right,g=m<o?o-m+1e9:m-o;(!u||d>g)&&(u=p,d=g)}}u||(u=i[i.length-1]);u.from<l&&(u={from:l,to:u.to,level:u.level});u.to>c&&(u={from:u.from,to:c,level:u.level});return u}:function coordsBidiPart(e,t,n,r,i,o,a){var s=findFirst(function(s){var l=i[s],c=1!=l.level;return boxIsAfter(cursorCoords(e,Pos(n,c?l.to:l.from,c?"before":"after"),"line",t,r),o,a,!0)},0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=cursorCoords(e,Pos(n,c?l.from:l.to,c?"after":"before"),"line",t,r);boxIsAfter(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l})(e,t,n,o,u,r,i);c=1!=d.level,s=c?d.from:d.to-1,l=c?d.to:d.from-1}var h,p,f=null,m=null,g=findFirst(function(t){var n=measureCharPrepared(e,o,t);return n.top+=a,n.bottom+=a,!!boxIsAfter(n,r,i,!1)&&(n.top<=i&&n.left<=r&&(f=t,m=n),!0)},s,l),v=!1;if(m){var y=r-m.left<m.right-r,x=y==c;g=f+(x?0:1),p=x?"after":"before",h=y?m.left:m.right}else{c||g!=l&&g!=s||g++,p=0==g?"after":g==t.text.length?"before":measureCharPrepared(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var C=cursorCoords(e,Pos(n,g,p),"line",t,o);h=C.left,v=i<C.top||i>=C.bottom}return g=skipExtendingChars(t.text,g,1),PosWithInfo(n,g,p,v,r-h)}(e,a,i,t,n),l=collapsedSpanAtEnd(a),c=l&&l.find(0,!0);if(!l||!(s.ch>c.from.ch||s.ch==c.from.ch&&s.xRel>0))return s;i=lineNo(a=c.to.line)}}function wrappedLineExtent(e,t,n,r){r-=widgetTopHeight(t);var i=t.text.length,o=findFirst(function(t){return measureCharPrepared(e,n,t-1).bottom<=r},i,0);return i=findFirst(function(t){return measureCharPrepared(e,n,t).top>r},o,i),{begin:o,end:i}}function wrappedLineExtentChar(e,t,n,r){n||(n=prepareMeasureForLine(e,t));return wrappedLineExtent(e,t,n,intoCoordSystem(e,t,measureCharPrepared(e,n,r),"line").top)}function boxIsAfter(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==re){re=elt("pre");for(var t=0;t<49;++t)re.appendChild(document.createTextNode("x")),re.appendChild(elt("br"));re.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,re);var n=re.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t]);removeChildrenAndAdd(e.measure,n);var r=t.getBoundingClientRect(),i=(r.right-r.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function getDimensions(e){for(var t=e.display,n={},r={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+i,r[e.options.gutters[a]]=o.clientWidth;return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(i){if(lineIsHidden(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return n?o+(Math.ceil(i.text.length/r)||1)*t:o+t}}function estimateLineHeights(e){var t=e.doc,n=estimateHeight(e);t.iter(function(e){var t=n(e);t!=e.height&&updateLineHeight(e,t)})}function posFromMouse(e,t,n,r){var i=e.display;if(!n&&"true"==e_target(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,c=coordsChar(e,o,a);if(r&&1==c.xRel&&(l=getLine(e.doc,c.line).text).length==c.ch){var u=countColumn(l,l.length,e.options.tabSize)-l.length;c=Pos(c.line,Math.max(0,Math.round((o-paddingH(e.display).left)/charWidth(e.display))-u))}return c}function findViewIndex(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function updateSelection(e){e.display.input.showSelection(e.display.input.prepareSelection())}function prepareSelection(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},i=r.cursors=document.createDocumentFragment(),o=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&drawSelectionCursor(e,s.head,i),l||function drawSelectionRange(e,t,n){function add(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),o.appendChild(elt("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n height: "+(r-t)+"px"))}function drawForLine(t,n,r){function coords(n,r){return charCoords(e,Pos(t,n),"div",u,r)}function wrapX(t,n,r){var i=wrappedLineExtentChar(e,u,null,t),o="ltr"==n==("after"==r)?"left":"right",a="after"==r?i.begin:i.end-(/\s/.test(u.text.charAt(i.end-1))?2:1);return coords(a,o)[o]}var o,a,u=getLine(i,t),d=u.text.length,h=getOrder(u,i.direction);return function iterateBidiSections(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),i=!0)}i||r(t,n,"ltr")}(h,n||0,null==r?d:r,function(e,t,i,u){var p="ltr"==i,f=coords(e,p?"left":"right"),m=coords(t-1,p?"right":"left"),g=null==n&&0==e,v=null==r&&t==d,y=0==u,x=!h||u==h.length-1;if(m.top-f.top<=3){var C=(c?g:v)&&y,b=(c?v:g)&&x,S=C?s:(p?f:m).left,w=b?l:(p?m:f).right;add(S,f.top,w-S,f.bottom)}else{var L,k,M,T;p?(L=c&&g&&y?s:f.left,k=c?l:wrapX(e,i,"before"),M=c?s:wrapX(t,i,"after"),T=c&&v&&x?l:m.right):(L=c?wrapX(e,i,"before"):s,k=!c&&g&&y?l:f.right,M=!c&&v&&x?s:m.left,T=c?wrapX(t,i,"after"):l),add(L,f.top,k-L,f.bottom),f.bottom<m.top&&add(s,f.bottom,null,m.top),add(M,m.top,T-M,m.bottom)}(!o||cmpCoords(f,o)<0)&&(o=f),cmpCoords(m,o)<0&&(o=m),(!a||cmpCoords(f,a)<0)&&(a=f),cmpCoords(m,a)<0&&(a=m)}),{start:o,end:a}}var r=e.display,i=e.doc,o=document.createDocumentFragment(),a=paddingH(e.display),s=a.left,l=Math.max(r.sizerWidth,displayWidth(e)-r.sizer.offsetLeft)-a.right,c="ltr"==i.direction;var u=t.from(),d=t.to();if(u.line==d.line)drawForLine(u.line,u.ch,d.ch);else{var h=getLine(i,u.line),p=getLine(i,d.line),f=visualLine(h)==visualLine(p),m=drawForLine(u.line,u.ch,f?h.text.length+1:null).end,g=drawForLine(d.line,f?0:null,d.ch).start;f&&(m.top<g.top-2?(add(m.right,m.top,null,m.bottom),add(s,g.top,g.left,g.bottom)):add(m.right,m.top,g.left-m.right,m.bottom)),m.bottom<g.top&&add(s,m.bottom,null,g.top)}n.appendChild(o)}(e,s,o)}}return r}function drawSelectionCursor(e,t,n){var r=cursorCoords(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=n.appendChild(elt("div"," ","CodeMirror-cursor"));if(i.style.left=r.left+"px",i.style.top=r.top+"px",i.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var o=n.appendChild(elt("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=r.other.left+"px",o.style.top=r.other.top+"px",o.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function cmpCoords(e,t){return e.top-t.top||e.left-t.left}function restartBlink(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))},100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,k(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var i=t.view[r],o=void 0;if(!i.hidden){if(a&&s<8){var l=i.node.offsetTop+i.node.offsetHeight;o=l-n,n=l}else{var c=i.node.getBoundingClientRect();o=c.bottom-c.top}var u=i.line.height-o;if(o<2&&(o=textHeight(t)),(u>.005||u<-.005)&&(updateLineHeight(i.line,o),updateWidgetHeight(i.line),i.rest))for(var d=0;d<i.rest.length;d++)updateWidgetHeight(i.rest[d])}}}function updateWidgetHeight(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function visibleLines(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-paddingTop(e));var i=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,o=lineAtHeight(t,r),a=lineAtHeight(t,i);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<o?(o=s,a=lineAtHeight(t,heightAtLine(getLine(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=lineAtHeight(t,heightAtLine(getLine(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=r+i+"px")}}function maybeUpdateLineNumberWidth(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=lineNumberFor(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var i=r.measure.appendChild(elt("div",[elt("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(o,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",updateGutterSpace(e),!0}return!1}function calculateScrollPos(e,t){var n=e.display,r=textHeight(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=displayHeight(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+paddingVert(n),l=t.top<r,c=t.bottom>s-r;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,h=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>h;return p&&(t.right=t.left+h),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(p?0:10)):t.right>h+d-3&&(a.scrollLeft=t.right+(p?0:10)-h),a}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;scrollToCoordsRange(e,estimateCoords(e,t.from),estimateCoords(e,t.to),t.margin)}}function scrollToCoordsRange(e,t,n,r){var i=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});scrollToCoords(e,i.scrollLeft,i.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,r=e.display.barHeight;updateScrollbarsInner(e,t);for(var i=0;i<4&&n!=e.display.barWidth||r!=e.display.barHeight;i++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,r=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new de[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),G(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)},e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}function startOperation(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++he},function pushOperation(e){ae?ae.ops.push(e):e.ownsGroup=ae={ops:[e],delayedCallbacks:[]}}(e.curOp)}function endOperation(e){!function finishOperation(e,t){var n=e.ownsGroup;if(n)try{!function fireCallbacksForOps(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var i=e.ops[r];if(i.cursorActivityHandlers)for(;i.cursorActivityCalled<i.cursorActivityHandlers.length;)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(n<t.length)}(n)}finally{ae=null,t(n)}}(e.curOp,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function endOperations(e){for(var t=e.ops,n=0;n<t.length;n++)!function endOperation_R1(e){var t=e.cm,n=t.display;(function maybeClipScrollbars(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=scrollGap(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=scrollGap(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&findMaxLine(t);e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new pe(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}(t[n]);for(var r=0;r<t.length;r++)!function endOperation_W1(e){e.updatedDisplay=e.mustUpdate&&updateDisplayIfNeeded(e.cm,e.update)}(t[r]);for(var i=0;i<t.length;i++)!function endOperation_R2(e){var t=e.cm,n=t.display;e.updatedDisplay&&updateHeightsInViewport(t);e.barMeasure=measureForScrollbars(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=measureChar(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+scrollGap(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-displayWidth(t)));(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}(t[i]);for(var o=0;o<t.length;o++)!function endOperation_W2(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&setScrollLeft(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==activeElt();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n);(e.updatedDisplay||e.startHeight!=t.doc.height)&&updateScrollbars(t,e.barMeasure);e.updatedDisplay&&setDocumentHeight(t,e.barMeasure);e.selectionChanged&&restartBlink(t);t.state.focused&&e.updateInput&&t.display.input.reset(e.typing);n&&ensureFocus(e.cm)}(t[o]);for(var a=0;a<t.length;a++)!function endOperation_finish(e){var t=e.cm,n=t.display,r=t.doc;e.updatedDisplay&&postUpdateDisplay(t,e.update);null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null);null!=e.scrollTop&&setScrollTop(t,e.scrollTop,e.forceScroll);null!=e.scrollLeft&&setScrollLeft(t,e.scrollLeft,!0,!0);if(e.scrollToPos){var i=function scrollPosIntoView(e,t,n,r){null==r&&(r=0);var i;e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?Pos(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?Pos(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=cursorCoords(e,t),l=n&&n!=t?cursorCoords(e,n):s,c=calculateScrollPos(e,i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(updateScrollTop(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return i}(t,clipPos(r,e.scrollToPos.from),clipPos(r,e.scrollToPos.to),e.scrollToPos.margin);!function maybeScrollWindow(e,t){if(!signalDOMEvent(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),i=null;if(t.top+r.top<0?i=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!f){var o=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||signal(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&signal(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop);e.changeObjs&&signal(t,"changes",t,e.changeObjs);e.update&&e.update.finish()}(t[a])}(e)})}function runInOp(e,t){if(e.curOp)return t();startOperation(e);try{return t()}finally{endOperation(e)}}function operation(e,t){return function(){if(e.curOp)return t.apply(e,arguments);startOperation(e);try{return t.apply(e,arguments)}finally{endOperation(e)}}}function methodOp(e){return function(){if(this.curOp)return e.apply(this,arguments);startOperation(this);try{return e.apply(this,arguments)}finally{endOperation(this)}}}function docMethodOp(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);startOperation(t);try{return e.apply(this,arguments)}finally{endOperation(t)}}}function regChange(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var i=e.display;if(r&&n<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)B&&visualLineNo(e.doc,t)<i.viewTo&&resetView(e);else if(n<=i.viewFrom)B&&visualLineEndNo(e.doc,n+r)>i.viewFrom?resetView(e):(i.viewFrom+=r,i.viewTo+=r);else if(t<=i.viewFrom&&n>=i.viewTo)resetView(e);else if(t<=i.viewFrom){var o=viewCuttingPoint(e,n,n+r,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=r):resetView(e)}else if(n>=i.viewTo){var a=viewCuttingPoint(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):resetView(e)}else{var s=viewCuttingPoint(e,t,t,-1),l=viewCuttingPoint(e,n,n+r,1);s&&l?(i.view=i.view.slice(0,s.index).concat(buildViewArray(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=r):resetView(e)}var c=i.externalMeasured;c&&(n<c.lineN?c.lineN+=r:t<c.lineN+c.size&&(i.externalMeasured=null))}function regLineChange(e,t,n){e.curOp.viewChanged=!0;var r=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var o=r.view[findViewIndex(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==indexOf(a,n)&&a.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,r){var i,o=findViewIndex(e,t),a=e.display.view;if(!B||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(r>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,n+=i}for(;visualLineNo(e.doc,n)!=n;){if(o==(r<0?0:a.length-1))return null;n+=r*a[o-(r<0?1:0)].size,o+=r}return{index:o,lineN:n}}function countDirtyView(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var i=t[r];i.hidden||i.node&&!i.changes||++n}return n}function startWorker(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,bind(highlightWorker,e))}function highlightWorker(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=getContextBefore(e,t.highlightFrontier),i=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(r.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?copyState(t.mode,r.state):null,l=highlightLine(e,o,r,!0);s&&(r.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!d&&h<a.length;++h)d=a[h]!=o.styles[h];d&&i.push(r.line),o.stateAfter=r.save(),r.nextLine()}else o.text.length<=e.options.maxHighlightLength&&processLine(e,o.text,r),o.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return startWorker(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),i.length&&runInOp(e,function(){for(var t=0;t<i.length;t++)regLineChange(e,i[t],"text")})}}function updateDisplayIfNeeded(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return resetView(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var i=r.first+r.size,o=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(i,n.viewTo)),B&&(o=visualLineNo(e.doc,o),a=visualLineEndNo(e.doc,a));var s=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function adjustView(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=buildViewArray(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=buildViewArray(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(findViewIndex(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(buildViewArray(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,findViewIndex(e,n)))),r.viewTo=n}(e,o,a),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=countDirtyView(e);if(!s&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function selectionSnapshot(e){if(e.hasFocus())return null;var t=activeElt();if(!t||!contains(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&contains(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function patchDisplay(e,t,n){function rm(t){var n=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}var r=e.display,i=e.options.lineNumbers,o=r.lineDiv,a=o.firstChild;for(var s=r.view,c=r.viewFrom,u=0;u<s.length;u++){var d=s[u];if(d.hidden);else if(d.node&&d.node.parentNode==o){for(;a!=d.node;)a=rm(a);var h=i&&null!=t&&t<=c&&d.lineNumber;d.changes&&(indexOf(d.changes,"gutter")>-1&&(h=!1),updateLineForChanges(e,d,c,n)),h&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),a=d.node.nextSibling}else{var p=buildLineElement(e,d,c,n);o.insertBefore(p,a)}c+=d.size}for(;a;)a=rm(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function restoreSelection(e){if(e&&e.activeElt&&e.activeElt!=activeElt()&&(e.activeElt.focus(),e.anchorNode&&contains(document.body,e.anchorNode)&&contains(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);r=!1){updateHeightsInViewport(e);var i=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,i),setDocumentHeight(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new pe(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),n.finish()}}function updateGutterSpace(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function updateGutters(e){var t=e.display.gutters,n=e.options.gutters;removeChildren(t);for(var r=0;r<n.length;++r){var i=n[r],o=t.appendChild(elt("div",null,"CodeMirror-gutter "+i));"CodeMirror-linenumbers"==i&&(e.display.lineGutter=o,o.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=r?"":"none",updateGutterSpace(e)}function setGuttersForLineNumbers(e){var t=indexOf(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function wheelEventDelta(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function wheelEventPixels(e){var t=wheelEventDelta(e);return t.x*=me,t.y*=me,t}function onScrollWheel(e,t){var r=wheelEventDelta(t),i=r.x,o=r.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var h=t.target,p=a.view;h!=s;h=h.parentNode)for(var f=0;f<p.length;f++)if(p[f].node==h){e.display.currentWheelTarget=h;break e}if(i&&!n&&!d&&null!=me)return o&&u&&updateScrollTop(e,Math.max(0,s.scrollTop+o*me)),setScrollLeft(e,Math.max(0,s.scrollLeft+i*me)),(!o||o&&u)&&e_preventDefault(t),void(a.wheelStartX=null);if(o&&null!=me){var m=o*me,g=e.doc.scrollTop,v=g+a.wrapper.clientHeight;m<0?g=Math.max(0,g+m-50):v=Math.min(e.doc.height,v+m+50),updateDisplaySimple(e,{top:g,bottom:v})}fe<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout(function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(me=(me*fe+n)/(fe+1),++fe)}},200)):(a.wheelDX+=i,a.wheelDY+=o))}}function normalizeSelection(e,t){var n=e[t];e.sort(function(e,t){return cmp(e.from(),t.from())}),t=indexOf(e,n);for(var r=1;r<e.length;r++){var i=e[r],o=e[r-1];if(cmp(o.to(),i.from())>=0){var a=minPos(o.from(),i.from()),s=maxPos(o.to(),i.to()),l=o.empty()?i.from()==i.head:o.from()==o.head;r<=t&&--t,e.splice(--r,2,new ve(l?s:a,l?a:s))}}return new ge(e,t)}function simpleSelection(e,t){return new ge([new ve(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=changeEnd(t).ch-t.to.ch),Pos(n,r)}function computeSelAfterChange(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var i=e.sel.ranges[r];n.push(new ve(adjustForChange(i.anchor,t),adjustForChange(i.head,t)))}return normalizeSelection(n,e.sel.primIndex)}function offsetPos(e,t,n){return e.line==t.line?Pos(n.line,e.ch-t.ch+n.ch):Pos(n.line+(e.line-t.line),e.ch)}function loadMode(e){e.doc.mode=getMode(e.options,e.doc.modeOption),resetModeState(e)}function resetModeState(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,startWorker(e,100),e.state.modeGen++,e.curOp&&regChange(e)}function isWholeLineUpdate(e,t){return 0==t.from.ch&&0==t.to.ch&&""==lst(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function updateDoc(e,t,n,r){function spansFor(e){return n?n[e]:null}function update(e,n,i){!function updateLine(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),detachMarkedSpans(e),attachMarkedSpans(e,n);var i=r?r(e):1;i!=e.height&&updateLineHeight(e,i)}(e,n,i,r),signalLater(e,"change",e,t)}function linesFor(e,t){for(var n=[],i=e;i<t;++i)n.push(new ne(a[i],spansFor(i),r));return n}var i=t.from,o=t.to,a=t.text,s=getLine(e,i.line),l=getLine(e,o.line),c=lst(a),u=spansFor(a.length-1),d=o.line-i.line;if(t.full)e.insert(0,linesFor(0,a.length)),e.remove(a.length,e.size-a.length);else if(isWholeLineUpdate(e,t)){var h=linesFor(0,a.length-1);update(l,l.text,u),d&&e.remove(i.line,d),h.length&&e.insert(i.line,h)}else if(s==l)if(1==a.length)update(s,s.text.slice(0,i.ch)+c+s.text.slice(o.ch),u);else{var p=linesFor(1,a.length-1);p.push(new ne(c+s.text.slice(o.ch),u,r)),update(s,s.text.slice(0,i.ch)+a[0],spansFor(0)),e.insert(i.line+1,p)}else if(1==a.length)update(s,s.text.slice(0,i.ch)+a[0]+l.text.slice(o.ch),spansFor(0)),e.remove(i.line+1,d);else{update(s,s.text.slice(0,i.ch)+a[0],spansFor(0)),update(l,c+l.text.slice(o.ch),u);var f=linesFor(1,a.length-1);d>1&&e.remove(i.line+1,d-1),e.insert(i.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){function propagate(e,r,i){if(e.linked)for(var o=0;o<e.linked.length;++o){var a=e.linked[o];if(a.doc!=r){var s=i&&a.sharedHist;n&&!s||(t(a.doc,s),propagate(a.doc,e,s))}}}propagate(e,null,!0)}function attachDoc(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,estimateLineHeights(e),loadMode(e),setDirectionClass(e),e.options.lineWrapping||findMaxLine(e),e.options.mode=t.modeOption,regChange(e)}function setDirectionClass(e){("rtl"==e.doc.direction?addClass:k)(e.display.lineDiv,"CodeMirror-rtl")}function History(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function historyChangeFromChange(e,t){var n={from:copyPos(t.from),to:changeEnd(t),text:getBetween(e,t.from,t.to)};return attachLocalSpans(e,n,t.from.line,t.to.line+1),linkedDocs(e,function(e){return attachLocalSpans(e,n,t.from.line,t.to.line+1)},!0),n}function clearSelectionEvents(e){for(;e.length;){if(!lst(e).ranges)break;e.pop()}}function addChangeToHistory(e,t,n,r){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==r||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&i.lastModTime>s-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function lastChangeEvent(e,t){return t?(clearSelectionEvents(e.done),lst(e.done)):e.done.length&&!lst(e.done).ranges?lst(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}(i,i.lastOp==r)))a=lst(o.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,a.to)?a.to=changeEnd(t):o.changes.push(historyChangeFromChange(e,t));else{var l=lst(i.done);for(l&&l.ranges||pushSelectionToHistory(e.sel,i.done),o={changes:[historyChangeFromChange(e,t)],generation:i.generation},i.done.push(o);i.done.length>i.undoDepth;)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(n),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=r,i.lastOrigin=i.lastSelOrigin=t.origin,a||signal(e,"historyAdded")}function addSelectionToHistory(e,t,n,r){var i=e.history,o=r&&r.origin;n==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||function selectionEventCanBeMerged(e,t,n,r){var i=t.charAt(0);return"*"==i||"+"==i&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,lst(i.done),t))?i.done[i.done.length-1]=t:pushSelectionToHistory(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=n,r&&!1!==r.clearRedo&&clearSelectionEvents(i.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,r){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function mergeOldSpans(e,t){var n=function getOldSpans(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],i=0;i<t.text.length;++i)r.push(removeClearedSpans(n[i]));return r}(e,t),r=stretchSpansOverChange(e,t);if(!n)return r;if(!r)return n;for(var i=0;i<n.length;++i){var o=n[i],a=r[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(n[i]=a)}return n}function copyHistoryArray(e,t,n){for(var r=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)r.push(n?ge.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c)(u=d.match(/^spans_(\d+)$/))&&indexOf(t,Number(u[1]))>-1&&(lst(s)[d]=c[d],delete c[d])}}}return r}function extendRange(e,t,n,r){if(r){var i=e.anchor;if(n){var o=cmp(t,i)<0;o!=cmp(n,i)<0?(i=t,t=n):o!=cmp(t,n)<0&&(t=n)}return new ve(i,t)}return new ve(n||t,t)}function extendSelection(e,t,n,r,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new ge([extendRange(e.sel.primary(),t,n,i)],0),r)}function extendSelections(e,t,n){for(var r=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)r[o]=extendRange(e.sel.ranges[o],t[o],null,i);setSelection(e,normalizeSelection(r,e.sel.primIndex),n)}function replaceOneSelection(e,t,n,r){var i=e.sel.ranges.slice(0);i[t]=n,setSelection(e,normalizeSelection(i,e.sel.primIndex),r)}function setSimpleSelection(e,t,n,r){setSelection(e,simpleSelection(t,n),r)}function setSelectionReplaceHistory(e,t,n){var r=e.history.done,i=lst(r);i&&i.ranges?(r[r.length-1]=t,setSelectionNoUndo(e,t,n)):setSelection(e,t,n)}function setSelection(e,t,n){setSelectionNoUndo(e,t,n),addSelectionToHistory(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function setSelectionNoUndo(e,t,n){(hasHandler(e,"beforeSelectionChange")||e.cm&&hasHandler(e.cm,"beforeSelectionChange"))&&(t=function filterSelectionChange(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new ve(clipPos(e,t[n].anchor),clipPos(e,t[n].head))},origin:n&&n.origin};return signal(e,"beforeSelectionChange",e,r),e.cm&&signal(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?normalizeSelection(r.ranges,r.ranges.length-1):t}(e,t,n));setSelectionInner(e,skipAtomicInSelection(e,t,n&&n.bias||(cmp(t.primary().head,e.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!e.cm||ensureCursorVisible(e.cm)}function setSelectionInner(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,signalCursorActivity(e.cm)),signalLater(e,"cursorActivity",e))}function reCheckSelection(e){setSelectionInner(e,skipAtomicInSelection(e,e.sel,null,!1))}function skipAtomicInSelection(e,t,n,r){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=skipAtomic(e,a.anchor,s&&s.anchor,n,r),c=skipAtomic(e,a.head,s&&s.head,n,r);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new ve(l,c))}return i?normalizeSelection(i,t.primIndex):t}function skipAtomicInner(e,t,n,r,i){var o=getLine(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(i&&(signal(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var c=l.find(r<0?1:-1),u=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(c=movePos(e,c,-r,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=cmp(c,n))&&(r<0?u<0:u>0))return skipAtomicInner(e,c,t,r,i)}var d=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(d=movePos(e,d,r,d.line==t.line?o:null)),d?skipAtomicInner(e,d,t,r,i):null}}return t}function skipAtomic(e,t,n,r,i){var o=r||1,a=skipAtomicInner(e,t,n,o,i)||!i&&skipAtomicInner(e,t,n,o,!0)||skipAtomicInner(e,t,n,-o,i)||!i&&skipAtomicInner(e,t,n,-o,!0);return a||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(r||getLine(e,t.line)).text.length?t.line<e.first+e.size-1?Pos(t.line+1,0):null:new Pos(t.line,t.ch+n)}function selectAll(e){e.setSelection(Pos(e.firstLine(),0),Pos(e.lastLine()),D)}function filterChange(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,i,o){t&&(r.from=clipPos(e,t)),n&&(r.to=clipPos(e,n)),i&&(r.text=i),void 0!==o&&(r.origin=o)}),signal(e,"beforeChange",e,r),e.cm&&signal(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function makeChange(e,t,n){if(e.cm){if(!e.cm.curOp)return operation(e.cm,makeChange)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(hasHandler(e,"beforeChange")||e.cm&&hasHandler(e.cm,"beforeChange"))||(t=filterChange(e,t,!0))){var r=j&&!n&&function removeReadOnlyRanges(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=indexOf(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var i=[{from:t,to:n}],o=0;o<r.length;++o)for(var a=r[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(cmp(c.to,s.from)<0||cmp(c.from,s.to)>0)){var u=[l,1],d=cmp(c.from,s.from),h=cmp(c.to,s.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}(e,t.from,t.to);if(r)for(var i=r.length-1;i>=0;--i)makeChangeInner(e,{from:r[i].from,to:r[i].to,text:i?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var r=[];linkedDocs(e,function(e,n){n||-1!=indexOf(r,e.history)||(rebaseHist(e.history,t),r.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))})}}function makeChangeFromHistory(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var r,i=e.history,o=e.sel,a="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,l=0;l<a.length&&(r=a[l],n?!r.ranges||r.equals(e.sel):r.ranges);l++);if(l!=a.length){for(i.lastOrigin=i.lastSelOrigin=null;(r=a.pop()).ranges;){if(pushSelectionToHistory(r,s),n&&!r.equals(e.sel))return void setSelection(e,r,{clearRedo:!1});o=r}var c=[];pushSelectionToHistory(o,s),s.push({changes:c,generation:i.generation}),i.generation=r.generation||++i.maxGeneration;for(var u=hasHandler(e,"beforeChange")||e.cm&&hasHandler(e.cm,"beforeChange"),d=function(n){var i=r.changes[n];if(i.origin=t,u&&!filterChange(e,i,!1))return a.length=0,{};c.push(historyChangeFromChange(e,i));var o=n?computeSelAfterChange(e,i):lst(a);makeChangeSingleDoc(e,i,o,mergeOldSpans(e,i)),!n&&e.cm&&e.cm.scrollIntoView({from:i.from,to:changeEnd(i)});var s=[];linkedDocs(e,function(e,t){t||-1!=indexOf(s,e.history)||(rebaseHist(e.history,i),s.push(e.history)),makeChangeSingleDoc(e,i,null,mergeOldSpans(e,i))})},h=r.changes.length-1;h>=0;--h){var p=d(h);if(p)return p.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new ge(map(e.sel.ranges,function(e){return new ve(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)regLineChange(e.cm,r,"gutter")}}function makeChangeSingleDoc(e,t,n,r){if(e.cm&&!e.cm.curOp)return operation(e.cm,makeChangeSingleDoc)(e,t,n,r);if(t.to.line<e.first)shiftDoc(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);shiftDoc(e,i),t={from:Pos(e.first,0),to:Pos(t.to.line+i,t.to.ch),text:[lst(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:Pos(o,getLine(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?function makeChangeSingleDocInEditor(e,t,n){var r=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=lineNo(visualLine(getLine(r,o.line))),r.iter(l,a.line+1,function(e){if(e==i.maxLine)return s=!0,!0}));r.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e);updateDoc(r,t,n,estimateHeight(e)),e.options.lineWrapping||(r.iter(l,o.line+t.text.length,function(e){var t=lineLength(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0));(function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var i=getLine(e,r).stateAfter;if(i&&(!(i instanceof J)||r+i.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}})(r,o.line),startWorker(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?regChange(e):o.line!=a.line||1!=t.text.length||isWholeLineUpdate(e.doc,t)?regChange(e,o.line,a.line+1,c):regLineChange(e,o.line,"text");var u=hasHandler(e,"changes"),d=hasHandler(e,"change");if(d||u){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&signalLater(e,"change",e,h),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}(e.cm,t,r):updateDoc(e,t,r),setSelectionNoUndo(e,n,D)}}function replaceRange(e,t,n,r,i){if(r||(r=n),cmp(r,n)<0){var o;n=(o=[r,n])[0],r=o[1]}"string"==typeof t&&(t=e.splitLines(t)),makeChange(e,{from:n,to:r,text:t,origin:i})}function rebaseHistSelSingle(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function rebaseHistArray(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||((o=e[i]=o.deepCopy()).copied=!0);for(var s=0;s<o.ranges.length;s++)rebaseHistSelSingle(o.ranges[s].anchor,t,n,r),rebaseHistSelSingle(o.ranges[s].head,t,n,r)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(n<c.from.line)c.from=Pos(c.from.line+r,c.from.ch),c.to=Pos(c.to.line+r,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function rebaseHist(e,t){var n=t.from.line,r=t.to.line,i=t.text.length-(r-n)-1;rebaseHistArray(e.done,n,r,i),rebaseHistArray(e.undone,n,r,i)}function changeLine(e,t,n,r){var i=t,o=t;return"number"==typeof t?o=getLine(e,clipLine(e,t)):i=lineNo(t),null==i?null:(r(o,i)&&e.cm&&regLineChange(e.cm,i,n),o)}function LeafChunk(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function BranchChunk(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var i=e[r];t+=i.chunkSize(),n+=i.height,i.parent=this}this.size=t,this.height=n,this.parent=null}function adjustScrollWhenAboveVisible(e,t,n){heightAtLine(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&addToScrollTop(e,n)}function markText(e,t,n,r,i){if(r&&r.shared)return function markTextShared(e,t,n,r,i){(r=copyObj(r)).shared=!1;var o=[markText(e,t,n,r,i)],a=o[0],s=r.widgetNode;return linkedDocs(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),o.push(markText(e,clipPos(e,t),clipPos(e,n),r,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=lst(o)}),new be(o,a)}(e,t,n,r,i);if(e.cm&&!e.cm.curOp)return operation(e.cm,markText)(e,t,n,r,i);var o=new Ce(e,i),a=cmp(t,n);if(r&&copyObj(r,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=eltP("span",[o.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,o)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){B=!0}()}o.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,n.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&updateLineHeight(e,0),function addMarkedSpan(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new MarkedSpan(o,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),o.collapsed&&e.iter(t.line,n.line+1,function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)}),o.clearOnEnter&&G(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(!function seeReadOnlySpans(){j=!0}(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xe,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)regChange(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");o.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,o)}return o}function findSharedMarkers(e){return e.findMarks(Pos(e.first,0),e.clipPos(Pos(e.lastLine())),function(e){return e.parent})}function detachSharedMarkers(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];linkedDocs(n.primary.doc,function(e){return r.push(e)});for(var i=0;i<n.markers.length;i++){var o=n.markers[i];-1==indexOf(r,o.doc)&&(o.parent=null,n.markers.splice(i--,1))}},n=0;n<e.length;n++)t(n)}function onDrop(e){var t=this;if(clearDragCursor(t),!signalDOMEvent(t,e)&&!eventInWidget(t.display,e)){e_preventDefault(e),a&&(Le=+new Date);var n=posFromMouse(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var i=r.length,o=Array(i),s=0,l=function(e,r){if(!t.options.allowDropFileTypes||-1!=indexOf(t.options.allowDropFileTypes,e.type)){var a=new FileReader;a.onload=operation(t,function(){var e=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[r]=e,++s==i){var l={from:n=clipPos(t.doc,n),to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};makeChange(t.doc,l),setSelectionReplaceHistory(t.doc,simpleSelection(n,changeEnd(l)))}}),a.readAsText(e)}},c=0;c<i;++c)l(r[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),d)for(var h=0;h<d.length;++h)replaceRange(t.doc,"",d[h].anchor,d[h].head,"drag");t.replaceSelection(u,"around","paste"),t.display.input.focus()}}catch(e){}}}}function clearDragCursor(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function forEachCodeMirror(e){if(document.getElementsByClassName)for(var t=document.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}function ensureGlobalHandlers(){ke||(!function registerGlobalHandlers(){var e;G(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,forEachCodeMirror(onResize)},100))}),G(window,"blur",function(){return forEachCodeMirror(onBlur)})}(),ke=!0)}function onResize(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function normalizeKeyName(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var n,r,i,o,a=0;a<t.length-1;a++){var s=t[a];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))n=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);i=!0}}return n&&(e="Alt-"+e),r&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),i&&(e="Shift-"+e),e}function normalizeKeyMap(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var i=map(n.split(" "),normalizeKeyName),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=r):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function lookupKey(e,t,n,r){var i=(t=getKeyMap(t)).call?t.call(e,r):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&n(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return lookupKey(e,t.fallthrough,n,r);for(var o=0;o<t.fallthrough.length;o++){var a=lookupKey(e,t.fallthrough[o],n,r);if(a)return a}}}function isModifierKey(e){var t="string"==typeof e?e:Me[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function addModifierNames(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(w?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(w?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function keyName(e,t){if(d&&34==e.keyCode&&e.char)return!1;var n=Me[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),addModifierNames(n,e,t))}function getKeyMap(e){return"string"==typeof e?Ae[e]:e}function deleteNearSelection(e,t){for(var n=e.doc.sel.ranges,r=[],i=0;i<n.length;i++){for(var o=t(n[i]);r.length&&cmp(o.from,lst(r).to)<=0;){var a=r.pop();if(cmp(a.from,o.from)<0){o.from=a.from;break}}r.push(o)}runInOp(e,function(){for(var t=r.length-1;t>=0;t--)replaceRange(e.doc,"",r[t].from,r[t].to,"+delete");ensureCursorVisible(e)})}function moveCharLogically(e,t,n){var r=skipExtendingChars(e.text,t+n,n);return r<0||r>e.text.length?null:r}function moveLogically(e,t,n){var r=moveCharLogically(e,t.ch,n);return null==r?null:new Pos(t.line,r,n<0?"after":"before")}function endOfLine(e,t,n,r,i){if(e){var o=getOrder(n,t.doc.direction);if(o){var a,s=i<0?lst(o):o[0],l=i<0==(1==s.level)?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=prepareMeasureForLine(t,n);a=i<0?n.text.length-1:0;var u=measureCharPrepared(t,c,a).top;a=findFirst(function(e){return measureCharPrepared(t,c,e).top==u},i<0==(1==s.level)?s.from:s.to-1,a),"before"==l&&(a=moveCharLogically(n,a,1))}else a=i<0?s.to:s.from;return new Pos(r,a,l)}}return new Pos(r,i<0?n.text.length:0,i<0?"before":"after")}function lineStart(e,t){var n=getLine(e.doc,t),r=visualLine(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,r,t,1)}function lineEnd(e,t){var n=getLine(e.doc,t),r=function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=lineNo(r)),endOfLine(!0,e,n,t,-1)}function lineStartSmart(e,t){var n=lineStart(e,t.line),r=getLine(e.doc,n.line),i=getOrder(r,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Pos(n.line,a?0:o,n.sticky)}return n}function doHandleBinding(e,t,n){if("string"==typeof t&&!(t=Ne[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),i=t(e)!=N}finally{e.display.shift=r,e.state.suppressEdits=!1}return i}function dispatchKey(e,t,n,r){var i=e.state.keySeq;if(i){if(isModifierKey(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:De.set(50,function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())}),dispatchKeyInner(e,i+" "+t,n,r))return!0}return dispatchKeyInner(e,t,n,r)}function dispatchKeyInner(e,t,n,r){var i=function lookupKeyForEditor(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var i=lookupKey(t,e.state.keyMaps[r],n,e);if(i)return i}return e.options.extraKeys&&lookupKey(t,e.options.extraKeys,n,e)||lookupKey(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&signalLater(e,"keyHandled",e,t,n),"handled"!=i&&"multi"!=i||(e_preventDefault(n),restartBlink(e)),!!i}function handleKeyBinding(e,t){var n=keyName(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?dispatchKey(e,"Shift-"+n,t,function(t){return doHandleBinding(e,t,!0)})||dispatchKey(e,n,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return doHandleBinding(e,t)}):dispatchKey(e,n,t,function(t){return doHandleBinding(e,t)}))}function onKeyDown(e){if(this.curOp.focus=activeElt(),!signalDOMEvent(this,e)){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var t=e.keyCode;this.display.shift=16==t||e.shiftKey;var n=handleKeyBinding(this,e);d&&(He=n?t:null,!n&&88==t&&!_&&(y?e.metaKey:e.ctrlKey)&&this.replaceSelection("",null,"cut")),18!=t||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||function showCrossHair(e){function up(e){18!=e.keyCode&&e.altKey||(k(t,"CodeMirror-crosshair"),off(document,"keyup",up),off(document,"mouseover",up))}var t=e.display.lineDiv;addClass(t,"CodeMirror-crosshair");G(document,"keyup",up),G(document,"mouseover",up)}(this)}}function onKeyUp(e){16==e.keyCode&&(this.doc.sel.shift=!1),signalDOMEvent(this,e)}function onKeyPress(e){if(!(eventInWidget(this.display,e)||signalDOMEvent(this,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var t=e.keyCode,n=e.charCode;if(d&&t==He)return He=null,void e_preventDefault(e);if(!d||e.which&&!(e.which<10)||!handleKeyBinding(this,e)){var r=String.fromCharCode(null==n?t:n);"\b"!=r&&(function handleCharBinding(e,t,n){return dispatchKey(e,"'"+n+"'",t,function(t){return doHandleBinding(e,t,!0)})}(this,e,r)||this.display.input.onKeyPress(e))}}}function onMouseDown(e){var t=this.display;if(!(signalDOMEvent(this,e)||t.activeTouch&&t.input.supportsTouch()))if(t.input.ensurePolled(),t.shift=e.shiftKey,eventInWidget(t,e))l||(t.scroller.draggable=!1,setTimeout(function(){return t.scroller.draggable=!0},100));else if(!clickInGutter(this,e)){var n=posFromMouse(this,e),r=e_button(e),i=n?function clickRepeat(e,t){var n=+new Date;return Ie&&Ie.compare(n,e,t)?(We=Ie=null,"triple"):We&&We.compare(n,e,t)?(Ie=new Fe(n,e,t),We=null,"double"):(We=new Fe(n,e,t),Ie=null,"single")}(n,r):"single";window.focus(),1==r&&this.state.selectingText&&this.state.selectingText(e),n&&function handleMappedButton(e,t,n,r,i){var o="Click";"double"==r?o="Double"+o:"triple"==r&&(o="Triple"+o);return o=(1==t?"Left":2==t?"Middle":"Right")+o,dispatchKey(e,addModifierNames(o,i),i,function(t){if("string"==typeof t&&(t=Ne[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=N}finally{e.state.suppressEdits=!1}return r})}(this,r,n,i,e)||(1==r?n?function leftButtonDown(e,t,n,r){a?setTimeout(bind(ensureFocus,e),0):e.curOp.focus=activeElt();var i,o=function configureMouse(e,t,n){var r=e.getOption("configureMouse"),i=r?r(e,t,n):{};if(null==i.unit){var o=x?n.shiftKey&&n.metaKey:n.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||n.shiftKey);null==i.addNew&&(i.addNew=y?n.metaKey:n.ctrlKey);null==i.moveOnDrag&&(i.moveOnDrag=!(y?n.altKey:n.ctrlKey));return i}(e,n,r),c=e.doc.sel;e.options.dragDrop&&K&&!e.isReadOnly()&&"single"==n&&(i=c.contains(t))>-1&&(cmp((i=c.ranges[i]).from(),t)<0||t.xRel>0)&&(cmp(i.to(),t)>0||t.xRel<0)?function leftButtonStartDrag(e,t,n,r){var i=e.display,o=!1,c=operation(e,function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,off(document,"mouseup",c),off(document,"mousemove",u),off(i.scroller,"dragstart",d),off(i.scroller,"drop",c),o||(e_preventDefault(t),r.addNew||extendSelection(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout(function(){document.body.focus(),i.input.focus()},20):i.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};l&&(i.scroller.draggable=!0);e.state.draggingText=c,c.copy=!r.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop();G(document,"mouseup",c),G(document,"mousemove",u),G(i.scroller,"dragstart",d),G(i.scroller,"drop",c),delayBlurEvent(e),setTimeout(function(){return i.input.focus()},20)}(e,r,t,o):function leftButtonSelect(e,t,n,r){function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==r.unit){for(var i=[],c=e.options.tabSize,u=countColumn(getLine(o,n.line).text,n.ch,c),h=countColumn(getLine(o,t.line).text,t.ch,c),p=Math.min(u,h),f=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=getLine(o,m).text,y=findColumn(v,p,c);p==f?i.push(new ve(Pos(m,y),Pos(m,y))):v.length>y&&i.push(new ve(Pos(m,y),Pos(m,findColumn(v,f,c))))}i.length||i.push(new ve(n,n)),setSelection(o,normalizeSelection(l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x,C=a,b=rangeForUnit(e,t,r.unit),S=C.anchor;cmp(b.anchor,S)>0?(x=b.head,S=minPos(C.from(),b.anchor)):(x=b.anchor,S=maxPos(C.to(),b.head));var w=l.ranges.slice(0);w[s]=function bidiSimplify(e,t){var n=t.anchor,r=t.head,i=getLine(e.doc,n.line);if(0==cmp(n,r)&&n.sticky==r.sticky)return t;var o=getOrder(i);if(!o)return t;var a=getBidiPartAt(o,n.ch,n.sticky),s=o[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==l||l==o.length)return t;var c;if(r.line!=n.line)c=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(o,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==s.level?-1:1);c=u==l-1||u==l?d<0:d>0}var h=o[l+(c?-1:0)],p=c==(1==h.level),f=p?h.from:h.to,m=p?"after":"before";return n.ch==f&&n.sticky==m?t:new ve(new Pos(n.line,f,m),r)}(e,new ve(clipPos(o,S),x)),setSelection(o,normalizeSelection(w,s),H)}}function extend(t){var n=++p,a=posFromMouse(e,t,!0,"rectangle"==r.unit);if(a)if(0!=cmp(a,d)){e.curOp.focus=activeElt(),extendTo(a);var s=visibleLines(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(operation(e,function(){p==n&&extend(t)}),150)}else{var l=t.clientY<h.top?-20:t.clientY>h.bottom?20:0;l&&setTimeout(operation(e,function(){p==n&&(i.scroller.scrollTop+=l,extend(t))}),50)}}function done(t){e.state.selectingText=!1,p=1/0,e_preventDefault(t),i.input.focus(),off(document,"mousemove",f),off(document,"mouseup",m),o.history.lastSelOrigin=null}var i=e.display,o=e.doc;e_preventDefault(t);var a,s,l=o.sel,c=l.ranges;r.addNew&&!r.extend?(s=o.sel.contains(n),a=s>-1?c[s]:new ve(n,n)):(a=o.sel.primary(),s=o.sel.primIndex);if("rectangle"==r.unit)r.addNew||(a=new ve(n,n)),n=posFromMouse(e,t,!0,!0),s=-1;else{var u=rangeForUnit(e,n,r.unit);a=r.extend?extendRange(a,u.anchor,u.head,r.extend):u}r.addNew?-1==s?(s=c.length,setSelection(o,normalizeSelection(c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==r.unit&&!r.extend?(setSelection(o,normalizeSelection(c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):replaceOneSelection(o,s,a,H):(s=0,setSelection(o,new ge([a],0),H),l=o.sel);var d=n;var h=i.wrapper.getBoundingClientRect(),p=0;var f=operation(e,function(e){e_button(e)?extend(e):done(e)}),m=operation(e,done);e.state.selectingText=m,G(document,"mousemove",f),G(document,"mouseup",m)}(e,r,t,o)}(this,n,i,e):e_target(e)==t.scroller&&e_preventDefault(e):2==r?(n&&extendSelection(this.doc,n),setTimeout(function(){return t.input.focus()},20)):3==r&&(L?onContextMenu(this,e):delayBlurEvent(this)))}}function rangeForUnit(e,t,n){if("char"==n)return new ve(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ve(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var r=n(e,t);return new ve(r.from,r.to)}function gutterEvent(e,t,n,r){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(t){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&e_preventDefault(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!hasHandler(e,n))return e_defaultPrevented(t);o-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){return signal(e,n,e,lineAtHeight(e.doc,o),e.options.gutters[l],t),e_defaultPrevented(t)}}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||function contextMenuInGutter(e,t){if(!hasHandler(e,"gutterContextMenu"))return!1;return gutterEvent(e,t,"gutterContextMenu",!1)}(e,t)||signalDOMEvent(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}function guttersChanged(e){updateGutters(e),regChange(e),alignHorizontally(e)}function dragDropChanged(e,t,n){if(!t!=!(n&&n!=Ee)){var r=e.display.dragFunctions,i=t?G:off;i(e.display.scroller,"dragstart",r.start),i(e.display.scroller,"dragenter",r.enter),i(e.display.scroller,"dragover",r.over),i(e.display.scroller,"dragleave",r.leave),i(e.display.scroller,"drop",r.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(k(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout(function(){return updateScrollbars(e)},100)}function CodeMirror$1(e,t){var r=this;if(!(this instanceof CodeMirror$1))return new CodeMirror$1(e,t);this.options=t=t?copyObj(t):{},copyObj(je,t,!1),setGuttersForLineNumbers(t);var i=t.value;"string"==typeof i&&(i=new we(i,t.mode,null,t.lineSeparator,t.direction)),this.doc=i;var o=new CodeMirror$1.inputStyles[t.inputStyle](this),c=this.display=new function Display(e,t,r){this.input=r,this.scrollbarFiller=elt("div",null,"CodeMirror-scrollbar-filler"),this.scrollbarFiller.setAttribute("cm-not-content","true"),this.gutterFiller=elt("div",null,"CodeMirror-gutter-filler"),this.gutterFiller.setAttribute("cm-not-content","true"),this.lineDiv=eltP("div",null,"CodeMirror-code"),this.selectionDiv=elt("div",null,null,"position: relative; z-index: 1"),this.cursorDiv=elt("div",null,"CodeMirror-cursors"),this.measure=elt("div",null,"CodeMirror-measure"),this.lineMeasure=elt("div",null,"CodeMirror-measure"),this.lineSpace=eltP("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");var i=eltP("div",[this.lineSpace],"CodeMirror-lines");this.mover=elt("div",[i],null,"position: relative"),this.sizer=elt("div",[this.mover],"CodeMirror-sizer"),this.sizerWidth=null,this.heightForcer=elt("div",null,null,"position: absolute; height: "+A+"px; width: 1px;"),this.gutters=elt("div",null,"CodeMirror-gutters"),this.lineGutter=null,this.scroller=elt("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll"),this.scroller.setAttribute("tabIndex","-1"),this.wrapper=elt("div",[this.scrollbarFiller,this.gutterFiller,this.scroller],"CodeMirror"),a&&s<8&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0),l||n&&v||(this.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(this.wrapper):e(this.wrapper)),this.viewFrom=this.viewTo=t.first,this.reportedViewFrom=this.reportedViewTo=t.first,this.view=[],this.renderedView=null,this.externalMeasured=null,this.viewOffset=0,this.lastWrapHeight=this.lastWrapWidth=0,this.updateLineNumbers=null,this.nativeBarWidth=this.barHeight=this.barWidth=0,this.scrollbarsClipped=!1,this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null,this.alignWidgets=!1,this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null,this.maxLine=null,this.maxLineLength=0,this.maxLineChanged=!1,this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null,this.shift=!1,this.selForContextMenu=null,this.activeTouch=null,r.init(this)}(e,i,o);c.wrapper.CodeMirror=this,updateGutters(this),themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new T,keySeq:null,specialChars:null},t.autofocus&&!v&&c.input.focus(),a&&s<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function registerEventHandlers(e){function finishTouch(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function farAway(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}var t=e.display;G(t.scroller,"mousedown",operation(e,onMouseDown)),G(t.scroller,"dblclick",a&&s<11?operation(e,function(t){if(!signalDOMEvent(e,t)){var n=posFromMouse(e,t);if(n&&!clickInGutter(e,t)&&!eventInWidget(e.display,t)){e_preventDefault(t);var r=e.findWordAt(n);extendSelection(e.doc,r.anchor,r.head)}}}):function(t){return signalDOMEvent(e,t)||e_preventDefault(t)});L||G(t.scroller,"contextmenu",function(t){return onContextMenu(e,t)});var n,r={end:0};G(t.scroller,"touchstart",function(i){if(!signalDOMEvent(e,i)&&!function isMouseLikeTouchEvent(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(i)&&!clickInGutter(e,i)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-r.end<=300?r:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}}),G(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),G(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!eventInWidget(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var i,o=e.coordsChar(t.activeTouch,"page");i=!r.prev||farAway(r,r.prev)?new ve(o,o):!r.prev.prev||farAway(r,r.prev.prev)?e.findWordAt(o):new ve(Pos(o.line,0),clipPos(e.doc,Pos(o.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),e_preventDefault(n)}finishTouch()}),G(t.scroller,"touchcancel",finishTouch),G(t.scroller,"scroll",function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))}),G(t.scroller,"mousewheel",function(t){return onScrollWheel(e,t)}),G(t.scroller,"DOMMouseScroll",function(t){return onScrollWheel(e,t)}),G(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(!function onDragOver(e,t){var n=posFromMouse(e,t);if(n){var r=document.createDocumentFragment();drawSelectionCursor(e,n,r),e.display.dragCursor||(e.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),removeChildrenAndAdd(e.display.dragCursor,r)}}(e,t),e_stop(t))},start:function(t){return function onDragStart(e,t){if(a&&(!e.state.draggingText||+new Date-Le<100))e_stop(t);else if(!signalDOMEvent(e,t)&&!eventInWidget(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=elt("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var i=t.input.getField();G(i,"keyup",function(t){return onKeyUp.call(e,t)}),G(i,"keydown",operation(e,onKeyDown)),G(i,"keypress",operation(e,onKeyPress)),G(i,"focus",function(t){return onFocus(e,t)}),G(i,"blur",function(t){return onBlur(e,t)})}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,i),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this);for(var u in Be)Be.hasOwnProperty(u)&&Be[u](r,t[u],Ee);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var p=0;p<Re.length;++p)Re[p](r);endOperation(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(c.lineDiv).textRendering&&(c.lineDiv.style.textRendering="auto")}function indentLine(e,t,n,r){var i,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?i=getContextBefore(e,t).state:n="prev");var a=e.options.tabSize,s=getLine(o,t),l=countColumn(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((c=o.mode.indent(i,s.text.slice(u.length),s.text))==N||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?countColumn(getLine(o,t-1).text,null,a):0:"add"==n?c=l+e.options.indentUnit:"subtract"==n?c=l-e.options.indentUnit:"number"==typeof n&&(c=l+n),c=Math.max(0,c);var d="",h=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/a);p;--p)h+=a,d+="\t";if(h<c&&(d+=spaceStr(c-h)),d!=u)return replaceRange(o,d,Pos(t,0),Pos(t,u.length),"+input"),s.stateAfter=null,!0;for(var f=0;f<o.sel.ranges.length;f++){var m=o.sel.ranges[f];if(m.head.line==t&&m.head.ch<u.length){var g=Pos(t,u.length);replaceOneSelection(o,f,new ve(g,g));break}}}function setLastCopied(e){ze=e}function applyTextInput(e,t,n,r,i){var o=e.doc;e.display.shift=!1,r||(r=o.sel);var a=e.state.pasteIncoming||"paste"==i,s=U(t),l=null;if(a&&r.ranges.length>1)if(ze&&ze.text.join("\n")==t){if(r.ranges.length%ze.text.length==0){l=[];for(var c=0;c<ze.text.length;c++)l.push(o.splitLines(ze.text[c]))}}else s.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(l=map(s,function(e){return[e]}));for(var u,d=r.ranges.length-1;d>=0;d--){var h=r.ranges[d],p=h.from(),f=h.to();h.empty()&&(n&&n>0?p=Pos(p.line,p.ch-n):e.state.overwrite&&!a?f=Pos(f.line,Math.min(getLine(o,f.line).text.length,f.ch+lst(s).length)):ze&&ze.lineWise&&ze.text.join("\n")==t&&(p=f=Pos(p.line,0))),u=e.curOp.updateInput;var m={from:p,to:f,text:l?l[d%l.length]:s,origin:i||(a?"paste":e.state.cutIncoming?"cut":"+input")};makeChange(e.doc,m),signalLater(e,"inputRead",e,m)}t&&!a&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,function(){return applyTextInput(t,n,0,null,"paste")}),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var i=n.ranges[r];if(!(i.head.ch>100||r&&n.ranges[r-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=indentLine(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(getLine(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=indentLine(e,i.head.line,"smart"));a&&signalLater(e,"electricInput",e,i.head.line)}}}function copyableRanges(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var i=e.doc.sel.ranges[r].head.line,o={anchor:Pos(i,0),head:Pos(i+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function disableBrowserMagic(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function hiddenTextarea(){var e=elt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=elt("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),disableBrowserMagic(e),t}function findPosH(e,t,n,r,i){function moveOnce(r){var o;if(null==(o=i?function moveVisually(e,t,n,r){var i=getOrder(t,e.doc.direction);if(!i)return moveLogically(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=getBidiPartAt(i,n.ch,n.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return moveLogically(t,n,r);var s,l=function(e,n){return moveCharLogically(t,e instanceof Pos?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(s=s||prepareMeasureForLine(e,t),wrappedLineExtentChar(e,t,s,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==r<0,h=l(n,d?1:-1);if(null!=h&&(d?h<=a.to&&h<=u.end:h>=a.from&&h>=u.begin)){var p=d?"before":"after";return new Pos(n.line,h,p)}}var f=function(e,t,r){for(var o=function(e,t){return t?new Pos(n.line,l(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?r.begin:l(r.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),r.begin<=c&&c<r.end)return o(c,s)}},m=f(o+r,r,u);if(m)return m;var g=r>0?u.end:l(u.begin,-1);return null==g||r>0&&g==t.text.length||!(m=f(r>0?0:i.length-1,r,c(g)))?null:m}(e.cm,s,t,n):moveLogically(s,t,n))){if(r||!function findNextLine(){var r=t.line+n;return!(r<e.first||r>=e.first+e.size)&&(t=new Pos(r,t.ch,t.sticky),s=getLine(e,r))}())return!1;t=endOfLine(i,e.cm,s,t.line,n)}else t=o;return!0}var o=t,a=n,s=getLine(e,t.line);if("char"==r)moveOnce();else if("column"==r)moveOnce(!0);else if("word"==r||"group"==r)for(var l=null,c="group"==r,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var h=s.text.charAt(t.ch)||"\n",p=isWordChar(h,u)?"w":c&&"\n"==h?"n":!c||/\s/.test(h)?null:"p";if(!c||d||p||(p="s"),l&&l!=p){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(p&&(l=p),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,o,a,!0);return equalCursorPos(o,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,r){var i,o=e.doc,a=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),l=Math.max(s-.5*textHeight(e.display),3);i=(n>0?t.bottom:t.top)+n*l}else"line"==r&&(i=n>0?t.bottom+3:t.top-3);for(var c;(c=coordsChar(e,a,i)).outside;){if(n<0?i<=0:i>=o.height){c.hitSide=!0;break}i+=5*n}return c}function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var r=getLine(e.doc,t.line),i=mapFromLineView(n,r,t.line),o=getOrder(r,e.doc.direction),a="left";if(o){a=getBidiPartAt(o,t.ch)%2?"right":"left"}var s=nodeAndOffsetInLineMap(i.map,t.ch,a);return s.offset="right"==s.collapse?s.end:s.start,s}function badPos(e,t){return t&&(e.bad=!0),e}function domToPos(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return badPos(e.clipPos(Pos(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==r)return function locateNodeInLineView(e,t,n){function find(t,n,r){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==n){var u=lineNo(i<0?e.line:e.rest[i]),d=o[a]+r;return(r<0||s!=t)&&(d=o[a+(r?1:0)]),Pos(u,d)}}}var r=e.text.firstChild,i=!1;if(!t||!contains(r,t))return badPos(Pos(lineNo(e.line),0),!0);if(t==r&&(i=!0,t=r.childNodes[n],n=0,!t)){var o=e.rest?lst(e.rest):e.line;return badPos(Pos(lineNo(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));for(;s.parentNode!=r;)s=s.parentNode;var l=e.measure,c=l.maps;var u=find(a,s,n);if(u)return badPos(u,i);for(var d=s.nextSibling,h=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(u=find(d,d.firstChild,0))return badPos(Pos(u.line,u.ch-h),i);h+=d.textContent.length}for(var p=s.previousSibling,f=n;p;p=p.previousSibling){if(u=find(p,p.firstChild,-1))return badPos(Pos(u.line,u.ch+f),i);f+=p.textContent.length}}(o,t,n)}}var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=r||i||o,s=a&&(r?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),f=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),x=/\bCrOS\b/.test(e),C=/win/i.test(t),b=d&&e.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(d=!1,l=!0);var S,w=y&&(c||d&&(null==b||b<12.11)),L=n||a&&s>=9,k=function(e,t){var n=e.className,r=classTest(t).exec(n);if(r){var i=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(i?r[1]+i:"")}};S=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var M=function(e){e.select()};m?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(e){}});var T=function(){this.id=null};T.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var P,O,A=30,N={toString:function(){return"CodeMirror.Pass"}},D={scroll:!1},H={origin:"*mouse"},F={origin:"+move"},W=[""],I=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,E=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,j=!1,B=!1,R=null,z=function(){function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,i=/[LRr]/,o=/[Lb1n]/,a=/[1n]/;return function(e,t){var s="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var l=e.length,c=[],u=0;u<l;++u)c.push(charType(e.charCodeAt(u)));for(var d=0,h=s;d<l;++d){var p=c[d];"m"==p?c[d]=h:h=p}for(var f=0,m=s;f<l;++f){var g=c[f];"1"==g&&"r"==m?c[f]="n":i.test(g)&&(m=g,"r"==g&&(c[f]="R"))}for(var v=1,y=c[0];v<l-1;++v){var x=c[v];"+"==x&&"1"==y&&"1"==c[v+1]?c[v]="1":","!=x||y!=c[v+1]||"1"!=y&&"n"!=y||(c[v]=y),y=x}for(var C=0;C<l;++C){var b=c[C];if(","==b)c[C]="N";else if("%"==b){var S=void 0;for(S=C+1;S<l&&"%"==c[S];++S);for(var w=C&&"!"==c[C-1]||S<l&&"1"==c[S]?"1":"N",L=C;L<S;++L)c[L]=w;C=S-1}}for(var k=0,M=s;k<l;++k){var T=c[k];"L"==M&&"1"==T?c[k]="L":i.test(T)&&(M=T)}for(var P=0;P<l;++P)if(r.test(c[P])){var O=void 0;for(O=P+1;O<l&&r.test(c[O]);++O);for(var A="L"==(P?c[P-1]:s),N=A==("L"==(O<l?c[O]:s))?A?"L":"R":s,D=P;D<O;++D)c[D]=N;P=O-1}for(var H,F=[],W=0;W<l;)if(o.test(c[W])){var I=W;for(++W;W<l&&o.test(c[W]);++W);F.push(new BidiSpan(0,I,W))}else{var E=W,j=F.length;for(++W;W<l&&"L"!=c[W];++W);for(var B=E;B<W;)if(a.test(c[B])){E<B&&F.splice(j,0,new BidiSpan(1,E,B));var R=B;for(++B;B<W&&a.test(c[B]);++B);F.splice(j,0,new BidiSpan(2,R,B)),E=B}else++B;E<W&&F.splice(j,0,new BidiSpan(1,E,W))}return"ltr"==t&&(1==F[0].level&&(H=e.match(/^\s+/))&&(F[0].from=H[0].length,F.unshift(new BidiSpan(0,0,H[0].length))),1==lst(F).level&&(H=e.match(/\s+$/))&&(lst(F).to-=H[0].length,F.push(new BidiSpan(0,l-H[0].length,l)))),"rtl"==t?F.reverse():F}}(),V=[],G=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||V).concat(n)}},K=function(){if(a&&s<9)return!1;var e=elt("div");return"draggable"in e||"dragDrop"in e}(),U=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=i+1)}return n}:function(e){return e.split(/\r\n?|\n/)},q=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},_=function(){var e=elt("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),$=null,X={},Y={},Q={},Z=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Z.prototype.eol=function(){return this.pos>=this.string.length},Z.prototype.sol=function(){return this.pos==this.lineStart},Z.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Z.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Z.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Z.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Z.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Z.prototype.skipToEnd=function(){this.pos=this.string.length},Z.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Z.prototype.backUp=function(e){this.pos-=e},Z.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},Z.prototype.indentation=function(){return countColumn(this.string,null,this.tabSize)-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},Z.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var i=function(e){return n?e.toLowerCase():e};if(i(this.string.substr(this.pos,e.length))==i(e))return!1!==t&&(this.pos+=e.length),!0},Z.prototype.current=function(){return this.string.slice(this.start,this.pos)},Z.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Z.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Z.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var J=function(e,t){this.state=e,this.lookAhead=t},ee=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};ee.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ee.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ee.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ee.fromSaved=function(e,t,n){return t instanceof J?new ee(e,copyState(e.mode,t.state),n,t.lookAhead):new ee(e,copyState(e.mode,t),n)},ee.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new J(t,this.maxLookAhead):t};var te=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},ne=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};ne.prototype.lineNo=function(){return lineNo(this)},eventMixin(ne);var re,ie={},oe={},ae=null,se=null,le={left:0,right:0,top:0,bottom:0},ce=function(e,t,n){this.cm=n;var r=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(i),G(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),G(i,"scroll",function(){i.clientWidth&&t(i.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ce.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var i=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},ce.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ce.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ce.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new T,this.disableVert=new T},ce.prototype.enableZeroWidthBar=function(e,t,n){function maybeDisable(){var r=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(r.right-1,(r.top+r.bottom)/2):document.elementFromPoint((r.right+r.left)/2,r.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)}e.style.pointerEvents="auto",t.set(1e3,maybeDisable)},ce.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ue=function(){};ue.prototype.update=function(){return{bottom:0,right:0}},ue.prototype.setScrollLeft=function(){},ue.prototype.setScrollTop=function(){},ue.prototype.clear=function(){};var de={native:ce,null:ue},he=0,pe=function(e,t,n){var r=e.display;this.viewport=t,this.visible=visibleLines(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=displayWidth(e),this.force=n,this.dims=getDimensions(e),this.events=[]};pe.prototype.signal=function(e,t){hasHandler(e,t)&&this.events.push(arguments)},pe.prototype.finish=function(){for(var e=0;e<this.events.length;e++)signal.apply(null,this.events[e])};var fe=0,me=null;a?me=-.53:n?me=15:u?me=-.7:h&&(me=-1/3);var ge=function(e,t){this.ranges=e,this.primIndex=t};ge.prototype.primary=function(){return this.ranges[this.primIndex]},ge.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!equalCursorPos(n.anchor,r.anchor)||!equalCursorPos(n.head,r.head))return!1}return!0},ge.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ve(copyPos(this.ranges[t].anchor),copyPos(this.ranges[t].head));return new ge(e,this.primIndex)},ge.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ge.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(cmp(t,r.from())>=0&&cmp(e,r.to())<=0)return n}return-1};var ve=function(e,t){this.anchor=e,this.head=t};ve.prototype.from=function(){return minPos(this.anchor,this.head)},ve.prototype.to=function(){return maxPos(this.anchor,this.head)},ve.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},LeafChunk.prototype={chunkSize:function chunkSize(){return this.lines.length},removeInner:function removeInner(e,t){for(var n=e,r=e+t;n<r;++n){var i=this.lines[n];this.height-=i.height,cleanUpLine(i),signalLater(i,"delete")}this.lines.splice(e,t)},collapse:function collapse(e){e.push.apply(e,this.lines)},insertInner:function insertInner(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function iterN(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},BranchChunk.prototype={chunkSize:function chunkSize(){return this.size},removeInner:function removeInner(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],i=r.chunkSize();if(e<i){var o=Math.min(t,i-e),a=r.height;if(r.removeInner(e,o),this.height-=a-r.height,i==o&&(this.children.splice(n--,1),r.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof LeafChunk))){var s=[];this.collapse(s),this.children=[new LeafChunk(s)],this.children[0].parent=this}},collapse:function collapse(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function insertInner(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,n),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new LeafChunk(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++r,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function maybeSpill(){if(!(this.children.length<=10)){var e=this;do{var t=new BranchChunk(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=indexOf(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var r=new BranchChunk(e.children);r.parent=e,e.children=[r,t],e=r}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function iterN(e,t,n){for(var r=0;r<this.children.length;++r){var i=this.children[r],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ye=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};ye.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=lineNo(n);if(null!=r&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(n.widgets=null);var o=widgetHeight(this);updateLineHeight(n,Math.max(0,n.height-o)),e&&(runInOp(e,function(){adjustScrollWhenAboveVisible(e,n,-o),regLineChange(e,r,"widget")}),signalLater(e,"lineWidgetCleared",e,this,r))}},ye.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var i=widgetHeight(this)-t;i&&(updateLineHeight(r,r.height+i),n&&runInOp(n,function(){n.curOp.forceUpdate=!0,adjustScrollWhenAboveVisible(n,r,i),signalLater(n,"lineWidgetChanged",n,e,lineNo(r))}))},eventMixin(ye);var xe=0,Ce=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++xe};Ce.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&startOperation(e),hasHandler(this,"clear")){var n=this.find();n&&signalLater(this,"clear",n.from,n.to)}for(var r=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=getMarkedSpanFor(a.markedSpans,this);e&&!this.collapsed?regLineChange(e,lineNo(a),"text"):e&&(null!=s.to&&(i=lineNo(a)),null!=s.from&&(r=lineNo(a))),a.markedSpans=removeMarkedSpan(a.markedSpans,s),null==s.from&&this.collapsed&&!lineIsHidden(this.doc,a)&&e&&updateLineHeight(a,textHeight(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=visualLine(this.lines[l]),u=lineLength(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&regChange(e,r,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,r,i),t&&endOperation(e),this.parent&&this.parent.clear()}},Ce.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,r,i=0;i<this.lines.length;++i){var o=this.lines[i],a=getMarkedSpanFor(o.markedSpans,this);if(null!=a.from&&(n=Pos(t?o:lineNo(o),a.from),-1==e))return n;if(null!=a.to&&(r=Pos(t?o:lineNo(o),a.to),1==e))return r}return n&&{from:n,to:r}},Ce.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&runInOp(r,function(){var i=t.line,o=lineNo(t.line),a=findViewForLine(r,o);if(a&&(clearLineMeasurementCacheFor(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!lineIsHidden(n.doc,i)&&null!=n.height){var s=n.height;n.height=null;var l=widgetHeight(n)-s;l&&updateLineHeight(i,i.height+l)}signalLater(r,"markerChanged",r,e)})},Ce.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=indexOf(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ce.prototype.detachLine=function(e){if(this.lines.splice(indexOf(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},eventMixin(Ce);var be=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};be.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();signalLater(this,"clear")}},be.prototype.find=function(e,t){return this.primary.find(e,t)},eventMixin(be);var Se=0,we=function(e,t,n,r,i){if(!(this instanceof we))return new we(e,t,n,r,i);null==n&&(n=0),BranchChunk.call(this,[new LeafChunk([new ne("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=Pos(n,0);this.sel=simpleSelection(o),this.history=new History(null),this.id=++Se,this.modeOption=t,this.lineSep=r,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),updateDoc(this,{from:o,to:o,text:e}),setSelection(this,simpleSelection(o),D)};we.prototype=createObj(BranchChunk.prototype,{constructor:we,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=getLines(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:docMethodOp(function(e){var t=Pos(this.first,0),n=this.first+this.size-1;makeChange(this,{from:t,to:Pos(n,getLine(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&scrollToCoords(this.cm,0,0),setSelection(this,simpleSelection(t),D)}),replaceRange:function(e,t,n,r){replaceRange(this,e,t=clipPos(this,t),n=n?clipPos(this,n):t,r)},getRange:function(e,t,n){var r=getBetween(this,clipPos(this,e),clipPos(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(isLine(this,e))return getLine(this,e)},getLineNumber:function(e){return lineNo(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=getLine(this,e)),visualLine(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return clipPos(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:docMethodOp(function(e,t,n){setSimpleSelection(this,clipPos(this,"number"==typeof e?Pos(e,t||0):e),null,n)}),setSelection:docMethodOp(function(e,t,n){setSimpleSelection(this,clipPos(this,e),clipPos(this,t||e),n)}),extendSelection:docMethodOp(function(e,t,n){extendSelection(this,clipPos(this,e),t&&clipPos(this,t),n)}),extendSelections:docMethodOp(function(e,t){extendSelections(this,clipPosArray(this,e),t)}),extendSelectionsBy:docMethodOp(function(e,t){extendSelections(this,clipPosArray(this,map(this.sel.ranges,e)),t)}),setSelections:docMethodOp(function(e,t,n){if(e.length){for(var r=[],i=0;i<e.length;i++)r[i]=new ve(clipPos(this,e[i].anchor),clipPos(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),setSelection(this,normalizeSelection(r,t),n)}}),addSelection:docMethodOp(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new ve(clipPos(this,e),clipPos(this,t||e))),setSelection(this,normalizeSelection(r,r.length-1),n)}),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var i=getBetween(this,n[r].from(),n[r].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var i=getBetween(this,n[r].from(),n[r].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[r]=i}return t},replaceSelection:function(e,t,n){for(var r=[],i=0;i<this.sel.ranges.length;i++)r[i]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:docMethodOp(function(e,t,n){for(var r=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];r[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var s=t&&"end"!=t&&function computeReplacedSel(e,t,n){for(var r=[],i=Pos(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=offsetPos(s.from,i,o),c=offsetPos(changeEnd(s),i,o);if(i=s.to,o=c,"around"==n){var u=e.sel.ranges[a],d=cmp(u.head,u.anchor)<0;r[a]=new ve(d?c:l,d?l:c)}else r[a]=new ve(l,l)}return new ge(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)makeChange(this,r[l]);s?setSelectionReplaceHistory(this,s):this.cm&&ensureCursorVisible(this.cm)}),undo:docMethodOp(function(){makeChangeFromHistory(this,"undo")}),redo:docMethodOp(function(){makeChangeFromHistory(this,"redo")}),undoSelection:docMethodOp(function(){makeChangeFromHistory(this,"undo",!0)}),redoSelection:docMethodOp(function(){makeChangeFromHistory(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new History(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:copyHistoryArray(this.history.done),undone:copyHistoryArray(this.history.undone)}},setHistory:function(e){var t=this.history=new History(this.history.maxGeneration);t.done=copyHistoryArray(e.done.slice(0),null,!0),t.undone=copyHistoryArray(e.undone.slice(0),null,!0)},setGutterMarker:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&isEmpty(r)&&(e.gutterMarkers=null),!0})}),clearGutter:docMethodOp(function(e){var t=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&changeLine(t,n,"gutter",function(){return n.gutterMarkers[e]=null,isEmpty(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!isLine(this,e))return null;if(t=e,!(e=getLine(this,e)))return null}else if(null==(t=lineNo(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(classTest(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0})}),removeLineClass:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[r];if(!i)return!1;if(null==n)e[r]=null;else{var o=i.match(classTest(n));if(!o)return!1;var a=o.index+o[0].length;e[r]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0})}),addLineWidget:docMethodOp(function(e,t,n){return function addLineWidget(e,t,n,r){var i=new ye(e,n,r),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),changeLine(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==i.insertAt?n.push(i):n.splice(Math.min(n.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!lineIsHidden(e,t)){var r=heightAtLine(t)<e.scrollTop;updateLineHeight(t,t.height+widgetHeight(i)),r&&addToScrollTop(o,i.height),o.curOp.forceUpdate=!0}return!0}),signalLater(o,"lineWidgetAdded",o,i,"number"==typeof t?t:lineNo(t)),i}(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return markText(this,clipPos(this,e),clipPos(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=clipPos(this,e),markText(this,e,e,n,"bookmark")},findMarksAt:function(e){var t=[],n=getLine(this,(e=clipPos(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var i=n[r];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var r=[],i=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++i}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)}),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter(function(i){var o=i.text.length+r;if(o>e)return t=e,!0;e-=o,++n}),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new we(getLines(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new we(getLines(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function copySharedMarkers(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(cmp(o,a)){var s=markText(e,o,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,findSharedMarkers(this)),r},unlinkDoc:function(e){if(e instanceof CodeMirror$1&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),detachSharedMarkers(findSharedMarkers(this));break}}if(e.history==this.history){var n=[e.id];linkedDocs(e,function(e){return n.push(e.id)},!0),e.history=new History(null),e.history.done=copyHistoryArray(this.history.done,n),e.history.undone=copyHistoryArray(this.history.undone,n)}},iterLinkedDocs:function(e){linkedDocs(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):U(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:docMethodOp(function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&function directionChanged(e){runInOp(e,function(){setDirectionClass(e),regChange(e)})}(this.cm))})}),we.prototype.eachLine=we.prototype.iter;for(var Le=0,ke=!1,Me={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Te=0;Te<10;Te++)Me[Te+48]=Me[Te+96]=String(Te);for(var Pe=65;Pe<=90;Pe++)Me[Pe]=String.fromCharCode(Pe);for(var Oe=1;Oe<=12;Oe++)Me[Oe+111]=Me[Oe+63235]="F"+Oe;var Ae={};Ae.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ae.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ae.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ae.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ae.default=y?Ae.macDefault:Ae.pcDefault;var Ne={selectAll:selectAll,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),D)},killLine:function(e){return deleteNearSelection(e,function(t){if(t.empty()){var n=getLine(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:Pos(t.head.line+1,0)}:{from:t.head,to:Pos(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return deleteNearSelection(e,function(t){return{from:Pos(t.from().line,0),to:clipPos(e.doc,Pos(t.to().line+1,0))}})},delLineLeft:function(e){return deleteNearSelection(e,function(e){return{from:Pos(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return deleteNearSelection(e,function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}})},delWrappedLineRight:function(e){return deleteNearSelection(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(Pos(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(Pos(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return lineStart(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return lineStartSmart(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return lineEnd(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},F)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},F)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?lineStartSmart(e,t.head):r},F)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,i=0;i<n.length;i++){var o=n[i].from(),a=countColumn(e.getLine(o.line),o.ch,r);t.push(spaceStr(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var i=t[r].head,o=getLine(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new Pos(i.line,i.ch-1)),i.ch>0)i=new Pos(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),Pos(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=getLine(e.doc,i.line-1).text;a&&(i=new Pos(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Pos(i.line-1,a.length-1),i,"+transpose"))}n.push(new ve(i,i))}e.setSelections(n)})},newlineAndIndent:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);ensureCursorVisible(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}},De=new T,He=null,Fe=function(e,t,n){this.time=e,this.pos=t,this.button=n};Fe.prototype.compare=function(e,t,n){return this.time+400>e&&0==cmp(t,this.pos)&&n==this.button};var We,Ie,Ee={toString:function(){return"CodeMirror.Init"}},je={},Be={};CodeMirror$1.defaults=je,CodeMirror$1.optionHandlers=Be;var Re=[];CodeMirror$1.defineInitHook=function(e){return Re.push(e)};var ze=null,Ve=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new T,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ve.prototype.init=function(e){function onCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,D),r.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var o=ze.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=hiddenTextarea(),s=a.firstChild;r.display.lineSpace.insertBefore(a,r.display.lineSpace.firstChild),s.value=ze.text.join("\n");var l=document.activeElement;M(s),setTimeout(function(){r.display.lineSpace.removeChild(a),l.focus(),l==i&&n.showPrimarySelection()},50)}}var t=this,n=this,r=n.cm,i=n.div=e.lineDiv;disableBrowserMagic(i,r.options.spellcheck),G(i,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||s<=11&&setTimeout(operation(r,function(){return t.updateFromDOM()}),20)}),G(i,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),G(i,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),G(i,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),G(i,"touchstart",function(){return n.forceCompositionEnd()}),G(i,"input",function(){t.composing||t.readFromDOMSoon()}),G(i,"copy",onCopyCut),G(i,"cut",onCopyCut)},Ve.prototype.prepareSelection=function(){var e=prepareSelection(this.cm,!1);return e.focus=this.cm.state.focused,e},Ve.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ve.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,r=t.doc.sel.primary(),i=r.from(),o=r.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=domToPos(t,e.anchorNode,e.anchorOffset),s=domToPos(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=cmp(minPos(a,s),i)||0!=cmp(maxPos(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&posToDOM(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&posToDOM(t,o);if(!u){var d=l[l.length-1].measure,h=d.maps?d.maps[d.maps.length-1]:d.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(c&&u){var p,f=e.rangeCount&&e.getRangeAt(0);try{p=S(c.node,c.offset,u.offset,u.node)}catch(e){}p&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),p.collapsed||(e.removeAllRanges(),e.addRange(p))):(e.removeAllRanges(),e.addRange(p)),f&&null==e.anchorNode?e.addRange(f):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ve.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Ve.prototype.showMultipleSelections=function(e){removeChildrenAndAdd(this.cm.display.cursorDiv,e.cursors),removeChildrenAndAdd(this.cm.display.selectionDiv,e.selection)},Ve.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ve.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return contains(this.div,t)},Ve.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ve.prototype.blur=function(){this.div.blur()},Ve.prototype.getField=function(){return this.div},Ve.prototype.supportsTouch=function(){return!0},Ve.prototype.receivedFocus=function(){function poll(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,poll))}var e=this;this.selectionInEditor()?this.pollSelection():runInOp(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,poll)},Ve.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ve.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(g&&u&&this.cm.options.gutters.length&&function isInGutter(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=domToPos(t,e.anchorNode,e.anchorOffset),r=domToPos(t,e.focusNode,e.focusOffset);n&&r&&runInOp(t,function(){setSelection(t.doc,simpleSelection(n,r),D),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Ve.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,n=e.doc.sel.primary(),r=n.from(),i=n.to();if(0==r.ch&&r.line>e.firstLine()&&(r=Pos(r.line-1,getLine(e.doc,r.line-1).length)),i.ch==getLine(e.doc,i.line).text.length&&i.line<e.lastLine()&&(i=Pos(i.line+1,0)),r.line<t.viewFrom||i.line>t.viewTo-1)return!1;var o,a,s;r.line==t.viewFrom||0==(o=findViewIndex(e,r.line))?(a=lineNo(t.view[0].line),s=t.view[0].node):(a=lineNo(t.view[o].line),s=t.view[o-1].node.nextSibling);var l,c,u=findViewIndex(e,i.line);if(u==t.view.length-1?(l=t.viewTo-1,c=t.lineDiv.lastChild):(l=lineNo(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!s)return!1;for(var d=e.doc.splitLines(function domTextBetween(e,t,n,r,i){function close(){a&&(o+=s,a=!1)}function addText(e){e&&(close(),o+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void addText(n||t.textContent.replace(/\u200b/g,""));var o,l=t.getAttribute("cm-marker");if(l){var c=e.findMarks(Pos(r,0),Pos(i+1,0),function recognizeMarker(e){return function(t){return t.id==e}}(+l));return void(c.length&&(o=c[0].find(0))&&addText(getBetween(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var u=/^(pre|div|p)$/i.test(t.nodeName);u&&close();for(var d=0;d<t.childNodes.length;d++)walk(t.childNodes[d]);u&&(a=!0)}else 3==t.nodeType&&addText(t.nodeValue)}for(var o="",a=!1,s=e.doc.lineSeparator();walk(t),t!=n;)t=t.nextSibling;return o}(e,s,c,a,l)),h=getBetween(e.doc,Pos(a,0),Pos(l,getLine(e.doc,l).text.length));d.length>1&&h.length>1;)if(lst(d)==lst(h))d.pop(),h.pop(),l--;else{if(d[0]!=h[0])break;d.shift(),h.shift(),a++}for(var p=0,f=0,m=d[0],g=h[0],v=Math.min(m.length,g.length);p<v&&m.charCodeAt(p)==g.charCodeAt(p);)++p;for(var y=lst(d),x=lst(h),C=Math.min(y.length-(1==d.length?p:0),x.length-(1==h.length?p:0));f<C&&y.charCodeAt(y.length-f-1)==x.charCodeAt(x.length-f-1);)++f;if(1==d.length&&1==h.length&&a==r.line)for(;p&&p>r.ch&&y.charCodeAt(y.length-f-1)==x.charCodeAt(x.length-f-1);)p--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var b=Pos(a,p),S=Pos(l,h.length?lst(h).length-f:0);return d.length>1||d[0]||cmp(b,S)?(replaceRange(e.doc,d,b,S,"+input"),!0):void 0},Ve.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ve.prototype.reset=function(){this.forceCompositionEnd()},Ve.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ve.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ve.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,function(){return regChange(e.cm)})},Ve.prototype.setUneditable=function(e){e.contentEditable="false"},Ve.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ve.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ve.prototype.onContextMenu=function(){},Ve.prototype.resetPosition=function(){},Ve.prototype.needsContentAttribute=!0;var Ge=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new T,this.hasSelection=!1,this.composing=null};Ge.prototype.init=function(e){function prepareCopyCut(e){if(!signalDOMEvent(r,e)){if(r.somethingSelected())setLastCopied({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=copyableRanges(r);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,D):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}var t=this,n=this,r=this.cm,i=this.wrapper=hiddenTextarea(),o=this.textarea=i.firstChild;e.wrapper.insertBefore(i,e.wrapper.firstChild),m&&(o.style.width="0px"),G(o,"input",function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),G(o,"paste",function(e){signalDOMEvent(r,e)||handlePaste(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),G(o,"cut",prepareCopyCut),G(o,"copy",prepareCopyCut),G(e.scroller,"paste",function(t){eventInWidget(e,t)||signalDOMEvent(r,t)||(r.state.pasteIncoming=!0,n.focus())}),G(e.lineSpace,"selectstart",function(t){eventInWidget(e,t)||e_preventDefault(t)}),G(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),G(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ge.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=prepareSelection(e);if(e.options.moveInputWithCursor){var i=cursorCoords(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return r},Ge.prototype.showSelection=function(e){var t=this.cm.display;removeChildrenAndAdd(t.cursorDiv,e.cursors),removeChildrenAndAdd(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ge.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},Ge.prototype.getField=function(){return this.textarea},Ge.prototype.supportsTouch=function(){return!1},Ge.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ge.prototype.blur=function(){this.textarea.blur()},Ge.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ge.prototype.receivedFocus=function(){this.slowPoll()},Ge.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ge.prototype.fastPoll=function(){function p(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))}var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,p)},Ge.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||q(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=n.value;if(i==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||r||(r="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var l=0,c=Math.min(r.length,i.length);l<c&&r.charCodeAt(l)==i.charCodeAt(l);)++l;return runInOp(t,function(){applyTextInput(t,i.slice(l),r.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ge.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ge.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},Ge.prototype.onContextMenu=function(e){function prepareSelectAllHack(){if(null!=i.selectionStart){var e=n.somethingSelected(),o="​"+(e?i.value:"");i.value="⇚",i.value=o,t.prevInput=e?"":"​",i.selectionStart=1,i.selectionEnd=o.length,r.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=h,i.style.cssText=u,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=i.selectionStart){(!a||a&&s<9)&&prepareSelectAllHack();var e=0,o=function(){r.selForContextMenu==n.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?r.detectingSelectAll=setTimeout(o,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(o,200)}}var t=this,n=t.cm,r=n.display,i=t.textarea,o=posFromMouse(n,e),c=r.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&operation(n,setSelection)(n.doc,simpleSelection(o),D);var u=i.style.cssText,h=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var p=t.wrapper.getBoundingClientRect();i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var f;if(l&&(f=window.scrollY),r.input.focus(),l&&window.scrollTo(null,f),r.input.reset(),n.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&prepareSelectAllHack(),L){e_stop(e);var m=function(){off(window,"mouseup",m),setTimeout(rehide,20)};G(window,"mouseup",m)}else setTimeout(rehide,50)}},Ge.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ge.prototype.setUneditable=function(){},Ge.prototype.needsContentAttribute=!1,function defineOptions(e){function option(n,r,i,o){e.defaults[n]=r,i&&(t[n]=o?function(e,t,n){n!=Ee&&i(e,t,n)}:i)}var t=e.optionHandlers;e.defineOption=option,e.Init=Ee,option("value","",function(e,t){return e.setValue(t)},!0),option("mode",null,function(e,t){e.doc.modeOption=t,loadMode(e)},!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,function(e){resetModeState(e),clearCaches(e),regChange(e)},!0),option("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,n.push(Pos(r,o))}r++});for(var i=n.length-1;i>=0;i--)replaceRange(e.doc,t,n[i],Pos(n[i].line,n[i].ch+t.length))}}),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ee&&e.refresh()}),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,function(e){return e.refresh()},!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),option("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),option("rtlMoveVisually",!C),option("wholeLineUpdateBefore",!0),option("theme","default",function(e){themeChanged(e),guttersChanged(e)},!0),option("keyMap","default",function(e,t,n){var r=getKeyMap(t),i=n!=Ee&&getKeyMap(n);i&&i.detach&&i.detach(e,r),r.attach&&r.attach(e,i||null)}),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()},!0),option("coverGutterNextToScrollbar",!1,function(e){return updateScrollbars(e)},!0),option("scrollbarStyle","native",function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),option("lineNumbers",!1,function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("firstLineNumber",1,guttersChanged,!0),option("lineNumberFormatter",function(e){return e},guttersChanged,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("readOnly",!1,function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),option("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),option("historyEventDelay",1250),option("viewportMargin",10,function(e){return e.refresh()},!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),option("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),option("autofocus",null),option("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(CodeMirror$1),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,i=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,i),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:methodOp(function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");!function insertSorted(e,t,n){for(var r=0,i=n(t);r<e.length&&n(e[r])<=i;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},function(e){return e.priority}),this.state.modeGen++,regChange(this)}),removeOverlay:methodOp(function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void regChange(this)}}),indentLine:methodOp(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),isLine(this.doc,e)&&indentLine(this,e,t,n)}),indentSelection:methodOp(function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var i=t[r];if(i.empty())i.head.line>n&&(indentLine(this,i.head.line,e,!0),n=i.head.line,r==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var o=i.from(),a=i.to(),s=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)indentLine(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[r].from().ch>0&&replaceOneSelection(this.doc,r,new ve(o,c[r].to()),D)}}}),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),r=0,i=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=r+i>>1;if((a?n[2*a-1]:0)>=o)i=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var i=n[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&r.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&r.push(s)}else o.helperType&&i[o.helperType]?r.push(i[o.helperType]):i[o.name]&&r.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==indexOf(r,c.val)&&r.push(c.val)}return r},getStateAfter:function(e,t){var n=this.doc;return e=clipLine(n,null==e?n.first+n.size-1:e),getContextBefore(this,e+1,t).state},cursorCoords:function(e,t){var n,r=this.doc.sel.primary();return n=null==e?r.head:"object"==typeof e?clipPos(this.doc,e):e?r.from():r.to(),cursorCoords(this,n,t||"page")},charCoords:function(e,t){return charCoords(this,clipPos(this.doc,e),t||"page")},coordsChar:function(e,t){return e=fromCoordSystem(this,e,t||"page"),coordsChar(this,e.left,e.top)},lineAtHeight:function(e,t){return e=fromCoordSystem(this,{top:e,left:0},t||"page").top,lineAtHeight(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),r=getLine(this.doc,e)}else r=e;return intoCoordSystem(this,r,{top:0,left:0},t||"page",n||i).top+(i?this.doc.height-heightAtLine(r):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,i){var o=this.display,a=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),n&&function scrollIntoView(e,t){var n=calculateScrollPos(e,t);null!=n.scrollTop&&updateScrollTop(e,n.scrollTop),null!=n.scrollLeft&&setScrollLeft(e,n.scrollLeft)}(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(Ne.hasOwnProperty(e))return Ne[e].call(null,this)},triggerElectric:methodOp(function(e){triggerElectric(this,e)}),findPosH:function(e,t,n,r){var i=1;t<0&&(i=-1,t=-t);for(var o=clipPos(this.doc,e),a=0;a<t&&!(o=findPosH(this.doc,o,i,n,r)).hitSide;++a);return o},moveH:methodOp(function(e,t){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?findPosH(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()},F)}),deleteH:methodOp(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):deleteNearSelection(this,function(n){var i=findPosH(r,n.head,e,t,!1);return e<0?{from:i,to:n.head}:{from:n.head,to:i}})}),findPosV:function(e,t,n,r){var i=1,o=r;t<0&&(i=-1,t=-t);for(var a=clipPos(this.doc,e),s=0;s<t;++s){var l=cursorCoords(this,a,"div");if(null==o?o=l.left:l.left=o,(a=findPosV(this,l,i,n)).hitSide)break}return a},moveV:methodOp(function(e,t){var n=this,r=this.doc,i=[],o=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var s=cursorCoords(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=findPosV(n,s,e,t);return"page"==t&&a==r.sel.primary()&&addToScrollTop(n,charCoords(n,l,"div").top-s.top),l},F),i.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=i[a]}),findWordAt:function(e){var t=getLine(this.doc,e.line).text,n=e.ch,r=e.ch;if(t){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&r!=t.length||!n?++r:--n;for(var o=t.charAt(n),a=isWordChar(o,i)?function(e){return isWordChar(e,i)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!isWordChar(e)};n>0&&a(t.charAt(n-1));)--n;for(;r<t.length&&a(t.charAt(r));)++r}return new ve(Pos(e.line,n),Pos(e.line,r))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?addClass(this.display.cursorDiv,"CodeMirror-overwrite"):k(this.display.cursorDiv,"CodeMirror-overwrite"),signal(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==activeElt()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:methodOp(function(e,t){scrollToCoords(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-scrollGap(this)-this.display.barHeight,width:e.scrollWidth-scrollGap(this)-this.display.barWidth,clientHeight:displayHeight(this),clientWidth:displayWidth(this)}},scrollIntoView:methodOp(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:Pos(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function scrollToRange(e,t){resolveScrollToPos(e),e.curOp.scrollToPos=t}(this,e):scrollToCoordsRange(this,e.from,e.to,e.margin)}),setSize:methodOp(function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&clearLineMeasurementCache(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){regLineChange(n,i,"widget");break}++i}),this.curOp.forceUpdate=!0,signal(this,"refresh",this)}),operation:function(e){return runInOp(this,e)},startOperation:function(){return startOperation(this)},endOperation:function(){return endOperation(this)},refresh:methodOp(function(){var e=this.display.cachedTextHeight;regChange(this),this.curOp.forceUpdate=!0,clearCaches(this),scrollToCoords(this,this.doc.scrollLeft,this.doc.scrollTop),updateGutterSpace(this),(null==e||Math.abs(e-textHeight(this.display))>.5)&&estimateLineHeights(this),signal(this,"refresh",this)}),swapDoc:methodOp(function(e){var t=this.doc;return t.cm=null,attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,r,i){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=i},e.registerGlobalHelper=function(t,r,i,o){e.registerHelper(t,r,o),n[t]._global.push({pred:i,val:o})}}(CodeMirror$1);var Ke="iter insert remove copy getEditor constructor".split(" ");for(var Ue in we.prototype)we.prototype.hasOwnProperty(Ue)&&indexOf(Ke,Ue)<0&&(CodeMirror$1.prototype[Ue]=function(e){return function(){return e.apply(this.doc,arguments)}}(we.prototype[Ue]));return eventMixin(we),CodeMirror$1.inputStyles={textarea:Ge,contenteditable:Ve},CodeMirror$1.defineMode=function(e){CodeMirror$1.defaults.mode||"null"==e||(CodeMirror$1.defaults.mode=e),function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),X[e]=t}.apply(this,arguments)},CodeMirror$1.defineMIME=function defineMIME(e,t){Y[e]=t},CodeMirror$1.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror$1.defineMIME("text/plain","null"),CodeMirror$1.defineExtension=function(e,t){CodeMirror$1.prototype[e]=t},CodeMirror$1.defineDocExtension=function(e,t){we.prototype[e]=t},CodeMirror$1.fromTextArea=function fromTextArea(e,t){function save(){e.value=a.getValue()}if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}var r;if(e.form&&(G(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var i=e.form;r=i.submit;try{var o=i.submit=function(){save(),i.submit=r,i.submit(),i.submit=o}}catch(e){}}t.finishInit=function(t){t.save=save,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,save(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),"function"==typeof e.form.submit&&(e.form.submit=r))}},e.style.display="none";var a=CodeMirror$1(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},function addLegacyProps(e){e.off=off,e.on=G,e.wheelEventPixels=wheelEventPixels,e.Doc=we,e.splitLines=U,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=N,e.signal=signal,e.Line=ne,e.changeEnd=changeEnd,e.scrollbarModel=de,e.Pos=Pos,e.cmpPos=cmp,e.modes=X,e.mimeModes=Y,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=Q,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=Ne,e.keyMap=Ae,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=Z,e.SharedTextMarker=be,e.TextMarker=Ce,e.LineWidget=ye,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=k,e.keyNames=Me}(CodeMirror$1),CodeMirror$1.version="5.34.0",CodeMirror$1})},917:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.mime==t)return r;if(r.mimes)for(var i=0;i<r.mimes.length;i++)if(r.mimes[i]==t)return r}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.ext)for(var i=0;i<r.ext.length;i++)if(r.ext[i]==t)return r}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.file&&r.file.test(t))return r}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var r=e.modeInfo[n];if(r.name.toLowerCase()==t)return r;if(r.alias)for(var i=0;i<r.alias.length;i++)if(r.alias[i].toLowerCase()==t)return r}}})},931:function(e,t,n){!function(e){e(n(907))}(function(e){function dialogDiv(e,t,n){var r;return r=e.getWrapperElement().appendChild(document.createElement("div")),r.className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),r}function closeNotification(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",function(t,n,r){function close(e){if("string"==typeof e)l.value=e;else{if(a)return;a=!0,o.parentNode.removeChild(o),s.focus(),r.onClose&&r.onClose(o)}}r||(r={}),closeNotification(this,null);var i,o=dialogDiv(this,t,r.bottom),a=!1,s=this,l=o.getElementsByTagName("input")[0];return l?(l.focus(),r.value&&(l.value=r.value,!1!==r.selectValueOnOpen&&l.select()),r.onInput&&e.on(l,"input",function(e){r.onInput(e,l.value,close)}),r.onKeyUp&&e.on(l,"keyup",function(e){r.onKeyUp(e,l.value,close)}),e.on(l,"keydown",function(t){r&&r.onKeyDown&&r.onKeyDown(t,l.value,close)||((27==t.keyCode||!1!==r.closeOnEnter&&13==t.keyCode)&&(l.blur(),e.e_stop(t),close()),13==t.keyCode&&n(l.value,t))}),!1!==r.closeOnBlur&&e.on(l,"blur",close)):(i=o.getElementsByTagName("button")[0])&&(e.on(i,"click",function(){close(),s.focus()}),!1!==r.closeOnBlur&&e.on(i,"blur",close),i.focus()),close}),e.defineExtension("openConfirm",function(t,n,r){function close(){a||(a=!0,i.parentNode.removeChild(i),s.focus())}closeNotification(this,null);var i=dialogDiv(this,t,r&&r.bottom),o=i.getElementsByTagName("button"),a=!1,s=this,l=1;o[0].focus();for(var c=0;c<o.length;++c){var u=o[c];!function(t){e.on(u,"click",function(n){e.e_preventDefault(n),close(),t&&t(s)})}(n[c]),e.on(u,"blur",function(){--l,setTimeout(function(){l<=0&&close()},200)}),e.on(u,"focus",function(){++l})}}),e.defineExtension("openNotification",function(t,n){function close(){o||(o=!0,clearTimeout(r),i.parentNode.removeChild(i))}closeNotification(this,close);var r,i=dialogDiv(this,t,n&&n.bottom),o=!1,a=n&&void 0!==n.duration?n.duration:5e3;return e.on(i,"click",function(t){e.e_preventDefault(t),close()}),a&&(r=setTimeout(close,a)),close})})},932:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureGlobal(e){return e.global?e:new RegExp(e.source,function regexpFlags(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e)+"g")}function searchRegexpForward(e,t,n){t=ensureGlobal(t);for(var i=n.line,o=n.ch,a=e.lastLine();i<=a;i++,o=0){t.lastIndex=o;var s=e.getLine(i),l=t.exec(s);if(l)return{from:r(i,l.index),to:r(i,l.index+l[0].length),match:l}}}function lastMatchIn(e,t){for(var n,r=0;;){t.lastIndex=r;var i=t.exec(e);if(!i)return n;if(n=i,(r=n.index+(n[0].length||1))==e.length)return n}}function adjustPos(e,t,n,r){if(e.length==t.length)return n;for(var i=0,o=n+Math.max(0,e.length-t.length);;){if(i==o)return i;var a=i+o>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?o=a:i=a+1}}function SearchCursor(e,i,o,a){this.atOccurrence=!1,this.doc=e,o=o?e.clipPos(o):r(0,0),this.pos={from:o,to:o};var s;"object"==typeof a?s=a.caseFold:(s=a,a=null),"string"==typeof i?(null==s&&(s=!1),this.matches=function(o,a){return(o?function searchStringBackward(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\r|\n\r?/);e:for(var c=o.line,u=o.ch,d=e.firstLine()-1+l.length;c>=d;c--,u=-1){var h=e.getLine(c);u>-1&&(h=h.slice(0,u));var p=s(h);if(1==l.length){var f=p.lastIndexOf(l[0]);if(-1==f)continue e;return{from:r(c,adjustPos(h,p,f,s)),to:r(c,adjustPos(h,p,f+l[0].length,s))}}var m=l[l.length-1];if(p.slice(0,m.length)==m){var g=1;for(o=c-l.length+1;g<l.length-1;g++)if(s(e.getLine(o+g))!=l[g])continue e;var v=e.getLine(c+1-l.length),y=s(v);if(y.slice(y.length-l[0].length)==l[0])return{from:r(c+1-l.length,adjustPos(v,y,v.length-l[0].length,s)),to:r(c,adjustPos(h,p,m.length,s))}}}}:function searchStringForward(e,i,o,a){if(!i.length)return null;var s=a?t:n,l=s(i).split(/\r|\n\r?/);e:for(var c=o.line,u=o.ch,d=e.lastLine()+1-l.length;c<=d;c++,u=0){var h=e.getLine(c).slice(u),p=s(h);if(1==l.length){var f=p.indexOf(l[0]);if(-1==f)continue e;return o=adjustPos(h,p,f,s)+u,{from:r(c,adjustPos(h,p,f,s)+u),to:r(c,adjustPos(h,p,f+l[0].length,s)+u)}}var m=p.length-l[0].length;if(p.slice(m)==l[0]){for(var g=1;g<l.length-1;g++)if(s(e.getLine(c+g))!=l[g])continue e;var v=e.getLine(c+l.length-1),y=s(v),x=l[l.length-1];if(y.slice(0,x.length)==x)return{from:r(c,adjustPos(h,p,m,s)+u),to:r(c+l.length-1,adjustPos(v,y,x.length,s))}}}})(e,i,a,s)}):(i=ensureGlobal(i),a&&!1===a.multiline?this.matches=function(t,n){return(t?function searchRegexpBackward(e,t,n){t=ensureGlobal(t);for(var i=n.line,o=n.ch,a=e.firstLine();i>=a;i--,o=-1){var s=e.getLine(i);o>-1&&(s=s.slice(0,o));var l=lastMatchIn(s,t);if(l)return{from:r(i,l.index),to:r(i,l.index+l[0].length),match:l}}}:searchRegexpForward)(e,i,n)}:this.matches=function(t,n){return(t?function searchRegexpBackwardMultiline(e,t,n){t=ensureGlobal(t);for(var i,o=1,a=n.line,s=e.firstLine();a>=s;){for(var l=0;l<o;l++){var c=e.getLine(a--);i=null==i?c.slice(0,n.ch):c+"\n"+i}o*=2;var u=lastMatchIn(i,t);if(u){var d=i.slice(0,u.index).split("\n"),h=u[0].split("\n"),p=a+d.length,f=d[d.length-1].length;return{from:r(p,f),to:r(p+h.length-1,1==h.length?f+h[0].length:h[h.length-1].length),match:u}}}}:function searchRegexpForwardMultiline(e,t,n){if(!function maybeMultiline(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}(t))return searchRegexpForward(e,t,n);t=ensureGlobal(t);for(var i,o=1,a=n.line,s=e.lastLine();a<=s;){for(var l=0;l<o;l++){var c=e.getLine(a++);i=null==i?c:i+"\n"+c}o*=2,t.lastIndex=n.ch;var u=t.exec(i);if(u){var d=i.slice(0,u.index).split("\n"),h=u[0].split("\n"),p=n.line+d.length-1,f=d[d.length-1].length;return{from:r(p,f),to:r(p+h.length-1,1==h.length?f+h[0].length:h[h.length-1].length),match:u}}}})(e,i,n)})}var t,n,r=e.Pos;String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var i=e.splitLines(t);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new SearchCursor(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new SearchCursor(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){for(var r=[],i=this.getSearchCursor(t,this.getCursor("from"),n);i.findNext()&&!(e.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})},933:function(e,t,n){!function(e){e(n(907))}(function(e){function findMatchingBracket(e,t,i){var o=e.getLineHandle(t.line),a=t.ch-1,s=i&&i.afterCursor;null==s&&(s=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var l=!s&&a>=0&&r[o.text.charAt(a)]||r[o.text.charAt(++a)];if(!l)return null;var c=">"==l.charAt(1)?1:-1;if(i&&i.strict&&c>0!=(a==t.ch))return null;var u=e.getTokenTypeAt(n(t.line,a+1)),d=scanForBracket(e,n(t.line,a+(c>0?1:0)),c,u||null,i);return null==d?null:{from:n(t.line,a),to:d&&d.pos,match:d&&d.ch==l.charAt(0),forward:c>0}}function scanForBracket(e,t,i,o,a){for(var s=a&&a.maxScanLineLength||1e4,l=a&&a.maxScanLines||1e3,c=[],u=a&&a.bracketRegex?a.bracketRegex:/[(){}[\]]/,d=i>0?Math.min(t.line+l,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-l),h=t.line;h!=d;h+=i){var p=e.getLine(h);if(p){var f=i>0?0:p.length-1,m=i>0?p.length:-1;if(!(p.length>s))for(h==t.line&&(f=t.ch-(i<0?1:0));f!=m;f+=i){var g=p.charAt(f);if(u.test(g)&&(void 0===o||e.getTokenTypeAt(n(h,f+1))==o)){if(">"==r[g].charAt(1)==i>0)c.push(g);else{if(!c.length)return{pos:n(h,f),ch:g};c.pop()}}}}}return h-i!=(i>0?e.lastLine():e.firstLine())&&null}function matchBrackets(e,r,i){for(var o=e.state.matchBrackets.maxHighlightLineLength||1e3,a=[],s=e.listSelections(),l=0;l<s.length;l++){var c=s[l].empty()&&findMatchingBracket(e,s[l].head,i);if(c&&e.getLine(c.from.line).length<=o){var u=c.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";a.push(e.markText(c.from,n(c.from.line,c.from.ch+1),{className:u})),c.to&&e.getLine(c.to.line).length<=o&&a.push(e.markText(c.to,n(c.to.line,c.to.ch+1),{className:u}))}}if(a.length){t&&e.state.focused&&e.focus();var d=function(){e.operation(function(){for(var e=0;e<a.length;e++)a[e].clear()})};if(!r)return d;setTimeout(d,800)}}function doMatchBrackets(e){e.operation(function(){e.state.matchBrackets.currentlyHighlighted&&(e.state.matchBrackets.currentlyHighlighted(),e.state.matchBrackets.currentlyHighlighted=null),e.state.matchBrackets.currentlyHighlighted=matchBrackets(e,!1,e.state.matchBrackets)})}var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,r={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"};e.defineOption("matchBrackets",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",doMatchBrackets),t.state.matchBrackets&&t.state.matchBrackets.currentlyHighlighted&&(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",doMatchBrackets))}),e.defineExtension("matchBrackets",function(){matchBrackets(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),findMatchingBracket(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,r){return scanForBracket(this,e,t,n,r)})})},934:function(e,t,n){!function(e){e(n(907),n(935))}(function(e){"use strict";function clear(e){e.state.tagHit&&e.state.tagHit.clear(),e.state.tagOther&&e.state.tagOther.clear(),e.state.tagHit=e.state.tagOther=null}function doMatchTags(t){t.state.failedTagMatch=!1,t.operation(function(){if(clear(t),!t.somethingSelected()){var n=t.getCursor(),r=t.getViewport();r.from=Math.min(r.from,n.line),r.to=Math.max(n.line+1,r.to);var i=e.findMatchingTag(t,n,r);if(i){if(t.state.matchBothTags){var o="open"==i.at?i.open:i.close;o&&(t.state.tagHit=t.markText(o.from,o.to,{className:"CodeMirror-matchingtag"}))}var a="close"==i.at?i.open:i.close;a?t.state.tagOther=t.markText(a.from,a.to,{className:"CodeMirror-matchingtag"}):t.state.failedTagMatch=!0}}})}function maybeUpdateMatch(e){e.state.failedTagMatch&&doMatchTags(e)}e.defineOption("matchTags",!1,function(t,n,r){r&&r!=e.Init&&(t.off("cursorActivity",doMatchTags),t.off("viewportChange",maybeUpdateMatch),clear(t)),n&&(t.state.matchBothTags="object"==typeof n&&n.bothTags,t.on("cursorActivity",doMatchTags),t.on("viewportChange",maybeUpdateMatch),doMatchTags(t))}),e.commands.toMatchingTag=function(t){var n=e.findMatchingTag(t,t.getCursor());if(n){var r="close"==n.at?n.open:n.close;r&&t.extendSelection(r.to,r.from)}}})},935:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Iter(e,t,n,r){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=r?Math.max(r.from,e.firstLine()):e.firstLine(),this.max=r?Math.min(r.to-1,e.lastLine()):e.lastLine()}function tagAt(e,n){var r=e.cm.getTokenTypeAt(t(e.line,n));return r&&/\btag\b/.test(r)}function nextLine(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function prevLine(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function toTagEnd(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(nextLine(e))continue;return}if(tagAt(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t+1}}function toTagStart(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(prevLine(e))continue;return}if(tagAt(e,t+1)){r.lastIndex=t,e.ch=t;var n=r.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function toNextTag(e){for(;;){r.lastIndex=e.ch;var t=r.exec(e.text);if(!t){if(nextLine(e))continue;return}if(tagAt(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function toPrevTag(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(prevLine(e))continue;return}if(tagAt(e,t+1)){var n=e.text.lastIndexOf("/",t),r=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,r?"selfClose":"regular"}e.ch=t}}function findMatchingClose(e,n){for(var r=[];;){var i,o=toNextTag(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=toTagEnd(e)))return;if("selfClose"!=i)if(o[1]){for(var l=r.length-1;l>=0;--l)if(r[l]==o[2]){r.length=l;break}if(l<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else r.push(o[2])}}function findMatchingOpen(e,n){for(var r=[];;){var i=toPrevTag(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=toTagStart(e);if(!s)return;if(s[1])r.push(s[2]);else{for(var l=r.length-1;l>=0;--l)if(r[l]==s[2]){r.length=l;break}if(l<0&&(!n||n==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else toTagStart(e)}}var t=e.Pos,n="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=new RegExp("<(/?)(["+n+"][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");e.registerHelper("fold","xml",function(e,n){for(var r=new Iter(e,n.line,0);;){var i,o=toNextTag(r);if(!o||!(i=toTagEnd(r))||r.line!=n.line)return;if(!o[1]&&"selfClose"!=i){var a=t(r.line,r.ch),s=findMatchingClose(r,o[2]);return s&&{from:a,to:s.from}}}}),e.findMatchingTag=function(e,n,r){var i=new Iter(e,n.line,n.ch,r);if(-1!=i.text.indexOf(">")||-1!=i.text.indexOf("<")){var o=toTagEnd(i),a=o&&t(i.line,i.ch),s=o&&toTagStart(i);if(o&&s&&!(function cmp(e,t){return e.line-t.line||e.ch-t.ch}(i,n)>0)){var l={from:t(i.line,i.ch),to:a,tag:s[2]};return"selfClose"==o?{open:l,close:null,at:"open"}:s[1]?{open:findMatchingOpen(i,s[2]),close:l,at:"close"}:(i=new Iter(e,a.line,a.ch,r),{open:l,close:findMatchingClose(i,s[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n,r){for(var i=new Iter(e,t.line,t.ch,n);;){var o=findMatchingOpen(i,r);if(!o)break;var a=findMatchingClose(new Iter(e,t.line,t.ch,n),o.tag);if(a)return{open:o,close:a}}},e.scanForClosingTag=function(e,t,n,r){return findMatchingClose(new Iter(e,t.line,t.ch,r?{from:0,to:r}:null),n)}})},936:function(e,t,n){!function(e){e(n(907),n(932),n(931))}(function(e){"use strict";function getSearchState(e){return e.state.search||(e.state.search=new function SearchState(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null})}function queryCaseInsensitive(e){return"string"==typeof e&&e==e.toLowerCase()}function getSearchCursor(e,t,n){return e.getSearchCursor(t,n,{caseFold:queryCaseInsensitive(t),multiline:!0})}function dialog(e,t,n,r,i){e.openDialog?e.openDialog(t,i,{value:r,selectValueOnOpen:!0}):i(prompt(n,r))}function parseString(e){return e.replace(/\\(.)/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":t})}function parseQuery(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=parseString(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function startSearch(e,t,n){t.queryText=n,t.query=parseQuery(n),e.removeOverlay(t.overlay,queryCaseInsensitive(t.query)),t.overlay=function searchOverlay(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,queryCaseInsensitive(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,queryCaseInsensitive(t.query)))}function doSearch(n,r,i,o){var a=getSearchState(n);if(a.query)return findNext(n,r);var s=n.getSelection()||a.lastQuery;if(s instanceof RegExp&&"x^"==s.source&&(s=null),i&&n.openDialog){var l=null,c=function(t,r){e.e_stop(r),t&&(t!=a.queryText&&(startSearch(n,a,t),a.posFrom=a.posTo=n.getCursor()),l&&(l.style.opacity=1),findNext(n,r.shiftKey,function(e,t){var r;t.line<3&&document.querySelector&&(r=n.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>n.cursorCoords(t,"window").top&&((l=r).style.opacity=.4)}))};!function persistentDialog(e,t,n,r,i){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){clearSearch(e)},onKeyDown:i})}(n,t,s,c,function(t,r){var i=e.keyName(t),o=n.getOption("extraKeys"),a=o&&o[i]||e.keyMap[n.getOption("keyMap")][i];"findNext"==a||"findPrev"==a||"findPersistentNext"==a||"findPersistentPrev"==a?(e.e_stop(t),startSearch(n,getSearchState(n),r),n.execCommand(a)):"find"!=a&&"findPersistent"!=a||(e.e_stop(t),c(r,t))}),o&&s&&(startSearch(n,a,s),findNext(n,r))}else dialog(n,t,"Search for:",s,function(e){e&&!a.query&&n.operation(function(){startSearch(n,a,e),a.posFrom=a.posTo=n.getCursor(),findNext(n,r)})})}function findNext(t,n,r){t.operation(function(){var i=getSearchState(t),o=getSearchCursor(t,i.query,n?i.posFrom:i.posTo);(o.find(n)||(o=getSearchCursor(t,i.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(n))&&(t.setSelection(o.from(),o.to()),t.scrollIntoView({from:o.from(),to:o.to()},20),i.posFrom=o.from(),i.posTo=o.to(),r&&r(o.from(),o.to()))})}function clearSearch(e){e.operation(function(){var t=getSearchState(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function replaceAll(e,t,n){e.operation(function(){for(var r=getSearchCursor(e,t);r.findNext();)if("string"!=typeof t){var i=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return i[t]}))}else r.replace(n)})}function replace(e,t){if(!e.getOption("readOnly")){var o=e.getSelection()||getSearchState(e).lastQuery,a='<span class="CodeMirror-search-label">'+(t?"Replace all:":"Replace:")+"</span>";dialog(e,a+n,a,o,function(n){n&&(n=parseQuery(n),dialog(e,r,"Replace with:","",function(r){if(r=parseString(r),t)replaceAll(e,n,r);else{clearSearch(e);var o=getSearchCursor(e,n,e.getCursor("from")),a=function(){var t,l=o.from();!(t=o.findNext())&&(o=getSearchCursor(e,n),!(t=o.findNext())||l&&o.from().line==l.line&&o.from().ch==l.ch)||(e.setSelection(o.from(),o.to()),e.scrollIntoView({from:o.from(),to:o.to()}),function confirmDialog(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,i,"Replace?",[function(){s(t)},a,function(){replaceAll(e,n,r)}]))},s=function(e){o.replace("string"==typeof n?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}var t='<span class="CodeMirror-search-label">Search:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',n=' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',r='<span class="CodeMirror-search-label">With:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',i='<span class="CodeMirror-search-label">Replace?</span> <button>Yes</button> <button>No</button> <button>All</button> <button>Stop</button>';e.commands.find=function(e){clearSearch(e),doSearch(e)},e.commands.findPersistent=function(e){clearSearch(e),doSearch(e,!1,!0)},e.commands.findPersistentNext=function(e){doSearch(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){doSearch(e,!0,!0,!0)},e.commands.findNext=doSearch,e.commands.findPrev=function(e){doSearch(e,!0)},e.commands.clearSearch=clearSearch,e.commands.replace=replace,e.commands.replaceAll=function(e){replace(e,!0)}})},937:function(e,t,n){function webpackAsyncContext(e){var t=r[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}var r={"./apl/apl.js":[938,122],"./asciiarmor/asciiarmor.js":[939,121],"./asn.1/asn.1.js":[940,120],"./asterisk/asterisk.js":[941,119],"./brainfuck/brainfuck.js":[942,118],"./clike/clike.js":[915,117],"./clojure/clojure.js":[943,116],"./cmake/cmake.js":[944,115],"./cobol/cobol.js":[945,114],"./coffeescript/coffeescript.js":[919,113],"./commonlisp/commonlisp.js":[946,112],"./crystal/crystal.js":[947,111],"./css/css.js":[910,110],"./cypher/cypher.js":[948,109],"./d/d.js":[949,108],"./dart/dart.js":[950,22],"./diff/diff.js":[951,107],"./django/django.js":[952,8],"./dockerfile/dockerfile.js":[953,26],"./dtd/dtd.js":[954,106],"./dylan/dylan.js":[955,105],"./ebnf/ebnf.js":[956,104],"./ecl/ecl.js":[957,103],"./eiffel/eiffel.js":[958,102],"./elm/elm.js":[959,101],"./erlang/erlang.js":[960,100],"./factor/factor.js":[961,25],"./fcl/fcl.js":[962,99],"./forth/forth.js":[963,98],"./fortran/fortran.js":[964,97],"./gas/gas.js":[965,96],"./gfm/gfm.js":[966,14],"./gherkin/gherkin.js":[967,95],"./go/go.js":[968,94],"./groovy/groovy.js":[969,93],"./haml/haml.js":[970,5],"./handlebars/handlebars.js":[920,16],"./haskell-literate/haskell-literate.js":[971,20],"./haskell/haskell.js":[921,92],"./haxe/haxe.js":[972,91],"./htmlembedded/htmlembedded.js":[973,9],"./htmlmixed/htmlmixed.js":[911,12],"./http/http.js":[974,90],"./idl/idl.js":[975,89],"./javascript/javascript.js":[908,88],"./jinja2/jinja2.js":[976,87],"./jsx/jsx.js":[922,15],"./julia/julia.js":[977,86],"./livescript/livescript.js":[978,85],"./lua/lua.js":[979,84],"./markdown/markdown.js":[923,18],"./mathematica/mathematica.js":[980,83],"./mbox/mbox.js":[981,82],"./meta.js":[917],"./mirc/mirc.js":[982,81],"./mllike/mllike.js":[983,80],"./modelica/modelica.js":[984,79],"./mscgen/mscgen.js":[985,78],"./mumps/mumps.js":[986,77],"./nginx/nginx.js":[987,76],"./nsis/nsis.js":[988,24],"./ntriples/ntriples.js":[989,75],"./octave/octave.js":[990,74],"./oz/oz.js":[991,73],"./pascal/pascal.js":[992,72],"./pegjs/pegjs.js":[993,19],"./perl/perl.js":[994,71],"./php/php.js":[995,6],"./pig/pig.js":[996,70],"./powershell/powershell.js":[997,69],"./properties/properties.js":[998,68],"./protobuf/protobuf.js":[999,67],"./pug/pug.js":[924,11],"./puppet/puppet.js":[1e3,66],"./python/python.js":[925,65],"./q/q.js":[1001,64],"./r/r.js":[1002,63],"./rpm/rpm.js":[1003,62],"./rst/rst.js":[1004,13],"./ruby/ruby.js":[916,61],"./rust/rust.js":[1005,23],"./sas/sas.js":[1006,60],"./sass/sass.js":[926,21],"./scheme/scheme.js":[1007,59],"./shell/shell.js":[1008,58],"./sieve/sieve.js":[1009,57],"./slim/slim.js":[1010,4],"./smalltalk/smalltalk.js":[1011,56],"./smarty/smarty.js":[1012,55],"./solr/solr.js":[1013,54],"./soy/soy.js":[1014,10],"./sparql/sparql.js":[1015,53],"./spreadsheet/spreadsheet.js":[1016,52],"./sql/sql.js":[1017,51],"./stex/stex.js":[927,50],"./stylus/stylus.js":[928,49],"./swift/swift.js":[1018,48],"./tcl/tcl.js":[1019,47],"./textile/textile.js":[1020,46],"./tiddlywiki/tiddlywiki.js":[1021,45],"./tiki/tiki.js":[1022,44],"./toml/toml.js":[1023,43],"./tornado/tornado.js":[1024,7],"./troff/troff.js":[1025,42],"./ttcn-cfg/ttcn-cfg.js":[1026,41],"./ttcn/ttcn.js":[1027,40],"./turtle/turtle.js":[1028,39],"./twig/twig.js":[1029,27],"./vb/vb.js":[1030,38],"./vbscript/vbscript.js":[1031,37],"./velocity/velocity.js":[1032,36],"./verilog/verilog.js":[1033,35],"./vhdl/vhdl.js":[1034,34],"./vue/vue.js":[1035,3],"./webidl/webidl.js":[1036,33],"./xml/xml.js":[909,32],"./xquery/xquery.js":[1037,31],"./yacas/yacas.js":[1038,30],"./yaml-frontmatter/yaml-frontmatter.js":[1039,17],"./yaml/yaml.js":[929,29],"./z80/z80.js":[1040,28]};webpackAsyncContext.keys=function webpackAsyncContextKeys(){return Object.keys(r)},e.exports=webpackAsyncContext,webpackAsyncContext.id=937}}); \ No newline at end of file diff --git a/build/codemirror.a8f27acf.js b/build/codemirror.a8f27acf.js deleted file mode 100644 index 87b750d..0000000 --- a/build/codemirror.a8f27acf.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([2],{904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeMirror=void 0;var i=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(n(907));n(933),n(934),n(917),i.default.loadMode=function(e,t){i.default.modes.hasOwnProperty(t)?e.setOption("mode",t):n(937)("./"+t+"/"+t+".js").then(function(){e.setOption("mode",t)})},i.default.importAddons=function(){n.e(125).then(n.bind(null,920)),n.e(124).then(n.bind(null,921)),n.e(17).then(n.bind(null,936))},t.CodeMirror=i.default},907:function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function classTest(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}function removeChildren(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function removeChildrenAndAdd(e,t){return removeChildren(e).appendChild(t)}function elt(e,t,n,i){var r=document.createElement(e);if(n&&(r.className=n),i&&(r.style.cssText=i),"string"==typeof t)r.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)r.appendChild(t[o]);return r}function eltP(e,t,n,i){var r=elt(e,t,n,i);return r.setAttribute("role","presentation"),r}function contains(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function activeElt(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function addClass(e,t){var n=e.className;classTest(t).test(n)||(e.className+=(n?" ":"")+t)}function joinClasses(e,t){for(var n=e.split(" "),i=0;i<n.length;i++)n[i]&&!classTest(n[i]).test(t)&&(t+=" "+n[i]);return t}function bind(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function copyObj(e,t,n){t||(t={});for(var i in e)!e.hasOwnProperty(i)||!1===n&&t.hasOwnProperty(i)||(t[i]=e[i]);return t}function countColumn(e,t,n,i,r){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var o=i||0,a=r||0;;){var l=e.indexOf("\t",o);if(l<0||l>=t)return a+(t-o);a+=l-o,a+=n-a%n,o=l+1}}function indexOf(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}function findColumn(e,t,n){for(var i=0,r=0;;){var o=e.indexOf("\t",i);-1==o&&(o=e.length);var a=o-i;if(o==e.length||r+a>=t)return i+Math.min(a,t-r);if(r+=o-i,r+=n-r%n,i=o+1,r>=t)return i}}function spaceStr(e){for(;W.length<=e;)W.push(lst(W)+" ");return W[e]}function lst(e){return e[e.length-1]}function map(e,t){for(var n=[],i=0;i<e.length;i++)n[i]=t(e[i],i);return n}function nothing(){}function createObj(e,t){var n;return Object.create?n=Object.create(e):(nothing.prototype=e,n=new nothing),t&&copyObj(t,n),n}function isWordCharBasic(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||I.test(e))}function isWordChar(e,t){return t?!!(t.source.indexOf("\\w")>-1&&isWordCharBasic(e))||t.test(e):isWordCharBasic(e)}function isEmpty(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}function isExtendingChar(e){return e.charCodeAt(0)>=768&&E.test(e)}function skipExtendingChars(e,t,n){for(;(n<0?t>0:t<e.length)&&isExtendingChar(e.charAt(t));)t+=n;return t}function findFirst(e,t,n){for(var i=t>n?-1:1;;){if(t==n)return t;var r=(t+n)/2,o=i<0?Math.ceil(r):Math.floor(r);if(o==t)return e(o)?t:n;e(o)?n=o:t=o+i}}function getLine(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var i=0;;++i){var r=n.children[i],o=r.chunkSize();if(t<o){n=r;break}t-=o}return n.lines[t]}function getBetween(e,t,n){var i=[],r=t.line;return e.iter(t.line,n.line+1,function(e){var o=e.text;r==n.line&&(o=o.slice(0,n.ch)),r==t.line&&(o=o.slice(t.ch)),i.push(o),++r}),i}function getLines(e,t,n){var i=[];return e.iter(t,n,function(e){i.push(e.text)}),i}function updateLineHeight(e,t){var n=t-e.height;if(n)for(var i=e;i;i=i.parent)i.height+=n}function lineNo(e){if(null==e.parent)return null;for(var t=e.parent,n=indexOf(t.lines,e),i=t.parent;i;t=i,i=i.parent)for(var r=0;i.children[r]!=t;++r)n+=i.children[r].chunkSize();return n+t.first}function lineAtHeight(e,t){var n=e.first;e:do{for(var i=0;i<e.children.length;++i){var r=e.children[i],o=r.height;if(t<o){e=r;continue e}t-=o,n+=r.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var l=e.lines[a].height;if(t<l)break;t-=l}return n+a}function isLine(e,t){return t>=e.first&&t<e.first+e.size}function lineNumberFor(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function Pos(e,t,n){if(void 0===n&&(n=null),!(this instanceof Pos))return new Pos(e,t,n);this.line=e,this.ch=t,this.sticky=n}function cmp(e,t){return e.line-t.line||e.ch-t.ch}function equalCursorPos(e,t){return e.sticky==t.sticky&&0==cmp(e,t)}function copyPos(e){return Pos(e.line,e.ch)}function maxPos(e,t){return cmp(e,t)<0?t:e}function minPos(e,t){return cmp(e,t)<0?e:t}function clipLine(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function clipPos(e,t){if(t.line<e.first)return Pos(e.first,0);var n=e.first+e.size-1;return t.line>n?Pos(n,getLine(e,n).text.length):function clipToLen(e,t){var n=e.ch;return null==n||n>t?Pos(e.line,t):n<0?Pos(e.line,0):e}(t,getLine(e,t.line).text.length)}function clipPosArray(e,t){for(var n=[],i=0;i<t.length;i++)n[i]=clipPos(e,t[i]);return n}function MarkedSpan(e,t,n){this.marker=e,this.from=t,this.to=n}function getMarkedSpanFor(e,t){if(e)for(var n=0;n<e.length;++n){var i=e[n];if(i.marker==t)return i}}function removeMarkedSpan(e,t){for(var n,i=0;i<e.length;++i)e[i]!=t&&(n||(n=[])).push(e[i]);return n}function stretchSpansOverChange(e,t){if(t.full)return null;var n=isLine(e,t.from.line)&&getLine(e,t.from.line).markedSpans,i=isLine(e,t.to.line)&&getLine(e,t.to.line).markedSpans;if(!n&&!i)return null;var r=t.from.ch,o=t.to.ch,a=0==cmp(t.from,t.to),l=function markedSpansBefore(e,t,n){var i;if(e)for(var r=0;r<e.length;++r){var o=e[r],a=o.marker;if(null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t)||o.from==t&&"bookmark"==a.type&&(!n||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(i||(i=[])).push(new MarkedSpan(a,o.from,l?null:o.to))}}return i}(n,r,a),s=function markedSpansAfter(e,t,n){var i;if(e)for(var r=0;r<e.length;++r){var o=e[r],a=o.marker;if(null==o.to||(a.inclusiveRight?o.to>=t:o.to>t)||o.from==t&&"bookmark"==a.type&&(!n||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(i||(i=[])).push(new MarkedSpan(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return i}(i,o,a),c=1==t.text.length,u=lst(t.text).length+(c?r:0);if(l)for(var d=0;d<l.length;++d){var h=l[d];if(null==h.to){var p=getMarkedSpanFor(s,h.marker);p?c&&(h.to=null==p.to?null:p.to+u):h.to=r}}if(s)for(var f=0;f<s.length;++f){var m=s[f];if(null!=m.to&&(m.to+=u),null==m.from){getMarkedSpanFor(l,m.marker)||(m.from=u,c&&(l||(l=[])).push(m))}else m.from+=u,c&&(l||(l=[])).push(m)}l&&(l=clearEmptySpans(l)),s&&s!=l&&(s=clearEmptySpans(s));var g=[l];if(!c){var v,y=t.text.length-2;if(y>0&&l)for(var x=0;x<l.length;++x)null==l[x].to&&(v||(v=[])).push(new MarkedSpan(l[x].marker,null,null));for(var C=0;C<y;++C)g.push(v);g.push(s)}return g}function clearEmptySpans(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function detachMarkedSpans(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function attachMarkedSpans(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function extraLeft(e){return e.inclusiveLeft?-1:0}function extraRight(e){return e.inclusiveRight?1:0}function compareCollapsedMarkers(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var i=e.find(),r=t.find(),o=cmp(i.from,r.from)||extraLeft(e)-extraLeft(t);if(o)return-o;var a=cmp(i.to,r.to)||extraRight(e)-extraRight(t);return a||t.id-e.id}function collapsedSpanAtSide(e,t){var n,i=B&&e.markedSpans;if(i)for(var r=void 0,o=0;o<i.length;++o)(r=i[o]).marker.collapsed&&null==(t?r.from:r.to)&&(!n||compareCollapsedMarkers(n,r.marker)<0)&&(n=r.marker);return n}function collapsedSpanAtStart(e){return collapsedSpanAtSide(e,!0)}function collapsedSpanAtEnd(e){return collapsedSpanAtSide(e,!1)}function conflictingCollapsedRange(e,t,n,i,r){var o=getLine(e,t),a=B&&o.markedSpans;if(a)for(var l=0;l<a.length;++l){var s=a[l];if(s.marker.collapsed){var c=s.marker.find(0),u=cmp(c.from,n)||extraLeft(s.marker)-extraLeft(r),d=cmp(c.to,i)||extraRight(s.marker)-extraRight(r);if(!(u>=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(s.marker.inclusiveRight&&r.inclusiveLeft?cmp(c.to,n)>=0:cmp(c.to,n)>0)||u>=0&&(s.marker.inclusiveRight&&r.inclusiveLeft?cmp(c.from,i)<=0:cmp(c.from,i)<0)))return!0}}}function visualLine(e){for(var t;t=collapsedSpanAtStart(e);)e=t.find(-1,!0).line;return e}function visualLineNo(e,t){var n=getLine(e,t),i=visualLine(n);return n==i?t:lineNo(i)}function visualLineEndNo(e,t){if(t>e.lastLine())return t;var n,i=getLine(e,t);if(!lineIsHidden(e,i))return t;for(;n=collapsedSpanAtEnd(i);)i=n.find(1,!0).line;return lineNo(i)+1}function lineIsHidden(e,t){var n=B&&t.markedSpans;if(n)for(var i=void 0,r=0;r<n.length;++r)if((i=n[r]).marker.collapsed){if(null==i.from)return!0;if(!i.marker.widgetNode&&0==i.from&&i.marker.inclusiveLeft&&lineIsHiddenInner(e,t,i))return!0}}function lineIsHiddenInner(e,t,n){if(null==n.to){var i=n.marker.find(1,!0);return lineIsHiddenInner(e,i.line,getMarkedSpanFor(i.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var r=void 0,o=0;o<t.markedSpans.length;++o)if((r=t.markedSpans[o]).marker.collapsed&&!r.marker.widgetNode&&r.from==n.to&&(null==r.to||r.to!=n.from)&&(r.marker.inclusiveLeft||n.marker.inclusiveRight)&&lineIsHiddenInner(e,t,r))return!0}function heightAtLine(e){for(var t=0,n=(e=visualLine(e)).parent,i=0;i<n.lines.length;++i){var r=n.lines[i];if(r==e)break;t+=r.height}for(var o=n.parent;o;n=o,o=n.parent)for(var a=0;a<o.children.length;++a){var l=o.children[a];if(l==n)break;t+=l.height}return t}function lineLength(e){if(0==e.height)return 0;for(var t,n=e.text.length,i=e;t=collapsedSpanAtStart(i);){var r=t.find(0,!0);i=r.from.line,n+=r.from.ch-r.to.ch}for(i=e;t=collapsedSpanAtEnd(i);){var o=t.find(0,!0);n-=i.text.length-o.from.ch,n+=(i=o.to.line).text.length-o.to.ch}return n}function findMaxLine(e){var t=e.display,n=e.doc;t.maxLine=getLine(n,n.first),t.maxLineLength=lineLength(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=lineLength(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}function getBidiPartAt(e,t,n){var i;R=null;for(var r=0;r<e.length;++r){var o=e[r];if(o.from<t&&o.to>t)return r;o.to==t&&(o.from!=o.to&&"before"==n?i=r:R=r),o.from==t&&(o.from!=o.to&&"before"!=n?i=r:R=r)}return null!=i?i:R}function getOrder(e,t){var n=e.order;return null==n&&(n=e.order=z(e.text,t)),n}function getHandlers(e,t){return e._handlers&&e._handlers[t]||V}function off(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var i=e._handlers,r=i&&i[t];if(r){var o=indexOf(r,n);o>-1&&(i[t]=r.slice(0,o).concat(r.slice(o+1)))}}}function signal(e,t){var n=getHandlers(e,t);if(n.length)for(var i=Array.prototype.slice.call(arguments,2),r=0;r<n.length;++r)n[r].apply(null,i)}function signalDOMEvent(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),signal(e,n||t.type,e,t),e_defaultPrevented(t)||t.codemirrorIgnore}function signalCursorActivity(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),i=0;i<t.length;++i)-1==indexOf(n,t[i])&&n.push(t[i])}function hasHandler(e,t){return getHandlers(e,t).length>0}function eventMixin(e){e.prototype.on=function(e,t){G(this,e,t)},e.prototype.off=function(e,t){off(this,e,t)}}function e_preventDefault(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function e_stopPropagation(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function e_defaultPrevented(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function e_stop(e){e_preventDefault(e),e_stopPropagation(e)}function e_target(e){return e.target||e.srcElement}function e_button(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}function zeroWidthElement(e){if(null==O){var t=elt("span","​");removeChildrenAndAdd(e,elt("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(O=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&l<8))}var n=O?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function hasBadBidiRects(e){if(null!=P)return P;var t=removeChildrenAndAdd(e,document.createTextNode("AخA")),n=w(t,0,1).getBoundingClientRect(),i=w(t,1,2).getBoundingClientRect();return removeChildren(e),!(!n||n.left==n.right)&&(P=i.right-n.right<3)}function resolveMode(e){if("string"==typeof e&&Y.hasOwnProperty(e))e=Y[e];else if(e&&"string"==typeof e.name&&Y.hasOwnProperty(e.name)){var t=Y[e.name];"string"==typeof t&&(t={name:t}),(e=createObj(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return resolveMode("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return resolveMode("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function getMode(e,t){t=resolveMode(t);var n=X[t.name];if(!n)return getMode(e,"text/plain");var i=n(e,t);if(Z.hasOwnProperty(t.name)){var r=Z[t.name];for(var o in r)r.hasOwnProperty(o)&&(i.hasOwnProperty(o)&&(i["_"+o]=i[o]),i[o]=r[o])}if(i.name=t.name,t.helperType&&(i.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)i[a]=t.modeProps[a];return i}function extendMode(e,t){copyObj(t,Z.hasOwnProperty(e)?Z[e]:Z[e]={})}function copyState(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var i in t){var r=t[i];r instanceof Array&&(r=r.concat([])),n[i]=r}return n}function innerMode(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function startState(e,t,n){return!e.startState||e.startState(t,n)}function highlightLine(e,t,n,i){var r=[e.state.modeGen],o={};runMode(e,t.text,e.doc.mode,n,function(e,t){return r.push(e,t)},o,i);for(var a=n.state,l=function(i){n.baseTokens=r;var l=e.state.overlays[i],s=1,c=0;n.state=!0,runMode(e,t.text,l.mode,n,function(e,t){for(var n=s;c<e;){var i=r[s];i>e&&r.splice(s,1,e,r[s+1],i),s+=2,c=Math.min(e,i)}if(t)if(l.opaque)r.splice(n,s-n,e,"overlay "+t),s=n+2;else for(;n<s;n+=2){var o=r[n+1];r[n+1]=(o?o+" ":"")+"overlay "+t}},o),n.state=a,n.baseTokens=null,n.baseTokenPos=1},s=0;s<e.state.overlays.length;++s)l(s);return{styles:r,classes:o.bgClass||o.textClass?o:null}}function getLineStyles(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var i=getContextBefore(e,lineNo(t)),r=t.text.length>e.options.maxHighlightLength&&copyState(e.doc.mode,i.state),o=highlightLine(e,t,i);r&&(i.state=r),t.stateAfter=i.save(!r),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function getContextBefore(e,t,n){var i=e.doc,r=e.display;if(!i.mode.startState)return new ee(i,!0,t);var o=function findStartLine(e,t,n){for(var i,r,o=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),l=t;l>a;--l){if(l<=o.first)return o.first;var s=getLine(o,l-1),c=s.stateAfter;if(c&&(!n||l+(c instanceof Q?c.lookAhead:0)<=o.modeFrontier))return l;var u=countColumn(s.text,null,e.options.tabSize);(null==r||i>u)&&(r=l-1,i=u)}return r}(e,t,n),a=o>i.first&&getLine(i,o-1).stateAfter,l=a?ee.fromSaved(i,a,o):new ee(i,startState(i.mode),o);return i.iter(o,t,function(n){processLine(e,n.text,l);var i=l.line;n.stateAfter=i==t-1||i%5==0||i>=r.viewFrom&&i<r.viewTo?l.save():null,l.nextLine()}),n&&(i.modeFrontier=l.line),l}function processLine(e,t,n,i){var r=e.doc.mode,o=new J(t,e.options.tabSize,n);for(o.start=o.pos=i||0,""==t&&callBlankLine(r,n.state);!o.eol();)readToken(r,o,n.state),o.start=o.pos}function callBlankLine(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=innerMode(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function readToken(e,t,n,i){for(var r=0;r<10;r++){i&&(i[0]=innerMode(e,n).mode);var o=e.token(t,n);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}function takeToken(e,t,n,i){var r,o,a=e.doc,l=a.mode,s=getLine(a,(t=clipPos(a,t)).line),c=getContextBefore(e,t.line,n),u=new J(s.text,e.options.tabSize,c);for(i&&(o=[]);(i||u.pos<t.ch)&&!u.eol();)u.start=u.pos,r=readToken(l,u,c.state),i&&o.push(new te(u,r,copyState(a.mode,c.state)));return i?o:new te(u,r,c.state)}function extractLineClasses(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var i=n[1]?"bgClass":"textClass";null==t[i]?t[i]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[i])||(t[i]+=" "+n[2])}return e}function runMode(e,t,n,i,r,o,a){var l=n.flattenSpans;null==l&&(l=e.options.flattenSpans);var s,c=0,u=null,d=new J(t,e.options.tabSize,i),h=e.options.addModeClass&&[null];for(""==t&&extractLineClasses(callBlankLine(n,i.state),o);!d.eol();){if(d.pos>e.options.maxHighlightLength?(l=!1,a&&processLine(e,t,i,d.pos),d.pos=t.length,s=null):s=extractLineClasses(readToken(n,d,i.state,h),o),h){var p=h[0].name;p&&(s="m-"+(s?p+" "+s:p))}if(!l||u!=s){for(;c<d.start;)r(c=Math.min(d.start,c+5e3),u);u=s}d.start=d.pos}for(;c<d.pos;){var f=Math.min(d.pos,c+5e3);r(f,u),c=f}}function cleanUpLine(e){e.parent=null,detachMarkedSpans(e)}function interpretTokenStyle(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?oe:re;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function buildLineContent(e,t){var n=eltP("span",null,null,s?"padding-right: .1px":null),i={pre:eltP("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(a||s)&&e.getOption("lineWrapping")};t.measure={};for(var r=0;r<=(t.rest?t.rest.length:0);r++){var o=r?t.rest[r-1]:t.line,l=void 0;i.pos=0,i.addToken=buildToken,hasBadBidiRects(e.display.measure)&&(l=getOrder(o,e.doc.direction))&&(i.addToken=function buildTokenBadBidi(e,t){return function(n,i,r,o,a,l,s){r=r?r+" cm-force-border":"cm-force-border";for(var c=n.pos,u=c+i.length;;){for(var d=void 0,h=0;h<t.length&&!((d=t[h]).to>c&&d.from<=c);h++);if(d.to>=u)return e(n,i,r,o,a,l,s);e(n,i.slice(0,d.to-c),r,o,null,l,s),o=null,i=i.slice(d.to-c),c=d.to}}}(i.addToken,l)),i.map=[];!function insertLineContent(e,t,n){var i=e.markedSpans,r=e.text,o=0;if(!i){for(var a=1;a<n.length;a+=2)t.addToken(t,r.slice(o,o=n[a]),interpretTokenStyle(n[a+1],t.cm.options));return}for(var l,s,c,u,d,h,p,f=r.length,m=0,g=1,v="",y=0;;){if(y==m){c=u=d=h=s="",p=null,y=1/0;for(var x=[],C=void 0,b=0;b<i.length;++b){var w=i[b],S=w.marker;"bookmark"==S.type&&w.from==m&&S.widgetNode?x.push(S):w.from<=m&&(null==w.to||w.to>m||S.collapsed&&w.to==m&&w.from==m)?(null!=w.to&&w.to!=m&&y>w.to&&(y=w.to,u=""),S.className&&(c+=" "+S.className),S.css&&(s=(s?s+";":"")+S.css),S.startStyle&&w.from==m&&(d+=" "+S.startStyle),S.endStyle&&w.to==y&&(C||(C=[])).push(S.endStyle,w.to),S.title&&!h&&(h=S.title),S.collapsed&&(!p||compareCollapsedMarkers(p.marker,S)<0)&&(p=w)):w.from>m&&y>w.from&&(y=w.from)}if(C)for(var L=0;L<C.length;L+=2)C[L+1]==y&&(u+=" "+C[L]);if(!p||p.from==m)for(var k=0;k<x.length;++k)buildCollapsedSpan(t,0,x[k]);if(p&&(p.from||0)==m){if(buildCollapsedSpan(t,(null==p.to?f+1:p.to)-m,p.marker,null==p.from),null==p.to)return;p.to==m&&(p=!1)}}if(m>=f)break;for(var M=Math.min(f,y);;){if(v){var T=m+v.length;if(!p){var O=T>M?v.slice(0,M-m):v;t.addToken(t,O,l?l+c:c,d,m+O.length==y?u:"",h,s)}if(T>=M){v=v.slice(M-m),m=M;break}m=T,d=""}v=r.slice(o,o=n[g++]),l=interpretTokenStyle(n[g++],t.cm.options)}}}(o,i,getLineStyles(e,o,t!=e.display.externalMeasured&&lineNo(o))),o.styleClasses&&(o.styleClasses.bgClass&&(i.bgClass=joinClasses(o.styleClasses.bgClass,i.bgClass||"")),o.styleClasses.textClass&&(i.textClass=joinClasses(o.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(zeroWidthElement(e.display.measure))),0==r?(t.measure.map=i.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(i.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(s){var c=i.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return signal(e,"renderLine",e,t.line,i.pre),i.pre.className&&(i.textClass=joinClasses(i.pre.className,i.textClass||"")),i}function defaultSpecialCharPlaceholder(e){var t=elt("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function buildToken(e,t,n,i,r,o,s){if(t){var c,u=e.splitSpaces?function splitSpaces(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,i="",r=0;r<e.length;r++){var o=e.charAt(r);" "!=o||!n||r!=e.length-1&&32!=e.charCodeAt(r+1)||(o=" "),i+=o,n=" "==o}return i}(t,e.trailingSpace):t,d=e.cm.state.specialChars,h=!1;if(d.test(t)){c=document.createDocumentFragment();for(var p=0;;){d.lastIndex=p;var f=d.exec(t),m=f?f.index-p:t.length-p;if(m){var g=document.createTextNode(u.slice(p,p+m));a&&l<9?c.appendChild(elt("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!f)break;p+=m+1;var v=void 0;if("\t"==f[0]){var y=e.cm.options.tabSize,x=y-e.col%y;(v=c.appendChild(elt("span",spaceStr(x),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=x}else"\r"==f[0]||"\n"==f[0]?((v=c.appendChild(elt("span","\r"==f[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",f[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(f[0])).setAttribute("cm-text",f[0]),a&&l<9?c.appendChild(elt("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&l<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||i||r||h||s){var C=n||"";i&&(C+=i),r&&(C+=r);var b=elt("span",[c],C,s);return o&&(b.title=o),e.content.appendChild(b)}e.content.appendChild(c)}}function buildCollapsedSpan(e,t,n,i){var r=!i&&n.widgetNode;r&&e.map.push(e.pos,e.pos+t,r),!i&&e.cm.display.input.needsContentAttribute&&(r||(r=e.content.appendChild(document.createElement("span"))),r.setAttribute("cm-marker",n.id)),r&&(e.cm.display.input.setUneditable(r),e.content.appendChild(r)),e.pos+=t,e.trailingSpace=!1}function LineView(e,t,n){this.line=t,this.rest=function visualLineContinued(e){for(var t,n;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?lineNo(lst(this.rest))-n+1:1,this.node=this.text=null,this.hidden=lineIsHidden(e,t)}function buildViewArray(e,t,n){for(var i,r=[],o=t;o<n;o=i){var a=new LineView(e.doc,getLine(e.doc,o),o);i=o+a.size,r.push(a)}return r}function signalLater(e,t){var n=getHandlers(e,t);if(n.length){var i,r=Array.prototype.slice.call(arguments,2);ae?i=ae.delayedCallbacks:le?i=le:(i=le=[],setTimeout(fireOrphanDelayed,0));for(var o=function(e){i.push(function(){return n[e].apply(null,r)})},a=0;a<n.length;++a)o(a)}}function fireOrphanDelayed(){var e=le;le=null;for(var t=0;t<e.length;++t)e[t]()}function updateLineForChanges(e,t,n,i){for(var r=0;r<t.changes.length;r++){var o=t.changes[r];"text"==o?function updateLineText(e,t){var n=t.text.className,i=getLineContent(e,t);t.text==t.node&&(t.node=i.pre);t.text.parentNode.replaceChild(i.pre,t.text),t.text=i.pre,i.bgClass!=t.bgClass||i.textClass!=t.textClass?(t.bgClass=i.bgClass,t.textClass=i.textClass,updateLineClasses(e,t)):n&&(t.text.className=n)}(e,t):"gutter"==o?updateLineGutter(e,t,n,i):"class"==o?updateLineClasses(e,t):"widget"==o&&function updateLineWidgets(e,t,n){t.alignable&&(t.alignable=null);for(var i=t.node.firstChild,r=void 0;i;i=r)r=i.nextSibling,"CodeMirror-linewidget"==i.className&&t.node.removeChild(i);insertLineWidgets(e,t,n)}(e,t,i)}t.changes=null}function ensureLineWrapped(e){return e.node==e.text&&(e.node=elt("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&l<8&&(e.node.style.zIndex=2)),e.node}function getLineContent(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):buildLineContent(e,t)}function updateLineClasses(e,t){!function updateLineBackground(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var i=ensureLineWrapped(t);t.background=i.insertBefore(elt("div",null,n),i.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?ensureLineWrapped(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function updateLineGutter(e,t,n,i){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var r=ensureLineWrapped(t);t.gutterBackground=elt("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px; width: "+i.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),r.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=ensureLineWrapped(t),l=t.gutter=elt("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?i.fixedPos:-i.gutterTotalWidth)+"px");if(e.display.input.setUneditable(l),a.insertBefore(l,t.text),t.line.gutterClass&&(l.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=l.appendChild(elt("div",lineNumberFor(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+i.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var s=0;s<e.options.gutters.length;++s){var c=e.options.gutters[s],u=o.hasOwnProperty(c)&&o[c];u&&l.appendChild(elt("div",[u],"CodeMirror-gutter-elt","left: "+i.gutterLeft[c]+"px; width: "+i.gutterWidth[c]+"px"))}}}function buildLineElement(e,t,n,i){var r=getLineContent(e,t);return t.text=t.node=r.pre,r.bgClass&&(t.bgClass=r.bgClass),r.textClass&&(t.textClass=r.textClass),updateLineClasses(e,t),updateLineGutter(e,t,n,i),insertLineWidgets(e,t,i),t.node}function insertLineWidgets(e,t,n){if(insertLineWidgetsFor(e,t.line,t,n,!0),t.rest)for(var i=0;i<t.rest.length;i++)insertLineWidgetsFor(e,t.rest[i],t,n,!1)}function insertLineWidgetsFor(e,t,n,i,r){if(t.widgets)for(var o=ensureLineWrapped(n),a=0,l=t.widgets;a<l.length;++a){var s=l[a],c=elt("div",[s.node],"CodeMirror-linewidget");s.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),function positionLineWidget(e,t,n,i){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var r=i.wrapperWidth;t.style.left=i.fixedPos+"px",e.coverGutter||(r-=i.gutterTotalWidth,t.style.paddingLeft=i.gutterTotalWidth+"px"),t.style.width=r+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-i.gutterTotalWidth+"px"))}(s,c,n,i),e.display.input.setUneditable(c),r&&s.above?o.insertBefore(c,n.gutter||n.text):o.appendChild(c),signalLater(s,"redraw")}}function widgetHeight(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!contains(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),removeChildrenAndAdd(t.display.measure,elt("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function eventInWidget(e,t){for(var n=e_target(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function paddingTop(e){return e.lineSpace.offsetTop}function paddingVert(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function paddingH(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=removeChildrenAndAdd(e.measure,elt("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,i={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(i.left)||isNaN(i.right)||(e.cachedPaddingH=i),i}function scrollGap(e){return A-e.display.nativeBarWidth}function displayWidth(e){return e.display.scroller.clientWidth-scrollGap(e)-e.display.barWidth}function displayHeight(e){return e.display.scroller.clientHeight-scrollGap(e)-e.display.barHeight}function mapFromLineView(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var i=0;i<e.rest.length;i++)if(e.rest[i]==t)return{map:e.measure.maps[i],cache:e.measure.caches[i]};for(var r=0;r<e.rest.length;r++)if(lineNo(e.rest[r])>n)return{map:e.measure.maps[r],cache:e.measure.caches[r],before:!0}}function measureChar(e,t,n,i){return measureCharPrepared(e,prepareMeasureForLine(e,t),n,i)}function findViewForLine(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[findViewIndex(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function prepareMeasureForLine(e,t){var n=lineNo(t),i=findViewForLine(e,n);i&&!i.text?i=null:i&&i.changes&&(updateLineForChanges(e,i,n,getDimensions(e)),e.curOp.forceUpdate=!0),i||(i=function updateExternalMeasurement(e,t){var n=lineNo(t=visualLine(t)),i=e.display.externalMeasured=new LineView(e.doc,t,n);i.lineN=n;var r=i.built=buildLineContent(e,i);return i.text=r.pre,removeChildrenAndAdd(e.display.lineMeasure,r.pre),i}(e,t));var r=mapFromLineView(i,t,n);return{line:t,view:i,rect:null,map:r.map,cache:r.cache,before:r.before,hasHeights:!1}}function measureCharPrepared(e,t,n,i,r){t.before&&(n=-1);var o,s=n+(i||"");return t.cache.hasOwnProperty(s)?o=t.cache[s]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(!function ensureLineHeights(e,t,n){var i=e.options.lineWrapping,r=i&&displayWidth(e);if(!t.measure.heights||i&&t.measure.width!=r){var o=t.measure.heights=[];if(i){t.measure.width=r;for(var a=t.text.firstChild.getClientRects(),l=0;l<a.length-1;l++){var s=a[l],c=a[l+1];Math.abs(s.bottom-c.bottom)>2&&o.push((s.bottom+c.top)/2-n.top)}}o.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(o=function measureCharInner(e,t,n,i){var r,o=nodeAndOffsetInLineMap(t.map,n,i),s=o.node,c=o.start,u=o.end,d=o.collapse;if(3==s.nodeType){for(var h=0;h<4;h++){for(;c&&isExtendingChar(t.line.text.charAt(o.coverStart+c));)--c;for(;o.coverStart+u<o.coverEnd&&isExtendingChar(t.line.text.charAt(o.coverStart+u));)++u;if((r=a&&l<9&&0==c&&u==o.coverEnd-o.coverStart?s.parentNode.getBoundingClientRect():getUsefulRect(w(s,c,u).getClientRects(),i)).left||r.right||0==c)break;u=c,c-=1,d="right"}a&&l<11&&(r=function maybeUpdateRectForZooming(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function hasBadZoomedRects(e){if(null!=$)return $;var t=removeChildrenAndAdd(e,elt("span","x")),n=t.getBoundingClientRect(),i=w(t,0,1).getBoundingClientRect();return $=Math.abs(n.left-i.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*i,bottom:t.bottom*i}}(e.display.measure,r))}else{c>0&&(d=i="right");var p;r=e.options.lineWrapping&&(p=s.getClientRects()).length>1?p["right"==i?p.length-1:0]:s.getBoundingClientRect()}if(a&&l<9&&!c&&(!r||!r.left&&!r.right)){var f=s.parentNode.getClientRects()[0];r=f?{left:f.left,right:f.left+charWidth(e.display),top:f.top,bottom:f.bottom}:se}for(var m=r.top-t.rect.top,g=r.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,x=0;x<y.length-1&&!(v<y[x]);x++);var C=x?y[x-1]:0,b=y[x],S={left:("right"==d?r.right:r.left)-t.rect.left,right:("left"==d?r.left:r.right)-t.rect.left,top:C,bottom:b};r.left||r.right||(S.bogus=!0);e.options.singleCursorHeightPerLine||(S.rtop=m,S.rbottom=g);return S}(e,t,n,i)).bogus||(t.cache[s]=o)),{left:o.left,right:o.right,top:r?o.rtop:o.top,bottom:r?o.rbottom:o.bottom}}function nodeAndOffsetInLineMap(e,t,n){for(var i,r,o,a,l,s,c=0;c<e.length;c+=3)if(l=e[c],s=e[c+1],t<l?(r=0,o=1,a="left"):t<s?o=(r=t-l)+1:(c==e.length-3||t==s&&e[c+3]>t)&&(r=(o=s-l)-1,t>=s&&(a="right")),null!=r){if(i=e[c+2],l==s&&n==(i.insertLeft?"left":"right")&&(a=n),"left"==n&&0==r)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)i=e[2+(c-=3)],a="left";if("right"==n&&r==s-l)for(;c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft;)i=e[(c+=3)+2],a="right";break}return{node:i,start:r,end:o,collapse:a,coverStart:l,coverEnd:s}}function getUsefulRect(e,t){var n=se;if("left"==t)for(var i=0;i<e.length&&(n=e[i]).left==n.right;i++);else for(var r=e.length-1;r>=0&&(n=e[r]).left==n.right;r--);return n}function clearLineMeasurementCacheFor(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function clearLineMeasurementCache(e){e.display.externalMeasure=null,removeChildren(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)clearLineMeasurementCacheFor(e.display.view[t])}function clearCaches(e){clearLineMeasurementCache(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function pageScrollX(){return u&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pageScrollY(){return u&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function widgetTopHeight(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=widgetHeight(e.widgets[n]));return t}function intoCoordSystem(e,t,n,i,r){if(!r){var o=widgetTopHeight(t);n.top+=o,n.bottom+=o}if("line"==i)return n;i||(i="local");var a=heightAtLine(t);if("local"==i?a+=paddingTop(e.display):a-=e.display.viewOffset,"page"==i||"window"==i){var l=e.display.lineSpace.getBoundingClientRect();a+=l.top+("window"==i?0:pageScrollY());var s=l.left+("window"==i?0:pageScrollX());n.left+=s,n.right+=s}return n.top+=a,n.bottom+=a,n}function fromCoordSystem(e,t,n){if("div"==n)return t;var i=t.left,r=t.top;if("page"==n)i-=pageScrollX(),r-=pageScrollY();else if("local"==n||!n){var o=e.display.sizer.getBoundingClientRect();i+=o.left,r+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:i-a.left,top:r-a.top}}function charCoords(e,t,n,i,r){return i||(i=getLine(e.doc,t.line)),intoCoordSystem(e,i,measureChar(e,i,t.ch,r),n)}function cursorCoords(e,t,n,i,r,o){function get(t,a){var l=measureCharPrepared(e,r,t,a?"right":"left",o);return a?l.left=l.right:l.right=l.left,intoCoordSystem(e,i,l,n)}function getBidi(e,t,n){var i=1==a[t].level;return get(n?e-1:e,i!=n)}i=i||getLine(e.doc,t.line),r||(r=prepareMeasureForLine(e,i));var a=getOrder(i,e.doc.direction),l=t.ch,s=t.sticky;if(l>=i.text.length?(l=i.text.length,s="before"):l<=0&&(l=0,s="after"),!a)return get("before"==s?l-1:l,"before"==s);var c=getBidiPartAt(a,l,s),u=R,d=getBidi(l,c,"before"==s);return null!=u&&(d.other=getBidi(l,u,"before"!=s)),d}function estimateCoords(e,t){var n=0;t=clipPos(e.doc,t),e.options.lineWrapping||(n=charWidth(e.display)*t.ch);var i=getLine(e.doc,t.line),r=heightAtLine(i)+paddingTop(e.display);return{left:n,right:n,top:r,bottom:r+i.height}}function PosWithInfo(e,t,n,i,r){var o=Pos(e,t,n);return o.xRel=r,i&&(o.outside=!0),o}function coordsChar(e,t,n){var i=e.doc;if((n+=e.display.viewOffset)<0)return PosWithInfo(i.first,0,null,!0,-1);var r=lineAtHeight(i,n),o=i.first+i.size-1;if(r>o)return PosWithInfo(i.first+i.size-1,getLine(i,o).text.length,null,!0,1);t<0&&(t=0);for(var a=getLine(i,r);;){var l=function coordsCharInner(e,t,n,i,r){r-=heightAtLine(t);var o=prepareMeasureForLine(e,t),a=widgetTopHeight(t),l=0,s=t.text.length,c=!0,u=getOrder(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?function coordsBidiPartWrapped(e,t,n,i,r,o,a){var l=wrappedLineExtent(e,t,i,a),s=l.begin,c=l.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,h=0;h<r.length;h++){var p=r[h];if(!(p.from>=c||p.to<=s)){var f=1!=p.level,m=measureCharPrepared(e,i,f?Math.min(c,p.to)-1:Math.max(s,p.from)).right,g=m<o?o-m+1e9:m-o;(!u||d>g)&&(u=p,d=g)}}u||(u=r[r.length-1]);u.from<s&&(u={from:s,to:u.to,level:u.level});u.to>c&&(u={from:u.from,to:c,level:u.level});return u}:function coordsBidiPart(e,t,n,i,r,o,a){var l=findFirst(function(l){var s=r[l],c=1!=s.level;return boxIsAfter(cursorCoords(e,Pos(n,c?s.to:s.from,c?"before":"after"),"line",t,i),o,a,!0)},0,r.length-1),s=r[l];if(l>0){var c=1!=s.level,u=cursorCoords(e,Pos(n,c?s.from:s.to,c?"after":"before"),"line",t,i);boxIsAfter(u,o,a,!0)&&u.top>a&&(s=r[l-1])}return s})(e,t,n,o,u,i,r);c=1!=d.level,l=c?d.from:d.to-1,s=c?d.to:d.from-1}var h,p,f=null,m=null,g=findFirst(function(t){var n=measureCharPrepared(e,o,t);return n.top+=a,n.bottom+=a,!!boxIsAfter(n,i,r,!1)&&(n.top<=r&&n.left<=i&&(f=t,m=n),!0)},l,s),v=!1;if(m){var y=i-m.left<m.right-i,x=y==c;g=f+(x?0:1),p=x?"after":"before",h=y?m.left:m.right}else{c||g!=s&&g!=l||g++,p=0==g?"after":g==t.text.length?"before":measureCharPrepared(e,o,g-(c?1:0)).bottom+a<=r==c?"after":"before";var C=cursorCoords(e,Pos(n,g,p),"line",t,o);h=C.left,v=r<C.top||r>=C.bottom}return g=skipExtendingChars(t.text,g,1),PosWithInfo(n,g,p,v,i-h)}(e,a,r,t,n),s=collapsedSpanAtEnd(a),c=s&&s.find(0,!0);if(!s||!(l.ch>c.from.ch||l.ch==c.from.ch&&l.xRel>0))return l;r=lineNo(a=c.to.line)}}function wrappedLineExtent(e,t,n,i){i-=widgetTopHeight(t);var r=t.text.length,o=findFirst(function(t){return measureCharPrepared(e,n,t-1).bottom<=i},r,0);return r=findFirst(function(t){return measureCharPrepared(e,n,t).top>i},o,r),{begin:o,end:r}}function wrappedLineExtentChar(e,t,n,i){n||(n=prepareMeasureForLine(e,t));return wrappedLineExtent(e,t,n,intoCoordSystem(e,t,measureCharPrepared(e,n,i),"line").top)}function boxIsAfter(e,t,n,i){return!(e.bottom<=n)&&(e.top>n||(i?e.left:e.right)>t)}function textHeight(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==ie){ie=elt("pre");for(var t=0;t<49;++t)ie.appendChild(document.createTextNode("x")),ie.appendChild(elt("br"));ie.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(e.measure,ie);var n=ie.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),removeChildren(e.measure),n||1}function charWidth(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=elt("span","xxxxxxxxxx"),n=elt("pre",[t]);removeChildrenAndAdd(e.measure,n);var i=t.getBoundingClientRect(),r=(i.right-i.left)/10;return r>2&&(e.cachedCharWidth=r),r||10}function getDimensions(e){for(var t=e.display,n={},i={},r=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a)n[e.options.gutters[a]]=o.offsetLeft+o.clientLeft+r,i[e.options.gutters[a]]=o.clientWidth;return{fixedPos:compensateForHScroll(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:i,wrapperWidth:t.wrapper.clientWidth}}function compensateForHScroll(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function estimateHeight(e){var t=textHeight(e.display),n=e.options.lineWrapping,i=n&&Math.max(5,e.display.scroller.clientWidth/charWidth(e.display)-3);return function(r){if(lineIsHidden(e.doc,r))return 0;var o=0;if(r.widgets)for(var a=0;a<r.widgets.length;a++)r.widgets[a].height&&(o+=r.widgets[a].height);return n?o+(Math.ceil(r.text.length/i)||1)*t:o+t}}function estimateLineHeights(e){var t=e.doc,n=estimateHeight(e);t.iter(function(e){var t=n(e);t!=e.height&&updateLineHeight(e,t)})}function posFromMouse(e,t,n,i){var r=e.display;if(!n&&"true"==e_target(t).getAttribute("cm-not-content"))return null;var o,a,l=r.lineSpace.getBoundingClientRect();try{o=t.clientX-l.left,a=t.clientY-l.top}catch(t){return null}var s,c=coordsChar(e,o,a);if(i&&1==c.xRel&&(s=getLine(e.doc,c.line).text).length==c.ch){var u=countColumn(s,s.length,e.options.tabSize)-s.length;c=Pos(c.line,Math.max(0,Math.round((o-paddingH(e.display).left)/charWidth(e.display))-u))}return c}function findViewIndex(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,i=0;i<n.length;i++)if((t-=n[i].size)<0)return i}function updateSelection(e){e.display.input.showSelection(e.display.input.prepareSelection())}function prepareSelection(e,t){void 0===t&&(t=!0);for(var n=e.doc,i={},r=i.cursors=document.createDocumentFragment(),o=i.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var l=n.sel.ranges[a];if(!(l.from().line>=e.display.viewTo||l.to().line<e.display.viewFrom)){var s=l.empty();(s||e.options.showCursorWhenSelecting)&&drawSelectionCursor(e,l.head,r),s||function drawSelectionRange(e,t,n){function add(e,t,n,i){t<0&&(t=0),t=Math.round(t),i=Math.round(i),o.appendChild(elt("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?s-e:n)+"px;\n height: "+(i-t)+"px"))}function drawForLine(t,n,i){function coords(n,i){return charCoords(e,Pos(t,n),"div",u,i)}function wrapX(t,n,i){var r=wrappedLineExtentChar(e,u,null,t),o="ltr"==n==("after"==i)?"left":"right",a="after"==i?r.begin:r.end-(/\s/.test(u.text.charAt(r.end-1))?2:1);return coords(a,o)[o]}var o,a,u=getLine(r,t),d=u.text.length,h=getOrder(u,r.direction);return function iterateBidiSections(e,t,n,i){if(!e)return i(t,n,"ltr",0);for(var r=!1,o=0;o<e.length;++o){var a=e[o];(a.from<n&&a.to>t||t==n&&a.to==t)&&(i(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",o),r=!0)}r||i(t,n,"ltr")}(h,n||0,null==i?d:i,function(e,t,r,u){var p="ltr"==r,f=coords(e,p?"left":"right"),m=coords(t-1,p?"right":"left"),g=null==n&&0==e,v=null==i&&t==d,y=0==u,x=!h||u==h.length-1;if(m.top-f.top<=3){var C=(c?g:v)&&y,b=(c?v:g)&&x,w=C?l:(p?f:m).left,S=b?s:(p?m:f).right;add(w,f.top,S-w,f.bottom)}else{var L,k,M,T;p?(L=c&&g&&y?l:f.left,k=c?s:wrapX(e,r,"before"),M=c?l:wrapX(t,r,"after"),T=c&&v&&x?s:m.right):(L=c?wrapX(e,r,"before"):l,k=!c&&g&&y?s:f.right,M=!c&&v&&x?l:m.left,T=c?wrapX(t,r,"after"):s),add(L,f.top,k-L,f.bottom),f.bottom<m.top&&add(l,f.bottom,null,m.top),add(M,m.top,T-M,m.bottom)}(!o||cmpCoords(f,o)<0)&&(o=f),cmpCoords(m,o)<0&&(o=m),(!a||cmpCoords(f,a)<0)&&(a=f),cmpCoords(m,a)<0&&(a=m)}),{start:o,end:a}}var i=e.display,r=e.doc,o=document.createDocumentFragment(),a=paddingH(e.display),l=a.left,s=Math.max(i.sizerWidth,displayWidth(e)-i.sizer.offsetLeft)-a.right,c="ltr"==r.direction;var u=t.from(),d=t.to();if(u.line==d.line)drawForLine(u.line,u.ch,d.ch);else{var h=getLine(r,u.line),p=getLine(r,d.line),f=visualLine(h)==visualLine(p),m=drawForLine(u.line,u.ch,f?h.text.length+1:null).end,g=drawForLine(d.line,f?0:null,d.ch).start;f&&(m.top<g.top-2?(add(m.right,m.top,null,m.bottom),add(l,g.top,g.left,g.bottom)):add(m.right,m.top,g.left-m.right,m.bottom)),m.bottom<g.top&&add(l,m.bottom,null,g.top)}n.appendChild(o)}(e,l,o)}}return i}function drawSelectionCursor(e,t,n){var i=cursorCoords(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),r=n.appendChild(elt("div"," ","CodeMirror-cursor"));if(r.style.left=i.left+"px",r.style.top=i.top+"px",r.style.height=Math.max(0,i.bottom-i.top)*e.options.cursorHeight+"px",i.other){var o=n.appendChild(elt("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=i.other.left+"px",o.style.top=i.other.top+"px",o.style.height=.85*(i.other.bottom-i.other.top)+"px"}}function cmpCoords(e,t){return e.top-t.top||e.left-t.left}function restartBlink(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function ensureFocus(e){e.state.focused||(e.display.input.focus(),onFocus(e))}function delayBlurEvent(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,onBlur(e))},100)}function onFocus(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(signal(e,"focus",e,t),e.state.focused=!0,addClass(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),s&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),restartBlink(e))}function onBlur(e,t){e.state.delayingBlurEvent||(e.state.focused&&(signal(e,"blur",e,t),e.state.focused=!1,k(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function updateHeightsInViewport(e){for(var t=e.display,n=t.lineDiv.offsetTop,i=0;i<t.view.length;i++){var r=t.view[i],o=void 0;if(!r.hidden){if(a&&l<8){var s=r.node.offsetTop+r.node.offsetHeight;o=s-n,n=s}else{var c=r.node.getBoundingClientRect();o=c.bottom-c.top}var u=r.line.height-o;if(o<2&&(o=textHeight(t)),(u>.005||u<-.005)&&(updateLineHeight(r.line,o),updateWidgetHeight(r.line),r.rest))for(var d=0;d<r.rest.length;d++)updateWidgetHeight(r.rest[d])}}}function updateWidgetHeight(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t)e.widgets[t].height=e.widgets[t].node.parentNode.offsetHeight}function visibleLines(e,t,n){var i=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;i=Math.floor(i-paddingTop(e));var r=n&&null!=n.bottom?n.bottom:i+e.wrapper.clientHeight,o=lineAtHeight(t,i),a=lineAtHeight(t,r);if(n&&n.ensure){var l=n.ensure.from.line,s=n.ensure.to.line;l<o?(o=l,a=lineAtHeight(t,heightAtLine(getLine(t,l))+e.wrapper.clientHeight)):Math.min(s,t.lastLine())>=a&&(o=lineAtHeight(t,heightAtLine(getLine(t,s))-e.wrapper.clientHeight),a=s)}return{from:o,to:Math.max(a,o+1)}}function alignHorizontally(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var i=compensateForHScroll(t)-t.scroller.scrollLeft+e.doc.scrollLeft,r=t.gutters.offsetWidth,o=i+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=o),n[a].gutterBackground&&(n[a].gutterBackground.style.left=o));var l=n[a].alignable;if(l)for(var s=0;s<l.length;s++)l[s].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=i+r+"px")}}function maybeUpdateLineNumberWidth(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=lineNumberFor(e.options,t.first+t.size-1),i=e.display;if(n.length!=i.lineNumChars){var r=i.measure.appendChild(elt("div",[elt("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=r.firstChild.offsetWidth,a=r.offsetWidth-o;return i.lineGutter.style.width="",i.lineNumInnerWidth=Math.max(o,i.lineGutter.offsetWidth-a)+1,i.lineNumWidth=i.lineNumInnerWidth+a,i.lineNumChars=i.lineNumInnerWidth?n.length:-1,i.lineGutter.style.width=i.lineNumWidth+"px",updateGutterSpace(e),!0}return!1}function calculateScrollPos(e,t){var n=e.display,i=textHeight(e.display);t.top<0&&(t.top=0);var r=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,o=displayHeight(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var l=e.doc.height+paddingVert(n),s=t.top<i,c=t.bottom>l-i;if(t.top<r)a.scrollTop=s?0:t.top;else if(t.bottom>r+o){var u=Math.min(t.top,(c?l:t.bottom)-o);u!=r&&(a.scrollTop=u)}var d=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,h=displayWidth(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),p=t.right-t.left>h;return p&&(t.right=t.left+h),t.left<10?a.scrollLeft=0:t.left<d?a.scrollLeft=Math.max(0,t.left-(p?0:10)):t.right>h+d-3&&(a.scrollLeft=t.right+(p?0:10)-h),a}function addToScrollTop(e,t){null!=t&&(resolveScrollToPos(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ensureCursorVisible(e){resolveScrollToPos(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function scrollToCoords(e,t,n){null==t&&null==n||resolveScrollToPos(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function resolveScrollToPos(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;scrollToCoordsRange(e,estimateCoords(e,t.from),estimateCoords(e,t.to),t.margin)}}function scrollToCoordsRange(e,t,n,i){var r=calculateScrollPos(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-i,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+i});scrollToCoords(e,r.scrollLeft,r.scrollTop)}function updateScrollTop(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||updateDisplaySimple(e,{top:t}),setScrollTop(e,t,!0),n&&updateDisplaySimple(e),startWorker(e,100))}function setScrollTop(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function setScrollLeft(e,t,n,i){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!i||(e.doc.scrollLeft=t,alignHorizontally(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function measureForScrollbars(e){var t=e.display,n=t.gutters.offsetWidth,i=Math.round(e.doc.height+paddingVert(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:i,scrollHeight:i+scrollGap(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}function updateScrollbars(e,t){t||(t=measureForScrollbars(e));var n=e.display.barWidth,i=e.display.barHeight;updateScrollbarsInner(e,t);for(var r=0;r<4&&n!=e.display.barWidth||i!=e.display.barHeight;r++)n!=e.display.barWidth&&e.options.lineWrapping&&updateHeightsInViewport(e),updateScrollbarsInner(e,measureForScrollbars(e)),n=e.display.barWidth,i=e.display.barHeight}function updateScrollbarsInner(e,t){var n=e.display,i=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=i.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=i.bottom)+"px",n.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=i.bottom+"px",n.scrollbarFiller.style.width=i.right+"px"):n.scrollbarFiller.style.display="",i.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=i.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}function initScrollbars(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&k(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new de[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),G(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?setScrollLeft(e,t):updateScrollTop(e,t)},e),e.display.scrollbars.addClass&&addClass(e.display.wrapper,e.display.scrollbars.addClass)}function startOperation(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++he},function pushOperation(e){ae?ae.ops.push(e):e.ownsGroup=ae={ops:[e],delayedCallbacks:[]}}(e.curOp)}function endOperation(e){!function finishOperation(e,t){var n=e.ownsGroup;if(n)try{!function fireCallbacksForOps(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var i=0;i<e.ops.length;i++){var r=e.ops[i];if(r.cursorActivityHandlers)for(;r.cursorActivityCalled<r.cursorActivityHandlers.length;)r.cursorActivityHandlers[r.cursorActivityCalled++].call(null,r.cm)}}while(n<t.length)}(n)}finally{ae=null,t(n)}}(e.curOp,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function endOperations(e){for(var t=e.ops,n=0;n<t.length;n++)!function endOperation_R1(e){var t=e.cm,n=t.display;(function maybeClipScrollbars(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=scrollGap(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=scrollGap(e)+"px",t.scrollbarsClipped=!0)})(t),e.updateMaxLine&&findMaxLine(t);e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new pe(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}(t[n]);for(var i=0;i<t.length;i++)!function endOperation_W1(e){e.updatedDisplay=e.mustUpdate&&updateDisplayIfNeeded(e.cm,e.update)}(t[i]);for(var r=0;r<t.length;r++)!function endOperation_R2(e){var t=e.cm,n=t.display;e.updatedDisplay&&updateHeightsInViewport(t);e.barMeasure=measureForScrollbars(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=measureChar(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+scrollGap(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-displayWidth(t)));(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}(t[r]);for(var o=0;o<t.length;o++)!function endOperation_W2(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&setScrollLeft(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==activeElt();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n);(e.updatedDisplay||e.startHeight!=t.doc.height)&&updateScrollbars(t,e.barMeasure);e.updatedDisplay&&setDocumentHeight(t,e.barMeasure);e.selectionChanged&&restartBlink(t);t.state.focused&&e.updateInput&&t.display.input.reset(e.typing);n&&ensureFocus(e.cm)}(t[o]);for(var a=0;a<t.length;a++)!function endOperation_finish(e){var t=e.cm,n=t.display,i=t.doc;e.updatedDisplay&&postUpdateDisplay(t,e.update);null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null);null!=e.scrollTop&&setScrollTop(t,e.scrollTop,e.forceScroll);null!=e.scrollLeft&&setScrollLeft(t,e.scrollLeft,!0,!0);if(e.scrollToPos){var r=function scrollPosIntoView(e,t,n,i){null==i&&(i=0);var r;e.options.lineWrapping||t!=n||(n="before"==(t=t.ch?Pos(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t).sticky?Pos(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,l=cursorCoords(e,t),s=n&&n!=t?cursorCoords(e,n):l,c=calculateScrollPos(e,r={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-i,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+i}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(updateScrollTop(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(setScrollLeft(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return r}(t,clipPos(i,e.scrollToPos.from),clipPos(i,e.scrollToPos.to),e.scrollToPos.margin);!function maybeScrollWindow(e,t){if(!signalDOMEvent(e,"scrollCursorIntoView")){var n=e.display,i=n.sizer.getBoundingClientRect(),r=null;if(t.top+i.top<0?r=!0:t.bottom+i.top>(window.innerHeight||document.documentElement.clientHeight)&&(r=!1),null!=r&&!f){var o=elt("div","​",null,"position: absolute;\n top: "+(t.top-n.viewOffset-paddingTop(e.display))+"px;\n height: "+(t.bottom-t.top+scrollGap(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(r),e.display.lineSpace.removeChild(o)}}}(t,r)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var l=0;l<o.length;++l)o[l].lines.length||signal(o[l],"hide");if(a)for(var s=0;s<a.length;++s)a[s].lines.length&&signal(a[s],"unhide");n.wrapper.offsetHeight&&(i.scrollTop=t.display.scroller.scrollTop);e.changeObjs&&signal(t,"changes",t,e.changeObjs);e.update&&e.update.finish()}(t[a])}(e)})}function runInOp(e,t){if(e.curOp)return t();startOperation(e);try{return t()}finally{endOperation(e)}}function operation(e,t){return function(){if(e.curOp)return t.apply(e,arguments);startOperation(e);try{return t.apply(e,arguments)}finally{endOperation(e)}}}function methodOp(e){return function(){if(this.curOp)return e.apply(this,arguments);startOperation(this);try{return e.apply(this,arguments)}finally{endOperation(this)}}}function docMethodOp(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);startOperation(t);try{return e.apply(this,arguments)}finally{endOperation(t)}}}function regChange(e,t,n,i){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),i||(i=0);var r=e.display;if(i&&n<r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>t)&&(r.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=r.viewTo)B&&visualLineNo(e.doc,t)<r.viewTo&&resetView(e);else if(n<=r.viewFrom)B&&visualLineEndNo(e.doc,n+i)>r.viewFrom?resetView(e):(r.viewFrom+=i,r.viewTo+=i);else if(t<=r.viewFrom&&n>=r.viewTo)resetView(e);else if(t<=r.viewFrom){var o=viewCuttingPoint(e,n,n+i,1);o?(r.view=r.view.slice(o.index),r.viewFrom=o.lineN,r.viewTo+=i):resetView(e)}else if(n>=r.viewTo){var a=viewCuttingPoint(e,t,t,-1);a?(r.view=r.view.slice(0,a.index),r.viewTo=a.lineN):resetView(e)}else{var l=viewCuttingPoint(e,t,t,-1),s=viewCuttingPoint(e,n,n+i,1);l&&s?(r.view=r.view.slice(0,l.index).concat(buildViewArray(e,l.lineN,s.lineN)).concat(r.view.slice(s.index)),r.viewTo+=i):resetView(e)}var c=r.externalMeasured;c&&(n<c.lineN?c.lineN+=i:t<c.lineN+c.size&&(r.externalMeasured=null))}function regLineChange(e,t,n){e.curOp.viewChanged=!0;var i=e.display,r=e.display.externalMeasured;if(r&&t>=r.lineN&&t<r.lineN+r.size&&(i.externalMeasured=null),!(t<i.viewFrom||t>=i.viewTo)){var o=i.view[findViewIndex(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==indexOf(a,n)&&a.push(n)}}}function resetView(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function viewCuttingPoint(e,t,n,i){var r,o=findViewIndex(e,t),a=e.display.view;if(!B||n==e.doc.first+e.doc.size)return{index:o,lineN:n};for(var l=e.display.viewFrom,s=0;s<o;s++)l+=a[s].size;if(l!=t){if(i>0){if(o==a.length-1)return null;r=l+a[o].size-t,o++}else r=l-t;t+=r,n+=r}for(;visualLineNo(e.doc,n)!=n;){if(o==(i<0?0:a.length-1))return null;n+=i*a[o-(i<0?1:0)].size,o+=i}return{index:o,lineN:n}}function countDirtyView(e){for(var t=e.display.view,n=0,i=0;i<t.length;i++){var r=t[i];r.hidden||r.node&&!r.changes||++n}return n}function startWorker(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,bind(highlightWorker,e))}function highlightWorker(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,i=getContextBefore(e,t.highlightFrontier),r=[];t.iter(i.line,Math.min(t.first+t.size,e.display.viewTo+500),function(o){if(i.line>=e.display.viewFrom){var a=o.styles,l=o.text.length>e.options.maxHighlightLength?copyState(t.mode,i.state):null,s=highlightLine(e,o,i,!0);l&&(i.state=l),o.styles=s.styles;var c=o.styleClasses,u=s.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var d=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!d&&h<a.length;++h)d=a[h]!=o.styles[h];d&&r.push(i.line),o.stateAfter=i.save(),i.nextLine()}else o.text.length<=e.options.maxHighlightLength&&processLine(e,o.text,i),o.stateAfter=i.line%5==0?i.save():null,i.nextLine();if(+new Date>n)return startWorker(e,e.options.workDelay),!0}),t.highlightFrontier=i.line,t.modeFrontier=Math.max(t.modeFrontier,i.line),r.length&&runInOp(e,function(){for(var t=0;t<r.length;t++)regLineChange(e,r[t],"text")})}}function updateDisplayIfNeeded(e,t){var n=e.display,i=e.doc;if(t.editorIsHidden)return resetView(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==countDirtyView(e))return!1;maybeUpdateLineNumberWidth(e)&&(resetView(e),t.dims=getDimensions(e));var r=i.first+i.size,o=Math.max(t.visible.from-e.options.viewportMargin,i.first),a=Math.min(r,t.visible.to+e.options.viewportMargin);n.viewFrom<o&&o-n.viewFrom<20&&(o=Math.max(i.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(r,n.viewTo)),B&&(o=visualLineNo(e.doc,o),a=visualLineEndNo(e.doc,a));var l=o!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function adjustView(e,t,n){var i=e.display;0==i.view.length||t>=i.viewTo||n<=i.viewFrom?(i.view=buildViewArray(e,t,n),i.viewFrom=t):(i.viewFrom>t?i.view=buildViewArray(e,t,i.viewFrom).concat(i.view):i.viewFrom<t&&(i.view=i.view.slice(findViewIndex(e,t))),i.viewFrom=t,i.viewTo<n?i.view=i.view.concat(buildViewArray(e,i.viewTo,n)):i.viewTo>n&&(i.view=i.view.slice(0,findViewIndex(e,n)))),i.viewTo=n}(e,o,a),n.viewOffset=heightAtLine(getLine(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var c=countDirtyView(e);if(!l&&0==c&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var u=function selectionSnapshot(e){if(e.hasFocus())return null;var t=activeElt();if(!t||!contains(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&contains(e.display.lineDiv,i.anchorNode)&&(n.anchorNode=i.anchorNode,n.anchorOffset=i.anchorOffset,n.focusNode=i.focusNode,n.focusOffset=i.focusOffset)}return n}(e);return c>4&&(n.lineDiv.style.display="none"),function patchDisplay(e,t,n){function rm(t){var n=t.nextSibling;return s&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}var i=e.display,r=e.options.lineNumbers,o=i.lineDiv,a=o.firstChild;for(var l=i.view,c=i.viewFrom,u=0;u<l.length;u++){var d=l[u];if(d.hidden);else if(d.node&&d.node.parentNode==o){for(;a!=d.node;)a=rm(a);var h=r&&null!=t&&t<=c&&d.lineNumber;d.changes&&(indexOf(d.changes,"gutter")>-1&&(h=!1),updateLineForChanges(e,d,c,n)),h&&(removeChildren(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(lineNumberFor(e.options,c)))),a=d.node.nextSibling}else{var p=buildLineElement(e,d,c,n);o.insertBefore(p,a)}c+=d.size}for(;a;)a=rm(a)}(e,n.updateLineNumbers,t.dims),c>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function restoreSelection(e){if(e&&e.activeElt&&e.activeElt!=activeElt()&&(e.activeElt.focus(),e.anchorNode&&contains(document.body,e.anchorNode)&&contains(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(u),removeChildren(n.cursorDiv),removeChildren(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,startWorker(e,400)),n.updateLineNumbers=null,!0}function postUpdateDisplay(e,t){for(var n=t.viewport,i=!0;(i&&e.options.lineWrapping&&t.oldDisplayWidth!=displayWidth(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+paddingVert(e.display)-displayHeight(e),n.top)}),t.visible=visibleLines(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&updateDisplayIfNeeded(e,t);i=!1){updateHeightsInViewport(e);var r=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,r),setDocumentHeight(e,r),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function updateDisplaySimple(e,t){var n=new pe(e,t);if(updateDisplayIfNeeded(e,n)){updateHeightsInViewport(e),postUpdateDisplay(e,n);var i=measureForScrollbars(e);updateSelection(e),updateScrollbars(e,i),setDocumentHeight(e,i),n.finish()}}function updateGutterSpace(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function setDocumentHeight(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+scrollGap(e)+"px"}function updateGutters(e){var t=e.display.gutters,n=e.options.gutters;removeChildren(t);for(var i=0;i<n.length;++i){var r=n[i],o=t.appendChild(elt("div",null,"CodeMirror-gutter "+r));"CodeMirror-linenumbers"==r&&(e.display.lineGutter=o,o.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=i?"":"none",updateGutterSpace(e)}function setGuttersForLineNumbers(e){var t=indexOf(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}function wheelEventDelta(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function wheelEventPixels(e){var t=wheelEventDelta(e);return t.x*=me,t.y*=me,t}function onScrollWheel(e,t){var i=wheelEventDelta(t),r=i.x,o=i.y,a=e.display,l=a.scroller,c=l.scrollWidth>l.clientWidth,u=l.scrollHeight>l.clientHeight;if(r&&c||o&&u){if(o&&y&&s)e:for(var h=t.target,p=a.view;h!=l;h=h.parentNode)for(var f=0;f<p.length;f++)if(p[f].node==h){e.display.currentWheelTarget=h;break e}if(r&&!n&&!d&&null!=me)return o&&u&&updateScrollTop(e,Math.max(0,l.scrollTop+o*me)),setScrollLeft(e,Math.max(0,l.scrollLeft+r*me)),(!o||o&&u)&&e_preventDefault(t),void(a.wheelStartX=null);if(o&&null!=me){var m=o*me,g=e.doc.scrollTop,v=g+a.wrapper.clientHeight;m<0?g=Math.max(0,g+m-50):v=Math.min(e.doc.height,v+m+50),updateDisplaySimple(e,{top:g,bottom:v})}fe<20&&(null==a.wheelStartX?(a.wheelStartX=l.scrollLeft,a.wheelStartY=l.scrollTop,a.wheelDX=r,a.wheelDY=o,setTimeout(function(){if(null!=a.wheelStartX){var e=l.scrollLeft-a.wheelStartX,t=l.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(me=(me*fe+n)/(fe+1),++fe)}},200)):(a.wheelDX+=r,a.wheelDY+=o))}}function normalizeSelection(e,t){var n=e[t];e.sort(function(e,t){return cmp(e.from(),t.from())}),t=indexOf(e,n);for(var i=1;i<e.length;i++){var r=e[i],o=e[i-1];if(cmp(o.to(),r.from())>=0){var a=minPos(o.from(),r.from()),l=maxPos(o.to(),r.to()),s=o.empty()?r.from()==r.head:o.from()==o.head;i<=t&&--t,e.splice(--i,2,new ve(s?l:a,s?a:l))}}return new ge(e,t)}function simpleSelection(e,t){return new ge([new ve(e,t||e)],0)}function changeEnd(e){return e.text?Pos(e.from.line+e.text.length-1,lst(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function adjustForChange(e,t){if(cmp(e,t.from)<0)return e;if(cmp(e,t.to)<=0)return changeEnd(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,i=e.ch;return e.line==t.to.line&&(i+=changeEnd(t).ch-t.to.ch),Pos(n,i)}function computeSelAfterChange(e,t){for(var n=[],i=0;i<e.sel.ranges.length;i++){var r=e.sel.ranges[i];n.push(new ve(adjustForChange(r.anchor,t),adjustForChange(r.head,t)))}return normalizeSelection(n,e.sel.primIndex)}function offsetPos(e,t,n){return e.line==t.line?Pos(n.line,e.ch-t.ch+n.ch):Pos(n.line+(e.line-t.line),e.ch)}function loadMode(e){e.doc.mode=getMode(e.options,e.doc.modeOption),resetModeState(e)}function resetModeState(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,startWorker(e,100),e.state.modeGen++,e.curOp&&regChange(e)}function isWholeLineUpdate(e,t){return 0==t.from.ch&&0==t.to.ch&&""==lst(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function updateDoc(e,t,n,i){function spansFor(e){return n?n[e]:null}function update(e,n,r){!function updateLine(e,t,n,i){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),detachMarkedSpans(e),attachMarkedSpans(e,n);var r=i?i(e):1;r!=e.height&&updateLineHeight(e,r)}(e,n,r,i),signalLater(e,"change",e,t)}function linesFor(e,t){for(var n=[],r=e;r<t;++r)n.push(new ne(a[r],spansFor(r),i));return n}var r=t.from,o=t.to,a=t.text,l=getLine(e,r.line),s=getLine(e,o.line),c=lst(a),u=spansFor(a.length-1),d=o.line-r.line;if(t.full)e.insert(0,linesFor(0,a.length)),e.remove(a.length,e.size-a.length);else if(isWholeLineUpdate(e,t)){var h=linesFor(0,a.length-1);update(s,s.text,u),d&&e.remove(r.line,d),h.length&&e.insert(r.line,h)}else if(l==s)if(1==a.length)update(l,l.text.slice(0,r.ch)+c+l.text.slice(o.ch),u);else{var p=linesFor(1,a.length-1);p.push(new ne(c+l.text.slice(o.ch),u,i)),update(l,l.text.slice(0,r.ch)+a[0],spansFor(0)),e.insert(r.line+1,p)}else if(1==a.length)update(l,l.text.slice(0,r.ch)+a[0]+s.text.slice(o.ch),spansFor(0)),e.remove(r.line+1,d);else{update(l,l.text.slice(0,r.ch)+a[0],spansFor(0)),update(s,c+s.text.slice(o.ch),u);var f=linesFor(1,a.length-1);d>1&&e.remove(r.line+1,d-1),e.insert(r.line+1,f)}signalLater(e,"change",e,t)}function linkedDocs(e,t,n){function propagate(e,i,r){if(e.linked)for(var o=0;o<e.linked.length;++o){var a=e.linked[o];if(a.doc!=i){var l=r&&a.sharedHist;n&&!l||(t(a.doc,l),propagate(a.doc,e,l))}}}propagate(e,null,!0)}function attachDoc(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,estimateLineHeights(e),loadMode(e),setDirectionClass(e),e.options.lineWrapping||findMaxLine(e),e.options.mode=t.modeOption,regChange(e)}function setDirectionClass(e){("rtl"==e.doc.direction?addClass:k)(e.display.lineDiv,"CodeMirror-rtl")}function History(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function historyChangeFromChange(e,t){var n={from:copyPos(t.from),to:changeEnd(t),text:getBetween(e,t.from,t.to)};return attachLocalSpans(e,n,t.from.line,t.to.line+1),linkedDocs(e,function(e){return attachLocalSpans(e,n,t.from.line,t.to.line+1)},!0),n}function clearSelectionEvents(e){for(;e.length;){if(!lst(e).ranges)break;e.pop()}}function addChangeToHistory(e,t,n,i){var r=e.history;r.undone.length=0;var o,a,l=+new Date;if((r.lastOp==i||r.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&e.cm&&r.lastModTime>l-e.cm.options.historyEventDelay||"*"==t.origin.charAt(0)))&&(o=function lastChangeEvent(e,t){return t?(clearSelectionEvents(e.done),lst(e.done)):e.done.length&&!lst(e.done).ranges?lst(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),lst(e.done)):void 0}(r,r.lastOp==i)))a=lst(o.changes),0==cmp(t.from,t.to)&&0==cmp(t.from,a.to)?a.to=changeEnd(t):o.changes.push(historyChangeFromChange(e,t));else{var s=lst(r.done);for(s&&s.ranges||pushSelectionToHistory(e.sel,r.done),o={changes:[historyChangeFromChange(e,t)],generation:r.generation},r.done.push(o);r.done.length>r.undoDepth;)r.done.shift(),r.done[0].ranges||r.done.shift()}r.done.push(n),r.generation=++r.maxGeneration,r.lastModTime=r.lastSelTime=l,r.lastOp=r.lastSelOp=i,r.lastOrigin=r.lastSelOrigin=t.origin,a||signal(e,"historyAdded")}function addSelectionToHistory(e,t,n,i){var r=e.history,o=i&&i.origin;n==r.lastSelOp||o&&r.lastSelOrigin==o&&(r.lastModTime==r.lastSelTime&&r.lastOrigin==o||function selectionEventCanBeMerged(e,t,n,i){var r=t.charAt(0);return"*"==r||"+"==r&&n.ranges.length==i.ranges.length&&n.somethingSelected()==i.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,o,lst(r.done),t))?r.done[r.done.length-1]=t:pushSelectionToHistory(t,r.done),r.lastSelTime=+new Date,r.lastSelOrigin=o,r.lastSelOp=n,i&&!1!==i.clearRedo&&clearSelectionEvents(r.undone)}function pushSelectionToHistory(e,t){var n=lst(t);n&&n.ranges&&n.equals(e)||t.push(e)}function attachLocalSpans(e,t,n,i){var r=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,i),function(n){n.markedSpans&&((r||(r=t["spans_"+e.id]={}))[o]=n.markedSpans),++o})}function removeClearedSpans(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function mergeOldSpans(e,t){var n=function getOldSpans(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var i=[],r=0;r<t.text.length;++r)i.push(removeClearedSpans(n[r]));return i}(e,t),i=stretchSpansOverChange(e,t);if(!n)return i;if(!i)return n;for(var r=0;r<n.length;++r){var o=n[r],a=i[r];if(o&&a)e:for(var l=0;l<a.length;++l){for(var s=a[l],c=0;c<o.length;++c)if(o[c].marker==s.marker)continue e;o.push(s)}else a&&(n[r]=a)}return n}function copyHistoryArray(e,t,n){for(var i=[],r=0;r<e.length;++r){var o=e[r];if(o.ranges)i.push(n?ge.prototype.deepCopy.call(o):o);else{var a=o.changes,l=[];i.push({changes:l});for(var s=0;s<a.length;++s){var c=a[s],u=void 0;if(l.push({from:c.from,to:c.to,text:c.text}),t)for(var d in c)(u=d.match(/^spans_(\d+)$/))&&indexOf(t,Number(u[1]))>-1&&(lst(l)[d]=c[d],delete c[d])}}}return i}function extendRange(e,t,n,i){if(i){var r=e.anchor;if(n){var o=cmp(t,r)<0;o!=cmp(n,r)<0?(r=t,t=n):o!=cmp(t,n)<0&&(t=n)}return new ve(r,t)}return new ve(n||t,t)}function extendSelection(e,t,n,i,r){null==r&&(r=e.cm&&(e.cm.display.shift||e.extend)),setSelection(e,new ge([extendRange(e.sel.primary(),t,n,r)],0),i)}function extendSelections(e,t,n){for(var i=[],r=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)i[o]=extendRange(e.sel.ranges[o],t[o],null,r);setSelection(e,normalizeSelection(i,e.sel.primIndex),n)}function replaceOneSelection(e,t,n,i){var r=e.sel.ranges.slice(0);r[t]=n,setSelection(e,normalizeSelection(r,e.sel.primIndex),i)}function setSimpleSelection(e,t,n,i){setSelection(e,simpleSelection(t,n),i)}function setSelectionReplaceHistory(e,t,n){var i=e.history.done,r=lst(i);r&&r.ranges?(i[i.length-1]=t,setSelectionNoUndo(e,t,n)):setSelection(e,t,n)}function setSelection(e,t,n){setSelectionNoUndo(e,t,n),addSelectionToHistory(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function setSelectionNoUndo(e,t,n){(hasHandler(e,"beforeSelectionChange")||e.cm&&hasHandler(e.cm,"beforeSelectionChange"))&&(t=function filterSelectionChange(e,t,n){var i={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new ve(clipPos(e,t[n].anchor),clipPos(e,t[n].head))},origin:n&&n.origin};return signal(e,"beforeSelectionChange",e,i),e.cm&&signal(e.cm,"beforeSelectionChange",e.cm,i),i.ranges!=t.ranges?normalizeSelection(i.ranges,i.ranges.length-1):t}(e,t,n));setSelectionInner(e,skipAtomicInSelection(e,t,n&&n.bias||(cmp(t.primary().head,e.sel.primary().head)<0?-1:1),!0)),n&&!1===n.scroll||!e.cm||ensureCursorVisible(e.cm)}function setSelectionInner(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,signalCursorActivity(e.cm)),signalLater(e,"cursorActivity",e))}function reCheckSelection(e){setSelectionInner(e,skipAtomicInSelection(e,e.sel,null,!1))}function skipAtomicInSelection(e,t,n,i){for(var r,o=0;o<t.ranges.length;o++){var a=t.ranges[o],l=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],s=skipAtomic(e,a.anchor,l&&l.anchor,n,i),c=skipAtomic(e,a.head,l&&l.head,n,i);(r||s!=a.anchor||c!=a.head)&&(r||(r=t.ranges.slice(0,o)),r[o]=new ve(s,c))}return r?normalizeSelection(r,t.primIndex):t}function skipAtomicInner(e,t,n,i,r){var o=getLine(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var l=o.markedSpans[a],s=l.marker;if((null==l.from||(s.inclusiveLeft?l.from<=t.ch:l.from<t.ch))&&(null==l.to||(s.inclusiveRight?l.to>=t.ch:l.to>t.ch))){if(r&&(signal(s,"beforeCursorEnter"),s.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!s.atomic)continue;if(n){var c=s.find(i<0?1:-1),u=void 0;if((i<0?s.inclusiveRight:s.inclusiveLeft)&&(c=movePos(e,c,-i,c&&c.line==t.line?o:null)),c&&c.line==t.line&&(u=cmp(c,n))&&(i<0?u<0:u>0))return skipAtomicInner(e,c,t,i,r)}var d=s.find(i<0?-1:1);return(i<0?s.inclusiveLeft:s.inclusiveRight)&&(d=movePos(e,d,i,d.line==t.line?o:null)),d?skipAtomicInner(e,d,t,i,r):null}}return t}function skipAtomic(e,t,n,i,r){var o=i||1,a=skipAtomicInner(e,t,n,o,r)||!r&&skipAtomicInner(e,t,n,o,!0)||skipAtomicInner(e,t,n,-o,r)||!r&&skipAtomicInner(e,t,n,-o,!0);return a||(e.cantEdit=!0,Pos(e.first,0))}function movePos(e,t,n,i){return n<0&&0==t.ch?t.line>e.first?clipPos(e,Pos(t.line-1)):null:n>0&&t.ch==(i||getLine(e,t.line)).text.length?t.line<e.first+e.size-1?Pos(t.line+1,0):null:new Pos(t.line,t.ch+n)}function selectAll(e){e.setSelection(Pos(e.firstLine(),0),Pos(e.lastLine()),H)}function filterChange(e,t,n){var i={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return i.canceled=!0}};return n&&(i.update=function(t,n,r,o){t&&(i.from=clipPos(e,t)),n&&(i.to=clipPos(e,n)),r&&(i.text=r),void 0!==o&&(i.origin=o)}),signal(e,"beforeChange",e,i),e.cm&&signal(e.cm,"beforeChange",e.cm,i),i.canceled?null:{from:i.from,to:i.to,text:i.text,origin:i.origin}}function makeChange(e,t,n){if(e.cm){if(!e.cm.curOp)return operation(e.cm,makeChange)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(hasHandler(e,"beforeChange")||e.cm&&hasHandler(e.cm,"beforeChange"))||(t=filterChange(e,t,!0))){var i=j&&!n&&function removeReadOnlyRanges(e,t,n){var i=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||i&&-1!=indexOf(i,n)||(i||(i=[])).push(n)}}),!i)return null;for(var r=[{from:t,to:n}],o=0;o<i.length;++o)for(var a=i[o],l=a.find(0),s=0;s<r.length;++s){var c=r[s];if(!(cmp(c.to,l.from)<0||cmp(c.from,l.to)>0)){var u=[s,1],d=cmp(c.from,l.from),h=cmp(c.to,l.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:l.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:l.to,to:c.to}),r.splice.apply(r,u),s+=u.length-3}}return r}(e,t.from,t.to);if(i)for(var r=i.length-1;r>=0;--r)makeChangeInner(e,{from:i[r].from,to:i[r].to,text:r?[""]:t.text,origin:t.origin});else makeChangeInner(e,t)}}function makeChangeInner(e,t){if(1!=t.text.length||""!=t.text[0]||0!=cmp(t.from,t.to)){var n=computeSelAfterChange(e,t);addChangeToHistory(e,t,n,e.cm?e.cm.curOp.id:NaN),makeChangeSingleDoc(e,t,n,stretchSpansOverChange(e,t));var i=[];linkedDocs(e,function(e,n){n||-1!=indexOf(i,e.history)||(rebaseHist(e.history,t),i.push(e.history)),makeChangeSingleDoc(e,t,null,stretchSpansOverChange(e,t))})}}function makeChangeFromHistory(e,t,n){if(!e.cm||!e.cm.state.suppressEdits||n){for(var i,r=e.history,o=e.sel,a="undo"==t?r.done:r.undone,l="undo"==t?r.undone:r.done,s=0;s<a.length&&(i=a[s],n?!i.ranges||i.equals(e.sel):i.ranges);s++);if(s!=a.length){for(r.lastOrigin=r.lastSelOrigin=null;(i=a.pop()).ranges;){if(pushSelectionToHistory(i,l),n&&!i.equals(e.sel))return void setSelection(e,i,{clearRedo:!1});o=i}var c=[];pushSelectionToHistory(o,l),l.push({changes:c,generation:r.generation}),r.generation=i.generation||++r.maxGeneration;for(var u=hasHandler(e,"beforeChange")||e.cm&&hasHandler(e.cm,"beforeChange"),d=function(n){var r=i.changes[n];if(r.origin=t,u&&!filterChange(e,r,!1))return a.length=0,{};c.push(historyChangeFromChange(e,r));var o=n?computeSelAfterChange(e,r):lst(a);makeChangeSingleDoc(e,r,o,mergeOldSpans(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:changeEnd(r)});var l=[];linkedDocs(e,function(e,t){t||-1!=indexOf(l,e.history)||(rebaseHist(e.history,r),l.push(e.history)),makeChangeSingleDoc(e,r,null,mergeOldSpans(e,r))})},h=i.changes.length-1;h>=0;--h){var p=d(h);if(p)return p.v}}}}function shiftDoc(e,t){if(0!=t&&(e.first+=t,e.sel=new ge(map(e.sel.ranges,function(e){return new ve(Pos(e.anchor.line+t,e.anchor.ch),Pos(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){regChange(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,i=n.viewFrom;i<n.viewTo;i++)regLineChange(e.cm,i,"gutter")}}function makeChangeSingleDoc(e,t,n,i){if(e.cm&&!e.cm.curOp)return operation(e.cm,makeChangeSingleDoc)(e,t,n,i);if(t.to.line<e.first)shiftDoc(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var r=t.text.length-1-(e.first-t.from.line);shiftDoc(e,r),t={from:Pos(e.first,0),to:Pos(t.to.line+r,t.to.ch),text:[lst(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:Pos(o,getLine(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=getBetween(e,t.from,t.to),n||(n=computeSelAfterChange(e,t)),e.cm?function makeChangeSingleDocInEditor(e,t,n){var i=e.doc,r=e.display,o=t.from,a=t.to,l=!1,s=o.line;e.options.lineWrapping||(s=lineNo(visualLine(getLine(i,o.line))),i.iter(s,a.line+1,function(e){if(e==r.maxLine)return l=!0,!0}));i.sel.contains(t.from,t.to)>-1&&signalCursorActivity(e);updateDoc(i,t,n,estimateHeight(e)),e.options.lineWrapping||(i.iter(s,o.line+t.text.length,function(e){var t=lineLength(e);t>r.maxLineLength&&(r.maxLine=e,r.maxLineLength=t,r.maxLineChanged=!0,l=!1)}),l&&(e.curOp.updateMaxLine=!0));(function retreatFrontier(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,i=t-1;i>n;i--){var r=getLine(e,i).stateAfter;if(r&&(!(r instanceof Q)||i+r.lookAhead<t)){n=i+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}})(i,o.line),startWorker(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?regChange(e):o.line!=a.line||1!=t.text.length||isWholeLineUpdate(e.doc,t)?regChange(e,o.line,a.line+1,c):regLineChange(e,o.line,"text");var u=hasHandler(e,"changes"),d=hasHandler(e,"change");if(d||u){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&signalLater(e,"change",e,h),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}(e.cm,t,i):updateDoc(e,t,i),setSelectionNoUndo(e,n,H)}}function replaceRange(e,t,n,i,r){if(i||(i=n),cmp(i,n)<0){var o;n=(o=[i,n])[0],i=o[1]}"string"==typeof t&&(t=e.splitLines(t)),makeChange(e,{from:n,to:i,text:t,origin:r})}function rebaseHistSelSingle(e,t,n,i){n<e.line?e.line+=i:t<e.line&&(e.line=t,e.ch=0)}function rebaseHistArray(e,t,n,i){for(var r=0;r<e.length;++r){var o=e[r],a=!0;if(o.ranges){o.copied||((o=e[r]=o.deepCopy()).copied=!0);for(var l=0;l<o.ranges.length;l++)rebaseHistSelSingle(o.ranges[l].anchor,t,n,i),rebaseHistSelSingle(o.ranges[l].head,t,n,i)}else{for(var s=0;s<o.changes.length;++s){var c=o.changes[s];if(n<c.from.line)c.from=Pos(c.from.line+i,c.from.ch),c.to=Pos(c.to.line+i,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,r+1),r=0)}}}function rebaseHist(e,t){var n=t.from.line,i=t.to.line,r=t.text.length-(i-n)-1;rebaseHistArray(e.done,n,i,r),rebaseHistArray(e.undone,n,i,r)}function changeLine(e,t,n,i){var r=t,o=t;return"number"==typeof t?o=getLine(e,clipLine(e,t)):r=lineNo(t),null==r?null:(i(o,r)&&e.cm&&regLineChange(e.cm,r,n),o)}function LeafChunk(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function BranchChunk(e){this.children=e;for(var t=0,n=0,i=0;i<e.length;++i){var r=e[i];t+=r.chunkSize(),n+=r.height,r.parent=this}this.size=t,this.height=n,this.parent=null}function adjustScrollWhenAboveVisible(e,t,n){heightAtLine(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&addToScrollTop(e,n)}function markText(e,t,n,i,r){if(i&&i.shared)return function markTextShared(e,t,n,i,r){(i=copyObj(i)).shared=!1;var o=[markText(e,t,n,i,r)],a=o[0],l=i.widgetNode;return linkedDocs(e,function(e){l&&(i.widgetNode=l.cloneNode(!0)),o.push(markText(e,clipPos(e,t),clipPos(e,n),i,r));for(var s=0;s<e.linked.length;++s)if(e.linked[s].isParent)return;a=lst(o)}),new be(o,a)}(e,t,n,i,r);if(e.cm&&!e.cm.curOp)return operation(e.cm,markText)(e,t,n,i,r);var o=new Ce(e,r),a=cmp(t,n);if(i&&copyObj(i,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=eltP("span",[o.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(conflictingCollapsedRange(e,t.line,t,n,o)||t.line!=n.line&&conflictingCollapsedRange(e,n.line,t,n,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){B=!0}()}o.addToHistory&&addChangeToHistory(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,s=t.line,c=e.cm;if(e.iter(s,n.line+1,function(e){c&&o.collapsed&&!c.options.lineWrapping&&visualLine(e)==c.display.maxLine&&(l=!0),o.collapsed&&s!=t.line&&updateLineHeight(e,0),function addMarkedSpan(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new MarkedSpan(o,s==t.line?t.ch:null,s==n.line?n.ch:null)),++s}),o.collapsed&&e.iter(t.line,n.line+1,function(t){lineIsHidden(e,t)&&updateLineHeight(t,0)}),o.clearOnEnter&&G(o,"beforeCursorEnter",function(){return o.clear()}),o.readOnly&&(!function seeReadOnlySpans(){j=!0}(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++xe,o.atomic=!0),c){if(l&&(c.curOp.updateMaxLine=!0),o.collapsed)regChange(c,t.line,n.line+1);else if(o.className||o.title||o.startStyle||o.endStyle||o.css)for(var u=t.line;u<=n.line;u++)regLineChange(c,u,"text");o.atomic&&reCheckSelection(c.doc),signalLater(c,"markerAdded",c,o)}return o}function findSharedMarkers(e){return e.findMarks(Pos(e.first,0),e.clipPos(Pos(e.lastLine())),function(e){return e.parent})}function detachSharedMarkers(e){for(var t=function(t){var n=e[t],i=[n.primary.doc];linkedDocs(n.primary.doc,function(e){return i.push(e)});for(var r=0;r<n.markers.length;r++){var o=n.markers[r];-1==indexOf(i,o.doc)&&(o.parent=null,n.markers.splice(r--,1))}},n=0;n<e.length;n++)t(n)}function onDrop(e){var t=this;if(clearDragCursor(t),!signalDOMEvent(t,e)&&!eventInWidget(t.display,e)){e_preventDefault(e),a&&(Le=+new Date);var n=posFromMouse(t,e,!0),i=e.dataTransfer.files;if(n&&!t.isReadOnly())if(i&&i.length&&window.FileReader&&window.File)for(var r=i.length,o=Array(r),l=0,s=function(e,i){if(!t.options.allowDropFileTypes||-1!=indexOf(t.options.allowDropFileTypes,e.type)){var a=new FileReader;a.onload=operation(t,function(){var e=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),o[i]=e,++l==r){var s={from:n=clipPos(t.doc,n),to:n,text:t.doc.splitLines(o.join(t.doc.lineSeparator())),origin:"paste"};makeChange(t.doc,s),setSelectionReplaceHistory(t.doc,simpleSelection(n,changeEnd(s)))}}),a.readAsText(e)}},c=0;c<r;++c)s(i[c],c);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var u=e.dataTransfer.getData("Text");if(u){var d;if(t.state.draggingText&&!t.state.draggingText.copy&&(d=t.listSelections()),setSelectionNoUndo(t.doc,simpleSelection(n,n)),d)for(var h=0;h<d.length;++h)replaceRange(t.doc,"",d[h].anchor,d[h].head,"drag");t.replaceSelection(u,"around","paste"),t.display.input.focus()}}catch(e){}}}}function clearDragCursor(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function forEachCodeMirror(e){if(document.getElementsByClassName)for(var t=document.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&e(i)}}function ensureGlobalHandlers(){ke||(!function registerGlobalHandlers(){var e;G(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,forEachCodeMirror(onResize)},100))}),G(window,"blur",function(){return forEachCodeMirror(onBlur)})}(),ke=!0)}function onResize(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}function normalizeKeyName(e){var t=e.split(/-(?!$)/);e=t[t.length-1];for(var n,i,r,o,a=0;a<t.length-1;a++){var l=t[a];if(/^(cmd|meta|m)$/i.test(l))o=!0;else if(/^a(lt)?$/i.test(l))n=!0;else if(/^(c|ctrl|control)$/i.test(l))i=!0;else{if(!/^s(hift)?$/i.test(l))throw new Error("Unrecognized modifier name: "+l);r=!0}}return n&&(e="Alt-"+e),i&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function normalizeKeyMap(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==i){delete e[n];continue}for(var r=map(n.split(" "),normalizeKeyName),o=0;o<r.length;o++){var a=void 0,l=void 0;o==r.length-1?(l=r.join(" "),a=i):(l=r.slice(0,o+1).join(" "),a="...");var s=t[l];if(s){if(s!=a)throw new Error("Inconsistent bindings for "+l)}else t[l]=a}delete e[n]}for(var c in t)e[c]=t[c];return e}function lookupKey(e,t,n,i){var r=(t=getKeyMap(t)).call?t.call(e,i):t[e];if(!1===r)return"nothing";if("..."===r)return"multi";if(null!=r&&n(r))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return lookupKey(e,t.fallthrough,n,i);for(var o=0;o<t.fallthrough.length;o++){var a=lookupKey(e,t.fallthrough[o],n,i);if(a)return a}}}function isModifierKey(e){var t="string"==typeof e?e:Me[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function addModifierNames(e,t,n){var i=e;return t.altKey&&"Alt"!=i&&(e="Alt-"+e),(S?t.metaKey:t.ctrlKey)&&"Ctrl"!=i&&(e="Ctrl-"+e),(S?t.ctrlKey:t.metaKey)&&"Cmd"!=i&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=i&&(e="Shift-"+e),e}function keyName(e,t){if(d&&34==e.keyCode&&e.char)return!1;var n=Me[e.keyCode];return null!=n&&!e.altGraphKey&&addModifierNames(n,e,t)}function getKeyMap(e){return"string"==typeof e?Ae[e]:e}function deleteNearSelection(e,t){for(var n=e.doc.sel.ranges,i=[],r=0;r<n.length;r++){for(var o=t(n[r]);i.length&&cmp(o.from,lst(i).to)<=0;){var a=i.pop();if(cmp(a.from,o.from)<0){o.from=a.from;break}}i.push(o)}runInOp(e,function(){for(var t=i.length-1;t>=0;t--)replaceRange(e.doc,"",i[t].from,i[t].to,"+delete");ensureCursorVisible(e)})}function moveCharLogically(e,t,n){var i=skipExtendingChars(e.text,t+n,n);return i<0||i>e.text.length?null:i}function moveLogically(e,t,n){var i=moveCharLogically(e,t.ch,n);return null==i?null:new Pos(t.line,i,n<0?"after":"before")}function endOfLine(e,t,n,i,r){if(e){var o=getOrder(n,t.doc.direction);if(o){var a,l=r<0?lst(o):o[0],s=r<0==(1==l.level)?"after":"before";if(l.level>0||"rtl"==t.doc.direction){var c=prepareMeasureForLine(t,n);a=r<0?n.text.length-1:0;var u=measureCharPrepared(t,c,a).top;a=findFirst(function(e){return measureCharPrepared(t,c,e).top==u},r<0==(1==l.level)?l.from:l.to-1,a),"before"==s&&(a=moveCharLogically(n,a,1))}else a=r<0?l.to:l.from;return new Pos(i,a,s)}}return new Pos(i,r<0?n.text.length:0,r<0?"before":"after")}function lineStart(e,t){var n=getLine(e.doc,t),i=visualLine(n);return i!=n&&(t=lineNo(i)),endOfLine(!0,e,i,t,1)}function lineEnd(e,t){var n=getLine(e.doc,t),i=function visualLineEnd(e){for(var t;t=collapsedSpanAtEnd(e);)e=t.find(1,!0).line;return e}(n);return i!=n&&(t=lineNo(i)),endOfLine(!0,e,n,t,-1)}function lineStartSmart(e,t){var n=lineStart(e,t.line),i=getLine(e.doc,n.line),r=getOrder(i,e.doc.direction);if(!r||0==r[0].level){var o=Math.max(0,i.text.search(/\S/)),a=t.line==n.line&&t.ch<=o&&t.ch;return Pos(n.line,a?0:o,n.sticky)}return n}function doHandleBinding(e,t,n){if("string"==typeof t&&!(t=De[t]))return!1;e.display.input.ensurePolled();var i=e.display.shift,r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),r=t(e)!=D}finally{e.display.shift=i,e.state.suppressEdits=!1}return r}function dispatchKey(e,t,n,i){var r=e.state.keySeq;if(r){if(isModifierKey(t))return"handled";He.set(50,function(){e.state.keySeq==r&&(e.state.keySeq=null,e.display.input.reset())}),t=r+" "+t}var o=function lookupKeyForEditor(e,t,n){for(var i=0;i<e.state.keyMaps.length;i++){var r=lookupKey(t,e.state.keyMaps[i],n,e);if(r)return r}return e.options.extraKeys&&lookupKey(t,e.options.extraKeys,n,e)||lookupKey(t,e.options.keyMap,n,e)}(e,t,i);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&signalLater(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(e_preventDefault(n),restartBlink(e)),r&&!o&&/\'$/.test(t)?(e_preventDefault(n),!0):!!o}function handleKeyBinding(e,t){var n=keyName(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?dispatchKey(e,"Shift-"+n,t,function(t){return doHandleBinding(e,t,!0)})||dispatchKey(e,n,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return doHandleBinding(e,t)}):dispatchKey(e,n,t,function(t){return doHandleBinding(e,t)}))}function onKeyDown(e){if(this.curOp.focus=activeElt(),!signalDOMEvent(this,e)){a&&l<11&&27==e.keyCode&&(e.returnValue=!1);var t=e.keyCode;this.display.shift=16==t||e.shiftKey;var n=handleKeyBinding(this,e);d&&(Ne=n?t:null,!n&&88==t&&!q&&(y?e.metaKey:e.ctrlKey)&&this.replaceSelection("",null,"cut")),18!=t||/\bCodeMirror-crosshair\b/.test(this.display.lineDiv.className)||function showCrossHair(e){function up(e){18!=e.keyCode&&e.altKey||(k(t,"CodeMirror-crosshair"),off(document,"keyup",up),off(document,"mouseover",up))}var t=e.display.lineDiv;addClass(t,"CodeMirror-crosshair");G(document,"keyup",up),G(document,"mouseover",up)}(this)}}function onKeyUp(e){16==e.keyCode&&(this.doc.sel.shift=!1),signalDOMEvent(this,e)}function onKeyPress(e){if(!(eventInWidget(this.display,e)||signalDOMEvent(this,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var t=e.keyCode,n=e.charCode;if(d&&t==Ne)return Ne=null,void e_preventDefault(e);if(!d||e.which&&!(e.which<10)||!handleKeyBinding(this,e)){var i=String.fromCharCode(null==n?t:n);"\b"!=i&&(function handleCharBinding(e,t,n){return dispatchKey(e,"'"+n+"'",t,function(t){return doHandleBinding(e,t,!0)})}(this,e,i)||this.display.input.onKeyPress(e))}}}function onMouseDown(e){var t=this.display;if(!(signalDOMEvent(this,e)||t.activeTouch&&t.input.supportsTouch()))if(t.input.ensurePolled(),t.shift=e.shiftKey,eventInWidget(t,e))s||(t.scroller.draggable=!1,setTimeout(function(){return t.scroller.draggable=!0},100));else if(!clickInGutter(this,e)){var n=posFromMouse(this,e),i=e_button(e),r=n?function clickRepeat(e,t){var n=+new Date;return Ie&&Ie.compare(n,e,t)?(We=Ie=null,"triple"):We&&We.compare(n,e,t)?(Ie=new Fe(n,e,t),We=null,"double"):(We=new Fe(n,e,t),Ie=null,"single")}(n,i):"single";window.focus(),1==i&&this.state.selectingText&&this.state.selectingText(e),n&&function handleMappedButton(e,t,n,i,r){var o="Click";"double"==i?o="Double"+o:"triple"==i&&(o="Triple"+o);return o=(1==t?"Left":2==t?"Middle":"Right")+o,dispatchKey(e,addModifierNames(o,r),r,function(t){if("string"==typeof t&&(t=De[t]),!t)return!1;var i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),i=t(e,n)!=D}finally{e.state.suppressEdits=!1}return i})}(this,i,n,r,e)||(1==i?n?function leftButtonDown(e,t,n,i){a?setTimeout(bind(ensureFocus,e),0):e.curOp.focus=activeElt();var r,o=function configureMouse(e,t,n){var i=e.getOption("configureMouse"),r=i?i(e,t,n):{};if(null==r.unit){var o=x?n.shiftKey&&n.metaKey:n.altKey;r.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}(null==r.extend||e.doc.extend)&&(r.extend=e.doc.extend||n.shiftKey);null==r.addNew&&(r.addNew=y?n.metaKey:n.ctrlKey);null==r.moveOnDrag&&(r.moveOnDrag=!(y?n.altKey:n.ctrlKey));return r}(e,n,i),c=e.doc.sel;e.options.dragDrop&&U&&!e.isReadOnly()&&"single"==n&&(r=c.contains(t))>-1&&(cmp((r=c.ranges[r]).from(),t)<0||t.xRel>0)&&(cmp(r.to(),t)>0||t.xRel<0)?function leftButtonStartDrag(e,t,n,i){var r=e.display,o=!1,c=operation(e,function(t){s&&(r.scroller.draggable=!1),e.state.draggingText=!1,off(document,"mouseup",c),off(document,"mousemove",u),off(r.scroller,"dragstart",d),off(r.scroller,"drop",c),o||(e_preventDefault(t),i.addNew||extendSelection(e.doc,n,null,null,i.extend),s||a&&9==l?setTimeout(function(){document.body.focus(),r.input.focus()},20):r.input.focus())}),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return o=!0};s&&(r.scroller.draggable=!0);e.state.draggingText=c,c.copy=!i.moveOnDrag,r.scroller.dragDrop&&r.scroller.dragDrop();G(document,"mouseup",c),G(document,"mousemove",u),G(r.scroller,"dragstart",d),G(r.scroller,"drop",c),delayBlurEvent(e),setTimeout(function(){return r.input.focus()},20)}(e,i,t,o):function leftButtonSelect(e,t,n,i){function extendTo(t){if(0!=cmp(d,t))if(d=t,"rectangle"==i.unit){for(var r=[],c=e.options.tabSize,u=countColumn(getLine(o,n.line).text,n.ch,c),h=countColumn(getLine(o,t.line).text,t.ch,c),p=Math.min(u,h),f=Math.max(u,h),m=Math.min(n.line,t.line),g=Math.min(e.lastLine(),Math.max(n.line,t.line));m<=g;m++){var v=getLine(o,m).text,y=findColumn(v,p,c);p==f?r.push(new ve(Pos(m,y),Pos(m,y))):v.length>y&&r.push(new ve(Pos(m,y),Pos(m,findColumn(v,f,c))))}r.length||r.push(new ve(n,n)),setSelection(o,normalizeSelection(s.ranges.slice(0,l).concat(r),l),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var x,C=a,b=rangeForUnit(e,t,i.unit),w=C.anchor;cmp(b.anchor,w)>0?(x=b.head,w=minPos(C.from(),b.anchor)):(x=b.anchor,w=maxPos(C.to(),b.head));var S=s.ranges.slice(0);S[l]=function bidiSimplify(e,t){var n=t.anchor,i=t.head,r=getLine(e.doc,n.line);if(0==cmp(n,i)&&n.sticky==i.sticky)return t;var o=getOrder(r);if(!o)return t;var a=getBidiPartAt(o,n.ch,n.sticky),l=o[a];if(l.from!=n.ch&&l.to!=n.ch)return t;var s=a+(l.from==n.ch==(1!=l.level)?0:1);if(0==s||s==o.length)return t;var c;if(i.line!=n.line)c=(i.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=getBidiPartAt(o,i.ch,i.sticky),d=u-a||(i.ch-n.ch)*(1==l.level?-1:1);c=u==s-1||u==s?d<0:d>0}var h=o[s+(c?-1:0)],p=c==(1==h.level),f=p?h.from:h.to,m=p?"after":"before";return n.ch==f&&n.sticky==m?t:new ve(new Pos(n.line,f,m),i)}(e,new ve(clipPos(o,w),x)),setSelection(o,normalizeSelection(S,l),N)}}function extend(t){var n=++p,a=posFromMouse(e,t,!0,"rectangle"==i.unit);if(a)if(0!=cmp(a,d)){e.curOp.focus=activeElt(),extendTo(a);var l=visibleLines(r,o);(a.line>=l.to||a.line<l.from)&&setTimeout(operation(e,function(){p==n&&extend(t)}),150)}else{var s=t.clientY<h.top?-20:t.clientY>h.bottom?20:0;s&&setTimeout(operation(e,function(){p==n&&(r.scroller.scrollTop+=s,extend(t))}),50)}}function done(t){e.state.selectingText=!1,p=1/0,e_preventDefault(t),r.input.focus(),off(document,"mousemove",f),off(document,"mouseup",m),o.history.lastSelOrigin=null}var r=e.display,o=e.doc;e_preventDefault(t);var a,l,s=o.sel,c=s.ranges;i.addNew&&!i.extend?(l=o.sel.contains(n),a=l>-1?c[l]:new ve(n,n)):(a=o.sel.primary(),l=o.sel.primIndex);if("rectangle"==i.unit)i.addNew||(a=new ve(n,n)),n=posFromMouse(e,t,!0,!0),l=-1;else{var u=rangeForUnit(e,n,i.unit);a=i.extend?extendRange(a,u.anchor,u.head,i.extend):u}i.addNew?-1==l?(l=c.length,setSelection(o,normalizeSelection(c.concat([a]),l),{scroll:!1,origin:"*mouse"})):c.length>1&&c[l].empty()&&"char"==i.unit&&!i.extend?(setSelection(o,normalizeSelection(c.slice(0,l).concat(c.slice(l+1)),0),{scroll:!1,origin:"*mouse"}),s=o.sel):replaceOneSelection(o,l,a,N):(l=0,setSelection(o,new ge([a],0),N),s=o.sel);var d=n;var h=r.wrapper.getBoundingClientRect(),p=0;var f=operation(e,function(e){e_button(e)?extend(e):done(e)}),m=operation(e,done);e.state.selectingText=m,G(document,"mousemove",f),G(document,"mouseup",m)}(e,i,t,o)}(this,n,r,e):e_target(e)==t.scroller&&e_preventDefault(e):2==i?(n&&extendSelection(this.doc,n),setTimeout(function(){return t.input.focus()},20)):3==i&&(L?onContextMenu(this,e):delayBlurEvent(this)))}}function rangeForUnit(e,t,n){if("char"==n)return new ve(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ve(Pos(t.line,0),clipPos(e.doc,Pos(t.line+1,0)));var i=n(e,t);return new ve(i.from,i.to)}function gutterEvent(e,t,n,i){var r,o;if(t.touches)r=t.touches[0].clientX,o=t.touches[0].clientY;else try{r=t.clientX,o=t.clientY}catch(t){return!1}if(r>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;i&&e_preventDefault(t);var a=e.display,l=a.lineDiv.getBoundingClientRect();if(o>l.bottom||!hasHandler(e,n))return e_defaultPrevented(t);o-=l.top-a.viewOffset;for(var s=0;s<e.options.gutters.length;++s){var c=a.gutters.childNodes[s];if(c&&c.getBoundingClientRect().right>=r){return signal(e,n,e,lineAtHeight(e.doc,o),e.options.gutters[s],t),e_defaultPrevented(t)}}}function clickInGutter(e,t){return gutterEvent(e,t,"gutterClick",!0)}function onContextMenu(e,t){eventInWidget(e.display,t)||function contextMenuInGutter(e,t){if(!hasHandler(e,"gutterContextMenu"))return!1;return gutterEvent(e,t,"gutterContextMenu",!1)}(e,t)||signalDOMEvent(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function themeChanged(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(e)}function guttersChanged(e){updateGutters(e),regChange(e),alignHorizontally(e)}function dragDropChanged(e,t,n){if(!t!=!(n&&n!=Ee)){var i=e.display.dragFunctions,r=t?G:off;r(e.display.scroller,"dragstart",i.start),r(e.display.scroller,"dragenter",i.enter),r(e.display.scroller,"dragover",i.over),r(e.display.scroller,"dragleave",i.leave),r(e.display.scroller,"drop",i.drop)}}function wrappingChanged(e){e.options.lineWrapping?(addClass(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(k(e.display.wrapper,"CodeMirror-wrap"),findMaxLine(e)),estimateLineHeights(e),regChange(e),clearCaches(e),setTimeout(function(){return updateScrollbars(e)},100)}function CodeMirror$1(e,t){var i=this;if(!(this instanceof CodeMirror$1))return new CodeMirror$1(e,t);this.options=t=t?copyObj(t):{},copyObj(je,t,!1),setGuttersForLineNumbers(t);var r=t.value;"string"==typeof r&&(r=new Se(r,t.mode,null,t.lineSeparator,t.direction)),this.doc=r;var o=new CodeMirror$1.inputStyles[t.inputStyle](this),c=this.display=new function Display(e,t,i){this.input=i,this.scrollbarFiller=elt("div",null,"CodeMirror-scrollbar-filler"),this.scrollbarFiller.setAttribute("cm-not-content","true"),this.gutterFiller=elt("div",null,"CodeMirror-gutter-filler"),this.gutterFiller.setAttribute("cm-not-content","true"),this.lineDiv=eltP("div",null,"CodeMirror-code"),this.selectionDiv=elt("div",null,null,"position: relative; z-index: 1"),this.cursorDiv=elt("div",null,"CodeMirror-cursors"),this.measure=elt("div",null,"CodeMirror-measure"),this.lineMeasure=elt("div",null,"CodeMirror-measure"),this.lineSpace=eltP("div",[this.measure,this.lineMeasure,this.selectionDiv,this.cursorDiv,this.lineDiv],null,"position: relative; outline: none");var r=eltP("div",[this.lineSpace],"CodeMirror-lines");this.mover=elt("div",[r],null,"position: relative"),this.sizer=elt("div",[this.mover],"CodeMirror-sizer"),this.sizerWidth=null,this.heightForcer=elt("div",null,null,"position: absolute; height: "+A+"px; width: 1px;"),this.gutters=elt("div",null,"CodeMirror-gutters"),this.lineGutter=null,this.scroller=elt("div",[this.sizer,this.heightForcer,this.gutters],"CodeMirror-scroll"),this.scroller.setAttribute("tabIndex","-1"),this.wrapper=elt("div",[this.scrollbarFiller,this.gutterFiller,this.scroller],"CodeMirror"),a&&l<8&&(this.gutters.style.zIndex=-1,this.scroller.style.paddingRight=0),s||n&&v||(this.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(this.wrapper):e(this.wrapper)),this.viewFrom=this.viewTo=t.first,this.reportedViewFrom=this.reportedViewTo=t.first,this.view=[],this.renderedView=null,this.externalMeasured=null,this.viewOffset=0,this.lastWrapHeight=this.lastWrapWidth=0,this.updateLineNumbers=null,this.nativeBarWidth=this.barHeight=this.barWidth=0,this.scrollbarsClipped=!1,this.lineNumWidth=this.lineNumInnerWidth=this.lineNumChars=null,this.alignWidgets=!1,this.cachedCharWidth=this.cachedTextHeight=this.cachedPaddingH=null,this.maxLine=null,this.maxLineLength=0,this.maxLineChanged=!1,this.wheelDX=this.wheelDY=this.wheelStartX=this.wheelStartY=null,this.shift=!1,this.selForContextMenu=null,this.activeTouch=null,i.init(this)}(e,r,o);c.wrapper.CodeMirror=this,updateGutters(this),themeChanged(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new T,keySeq:null,specialChars:null},t.autofocus&&!v&&c.input.focus(),a&&l<11&&setTimeout(function(){return i.display.input.reset(!0)},20),function registerEventHandlers(e){function finishTouch(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(i=t.activeTouch).end=+new Date)}function farAway(e,t){if(null==t.left)return!0;var n=t.left-e.left,i=t.top-e.top;return n*n+i*i>400}var t=e.display;G(t.scroller,"mousedown",operation(e,onMouseDown)),G(t.scroller,"dblclick",a&&l<11?operation(e,function(t){if(!signalDOMEvent(e,t)){var n=posFromMouse(e,t);if(n&&!clickInGutter(e,t)&&!eventInWidget(e.display,t)){e_preventDefault(t);var i=e.findWordAt(n);extendSelection(e.doc,i.anchor,i.head)}}}):function(t){return signalDOMEvent(e,t)||e_preventDefault(t)});L||G(t.scroller,"contextmenu",function(t){return onContextMenu(e,t)});var n,i={end:0};G(t.scroller,"touchstart",function(r){if(!signalDOMEvent(e,r)&&!function isMouseLikeTouchEvent(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(r)&&!clickInGutter(e,r)){t.input.ensurePolled(),clearTimeout(n);var o=+new Date;t.activeTouch={start:o,moved:!1,prev:o-i.end<=300?i:null},1==r.touches.length&&(t.activeTouch.left=r.touches[0].pageX,t.activeTouch.top=r.touches[0].pageY)}}),G(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),G(t.scroller,"touchend",function(n){var i=t.activeTouch;if(i&&!eventInWidget(t,n)&&null!=i.left&&!i.moved&&new Date-i.start<300){var r,o=e.coordsChar(t.activeTouch,"page");r=!i.prev||farAway(i,i.prev)?new ve(o,o):!i.prev.prev||farAway(i,i.prev.prev)?e.findWordAt(o):new ve(Pos(o.line,0),clipPos(e.doc,Pos(o.line+1,0))),e.setSelection(r.anchor,r.head),e.focus(),e_preventDefault(n)}finishTouch()}),G(t.scroller,"touchcancel",finishTouch),G(t.scroller,"scroll",function(){t.scroller.clientHeight&&(updateScrollTop(e,t.scroller.scrollTop),setScrollLeft(e,t.scroller.scrollLeft,!0),signal(e,"scroll",e))}),G(t.scroller,"mousewheel",function(t){return onScrollWheel(e,t)}),G(t.scroller,"DOMMouseScroll",function(t){return onScrollWheel(e,t)}),G(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){signalDOMEvent(e,t)||e_stop(t)},over:function(t){signalDOMEvent(e,t)||(!function onDragOver(e,t){var n=posFromMouse(e,t);if(n){var i=document.createDocumentFragment();drawSelectionCursor(e,n,i),e.display.dragCursor||(e.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),removeChildrenAndAdd(e.display.dragCursor,i)}}(e,t),e_stop(t))},start:function(t){return function onDragStart(e,t){if(a&&(!e.state.draggingText||+new Date-Le<100))e_stop(t);else if(!signalDOMEvent(e,t)&&!eventInWidget(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var n=elt("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",d&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),d&&n.parentNode.removeChild(n)}}(e,t)},drop:operation(e,onDrop),leave:function(t){signalDOMEvent(e,t)||clearDragCursor(e)}};var r=t.input.getField();G(r,"keyup",function(t){return onKeyUp.call(e,t)}),G(r,"keydown",operation(e,onKeyDown)),G(r,"keypress",operation(e,onKeyPress)),G(r,"focus",function(t){return onFocus(e,t)}),G(r,"blur",function(t){return onBlur(e,t)})}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,r),t.autofocus&&!v||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this);for(var u in Be)Be.hasOwnProperty(u)&&Be[u](i,t[u],Ee);maybeUpdateLineNumberWidth(this),t.finishInit&&t.finishInit(this);for(var p=0;p<Re.length;++p)Re[p](i);endOperation(this),s&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(c.lineDiv).textRendering&&(c.lineDiv.style.textRendering="auto")}function indentLine(e,t,n,i){var r,o=e.doc;null==n&&(n="add"),"smart"==n&&(o.mode.indent?r=getContextBefore(e,t).state:n="prev");var a=e.options.tabSize,l=getLine(o,t),s=countColumn(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var c,u=l.text.match(/^\s*/)[0];if(i||/\S/.test(l.text)){if("smart"==n&&((c=o.mode.indent(r,l.text.slice(u.length),l.text))==D||c>150)){if(!i)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>o.first?countColumn(getLine(o,t-1).text,null,a):0:"add"==n?c=s+e.options.indentUnit:"subtract"==n?c=s-e.options.indentUnit:"number"==typeof n&&(c=s+n),c=Math.max(0,c);var d="",h=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/a);p;--p)h+=a,d+="\t";if(h<c&&(d+=spaceStr(c-h)),d!=u)return replaceRange(o,d,Pos(t,0),Pos(t,u.length),"+input"),l.stateAfter=null,!0;for(var f=0;f<o.sel.ranges.length;f++){var m=o.sel.ranges[f];if(m.head.line==t&&m.head.ch<u.length){var g=Pos(t,u.length);replaceOneSelection(o,f,new ve(g,g));break}}}function setLastCopied(e){ze=e}function applyTextInput(e,t,n,i,r){var o=e.doc;e.display.shift=!1,i||(i=o.sel);var a=e.state.pasteIncoming||"paste"==r,l=K(t),s=null;if(a&&i.ranges.length>1)if(ze&&ze.text.join("\n")==t){if(i.ranges.length%ze.text.length==0){s=[];for(var c=0;c<ze.text.length;c++)s.push(o.splitLines(ze.text[c]))}}else l.length==i.ranges.length&&e.options.pasteLinesPerSelection&&(s=map(l,function(e){return[e]}));for(var u,d=i.ranges.length-1;d>=0;d--){var h=i.ranges[d],p=h.from(),f=h.to();h.empty()&&(n&&n>0?p=Pos(p.line,p.ch-n):e.state.overwrite&&!a?f=Pos(f.line,Math.min(getLine(o,f.line).text.length,f.ch+lst(l).length)):ze&&ze.lineWise&&ze.text.join("\n")==t&&(p=f=Pos(p.line,0))),u=e.curOp.updateInput;var m={from:p,to:f,text:s?s[d%s.length]:l,origin:r||(a?"paste":e.state.cutIncoming?"cut":"+input")};makeChange(e.doc,m),signalLater(e,"inputRead",e,m)}t&&!a&&triggerElectric(e,t),ensureCursorVisible(e),e.curOp.updateInput=u,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function handlePaste(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||runInOp(t,function(){return applyTextInput(t,n,0,null,"paste")}),!0}function triggerElectric(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,i=n.ranges.length-1;i>=0;i--){var r=n.ranges[i];if(!(r.head.ch>100||i&&n.ranges[i-1].head.line==r.head.line)){var o=e.getModeAt(r.head),a=!1;if(o.electricChars){for(var l=0;l<o.electricChars.length;l++)if(t.indexOf(o.electricChars.charAt(l))>-1){a=indentLine(e,r.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(getLine(e.doc,r.head.line).text.slice(0,r.head.ch))&&(a=indentLine(e,r.head.line,"smart"));a&&signalLater(e,"electricInput",e,r.head.line)}}}function copyableRanges(e){for(var t=[],n=[],i=0;i<e.doc.sel.ranges.length;i++){var r=e.doc.sel.ranges[i].head.line,o={anchor:Pos(r,0),head:Pos(r+1,0)};n.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:n}}function disableBrowserMagic(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function hiddenTextarea(){var e=elt("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=elt("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return s?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),disableBrowserMagic(e),t}function findPosH(e,t,n,i,r){function moveOnce(i){var o;if(null==(o=r?function moveVisually(e,t,n,i){var r=getOrder(t,e.doc.direction);if(!r)return moveLogically(t,n,i);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var o=getBidiPartAt(r,n.ch,n.sticky),a=r[o];if("ltr"==e.doc.direction&&a.level%2==0&&(i>0?a.to>n.ch:a.from<n.ch))return moveLogically(t,n,i);var l,s=function(e,n){return moveCharLogically(t,e instanceof Pos?e.ch:e,n)},c=function(n){return e.options.lineWrapping?(l=l||prepareMeasureForLine(e,t),wrappedLineExtentChar(e,t,l,n)):{begin:0,end:t.text.length}},u=c("before"==n.sticky?s(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var d=1==a.level==i<0,h=s(n,d?1:-1);if(null!=h&&(d?h<=a.to&&h<=u.end:h>=a.from&&h>=u.begin)){var p=d?"before":"after";return new Pos(n.line,h,p)}}var f=function(e,t,i){for(var o=function(e,t){return t?new Pos(n.line,s(e,1),"before"):new Pos(n.line,e,"after")};e>=0&&e<r.length;e+=t){var a=r[e],l=t>0==(1!=a.level),c=l?i.begin:s(i.end,-1);if(a.from<=c&&c<a.to)return o(c,l);if(c=l?a.from:s(a.to,-1),i.begin<=c&&c<i.end)return o(c,l)}},m=f(o+i,i,u);if(m)return m;var g=i>0?u.end:s(u.begin,-1);return null==g||i>0&&g==t.text.length||!(m=f(i>0?0:r.length-1,i,c(g)))?null:m}(e.cm,l,t,n):moveLogically(l,t,n))){if(i||!function findNextLine(){var i=t.line+n;return!(i<e.first||i>=e.first+e.size)&&(t=new Pos(i,t.ch,t.sticky),l=getLine(e,i))}())return!1;t=endOfLine(r,e.cm,l,t.line,n)}else t=o;return!0}var o=t,a=n,l=getLine(e,t.line);if("char"==i)moveOnce();else if("column"==i)moveOnce(!0);else if("word"==i||"group"==i)for(var s=null,c="group"==i,u=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||moveOnce(!d);d=!1){var h=l.text.charAt(t.ch)||"\n",p=isWordChar(h,u)?"w":c&&"\n"==h?"n":!c||/\s/.test(h)?null:"p";if(!c||d||p||(p="s"),s&&s!=p){n<0&&(n=1,moveOnce(),t.sticky="after");break}if(p&&(s=p),n>0&&!moveOnce(!d))break}var f=skipAtomic(e,t,o,a,!0);return equalCursorPos(o,f)&&(f.hitSide=!0),f}function findPosV(e,t,n,i){var r,o=e.doc,a=t.left;if("page"==i){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),s=Math.max(l-.5*textHeight(e.display),3);r=(n>0?t.bottom:t.top)+n*s}else"line"==i&&(r=n>0?t.bottom+3:t.top-3);for(var c;(c=coordsChar(e,a,r)).outside;){if(n<0?r<=0:r>=o.height){c.hitSide=!0;break}r+=5*n}return c}function posToDOM(e,t){var n=findViewForLine(e,t.line);if(!n||n.hidden)return null;var i=getLine(e.doc,t.line),r=mapFromLineView(n,i,t.line),o=getOrder(i,e.doc.direction),a="left";if(o){a=getBidiPartAt(o,t.ch)%2?"right":"left"}var l=nodeAndOffsetInLineMap(r.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function badPos(e,t){return t&&(e.bad=!0),e}function domToPos(e,t,n){var i;if(t==e.display.lineDiv){if(!(i=e.display.lineDiv.childNodes[n]))return badPos(e.clipPos(Pos(e.display.viewTo-1)),!0);t=null,n=0}else for(i=t;;i=i.parentNode){if(!i||i==e.display.lineDiv)return null;if(i.parentNode&&i.parentNode==e.display.lineDiv)break}for(var r=0;r<e.display.view.length;r++){var o=e.display.view[r];if(o.node==i)return function locateNodeInLineView(e,t,n){function find(t,n,i){for(var r=-1;r<(c?c.length:0);r++)for(var o=r<0?s.map:c[r],a=0;a<o.length;a+=3){var l=o[a+2];if(l==t||l==n){var u=lineNo(r<0?e.line:e.rest[r]),d=o[a]+i;return(i<0||l!=t)&&(d=o[a+(i?1:0)]),Pos(u,d)}}}var i=e.text.firstChild,r=!1;if(!t||!contains(i,t))return badPos(Pos(lineNo(e.line),0),!0);if(t==i&&(r=!0,t=i.childNodes[n],n=0,!t)){var o=e.rest?lst(e.rest):e.line;return badPos(Pos(lineNo(o),o.text.length),r)}var a=3==t.nodeType?t:null,l=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));for(;l.parentNode!=i;)l=l.parentNode;var s=e.measure,c=s.maps;var u=find(a,l,n);if(u)return badPos(u,r);for(var d=l.nextSibling,h=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(u=find(d,d.firstChild,0))return badPos(Pos(u.line,u.ch-h),r);h+=d.textContent.length}for(var p=l.previousSibling,f=n;p;p=p.previousSibling){if(u=find(p,p.firstChild,-1))return badPos(Pos(u.line,u.ch+f),r);f+=p.textContent.length}}(o,t,n)}}var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),i=/MSIE \d/.test(e),r=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=i||r||o,l=a&&(i?document.documentMode||6:+(o||r)[1]),s=!o&&/WebKit\//.test(e),c=s&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),d=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),f=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),x=/\bCrOS\b/.test(e),C=/win/i.test(t),b=d&&e.match(/Version\/(\d*\.\d*)/);b&&(b=Number(b[1])),b&&b>=15&&(d=!1,s=!0);var w,S=y&&(c||d&&(null==b||b<12.11)),L=n||a&&l>=9,k=function(e,t){var n=e.className,i=classTest(t).exec(n);if(i){var r=n.slice(i.index+i[0].length);e.className=n.slice(0,i.index)+(r?i[1]+r:"")}};w=document.createRange?function(e,t,n,i){var r=document.createRange();return r.setEnd(i||e,n),r.setStart(e,t),r}:function(e,t,n){var i=document.body.createTextRange();try{i.moveToElementText(e.parentNode)}catch(e){return i}return i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",t),i};var M=function(e){e.select()};m?M=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(M=function(e){try{e.select()}catch(e){}});var T=function(){this.id=null};T.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var O,P,A=30,D={toString:function(){return"CodeMirror.Pass"}},H={scroll:!1},N={origin:"*mouse"},F={origin:"+move"},W=[""],I=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/,E=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/,j=!1,B=!1,R=null,z=function(){function charType(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}function BidiSpan(e,t,n){this.level=e,this.from=t,this.to=n}var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111",n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,r=/[LRr]/,o=/[Lb1n]/,a=/[1n]/;return function(e,t){var l="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var s=e.length,c=[],u=0;u<s;++u)c.push(charType(e.charCodeAt(u)));for(var d=0,h=l;d<s;++d){var p=c[d];"m"==p?c[d]=h:h=p}for(var f=0,m=l;f<s;++f){var g=c[f];"1"==g&&"r"==m?c[f]="n":r.test(g)&&(m=g,"r"==g&&(c[f]="R"))}for(var v=1,y=c[0];v<s-1;++v){var x=c[v];"+"==x&&"1"==y&&"1"==c[v+1]?c[v]="1":","!=x||y!=c[v+1]||"1"!=y&&"n"!=y||(c[v]=y),y=x}for(var C=0;C<s;++C){var b=c[C];if(","==b)c[C]="N";else if("%"==b){var w=void 0;for(w=C+1;w<s&&"%"==c[w];++w);for(var S=C&&"!"==c[C-1]||w<s&&"1"==c[w]?"1":"N",L=C;L<w;++L)c[L]=S;C=w-1}}for(var k=0,M=l;k<s;++k){var T=c[k];"L"==M&&"1"==T?c[k]="L":r.test(T)&&(M=T)}for(var O=0;O<s;++O)if(i.test(c[O])){var P=void 0;for(P=O+1;P<s&&i.test(c[P]);++P);for(var A="L"==(O?c[O-1]:l),D=A==("L"==(P<s?c[P]:l))?A?"L":"R":l,H=O;H<P;++H)c[H]=D;O=P-1}for(var N,F=[],W=0;W<s;)if(o.test(c[W])){var I=W;for(++W;W<s&&o.test(c[W]);++W);F.push(new BidiSpan(0,I,W))}else{var E=W,j=F.length;for(++W;W<s&&"L"!=c[W];++W);for(var B=E;B<W;)if(a.test(c[B])){E<B&&F.splice(j,0,new BidiSpan(1,E,B));var R=B;for(++B;B<W&&a.test(c[B]);++B);F.splice(j,0,new BidiSpan(2,R,B)),E=B}else++B;E<W&&F.splice(j,0,new BidiSpan(1,E,W))}return"ltr"==t&&(1==F[0].level&&(N=e.match(/^\s+/))&&(F[0].from=N[0].length,F.unshift(new BidiSpan(0,0,N[0].length))),1==lst(F).level&&(N=e.match(/\s+$/))&&(lst(F).to-=N[0].length,F.push(new BidiSpan(0,s-N[0].length,s)))),"rtl"==t?F.reverse():F}}(),V=[],G=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var i=e._handlers||(e._handlers={});i[t]=(i[t]||V).concat(n)}},U=function(){if(a&&l<9)return!1;var e=elt("div");return"draggable"in e||"dragDrop"in e}(),K=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],i=e.length;t<=i;){var r=e.indexOf("\n",t);-1==r&&(r=e.length);var o=e.slice(t,"\r"==e.charAt(r-1)?r-1:r),a=o.indexOf("\r");-1!=a?(n.push(o.slice(0,a)),t+=a+1):(n.push(o),t=r+1)}return n}:function(e){return e.split(/\r\n?|\n/)},_=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},q=function(){var e=elt("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),$=null,X={},Y={},Z={},J=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};J.prototype.eol=function(){return this.pos>=this.string.length},J.prototype.sol=function(){return this.pos==this.lineStart},J.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},J.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},J.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},J.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},J.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},J.prototype.skipToEnd=function(){this.pos=this.string.length},J.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},J.prototype.backUp=function(e){this.pos-=e},J.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=countColumn(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},J.prototype.indentation=function(){return countColumn(this.string,null,this.tabSize)-(this.lineStart?countColumn(this.string,this.lineStart,this.tabSize):0)},J.prototype.match=function(e,t,n){if("string"!=typeof e){var i=this.string.slice(this.pos).match(e);return i&&i.index>0?null:(i&&!1!==t&&(this.pos+=i[0].length),i)}var r=function(e){return n?e.toLowerCase():e};if(r(this.string.substr(this.pos,e.length))==r(e))return!1!==t&&(this.pos+=e.length),!0},J.prototype.current=function(){return this.string.slice(this.start,this.pos)},J.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},J.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},J.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var Q=function(e,t){this.state=e,this.lookAhead=t},ee=function(e,t,n,i){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};ee.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},ee.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},ee.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ee.fromSaved=function(e,t,n){return t instanceof Q?new ee(e,copyState(e.mode,t.state),n,t.lookAhead):new ee(e,copyState(e.mode,t),n)},ee.prototype.save=function(e){var t=!1!==e?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Q(t,this.maxLookAhead):t};var te=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n},ne=function(e,t,n){this.text=e,attachMarkedSpans(this,t),this.height=n?n(this):1};ne.prototype.lineNo=function(){return lineNo(this)},eventMixin(ne);var ie,re={},oe={},ae=null,le=null,se={left:0,right:0,top:0,bottom:0},ce=function(e,t,n){this.cm=n;var i=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),r=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(i),e(r),G(i,"scroll",function(){i.clientHeight&&t(i.scrollTop,"vertical")}),G(r,"scroll",function(){r.clientWidth&&t(r.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ce.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,i=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?i+"px":"0";var r=e.viewHeight-(t?i:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+r)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?i+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(n?i:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?i:0,bottom:t?i:0}},ce.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ce.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ce.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new T,this.disableVert=new T},ce.prototype.enableZeroWidthBar=function(e,t,n){function maybeDisable(){var i=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,maybeDisable)}e.style.pointerEvents="auto",t.set(1e3,maybeDisable)},ce.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var ue=function(){};ue.prototype.update=function(){return{bottom:0,right:0}},ue.prototype.setScrollLeft=function(){},ue.prototype.setScrollTop=function(){},ue.prototype.clear=function(){};var de={native:ce,null:ue},he=0,pe=function(e,t,n){var i=e.display;this.viewport=t,this.visible=visibleLines(i,e.doc,t),this.editorIsHidden=!i.wrapper.offsetWidth,this.wrapperHeight=i.wrapper.clientHeight,this.wrapperWidth=i.wrapper.clientWidth,this.oldDisplayWidth=displayWidth(e),this.force=n,this.dims=getDimensions(e),this.events=[]};pe.prototype.signal=function(e,t){hasHandler(e,t)&&this.events.push(arguments)},pe.prototype.finish=function(){for(var e=0;e<this.events.length;e++)signal.apply(null,this.events[e])};var fe=0,me=null;a?me=-.53:n?me=15:u?me=-.7:h&&(me=-1/3);var ge=function(e,t){this.ranges=e,this.primIndex=t};ge.prototype.primary=function(){return this.ranges[this.primIndex]},ge.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],i=e.ranges[t];if(!equalCursorPos(n.anchor,i.anchor)||!equalCursorPos(n.head,i.head))return!1}return!0},ge.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new ve(copyPos(this.ranges[t].anchor),copyPos(this.ranges[t].head));return new ge(e,this.primIndex)},ge.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},ge.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var i=this.ranges[n];if(cmp(t,i.from())>=0&&cmp(e,i.to())<=0)return n}return-1};var ve=function(e,t){this.anchor=e,this.head=t};ve.prototype.from=function(){return minPos(this.anchor,this.head)},ve.prototype.to=function(){return maxPos(this.anchor,this.head)},ve.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},LeafChunk.prototype={chunkSize:function chunkSize(){return this.lines.length},removeInner:function removeInner(e,t){for(var n=e,i=e+t;n<i;++n){var r=this.lines[n];this.height-=r.height,cleanUpLine(r),signalLater(r,"delete")}this.lines.splice(e,t)},collapse:function collapse(e){e.push.apply(e,this.lines)},insertInner:function insertInner(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var i=0;i<t.length;++i)t[i].parent=this},iterN:function iterN(e,t,n){for(var i=e+t;e<i;++e)if(n(this.lines[e]))return!0}},BranchChunk.prototype={chunkSize:function chunkSize(){return this.size},removeInner:function removeInner(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var i=this.children[n],r=i.chunkSize();if(e<r){var o=Math.min(t,r-e),a=i.height;if(i.removeInner(e,o),this.height-=a-i.height,r==o&&(this.children.splice(n--,1),i.parent=null),0==(t-=o))break;e=0}else e-=r}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof LeafChunk))){var l=[];this.collapse(l),this.children=[new LeafChunk(l)],this.children[0].parent=this}},collapse:function collapse(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function insertInner(e,t,n){this.size+=t.length,this.height+=n;for(var i=0;i<this.children.length;++i){var r=this.children[i],o=r.chunkSize();if(e<=o){if(r.insertInner(e,t,n),r.lines&&r.lines.length>50){for(var a=r.lines.length%25+25,l=a;l<r.lines.length;){var s=new LeafChunk(r.lines.slice(l,l+=25));r.height-=s.height,this.children.splice(++i,0,s),s.parent=this}r.lines=r.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function maybeSpill(){if(!(this.children.length<=10)){var e=this;do{var t=new BranchChunk(e.children.splice(e.children.length-5,5));if(e.parent){e.size-=t.size,e.height-=t.height;var n=indexOf(e.parent.children,e);e.parent.children.splice(n+1,0,t)}else{var i=new BranchChunk(e.children);i.parent=e,e.children=[i,t],e=i}t.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function iterN(e,t,n){for(var i=0;i<this.children.length;++i){var r=this.children[i],o=r.chunkSize();if(e<o){var a=Math.min(t,o-e);if(r.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ye=function(e,t,n){if(n)for(var i in n)n.hasOwnProperty(i)&&(this[i]=n[i]);this.doc=e,this.node=t};ye.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,i=lineNo(n);if(null!=i&&t){for(var r=0;r<t.length;++r)t[r]==this&&t.splice(r--,1);t.length||(n.widgets=null);var o=widgetHeight(this);updateLineHeight(n,Math.max(0,n.height-o)),e&&(runInOp(e,function(){adjustScrollWhenAboveVisible(e,n,-o),regLineChange(e,i,"widget")}),signalLater(e,"lineWidgetCleared",e,this,i))}},ye.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,i=this.line;this.height=null;var r=widgetHeight(this)-t;r&&(updateLineHeight(i,i.height+r),n&&runInOp(n,function(){n.curOp.forceUpdate=!0,adjustScrollWhenAboveVisible(n,i,r),signalLater(n,"lineWidgetChanged",n,e,lineNo(i))}))},eventMixin(ye);var xe=0,Ce=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++xe};Ce.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&startOperation(e),hasHandler(this,"clear")){var n=this.find();n&&signalLater(this,"clear",n.from,n.to)}for(var i=null,r=null,o=0;o<this.lines.length;++o){var a=this.lines[o],l=getMarkedSpanFor(a.markedSpans,this);e&&!this.collapsed?regLineChange(e,lineNo(a),"text"):e&&(null!=l.to&&(r=lineNo(a)),null!=l.from&&(i=lineNo(a))),a.markedSpans=removeMarkedSpan(a.markedSpans,l),null==l.from&&this.collapsed&&!lineIsHidden(this.doc,a)&&e&&updateLineHeight(a,textHeight(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var s=0;s<this.lines.length;++s){var c=visualLine(this.lines[s]),u=lineLength(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=i&&e&&this.collapsed&&regChange(e,i,r+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&reCheckSelection(e.doc)),e&&signalLater(e,"markerCleared",e,this,i,r),t&&endOperation(e),this.parent&&this.parent.clear()}},Ce.prototype.find=function(e,t){null==e&&"bookmark"==this.type&&(e=1);for(var n,i,r=0;r<this.lines.length;++r){var o=this.lines[r],a=getMarkedSpanFor(o.markedSpans,this);if(null!=a.from&&(n=Pos(t?o:lineNo(o),a.from),-1==e))return n;if(null!=a.to&&(i=Pos(t?o:lineNo(o),a.to),1==e))return i}return n&&{from:n,to:i}},Ce.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,i=this.doc.cm;t&&i&&runInOp(i,function(){var r=t.line,o=lineNo(t.line),a=findViewForLine(i,o);if(a&&(clearLineMeasurementCacheFor(a),i.curOp.selectionChanged=i.curOp.forceUpdate=!0),i.curOp.updateMaxLine=!0,!lineIsHidden(n.doc,r)&&null!=n.height){var l=n.height;n.height=null;var s=widgetHeight(n)-l;s&&updateLineHeight(r,r.height+s)}signalLater(i,"markerChanged",i,e)})},Ce.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=indexOf(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Ce.prototype.detachLine=function(e){if(this.lines.splice(indexOf(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},eventMixin(Ce);var be=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};be.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();signalLater(this,"clear")}},be.prototype.find=function(e,t){return this.primary.find(e,t)},eventMixin(be);var we=0,Se=function(e,t,n,i,r){if(!(this instanceof Se))return new Se(e,t,n,i,r);null==n&&(n=0),BranchChunk.call(this,[new LeafChunk([new ne("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var o=Pos(n,0);this.sel=simpleSelection(o),this.history=new History(null),this.id=++we,this.modeOption=t,this.lineSep=i,this.direction="rtl"==r?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),updateDoc(this,{from:o,to:o,text:e}),setSelection(this,simpleSelection(o),H)};Se.prototype=createObj(BranchChunk.prototype,{constructor:Se,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,i=0;i<t.length;++i)n+=t[i].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=getLines(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:docMethodOp(function(e){var t=Pos(this.first,0),n=this.first+this.size-1;makeChange(this,{from:t,to:Pos(n,getLine(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&scrollToCoords(this.cm,0,0),setSelection(this,simpleSelection(t),H)}),replaceRange:function(e,t,n,i){replaceRange(this,e,t=clipPos(this,t),n=n?clipPos(this,n):t,i)},getRange:function(e,t,n){var i=getBetween(this,clipPos(this,e),clipPos(this,t));return!1===n?i:i.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(isLine(this,e))return getLine(this,e)},getLineNumber:function(e){return lineNo(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=getLine(this,e)),visualLine(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return clipPos(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:docMethodOp(function(e,t,n){setSimpleSelection(this,clipPos(this,"number"==typeof e?Pos(e,t||0):e),null,n)}),setSelection:docMethodOp(function(e,t,n){setSimpleSelection(this,clipPos(this,e),clipPos(this,t||e),n)}),extendSelection:docMethodOp(function(e,t,n){extendSelection(this,clipPos(this,e),t&&clipPos(this,t),n)}),extendSelections:docMethodOp(function(e,t){extendSelections(this,clipPosArray(this,e),t)}),extendSelectionsBy:docMethodOp(function(e,t){extendSelections(this,clipPosArray(this,map(this.sel.ranges,e)),t)}),setSelections:docMethodOp(function(e,t,n){if(e.length){for(var i=[],r=0;r<e.length;r++)i[r]=new ve(clipPos(this,e[r].anchor),clipPos(this,e[r].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),setSelection(this,normalizeSelection(i,t),n)}}),addSelection:docMethodOp(function(e,t,n){var i=this.sel.ranges.slice(0);i.push(new ve(clipPos(this,e),clipPos(this,t||e))),setSelection(this,normalizeSelection(i,i.length-1),n)}),getSelection:function(e){for(var t,n=this.sel.ranges,i=0;i<n.length;i++){var r=getBetween(this,n[i].from(),n[i].to());t=t?t.concat(r):r}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,i=0;i<n.length;i++){var r=getBetween(this,n[i].from(),n[i].to());!1!==e&&(r=r.join(e||this.lineSeparator())),t[i]=r}return t},replaceSelection:function(e,t,n){for(var i=[],r=0;r<this.sel.ranges.length;r++)i[r]=e;this.replaceSelections(i,t,n||"+input")},replaceSelections:docMethodOp(function(e,t,n){for(var i=[],r=this.sel,o=0;o<r.ranges.length;o++){var a=r.ranges[o];i[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:n}}for(var l=t&&"end"!=t&&function computeReplacedSel(e,t,n){for(var i=[],r=Pos(e.first,0),o=r,a=0;a<t.length;a++){var l=t[a],s=offsetPos(l.from,r,o),c=offsetPos(changeEnd(l),r,o);if(r=l.to,o=c,"around"==n){var u=e.sel.ranges[a],d=cmp(u.head,u.anchor)<0;i[a]=new ve(d?c:s,d?s:c)}else i[a]=new ve(s,s)}return new ge(i,e.sel.primIndex)}(this,i,t),s=i.length-1;s>=0;s--)makeChange(this,i[s]);l?setSelectionReplaceHistory(this,l):this.cm&&ensureCursorVisible(this.cm)}),undo:docMethodOp(function(){makeChangeFromHistory(this,"undo")}),redo:docMethodOp(function(){makeChangeFromHistory(this,"redo")}),undoSelection:docMethodOp(function(){makeChangeFromHistory(this,"undo",!0)}),redoSelection:docMethodOp(function(){makeChangeFromHistory(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,i=0;i<e.done.length;i++)e.done[i].ranges||++t;for(var r=0;r<e.undone.length;r++)e.undone[r].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new History(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:copyHistoryArray(this.history.done),undone:copyHistoryArray(this.history.undone)}},setHistory:function(e){var t=this.history=new History(this.history.maxGeneration);t.done=copyHistoryArray(e.done.slice(0),null,!0),t.undone=copyHistoryArray(e.undone.slice(0),null,!0)},setGutterMarker:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter",function(e){var i=e.gutterMarkers||(e.gutterMarkers={});return i[t]=n,!n&&isEmpty(i)&&(e.gutterMarkers=null),!0})}),clearGutter:docMethodOp(function(e){var t=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&changeLine(t,n,"gutter",function(){return n.gutterMarkers[e]=null,isEmpty(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!isLine(this,e))return null;if(t=e,!(e=getLine(this,e)))return null}else if(null==(t=lineNo(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter"==t?"gutter":"class",function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[i]){if(classTest(n).test(e[i]))return!1;e[i]+=" "+n}else e[i]=n;return!0})}),removeLineClass:docMethodOp(function(e,t,n){return changeLine(this,e,"gutter"==t?"gutter":"class",function(e){var i="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",r=e[i];if(!r)return!1;if(null==n)e[i]=null;else{var o=r.match(classTest(n));if(!o)return!1;var a=o.index+o[0].length;e[i]=r.slice(0,o.index)+(o.index&&a!=r.length?" ":"")+r.slice(a)||null}return!0})}),addLineWidget:docMethodOp(function(e,t,n){return function addLineWidget(e,t,n,i){var r=new ye(e,n,i),o=e.cm;return o&&r.noHScroll&&(o.display.alignWidgets=!0),changeLine(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==r.insertAt?n.push(r):n.splice(Math.min(n.length-1,Math.max(0,r.insertAt)),0,r),r.line=t,o&&!lineIsHidden(e,t)){var i=heightAtLine(t)<e.scrollTop;updateLineHeight(t,t.height+widgetHeight(r)),i&&addToScrollTop(o,r.height),o.curOp.forceUpdate=!0}return!0}),signalLater(o,"lineWidgetAdded",o,r,"number"==typeof t?t:lineNo(t)),r}(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return markText(this,clipPos(this,e),clipPos(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=clipPos(this,e),markText(this,e,e,n,"bookmark")},findMarksAt:function(e){var t=[],n=getLine(this,(e=clipPos(this,e)).line).markedSpans;if(n)for(var i=0;i<n.length;++i){var r=n[i];(null==r.from||r.from<=e.ch)&&(null==r.to||r.to>=e.ch)&&t.push(r.marker.parent||r.marker)}return t},findMarks:function(e,t,n){e=clipPos(this,e),t=clipPos(this,t);var i=[],r=e.line;return this.iter(e.line,t.line+1,function(o){var a=o.markedSpans;if(a)for(var l=0;l<a.length;l++){var s=a[l];null!=s.to&&r==e.line&&e.ch>=s.to||null==s.from&&r!=e.line||null!=s.from&&r==t.line&&s.from>=t.ch||n&&!n(s.marker)||i.push(s.marker.parent||s.marker)}++r}),i},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var i=0;i<n.length;++i)null!=n[i].from&&e.push(n[i].marker)}),e},posFromIndex:function(e){var t,n=this.first,i=this.lineSeparator().length;return this.iter(function(r){var o=r.text.length+i;if(o>e)return t=e,!0;e-=o,++n}),clipPos(this,Pos(n,t))},indexFromPos:function(e){var t=(e=clipPos(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new Se(getLines(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var i=new Se(getLines(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(i.history=this.history),(this.linked||(this.linked=[])).push({doc:i,sharedHist:e.sharedHist}),i.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function copySharedMarkers(e,t){for(var n=0;n<t.length;n++){var i=t[n],r=i.find(),o=e.clipPos(r.from),a=e.clipPos(r.to);if(cmp(o,a)){var l=markText(e,o,a,i.primary,i.primary.type);i.markers.push(l),l.parent=i}}}(i,findSharedMarkers(this)),i},unlinkDoc:function(e){if(e instanceof CodeMirror$1&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){if(this.linked[t].doc==e){this.linked.splice(t,1),e.unlinkDoc(this),detachSharedMarkers(findSharedMarkers(this));break}}if(e.history==this.history){var n=[e.id];linkedDocs(e,function(e){return n.push(e.id)},!0),e.history=new History(null),e.history.done=copyHistoryArray(this.history.done,n),e.history.undone=copyHistoryArray(this.history.undone,n)}},iterLinkedDocs:function(e){linkedDocs(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):K(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:docMethodOp(function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&function directionChanged(e){runInOp(e,function(){setDirectionClass(e),regChange(e)})}(this.cm))})}),Se.prototype.eachLine=Se.prototype.iter;for(var Le=0,ke=!1,Me={3:"Enter",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Te=0;Te<10;Te++)Me[Te+48]=Me[Te+96]=String(Te);for(var Oe=65;Oe<=90;Oe++)Me[Oe]=String.fromCharCode(Oe);for(var Pe=1;Pe<=12;Pe++)Me[Pe+111]=Me[Pe+63235]="F"+Pe;var Ae={};Ae.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ae.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ae.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ae.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ae.default=y?Ae.macDefault:Ae.pcDefault;var De={selectAll:selectAll,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return deleteNearSelection(e,function(t){if(t.empty()){var n=getLine(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:Pos(t.head.line+1,0)}:{from:t.head,to:Pos(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return deleteNearSelection(e,function(t){return{from:Pos(t.from().line,0),to:clipPos(e.doc,Pos(t.to().line+1,0))}})},delLineLeft:function(e){return deleteNearSelection(e,function(e){return{from:Pos(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return deleteNearSelection(e,function(t){var n=e.charCoords(t.head,"div").top+5;return{from:e.coordsChar({left:0,top:n},"div"),to:t.from()}})},delWrappedLineRight:function(e){return deleteNearSelection(e,function(t){var n=e.charCoords(t.head,"div").top+5,i=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:i}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(Pos(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(Pos(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return lineStart(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return lineStartSmart(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return lineEnd(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},F)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},F)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5,i=e.coordsChar({left:0,top:n},"div");return i.ch<e.getLine(i.line).search(/\S/)?lineStartSmart(e,t.head):i},F)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),i=e.options.tabSize,r=0;r<n.length;r++){var o=n[r].from(),a=countColumn(e.getLine(o.line),o.ch,i);t.push(spaceStr(i-a%i))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=[],i=0;i<t.length;i++)if(t[i].empty()){var r=t[i].head,o=getLine(e.doc,r.line).text;if(o)if(r.ch==o.length&&(r=new Pos(r.line,r.ch-1)),r.ch>0)r=new Pos(r.line,r.ch+1),e.replaceRange(o.charAt(r.ch-1)+o.charAt(r.ch-2),Pos(r.line,r.ch-2),r,"+transpose");else if(r.line>e.doc.first){var a=getLine(e.doc,r.line-1).text;a&&(r=new Pos(r.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),Pos(r.line-1,a.length-1),r,"+transpose"))}n.push(new ve(r,r))}e.setSelections(n)})},newlineAndIndent:function(e){return runInOp(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var i=0;i<t.length;i++)e.indentLine(t[i].from().line,null,!0);ensureCursorVisible(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}},He=new T,Ne=null,Fe=function(e,t,n){this.time=e,this.pos=t,this.button=n};Fe.prototype.compare=function(e,t,n){return this.time+400>e&&0==cmp(t,this.pos)&&n==this.button};var We,Ie,Ee={toString:function(){return"CodeMirror.Init"}},je={},Be={};CodeMirror$1.defaults=je,CodeMirror$1.optionHandlers=Be;var Re=[];CodeMirror$1.defineInitHook=function(e){return Re.push(e)};var ze=null,Ve=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new T,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Ve.prototype.init=function(e){function onCopyCut(e){if(!signalDOMEvent(i,e)){if(i.somethingSelected())setLastCopied({lineWise:!1,text:i.getSelections()}),"cut"==e.type&&i.replaceSelection("",null,"cut");else{if(!i.options.lineWiseCopyCut)return;var t=copyableRanges(i);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type&&i.operation(function(){i.setSelections(t.ranges,0,H),i.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var o=ze.text.join("\n");if(e.clipboardData.setData("Text",o),e.clipboardData.getData("Text")==o)return void e.preventDefault()}var a=hiddenTextarea(),l=a.firstChild;i.display.lineSpace.insertBefore(a,i.display.lineSpace.firstChild),l.value=ze.text.join("\n");var s=document.activeElement;M(l),setTimeout(function(){i.display.lineSpace.removeChild(a),s.focus(),s==r&&n.showPrimarySelection()},50)}}var t=this,n=this,i=n.cm,r=n.div=e.lineDiv;disableBrowserMagic(r,i.options.spellcheck),G(r,"paste",function(e){signalDOMEvent(i,e)||handlePaste(e,i)||l<=11&&setTimeout(operation(i,function(){return t.updateFromDOM()}),20)}),G(r,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),G(r,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),G(r,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),G(r,"touchstart",function(){return n.forceCompositionEnd()}),G(r,"input",function(){t.composing||t.readFromDOMSoon()}),G(r,"copy",onCopyCut),G(r,"cut",onCopyCut)},Ve.prototype.prepareSelection=function(){var e=prepareSelection(this.cm,!1);return e.focus=this.cm.state.focused,e},Ve.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Ve.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,i=t.doc.sel.primary(),r=i.from(),o=i.to();if(t.display.viewTo==t.display.viewFrom||r.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=domToPos(t,e.anchorNode,e.anchorOffset),l=domToPos(t,e.focusNode,e.focusOffset);if(!a||a.bad||!l||l.bad||0!=cmp(minPos(a,l),r)||0!=cmp(maxPos(a,l),o)){var s=t.display.view,c=r.line>=t.display.viewFrom&&posToDOM(t,r)||{node:s[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&posToDOM(t,o);if(!u){var d=s[s.length-1].measure,h=d.maps?d.maps[d.maps.length-1]:d.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(c&&u){var p,f=e.rangeCount&&e.getRangeAt(0);try{p=w(c.node,c.offset,u.offset,u.node)}catch(e){}p&&(!n&&t.state.focused?(e.collapse(c.node,c.offset),p.collapsed||(e.removeAllRanges(),e.addRange(p))):(e.removeAllRanges(),e.addRange(p)),f&&null==e.anchorNode?e.addRange(f):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Ve.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Ve.prototype.showMultipleSelections=function(e){removeChildrenAndAdd(this.cm.display.cursorDiv,e.cursors),removeChildrenAndAdd(this.cm.display.selectionDiv,e.selection)},Ve.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Ve.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return contains(this.div,t)},Ve.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Ve.prototype.blur=function(){this.div.blur()},Ve.prototype.getField=function(){return this.div},Ve.prototype.supportsTouch=function(){return!0},Ve.prototype.receivedFocus=function(){function poll(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,poll))}var e=this;this.selectionInEditor()?this.pollSelection():runInOp(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,poll)},Ve.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Ve.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(g&&u&&this.cm.options.gutters.length&&function isInGutter(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=domToPos(t,e.anchorNode,e.anchorOffset),i=domToPos(t,e.focusNode,e.focusOffset);n&&i&&runInOp(t,function(){setSelection(t.doc,simpleSelection(n,i),H),(n.bad||i.bad)&&(t.curOp.selectionChanged=!0)})}}},Ve.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,t=e.display,n=e.doc.sel.primary(),i=n.from(),r=n.to();if(0==i.ch&&i.line>e.firstLine()&&(i=Pos(i.line-1,getLine(e.doc,i.line-1).length)),r.ch==getLine(e.doc,r.line).text.length&&r.line<e.lastLine()&&(r=Pos(r.line+1,0)),i.line<t.viewFrom||r.line>t.viewTo-1)return!1;var o,a,l;i.line==t.viewFrom||0==(o=findViewIndex(e,i.line))?(a=lineNo(t.view[0].line),l=t.view[0].node):(a=lineNo(t.view[o].line),l=t.view[o-1].node.nextSibling);var s,c,u=findViewIndex(e,r.line);if(u==t.view.length-1?(s=t.viewTo-1,c=t.lineDiv.lastChild):(s=lineNo(t.view[u+1].line)-1,c=t.view[u+1].node.previousSibling),!l)return!1;for(var d=e.doc.splitLines(function domTextBetween(e,t,n,i,r){function close(){a&&(o+=l,a=!1)}function addText(e){e&&(close(),o+=e)}function walk(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void addText(n||t.textContent.replace(/\u200b/g,""));var o,s=t.getAttribute("cm-marker");if(s){var c=e.findMarks(Pos(i,0),Pos(r+1,0),function recognizeMarker(e){return function(t){return t.id==e}}(+s));return void(c.length&&(o=c[0].find(0))&&addText(getBetween(e.doc,o.from,o.to).join(l)))}if("false"==t.getAttribute("contenteditable"))return;var u=/^(pre|div|p)$/i.test(t.nodeName);u&&close();for(var d=0;d<t.childNodes.length;d++)walk(t.childNodes[d]);u&&(a=!0)}else 3==t.nodeType&&addText(t.nodeValue)}for(var o="",a=!1,l=e.doc.lineSeparator();walk(t),t!=n;)t=t.nextSibling;return o}(e,l,c,a,s)),h=getBetween(e.doc,Pos(a,0),Pos(s,getLine(e.doc,s).text.length));d.length>1&&h.length>1;)if(lst(d)==lst(h))d.pop(),h.pop(),s--;else{if(d[0]!=h[0])break;d.shift(),h.shift(),a++}for(var p=0,f=0,m=d[0],g=h[0],v=Math.min(m.length,g.length);p<v&&m.charCodeAt(p)==g.charCodeAt(p);)++p;for(var y=lst(d),x=lst(h),C=Math.min(y.length-(1==d.length?p:0),x.length-(1==h.length?p:0));f<C&&y.charCodeAt(y.length-f-1)==x.charCodeAt(x.length-f-1);)++f;if(1==d.length&&1==h.length&&a==i.line)for(;p&&p>i.ch&&y.charCodeAt(y.length-f-1)==x.charCodeAt(x.length-f-1);)p--,f++;d[d.length-1]=y.slice(0,y.length-f).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var b=Pos(a,p),w=Pos(s,h.length?lst(h).length-f:0);return d.length>1||d[0]||cmp(b,w)?(replaceRange(e.doc,d,b,w,"+input"),!0):void 0},Ve.prototype.ensurePolled=function(){this.forceCompositionEnd()},Ve.prototype.reset=function(){this.forceCompositionEnd()},Ve.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Ve.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Ve.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,function(){return regChange(e.cm)})},Ve.prototype.setUneditable=function(e){e.contentEditable="false"},Ve.prototype.onKeyPress=function(e){0!=e.charCode&&(e.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Ve.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Ve.prototype.onContextMenu=function(){},Ve.prototype.resetPosition=function(){},Ve.prototype.needsContentAttribute=!0;var Ge=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new T,this.hasSelection=!1,this.composing=null};Ge.prototype.init=function(e){function prepareCopyCut(e){if(!signalDOMEvent(i,e)){if(i.somethingSelected())setLastCopied({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var t=copyableRanges(i);setLastCopied({lineWise:!0,text:t.text}),"cut"==e.type?i.setSelections(t.ranges,null,H):(n.prevInput="",o.value=t.text.join("\n"),M(o))}"cut"==e.type&&(i.state.cutIncoming=!0)}}var t=this,n=this,i=this.cm,r=this.wrapper=hiddenTextarea(),o=this.textarea=r.firstChild;e.wrapper.insertBefore(r,e.wrapper.firstChild),m&&(o.style.width="0px"),G(o,"input",function(){a&&l>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),G(o,"paste",function(e){signalDOMEvent(i,e)||handlePaste(e,i)||(i.state.pasteIncoming=!0,n.fastPoll())}),G(o,"cut",prepareCopyCut),G(o,"copy",prepareCopyCut),G(e.scroller,"paste",function(t){eventInWidget(e,t)||signalDOMEvent(i,t)||(i.state.pasteIncoming=!0,n.focus())}),G(e.lineSpace,"selectstart",function(t){eventInWidget(e,t)||e_preventDefault(t)}),G(o,"compositionstart",function(){var e=i.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:i.markText(e,i.getCursor("to"),{className:"CodeMirror-composing"})}}),G(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},Ge.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,i=prepareSelection(e);if(e.options.moveInputWithCursor){var r=cursorCoords(e,n.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,r.top+a.top-o.top)),i.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,r.left+a.left-o.left))}return i},Ge.prototype.showSelection=function(e){var t=this.cm.display;removeChildrenAndAdd(t.cursorDiv,e.cursors),removeChildrenAndAdd(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},Ge.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&M(this.textarea),a&&l>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&l>=9&&(this.hasSelection=null))}},Ge.prototype.getField=function(){return this.textarea},Ge.prototype.supportsTouch=function(){return!1},Ge.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||activeElt()!=this.textarea))try{this.textarea.focus()}catch(e){}},Ge.prototype.blur=function(){this.textarea.blur()},Ge.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Ge.prototype.receivedFocus=function(){this.slowPoll()},Ge.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},Ge.prototype.fastPoll=function(){function p(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,p))}var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,p)},Ge.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,i=this.prevInput;if(this.contextMenuPending||!t.state.focused||_(n)&&!i&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var r=n.value;if(r==i&&!t.somethingSelected())return!1;if(a&&l>=9&&this.hasSelection===r||y&&/[\uf700-\uf7ff]/.test(r))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=r.charCodeAt(0);if(8203!=o||i||(i="​"),8666==o)return this.reset(),this.cm.execCommand("undo")}for(var s=0,c=Math.min(i.length,r.length);s<c&&i.charCodeAt(s)==r.charCodeAt(s);)++s;return runInOp(t,function(){applyTextInput(t,r.slice(s),i.length-s,null,e.composing?"*compose":null),r.length>1e3||r.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=r,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Ge.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Ge.prototype.onKeyPress=function(){a&&l>=9&&(this.hasSelection=null),this.fastPoll()},Ge.prototype.onContextMenu=function(e){function prepareSelectAllHack(){if(null!=r.selectionStart){var e=n.somethingSelected(),o="​"+(e?r.value:"");r.value="⇚",r.value=o,t.prevInput=e?"":"​",r.selectionStart=1,r.selectionEnd=o.length,i.selForContextMenu=n.doc.sel}}function rehide(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=h,r.style.cssText=u,a&&l<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=c),null!=r.selectionStart){(!a||a&&l<9)&&prepareSelectAllHack();var e=0,o=function(){i.selForContextMenu==n.doc.sel&&0==r.selectionStart&&r.selectionEnd>0&&"​"==t.prevInput?operation(n,selectAll)(n):e++<10?i.detectingSelectAll=setTimeout(o,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(o,200)}}var t=this,n=t.cm,i=n.display,r=t.textarea,o=posFromMouse(n,e),c=i.scroller.scrollTop;if(o&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(o)&&operation(n,setSelection)(n.doc,simpleSelection(o),H);var u=r.style.cssText,h=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var p=t.wrapper.getBoundingClientRect();r.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-p.top-5)+"px; left: "+(e.clientX-p.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var f;if(s&&(f=window.scrollY),i.input.focus(),s&&window.scrollTo(null,f),i.input.reset(),n.somethingSelected()||(r.value=t.prevInput=" "),t.contextMenuPending=!0,i.selForContextMenu=n.doc.sel,clearTimeout(i.detectingSelectAll),a&&l>=9&&prepareSelectAllHack(),L){e_stop(e);var m=function(){off(window,"mouseup",m),setTimeout(rehide,20)};G(window,"mouseup",m)}else setTimeout(rehide,50)}},Ge.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},Ge.prototype.setUneditable=function(){},Ge.prototype.needsContentAttribute=!1,function defineOptions(e){function option(n,i,r,o){e.defaults[n]=i,r&&(t[n]=o?function(e,t,n){n!=Ee&&r(e,t,n)}:r)}var t=e.optionHandlers;e.defineOption=option,e.Init=Ee,option("value","",function(e,t){return e.setValue(t)},!0),option("mode",null,function(e,t){e.doc.modeOption=t,loadMode(e)},!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,function(e){resetModeState(e),clearCaches(e),regChange(e)},!0),option("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],i=e.doc.first;e.doc.iter(function(e){for(var r=0;;){var o=e.text.indexOf(t,r);if(-1==o)break;r=o+t.length,n.push(Pos(i,o))}i++});for(var r=n.length-1;r>=0;r--)replaceRange(e.doc,t,n[r],Pos(n[r].line,n[r].ch+t.length))}}),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Ee&&e.refresh()}),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,function(e){return e.refresh()},!0),option("electricChars",!0),option("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),option("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),option("rtlMoveVisually",!C),option("wholeLineUpdateBefore",!0),option("theme","default",function(e){themeChanged(e),guttersChanged(e)},!0),option("keyMap","default",function(e,t,n){var i=getKeyMap(t),r=n!=Ee&&getKeyMap(n);r&&r.detach&&r.detach(e,i),i.attach&&i.attach(e,r||null)}),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?compensateForHScroll(e.display)+"px":"0",e.refresh()},!0),option("coverGutterNextToScrollbar",!1,function(e){return updateScrollbars(e)},!0),option("scrollbarStyle","native",function(e){initScrollbars(e),updateScrollbars(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),option("lineNumbers",!1,function(e){setGuttersForLineNumbers(e.options),guttersChanged(e)},!0),option("firstLineNumber",1,guttersChanged,!0),option("lineNumberFormatter",function(e){return e},guttersChanged,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("readOnly",!1,function(e,t){"nocursor"==t&&(onBlur(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),option("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),option("historyEventDelay",1250),option("viewportMargin",10,function(e){return e.refresh()},!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),option("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),option("autofocus",null),option("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(CodeMirror$1),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var i=this.options,r=i[e];i[e]==n&&"mode"!=e||(i[e]=n,t.hasOwnProperty(e)&&operation(this,t[e])(this,n,r),signal(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](getKeyMap(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:methodOp(function(t,n){var i=t.token?t:e.getMode(this.options,t);if(i.startState)throw new Error("Overlays may not be stateful.");!function insertSorted(e,t,n){for(var i=0,r=n(t);i<e.length&&n(e[i])<=r;)i++;e.splice(i,0,t)}(this.state.overlays,{mode:i,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},function(e){return e.priority}),this.state.modeGen++,regChange(this)}),removeOverlay:methodOp(function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var i=t[n].modeSpec;if(i==e||"string"==typeof e&&i.name==e)return t.splice(n,1),this.state.modeGen++,void regChange(this)}}),indentLine:methodOp(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),isLine(this.doc,e)&&indentLine(this,e,t,n)}),indentSelection:methodOp(function(e){for(var t=this.doc.sel.ranges,n=-1,i=0;i<t.length;i++){var r=t[i];if(r.empty())r.head.line>n&&(indentLine(this,r.head.line,e,!0),n=r.head.line,i==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var o=r.from(),a=r.to(),l=Math.max(n,o.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;s<n;++s)indentLine(this,s,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[i].from().ch>0&&replaceOneSelection(this.doc,i,new ve(o,c[i].to()),H)}}}),getTokenAt:function(e,t){return takeToken(this,e,t)},getLineTokens:function(e,t){return takeToken(this,Pos(e),t,!0)},getTokenTypeAt:function(e){e=clipPos(this.doc,e);var t,n=getLineStyles(this,getLine(this.doc,e.line)),i=0,r=(n.length-1)/2,o=e.ch;if(0==o)t=n[2];else for(;;){var a=i+r>>1;if((a?n[2*a-1]:0)>=o)r=a;else{if(!(n[2*a+1]<o)){t=n[2*a+2];break}i=a+1}}var l=t?t.indexOf("overlay "):-1;return l<0?t:0==l?null:t.slice(0,l-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var i=[];if(!n.hasOwnProperty(t))return i;var r=n[t],o=this.getModeAt(e);if("string"==typeof o[t])r[o[t]]&&i.push(r[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var l=r[o[t][a]];l&&i.push(l)}else o.helperType&&r[o.helperType]?i.push(r[o.helperType]):r[o.name]&&i.push(r[o.name]);for(var s=0;s<r._global.length;s++){var c=r._global[s];c.pred(o,this)&&-1==indexOf(i,c.val)&&i.push(c.val)}return i},getStateAfter:function(e,t){var n=this.doc;return e=clipLine(n,null==e?n.first+n.size-1:e),getContextBefore(this,e+1,t).state},cursorCoords:function(e,t){var n,i=this.doc.sel.primary();return n=null==e?i.head:"object"==typeof e?clipPos(this.doc,e):e?i.from():i.to(),cursorCoords(this,n,t||"page")},charCoords:function(e,t){return charCoords(this,clipPos(this.doc,e),t||"page")},coordsChar:function(e,t){return e=fromCoordSystem(this,e,t||"page"),coordsChar(this,e.left,e.top)},lineAtHeight:function(e,t){return e=fromCoordSystem(this,{top:e,left:0},t||"page").top,lineAtHeight(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var i,r=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,r=!0),i=getLine(this.doc,e)}else i=e;return intoCoordSystem(this,i,{top:0,left:0},t||"page",n||r).top+(r?this.doc.height-heightAtLine(i):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,i,r){var o=this.display,a=(e=cursorCoords(this,clipPos(this.doc,e))).bottom,l=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==i)a=e.top;else if("above"==i||"near"==i){var s=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==i||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=s&&(a=e.bottom),l+t.offsetWidth>c&&(l=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==r?(l=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==r?l=0:"middle"==r&&(l=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=l+"px"),n&&function scrollIntoView(e,t){var n=calculateScrollPos(e,t);null!=n.scrollTop&&updateScrollTop(e,n.scrollTop),null!=n.scrollLeft&&setScrollLeft(e,n.scrollLeft)}(this,{left:l,top:a,right:l+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(e){if(De.hasOwnProperty(e))return De[e].call(null,this)},triggerElectric:methodOp(function(e){triggerElectric(this,e)}),findPosH:function(e,t,n,i){var r=1;t<0&&(r=-1,t=-t);for(var o=clipPos(this.doc,e),a=0;a<t&&!(o=findPosH(this.doc,o,r,n,i)).hitSide;++a);return o},moveH:methodOp(function(e,t){var n=this;this.extendSelectionsBy(function(i){return n.display.shift||n.doc.extend||i.empty()?findPosH(n.doc,i.head,e,t,n.options.rtlMoveVisually):e<0?i.from():i.to()},F)}),deleteH:methodOp(function(e,t){var n=this.doc.sel,i=this.doc;n.somethingSelected()?i.replaceSelection("",null,"+delete"):deleteNearSelection(this,function(n){var r=findPosH(i,n.head,e,t,!1);return e<0?{from:r,to:n.head}:{from:n.head,to:r}})}),findPosV:function(e,t,n,i){var r=1,o=i;t<0&&(r=-1,t=-t);for(var a=clipPos(this.doc,e),l=0;l<t;++l){var s=cursorCoords(this,a,"div");if(null==o?o=s.left:s.left=o,(a=findPosV(this,s,r,n)).hitSide)break}return a},moveV:methodOp(function(e,t){var n=this,i=this.doc,r=[],o=!this.display.shift&&!i.extend&&i.sel.somethingSelected();if(i.extendSelectionsBy(function(a){if(o)return e<0?a.from():a.to();var l=cursorCoords(n,a.head,"div");null!=a.goalColumn&&(l.left=a.goalColumn),r.push(l.left);var s=findPosV(n,l,e,t);return"page"==t&&a==i.sel.primary()&&addToScrollTop(n,charCoords(n,s,"div").top-l.top),s},F),r.length)for(var a=0;a<i.sel.ranges.length;a++)i.sel.ranges[a].goalColumn=r[a]}),findWordAt:function(e){var t=getLine(this.doc,e.line).text,n=e.ch,i=e.ch;if(t){var r=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=t.length||!n?++i:--n;for(var o=t.charAt(n),a=isWordChar(o,r)?function(e){return isWordChar(e,r)}:/\s/.test(o)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!isWordChar(e)};n>0&&a(t.charAt(n-1));)--n;for(;i<t.length&&a(t.charAt(i));)++i}return new ve(Pos(e.line,n),Pos(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?addClass(this.display.cursorDiv,"CodeMirror-overwrite"):k(this.display.cursorDiv,"CodeMirror-overwrite"),signal(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==activeElt()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:methodOp(function(e,t){scrollToCoords(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-scrollGap(this)-this.display.barHeight,width:e.scrollWidth-scrollGap(this)-this.display.barWidth,clientHeight:displayHeight(this),clientWidth:displayWidth(this)}},scrollIntoView:methodOp(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:Pos(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function scrollToRange(e,t){resolveScrollToPos(e),e.curOp.scrollToPos=t}(this,e):scrollToCoordsRange(this,e.from,e.to,e.margin)}),setSize:methodOp(function(e,t){var n=this,i=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=i(e)),null!=t&&(this.display.wrapper.style.height=i(t)),this.options.lineWrapping&&clearLineMeasurementCache(this);var r=this.display.viewFrom;this.doc.iter(r,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){regLineChange(n,r,"widget");break}++r}),this.curOp.forceUpdate=!0,signal(this,"refresh",this)}),operation:function(e){return runInOp(this,e)},startOperation:function(){return startOperation(this)},endOperation:function(){return endOperation(this)},refresh:methodOp(function(){var e=this.display.cachedTextHeight;regChange(this),this.curOp.forceUpdate=!0,clearCaches(this),scrollToCoords(this,this.doc.scrollLeft,this.doc.scrollTop),updateGutterSpace(this),(null==e||Math.abs(e-textHeight(this.display))>.5)&&estimateLineHeights(this),signal(this,"refresh",this)}),swapDoc:methodOp(function(e){var t=this.doc;return t.cm=null,attachDoc(this,e),clearCaches(this),this.display.input.reset(),scrollToCoords(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(e),e.registerHelper=function(t,i,r){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][i]=r},e.registerGlobalHelper=function(t,i,r,o){e.registerHelper(t,i,o),n[t]._global.push({pred:r,val:o})}}(CodeMirror$1);var Ue="iter insert remove copy getEditor constructor".split(" ");for(var Ke in Se.prototype)Se.prototype.hasOwnProperty(Ke)&&indexOf(Ue,Ke)<0&&(CodeMirror$1.prototype[Ke]=function(e){return function(){return e.apply(this.doc,arguments)}}(Se.prototype[Ke]));return eventMixin(Se),CodeMirror$1.inputStyles={textarea:Ge,contenteditable:Ve},CodeMirror$1.defineMode=function(e){CodeMirror$1.defaults.mode||"null"==e||(CodeMirror$1.defaults.mode=e),function defineMode(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),X[e]=t}.apply(this,arguments)},CodeMirror$1.defineMIME=function defineMIME(e,t){Y[e]=t},CodeMirror$1.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),CodeMirror$1.defineMIME("text/plain","null"),CodeMirror$1.defineExtension=function(e,t){CodeMirror$1.prototype[e]=t},CodeMirror$1.defineDocExtension=function(e,t){Se.prototype[e]=t},CodeMirror$1.fromTextArea=function fromTextArea(e,t){function save(){e.value=a.getValue()}if(t=t?copyObj(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=activeElt();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}var i;if(e.form&&(G(e.form,"submit",save),!t.leaveSubmitMethodAlone)){var r=e.form;i=r.submit;try{var o=r.submit=function(){save(),r.submit=i,r.submit(),r.submit=o}}catch(e){}}t.finishInit=function(t){t.save=save,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,save(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(off(e.form,"submit",save),"function"==typeof e.form.submit&&(e.form.submit=i))}},e.style.display="none";var a=CodeMirror$1(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return a},function addLegacyProps(e){e.off=off,e.on=G,e.wheelEventPixels=wheelEventPixels,e.Doc=Se,e.splitLines=K,e.countColumn=countColumn,e.findColumn=findColumn,e.isWordChar=isWordCharBasic,e.Pass=D,e.signal=signal,e.Line=ne,e.changeEnd=changeEnd,e.scrollbarModel=de,e.Pos=Pos,e.cmpPos=cmp,e.modes=X,e.mimeModes=Y,e.resolveMode=resolveMode,e.getMode=getMode,e.modeExtensions=Z,e.extendMode=extendMode,e.copyState=copyState,e.startState=startState,e.innerMode=innerMode,e.commands=De,e.keyMap=Ae,e.keyName=keyName,e.isModifierKey=isModifierKey,e.lookupKey=lookupKey,e.normalizeKeyMap=normalizeKeyMap,e.StringStream=J,e.SharedTextMarker=be,e.TextMarker=Ce,e.LineWidget=ye,e.e_preventDefault=e_preventDefault,e.e_stopPropagation=e_stopPropagation,e.e_stop=e_stop,e.addClass=addClass,e.contains=contains,e.rmClass=k,e.keyNames=Me}(CodeMirror$1),CodeMirror$1.version="5.31.0",CodeMirror$1})},917:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"null",mode:"jinja2"},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective C",mime:"text/x-objectivec",mode:"clike",ext:["m","mm"],alias:["objective-c","objc"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mime:["application/x-httpd-php","text/x-php"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki ",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var n=e.modeInfo[t];n.mimes&&(n.mime=n.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.mime==t)return i;if(i.mimes)for(var r=0;r<i.mimes.length;r++)if(i.mimes[r]==t)return i}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.ext)for(var r=0;r<i.ext.length;r++)if(i.ext[r]==t)return i}},e.findModeByFileName=function(t){for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.file&&i.file.test(t))return i}var r=t.lastIndexOf("."),o=r>-1&&t.substring(r+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var n=0;n<e.modeInfo.length;n++){var i=e.modeInfo[n];if(i.name.toLowerCase()==t)return i;if(i.alias)for(var r=0;r<i.alias.length;r++)if(i.alias[r].toLowerCase()==t)return i}}})},933:function(e,t,n){!function(e){e(n(907))}(function(e){function findMatchingBracket(e,t,r){var o=e.getLineHandle(t.line),a=t.ch-1,l=r&&r.afterCursor;null==l&&(l=/(^| )cm-fat-cursor($| )/.test(e.getWrapperElement().className));var s=!l&&a>=0&&i[o.text.charAt(a)]||i[o.text.charAt(++a)];if(!s)return null;var c=">"==s.charAt(1)?1:-1;if(r&&r.strict&&c>0!=(a==t.ch))return null;var u=e.getTokenTypeAt(n(t.line,a+1)),d=scanForBracket(e,n(t.line,a+(c>0?1:0)),c,u||null,r);return null==d?null:{from:n(t.line,a),to:d&&d.pos,match:d&&d.ch==s.charAt(0),forward:c>0}}function scanForBracket(e,t,r,o,a){for(var l=a&&a.maxScanLineLength||1e4,s=a&&a.maxScanLines||1e3,c=[],u=a&&a.bracketRegex?a.bracketRegex:/[(){}[\]]/,d=r>0?Math.min(t.line+s,e.lastLine()+1):Math.max(e.firstLine()-1,t.line-s),h=t.line;h!=d;h+=r){var p=e.getLine(h);if(p){var f=r>0?0:p.length-1,m=r>0?p.length:-1;if(!(p.length>l))for(h==t.line&&(f=t.ch-(r<0?1:0));f!=m;f+=r){var g=p.charAt(f);if(u.test(g)&&(void 0===o||e.getTokenTypeAt(n(h,f+1))==o)){if(">"==i[g].charAt(1)==r>0)c.push(g);else{if(!c.length)return{pos:n(h,f),ch:g};c.pop()}}}}}return h-r!=(r>0?e.lastLine():e.firstLine())&&null}function matchBrackets(e,i,r){for(var o=e.state.matchBrackets.maxHighlightLineLength||1e3,a=[],l=e.listSelections(),s=0;s<l.length;s++){var c=l[s].empty()&&findMatchingBracket(e,l[s].head,r);if(c&&e.getLine(c.from.line).length<=o){var u=c.match?"CodeMirror-matchingbracket":"CodeMirror-nonmatchingbracket";a.push(e.markText(c.from,n(c.from.line,c.from.ch+1),{className:u})),c.to&&e.getLine(c.to.line).length<=o&&a.push(e.markText(c.to,n(c.to.line,c.to.ch+1),{className:u}))}}if(a.length){t&&e.state.focused&&e.focus();var d=function(){e.operation(function(){for(var e=0;e<a.length;e++)a[e].clear()})};if(!i)return d;setTimeout(d,800)}}function doMatchBrackets(e){e.operation(function(){r&&(r(),r=null),r=matchBrackets(e,!1,e.state.matchBrackets)})}var t=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),n=e.Pos,i={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<"},r=null;e.defineOption("matchBrackets",!1,function(t,n,i){i&&i!=e.Init&&(t.off("cursorActivity",doMatchBrackets),r&&(r(),r=null)),n&&(t.state.matchBrackets="object"==typeof n?n:{},t.on("cursorActivity",doMatchBrackets))}),e.defineExtension("matchBrackets",function(){matchBrackets(this,!0)}),e.defineExtension("findMatchingBracket",function(e,t,n){return(n||"boolean"==typeof t)&&(n?(n.strict=t,t=n):t=t?{strict:!0}:null),findMatchingBracket(this,e,t)}),e.defineExtension("scanForBracket",function(e,t,n,i){return scanForBracket(this,e,t,n,i)})})},934:function(e,t,n){!function(e){e(n(907),n(935))}(function(e){"use strict";function clear(e){e.state.tagHit&&e.state.tagHit.clear(),e.state.tagOther&&e.state.tagOther.clear(),e.state.tagHit=e.state.tagOther=null}function doMatchTags(t){t.state.failedTagMatch=!1,t.operation(function(){if(clear(t),!t.somethingSelected()){var n=t.getCursor(),i=t.getViewport();i.from=Math.min(i.from,n.line),i.to=Math.max(n.line+1,i.to);var r=e.findMatchingTag(t,n,i);if(r){if(t.state.matchBothTags){var o="open"==r.at?r.open:r.close;o&&(t.state.tagHit=t.markText(o.from,o.to,{className:"CodeMirror-matchingtag"}))}var a="close"==r.at?r.open:r.close;a?t.state.tagOther=t.markText(a.from,a.to,{className:"CodeMirror-matchingtag"}):t.state.failedTagMatch=!0}}})}function maybeUpdateMatch(e){e.state.failedTagMatch&&doMatchTags(e)}e.defineOption("matchTags",!1,function(t,n,i){i&&i!=e.Init&&(t.off("cursorActivity",doMatchTags),t.off("viewportChange",maybeUpdateMatch),clear(t)),n&&(t.state.matchBothTags="object"==typeof n&&n.bothTags,t.on("cursorActivity",doMatchTags),t.on("viewportChange",maybeUpdateMatch),doMatchTags(t))}),e.commands.toMatchingTag=function(t){var n=e.findMatchingTag(t,t.getCursor());if(n){var i="close"==n.at?n.open:n.close;i&&t.extendSelection(i.to,i.from)}}})},935:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Iter(e,t,n,i){this.line=t,this.ch=n,this.cm=e,this.text=e.getLine(t),this.min=i?Math.max(i.from,e.firstLine()):e.firstLine(),this.max=i?Math.min(i.to-1,e.lastLine()):e.lastLine()}function tagAt(e,n){var i=e.cm.getTokenTypeAt(t(e.line,n));return i&&/\btag\b/.test(i)}function nextLine(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function prevLine(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function toTagEnd(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(nextLine(e))continue;return}if(tagAt(e,t+1)){var n=e.text.lastIndexOf("/",t),i=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,i?"selfClose":"regular"}e.ch=t+1}}function toTagStart(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(prevLine(e))continue;return}if(tagAt(e,t+1)){i.lastIndex=t,e.ch=t;var n=i.exec(e.text);if(n&&n.index==t)return n}else e.ch=t}}function toNextTag(e){for(;;){i.lastIndex=e.ch;var t=i.exec(e.text);if(!t){if(nextLine(e))continue;return}if(tagAt(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function toPrevTag(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(prevLine(e))continue;return}if(tagAt(e,t+1)){var n=e.text.lastIndexOf("/",t),i=n>-1&&!/\S/.test(e.text.slice(n+1,t));return e.ch=t+1,i?"selfClose":"regular"}e.ch=t}}function findMatchingClose(e,n){for(var i=[];;){var r,o=toNextTag(e),a=e.line,l=e.ch-(o?o[0].length:0);if(!o||!(r=toTagEnd(e)))return;if("selfClose"!=r)if(o[1]){for(var s=i.length-1;s>=0;--s)if(i[s]==o[2]){i.length=s;break}if(s<0&&(!n||n==o[2]))return{tag:o[2],from:t(a,l),to:t(e.line,e.ch)}}else i.push(o[2])}}function findMatchingOpen(e,n){for(var i=[];;){var r=toPrevTag(e);if(!r)return;if("selfClose"!=r){var o=e.line,a=e.ch,l=toTagStart(e);if(!l)return;if(l[1])i.push(l[2]);else{for(var s=i.length-1;s>=0;--s)if(i[s]==l[2]){i.length=s;break}if(s<0&&(!n||n==l[2]))return{tag:l[2],from:t(e.line,e.ch),to:t(o,a)}}}else toTagStart(e)}}var t=e.Pos,n="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=new RegExp("<(/?)(["+n+"][A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*)","g");e.registerHelper("fold","xml",function(e,n){for(var i=new Iter(e,n.line,0);;){var r,o=toNextTag(i);if(!o||i.line!=n.line||!(r=toTagEnd(i)))return;if(!o[1]&&"selfClose"!=r){var a=t(i.line,i.ch),l=findMatchingClose(i,o[2]);return l&&{from:a,to:l.from}}}}),e.findMatchingTag=function(e,n,i){var r=new Iter(e,n.line,n.ch,i);if(-1!=r.text.indexOf(">")||-1!=r.text.indexOf("<")){var o=toTagEnd(r),a=o&&t(r.line,r.ch),l=o&&toTagStart(r);if(o&&l&&!(function cmp(e,t){return e.line-t.line||e.ch-t.ch}(r,n)>0)){var s={from:t(r.line,r.ch),to:a,tag:l[2]};return"selfClose"==o?{open:s,close:null,at:"open"}:l[1]?{open:findMatchingOpen(r,l[2]),close:s,at:"close"}:(r=new Iter(e,a.line,a.ch,i),{open:s,close:findMatchingClose(r,l[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,n,i){for(var r=new Iter(e,t.line,t.ch,n);;){var o=findMatchingOpen(r,i);if(!o)break;var a=findMatchingClose(new Iter(e,t.line,t.ch,n),o.tag);if(a)return{open:o,close:a}}},e.scanForClosingTag=function(e,t,n,i){return findMatchingClose(new Iter(e,t.line,t.ch,i?{from:0,to:i}:null),n)}})},937:function(e,t,n){function webpackAsyncContext(e){var t=i[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}var i={"./apl/apl.js":[938,123],"./asciiarmor/asciiarmor.js":[939,122],"./asn.1/asn.1.js":[940,121],"./asterisk/asterisk.js":[941,120],"./brainfuck/brainfuck.js":[942,119],"./clike/clike.js":[915,118],"./clojure/clojure.js":[943,117],"./cmake/cmake.js":[944,116],"./cobol/cobol.js":[945,115],"./coffeescript/coffeescript.js":[922,114],"./commonlisp/commonlisp.js":[946,113],"./crystal/crystal.js":[947,112],"./css/css.js":[910,111],"./cypher/cypher.js":[948,110],"./d/d.js":[949,109],"./dart/dart.js":[950,23],"./diff/diff.js":[951,108],"./django/django.js":[952,8],"./dockerfile/dockerfile.js":[953,27],"./dtd/dtd.js":[954,107],"./dylan/dylan.js":[955,106],"./ebnf/ebnf.js":[956,105],"./ecl/ecl.js":[957,104],"./eiffel/eiffel.js":[958,103],"./elm/elm.js":[959,102],"./erlang/erlang.js":[960,101],"./factor/factor.js":[961,26],"./fcl/fcl.js":[962,100],"./forth/forth.js":[963,99],"./fortran/fortran.js":[964,98],"./gas/gas.js":[965,97],"./gfm/gfm.js":[966,14],"./gherkin/gherkin.js":[967,96],"./go/go.js":[968,95],"./groovy/groovy.js":[969,94],"./haml/haml.js":[970,5],"./handlebars/handlebars.js":[923,16],"./haskell-literate/haskell-literate.js":[971,21],"./haskell/haskell.js":[924,93],"./haxe/haxe.js":[972,92],"./htmlembedded/htmlembedded.js":[973,9],"./htmlmixed/htmlmixed.js":[911,12],"./http/http.js":[974,91],"./idl/idl.js":[975,90],"./javascript/javascript.js":[908,89],"./jinja2/jinja2.js":[976,88],"./jsx/jsx.js":[977,15],"./julia/julia.js":[978,87],"./livescript/livescript.js":[979,86],"./lua/lua.js":[980,85],"./markdown/markdown.js":[925,19],"./mathematica/mathematica.js":[981,84],"./mbox/mbox.js":[982,83],"./meta.js":[917],"./mirc/mirc.js":[983,82],"./mllike/mllike.js":[984,81],"./modelica/modelica.js":[985,80],"./mscgen/mscgen.js":[986,79],"./mumps/mumps.js":[987,78],"./nginx/nginx.js":[988,77],"./nsis/nsis.js":[989,25],"./ntriples/ntriples.js":[990,76],"./octave/octave.js":[991,75],"./oz/oz.js":[992,74],"./pascal/pascal.js":[993,73],"./pegjs/pegjs.js":[994,20],"./perl/perl.js":[995,72],"./php/php.js":[996,6],"./pig/pig.js":[997,71],"./powershell/powershell.js":[998,70],"./properties/properties.js":[999,69],"./protobuf/protobuf.js":[1e3,68],"./pug/pug.js":[926,11],"./puppet/puppet.js":[1001,67],"./python/python.js":[927,66],"./q/q.js":[1002,65],"./r/r.js":[1003,64],"./rpm/rpm.js":[1004,63],"./rst/rst.js":[1005,13],"./ruby/ruby.js":[916,62],"./rust/rust.js":[1006,24],"./sas/sas.js":[1007,61],"./sass/sass.js":[928,22],"./scheme/scheme.js":[1008,60],"./shell/shell.js":[1009,59],"./sieve/sieve.js":[1010,58],"./slim/slim.js":[1011,4],"./smalltalk/smalltalk.js":[1012,57],"./smarty/smarty.js":[1013,56],"./solr/solr.js":[1014,55],"./soy/soy.js":[1015,10],"./sparql/sparql.js":[1016,54],"./spreadsheet/spreadsheet.js":[1017,53],"./sql/sql.js":[1018,52],"./stex/stex.js":[929,51],"./stylus/stylus.js":[930,50],"./swift/swift.js":[1019,49],"./tcl/tcl.js":[1020,48],"./textile/textile.js":[1021,47],"./tiddlywiki/tiddlywiki.js":[1022,46],"./tiki/tiki.js":[1023,45],"./toml/toml.js":[1024,44],"./tornado/tornado.js":[1025,7],"./troff/troff.js":[1026,43],"./ttcn-cfg/ttcn-cfg.js":[1027,42],"./ttcn/ttcn.js":[1028,41],"./turtle/turtle.js":[1029,40],"./twig/twig.js":[1030,28],"./vb/vb.js":[1031,39],"./vbscript/vbscript.js":[1032,38],"./velocity/velocity.js":[1033,37],"./verilog/verilog.js":[1034,36],"./vhdl/vhdl.js":[1035,35],"./vue/vue.js":[1036,3],"./webidl/webidl.js":[1037,34],"./xml/xml.js":[909,33],"./xquery/xquery.js":[1038,32],"./yacas/yacas.js":[1039,31],"./yaml-frontmatter/yaml-frontmatter.js":[1040,18],"./yaml/yaml.js":[931,30],"./z80/z80.js":[1041,29]};webpackAsyncContext.keys=function webpackAsyncContextKeys(){return Object.keys(i)},e.exports=webpackAsyncContext,webpackAsyncContext.id=937}}); \ No newline at end of file diff --git a/build/codemirror/addon/dialog/dialog.js.b0486a86.js b/build/codemirror/addon/dialog/dialog.js.b0486a86.js deleted file mode 100644 index 7e5f911..0000000 --- a/build/codemirror/addon/dialog/dialog.js.b0486a86.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([125],{920:function(o,e,n){!function(o){o(n(907))}(function(o){function dialogDiv(o,e,n){var t;return t=o.getWrapperElement().appendChild(document.createElement("div")),t.className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof e?t.innerHTML=e:t.appendChild(e),t}function closeNotification(o,e){o.state.currentNotificationClose&&o.state.currentNotificationClose(),o.state.currentNotificationClose=e}o.defineExtension("openDialog",function(e,n,t){function close(o){if("string"==typeof o)s.value=o;else{if(c)return;c=!0,l.parentNode.removeChild(l),u.focus(),t.onClose&&t.onClose(l)}}t||(t={}),closeNotification(this,null);var i,l=dialogDiv(this,e,t.bottom),c=!1,u=this,s=l.getElementsByTagName("input")[0];return s?(s.focus(),t.value&&(s.value=t.value,!1!==t.selectValueOnOpen&&s.select()),t.onInput&&o.on(s,"input",function(o){t.onInput(o,s.value,close)}),t.onKeyUp&&o.on(s,"keyup",function(o){t.onKeyUp(o,s.value,close)}),o.on(s,"keydown",function(e){t&&t.onKeyDown&&t.onKeyDown(e,s.value,close)||((27==e.keyCode||!1!==t.closeOnEnter&&13==e.keyCode)&&(s.blur(),o.e_stop(e),close()),13==e.keyCode&&n(s.value,e))}),!1!==t.closeOnBlur&&o.on(s,"blur",close)):(i=l.getElementsByTagName("button")[0])&&(o.on(i,"click",function(){close(),u.focus()}),!1!==t.closeOnBlur&&o.on(i,"blur",close),i.focus()),close}),o.defineExtension("openConfirm",function(e,n,t){function close(){c||(c=!0,i.parentNode.removeChild(i),u.focus())}closeNotification(this,null);var i=dialogDiv(this,e,t&&t.bottom),l=i.getElementsByTagName("button"),c=!1,u=this,s=1;l[0].focus();for(var r=0;r<l.length;++r){var a=l[r];!function(e){o.on(a,"click",function(n){o.e_preventDefault(n),close(),e&&e(u)})}(n[r]),o.on(a,"blur",function(){--s,setTimeout(function(){s<=0&&close()},200)}),o.on(a,"focus",function(){++s})}}),o.defineExtension("openNotification",function(e,n){function close(){l||(l=!0,clearTimeout(t),i.parentNode.removeChild(i))}closeNotification(this,close);var t,i=dialogDiv(this,e,n&&n.bottom),l=!1,c=n&&void 0!==n.duration?n.duration:5e3;return o.on(i,"click",function(e){o.e_preventDefault(e),close()}),c&&(t=setTimeout(close,c)),close})})}}); \ No newline at end of file diff --git a/build/codemirror/addon/search/search.js.6b12bb49.js b/build/codemirror/addon/search/search.js.6b12bb49.js deleted file mode 100644 index 50cfb95..0000000 --- a/build/codemirror/addon/search/search.js.6b12bb49.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([17,124,125],{920:function(e,t,n){!function(e){e(n(907))}(function(e){function dialogDiv(e,t,n){var r;return r=e.getWrapperElement().appendChild(document.createElement("div")),r.className=n?"CodeMirror-dialog CodeMirror-dialog-bottom":"CodeMirror-dialog CodeMirror-dialog-top","string"==typeof t?r.innerHTML=t:r.appendChild(t),r}function closeNotification(e,t){e.state.currentNotificationClose&&e.state.currentNotificationClose(),e.state.currentNotificationClose=t}e.defineExtension("openDialog",function(t,n,r){function close(e){if("string"==typeof e)c.value=e;else{if(a)return;a=!0,i.parentNode.removeChild(i),s.focus(),r.onClose&&r.onClose(i)}}r||(r={}),closeNotification(this,null);var o,i=dialogDiv(this,t,r.bottom),a=!1,s=this,c=i.getElementsByTagName("input")[0];return c?(c.focus(),r.value&&(c.value=r.value,!1!==r.selectValueOnOpen&&c.select()),r.onInput&&e.on(c,"input",function(e){r.onInput(e,c.value,close)}),r.onKeyUp&&e.on(c,"keyup",function(e){r.onKeyUp(e,c.value,close)}),e.on(c,"keydown",function(t){r&&r.onKeyDown&&r.onKeyDown(t,c.value,close)||((27==t.keyCode||!1!==r.closeOnEnter&&13==t.keyCode)&&(c.blur(),e.e_stop(t),close()),13==t.keyCode&&n(c.value,t))}),!1!==r.closeOnBlur&&e.on(c,"blur",close)):(o=i.getElementsByTagName("button")[0])&&(e.on(o,"click",function(){close(),s.focus()}),!1!==r.closeOnBlur&&e.on(o,"blur",close),o.focus()),close}),e.defineExtension("openConfirm",function(t,n,r){function close(){a||(a=!0,o.parentNode.removeChild(o),s.focus())}closeNotification(this,null);var o=dialogDiv(this,t,r&&r.bottom),i=o.getElementsByTagName("button"),a=!1,s=this,c=1;i[0].focus();for(var l=0;l<i.length;++l){var u=i[l];!function(t){e.on(u,"click",function(n){e.e_preventDefault(n),close(),t&&t(s)})}(n[l]),e.on(u,"blur",function(){--c,setTimeout(function(){c<=0&&close()},200)}),e.on(u,"focus",function(){++c})}}),e.defineExtension("openNotification",function(t,n){function close(){i||(i=!0,clearTimeout(r),o.parentNode.removeChild(o))}closeNotification(this,close);var r,o=dialogDiv(this,t,n&&n.bottom),i=!1,a=n&&void 0!==n.duration?n.duration:5e3;return e.on(o,"click",function(t){e.e_preventDefault(t),close()}),a&&(r=setTimeout(close,a)),close})})},921:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureGlobal(e){return e.global?e:new RegExp(e.source,function regexpFlags(e){var t=e.flags;return null!=t?t:(e.ignoreCase?"i":"")+(e.global?"g":"")+(e.multiline?"m":"")}(e)+"g")}function searchRegexpForward(e,t,n){t=ensureGlobal(t);for(var o=n.line,i=n.ch,a=e.lastLine();o<=a;o++,i=0){t.lastIndex=i;var s=e.getLine(o),c=t.exec(s);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}function lastMatchIn(e,t){for(var n,r=0;;){t.lastIndex=r;var o=t.exec(e);if(!o)return n;if(n=o,(r=n.index+(n[0].length||1))==e.length)return n}}function adjustPos(e,t,n,r){if(e.length==t.length)return n;for(var o=0,i=n+Math.max(0,e.length-t.length);;){if(o==i)return o;var a=o+i>>1,s=r(e.slice(0,a)).length;if(s==n)return a;s>n?i=a:o=a+1}}function SearchCursor(e,o,i,a){this.atOccurrence=!1,this.doc=e,i=i?e.clipPos(i):r(0,0),this.pos={from:i,to:i};var s;"object"==typeof a?s=a.caseFold:(s=a,a=null),"string"==typeof o?(null==s&&(s=!1),this.matches=function(i,a){return(i?function searchStringBackward(e,o,i,a){if(!o.length)return null;var s=a?t:n,c=s(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.firstLine()-1+c.length;l>=f;l--,u=-1){var h=e.getLine(l);u>-1&&(h=h.slice(0,u));var g=s(h);if(1==c.length){var p=g.lastIndexOf(c[0]);if(-1==p)continue e;return{from:r(l,adjustPos(h,g,p,s)),to:r(l,adjustPos(h,g,p+c[0].length,s))}}var d=c[c.length-1];if(g.slice(0,d.length)==d){var m=1;for(i=l-c.length+1;m<c.length-1;m++)if(s(e.getLine(i+m))!=c[m])continue e;var v=e.getLine(l+1-c.length),y=s(v);if(y.slice(y.length-c[0].length)==c[0])return{from:r(l+1-c.length,adjustPos(v,y,v.length-c[0].length,s)),to:r(l,adjustPos(h,g,d.length,s))}}}}:function searchStringForward(e,o,i,a){if(!o.length)return null;var s=a?t:n,c=s(o).split(/\r|\n\r?/);e:for(var l=i.line,u=i.ch,f=e.lastLine()+1-c.length;l<=f;l++,u=0){var h=e.getLine(l).slice(u),g=s(h);if(1==c.length){var p=g.indexOf(c[0]);if(-1==p)continue e;return i=adjustPos(h,g,p,s)+u,{from:r(l,adjustPos(h,g,p,s)+u),to:r(l,adjustPos(h,g,p+c[0].length,s)+u)}}var d=g.length-c[0].length;if(g.slice(d)==c[0]){for(var m=1;m<c.length-1;m++)if(s(e.getLine(l+m))!=c[m])continue e;var v=e.getLine(l+c.length-1),y=s(v),x=c[c.length-1];if(v.slice(0,x.length)==x)return{from:r(l,adjustPos(h,g,d,s)+u),to:r(l+c.length-1,adjustPos(v,y,x.length,s))}}}})(e,o,a,s)}):(o=ensureGlobal(o),a&&!1===a.multiline?this.matches=function(t,n){return(t?function searchRegexpBackward(e,t,n){t=ensureGlobal(t);for(var o=n.line,i=n.ch,a=e.firstLine();o>=a;o--,i=-1){var s=e.getLine(o);i>-1&&(s=s.slice(0,i));var c=lastMatchIn(s,t);if(c)return{from:r(o,c.index),to:r(o,c.index+c[0].length),match:c}}}:searchRegexpForward)(e,o,n)}:this.matches=function(t,n){return(t?function searchRegexpBackwardMultiline(e,t,n){t=ensureGlobal(t);for(var o,i=1,a=n.line,s=e.firstLine();a>=s;){for(var c=0;c<i;c++){var l=e.getLine(a--);o=null==o?l.slice(0,n.ch):l+"\n"+o}i*=2;var u=lastMatchIn(o,t);if(u){var f=o.slice(0,u.index).split("\n"),h=u[0].split("\n"),g=a+f.length,p=f[f.length-1].length;return{from:r(g,p),to:r(g+h.length-1,1==h.length?p+h[0].length:h[h.length-1].length),match:u}}}}:function searchRegexpForwardMultiline(e,t,n){if(!function maybeMultiline(e){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(e.source)}(t))return searchRegexpForward(e,t,n);t=ensureGlobal(t);for(var o,i=1,a=n.line,s=e.lastLine();a<=s;){for(var c=0;c<i;c++){var l=e.getLine(a++);o=null==o?l:o+"\n"+l}i*=2,t.lastIndex=n.ch;var u=t.exec(o);if(u){var f=o.slice(0,u.index).split("\n"),h=u[0].split("\n"),g=n.line+f.length-1,p=f[f.length-1].length;return{from:r(g,p),to:r(g+h.length-1,1==h.length?p+h[0].length:h[h.length-1].length),match:u}}}})(e,o,n)})}var t,n,r=e.Pos;String.prototype.normalize?(t=function(e){return e.normalize("NFD").toLowerCase()},n=function(e){return e.normalize("NFD")}):(t=function(e){return e.toLowerCase()},n=function(e){return e}),SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(t){for(var n=this.matches(t,this.doc.clipPos(t?this.pos.from:this.pos.to));n&&0==e.cmpPos(n.from,n.to);)t?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(t,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(t,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var o=r(t?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:o,to:o},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(t,n){if(this.atOccurrence){var o=e.splitLines(t);this.doc.replaceRange(o,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+o.length-1,o[o.length-1].length+(1==o.length?this.pos.from.ch:0))}}},e.defineExtension("getSearchCursor",function(e,t,n){return new SearchCursor(this.doc,e,t,n)}),e.defineDocExtension("getSearchCursor",function(e,t,n){return new SearchCursor(this,e,t,n)}),e.defineExtension("selectMatches",function(t,n){for(var r=[],o=this.getSearchCursor(t,this.getCursor("from"),n);o.findNext()&&!(e.cmpPos(o.to(),this.getCursor("to"))>0);)r.push({anchor:o.from(),head:o.to()});r.length&&this.setSelections(r,0)})})},936:function(e,t,n){!function(e){e(n(907),n(921),n(920))}(function(e){"use strict";function getSearchState(e){return e.state.search||(e.state.search=new function SearchState(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null})}function queryCaseInsensitive(e){return"string"==typeof e&&e==e.toLowerCase()}function getSearchCursor(e,t,n){return e.getSearchCursor(t,n,{caseFold:queryCaseInsensitive(t),multiline:!0})}function dialog(e,t,n,r,o){e.openDialog?e.openDialog(t,o,{value:r,selectValueOnOpen:!0}):o(prompt(n,r))}function parseString(e){return e.replace(/\\(.)/g,function(e,t){return"n"==t?"\n":"r"==t?"\r":t})}function parseQuery(e){var t=e.match(/^\/(.*)\/([a-z]*)$/);if(t)try{e=new RegExp(t[1],-1==t[2].indexOf("i")?"":"i")}catch(e){}else e=parseString(e);return("string"==typeof e?""==e:e.test(""))&&(e=/x^/),e}function startSearch(e,t,n){t.queryText=n,t.query=parseQuery(n),e.removeOverlay(t.overlay,queryCaseInsensitive(t.query)),t.overlay=function searchOverlay(e,t){return"string"==typeof e?e=new RegExp(e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),t?"gi":"g"):e.global||(e=new RegExp(e.source,e.ignoreCase?"gi":"g")),{token:function(t){e.lastIndex=t.pos;var n=e.exec(t.string);if(n&&n.index==t.pos)return t.pos+=n[0].length||1,"searching";n?t.pos=n.index:t.skipToEnd()}}}(t.query,queryCaseInsensitive(t.query)),e.addOverlay(t.overlay),e.showMatchesOnScrollbar&&(t.annotate&&(t.annotate.clear(),t.annotate=null),t.annotate=e.showMatchesOnScrollbar(t.query,queryCaseInsensitive(t.query)))}function doSearch(n,r,o,i){var a=getSearchState(n);if(a.query)return findNext(n,r);var s=n.getSelection()||a.lastQuery;if(s instanceof RegExp&&"x^"==s.source&&(s=null),o&&n.openDialog){var c=null,l=function(t,r){e.e_stop(r),t&&(t!=a.queryText&&(startSearch(n,a,t),a.posFrom=a.posTo=n.getCursor()),c&&(c.style.opacity=1),findNext(n,r.shiftKey,function(e,t){var r;t.line<3&&document.querySelector&&(r=n.display.wrapper.querySelector(".CodeMirror-dialog"))&&r.getBoundingClientRect().bottom-4>n.cursorCoords(t,"window").top&&((c=r).style.opacity=.4)}))};!function persistentDialog(e,t,n,r,o){e.openDialog(t,r,{value:n,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){clearSearch(e)},onKeyDown:o})}(n,t,s,l,function(t,r){var o=e.keyName(t),i=n.getOption("extraKeys"),a=i&&i[o]||e.keyMap[n.getOption("keyMap")][o];"findNext"==a||"findPrev"==a||"findPersistentNext"==a||"findPersistentPrev"==a?(e.e_stop(t),startSearch(n,getSearchState(n),r),n.execCommand(a)):"find"!=a&&"findPersistent"!=a||(e.e_stop(t),l(r,t))}),i&&s&&(startSearch(n,a,s),findNext(n,r))}else dialog(n,t,"Search for:",s,function(e){e&&!a.query&&n.operation(function(){startSearch(n,a,e),a.posFrom=a.posTo=n.getCursor(),findNext(n,r)})})}function findNext(t,n,r){t.operation(function(){var o=getSearchState(t),i=getSearchCursor(t,o.query,n?o.posFrom:o.posTo);(i.find(n)||(i=getSearchCursor(t,o.query,n?e.Pos(t.lastLine()):e.Pos(t.firstLine(),0))).find(n))&&(t.setSelection(i.from(),i.to()),t.scrollIntoView({from:i.from(),to:i.to()},20),o.posFrom=i.from(),o.posTo=i.to(),r&&r(i.from(),i.to()))})}function clearSearch(e){e.operation(function(){var t=getSearchState(e);t.lastQuery=t.query,t.query&&(t.query=t.queryText=null,e.removeOverlay(t.overlay),t.annotate&&(t.annotate.clear(),t.annotate=null))})}function replaceAll(e,t,n){e.operation(function(){for(var r=getSearchCursor(e,t);r.findNext();)if("string"!=typeof t){var o=e.getRange(r.from(),r.to()).match(t);r.replace(n.replace(/\$(\d)/g,function(e,t){return o[t]}))}else r.replace(n)})}function replace(e,t){if(!e.getOption("readOnly")){var i=e.getSelection()||getSearchState(e).lastQuery,a='<span class="CodeMirror-search-label">'+(t?"Replace all:":"Replace:")+"</span>";dialog(e,a+n,a,i,function(n){n&&(n=parseQuery(n),dialog(e,r,"Replace with:","",function(r){if(r=parseString(r),t)replaceAll(e,n,r);else{clearSearch(e);var i=getSearchCursor(e,n,e.getCursor("from")),a=function(){var t,c=i.from();!(t=i.findNext())&&(i=getSearchCursor(e,n),!(t=i.findNext())||c&&i.from().line==c.line&&i.from().ch==c.ch)||(e.setSelection(i.from(),i.to()),e.scrollIntoView({from:i.from(),to:i.to()}),function confirmDialog(e,t,n,r){e.openConfirm?e.openConfirm(t,r):confirm(n)&&r[0]()}(e,o,"Replace?",[function(){s(t)},a,function(){replaceAll(e,n,r)}]))},s=function(e){i.replace("string"==typeof n?r:r.replace(/\$(\d)/g,function(t,n){return e[n]})),a()};a()}}))})}}var t='<span class="CodeMirror-search-label">Search:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',n=' <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use /re/ syntax for regexp search)</span>',r='<span class="CodeMirror-search-label">With:</span> <input type="text" style="width: 10em" class="CodeMirror-search-field"/>',o='<span class="CodeMirror-search-label">Replace?</span> <button>Yes</button> <button>No</button> <button>All</button> <button>Stop</button>';e.commands.find=function(e){clearSearch(e),doSearch(e)},e.commands.findPersistent=function(e){clearSearch(e),doSearch(e,!1,!0)},e.commands.findPersistentNext=function(e){doSearch(e,!1,!0,!0)},e.commands.findPersistentPrev=function(e){doSearch(e,!0,!0,!0)},e.commands.findNext=doSearch,e.commands.findPrev=function(e){doSearch(e,!0)},e.commands.clearSearch=clearSearch,e.commands.replace=replace,e.commands.replaceAll=function(e){replace(e,!0)}})}}); \ No newline at end of file diff --git a/build/codemirror/addon/search/searchcursor.js.c3af3a7d.js b/build/codemirror/addon/search/searchcursor.js.c3af3a7d.js deleted file mode 100644 index cdfa928..0000000 --- a/build/codemirror/addon/search/searchcursor.js.c3af3a7d.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([124],{921:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function ensureGlobal(t){return t.global?t:new RegExp(t.source,function regexpFlags(t){var e=t.flags;return null!=e?e:(t.ignoreCase?"i":"")+(t.global?"g":"")+(t.multiline?"m":"")}(t)+"g")}function searchRegexpForward(t,e,n){e=ensureGlobal(e);for(var i=n.line,o=n.ch,s=t.lastLine();i<=s;i++,o=0){e.lastIndex=o;var l=t.getLine(i),h=e.exec(l);if(h)return{from:r(i,h.index),to:r(i,h.index+h[0].length),match:h}}}function lastMatchIn(t,e){for(var n,r=0;;){e.lastIndex=r;var i=e.exec(t);if(!i)return n;if(n=i,(r=n.index+(n[0].length||1))==t.length)return n}}function adjustPos(t,e,n,r){if(t.length==e.length)return n;for(var i=0,o=n+Math.max(0,t.length-e.length);;){if(i==o)return i;var s=i+o>>1,l=r(t.slice(0,s)).length;if(l==n)return s;l>n?o=s:i=s+1}}function SearchCursor(t,i,o,s){this.atOccurrence=!1,this.doc=t,o=o?t.clipPos(o):r(0,0),this.pos={from:o,to:o};var l;"object"==typeof s?l=s.caseFold:(l=s,s=null),"string"==typeof i?(null==l&&(l=!1),this.matches=function(o,s){return(o?function searchStringBackward(t,i,o,s){if(!i.length)return null;var l=s?e:n,h=l(i).split(/\r|\n\r?/);t:for(var c=o.line,a=o.ch,u=t.firstLine()-1+h.length;c>=u;c--,a=-1){var f=t.getLine(c);a>-1&&(f=f.slice(0,a));var g=l(f);if(1==h.length){var d=g.lastIndexOf(h[0]);if(-1==d)continue t;return{from:r(c,adjustPos(f,g,d,l)),to:r(c,adjustPos(f,g,d+h[0].length,l))}}var m=h[h.length-1];if(g.slice(0,m.length)==m){var p=1;for(o=c-h.length+1;p<h.length-1;p++)if(l(t.getLine(o+p))!=h[p])continue t;var v=t.getLine(c+1-h.length),x=l(v);if(x.slice(x.length-h[0].length)==h[0])return{from:r(c+1-h.length,adjustPos(v,x,v.length-h[0].length,l)),to:r(c,adjustPos(f,g,m.length,l))}}}}:function searchStringForward(t,i,o,s){if(!i.length)return null;var l=s?e:n,h=l(i).split(/\r|\n\r?/);t:for(var c=o.line,a=o.ch,u=t.lastLine()+1-h.length;c<=u;c++,a=0){var f=t.getLine(c).slice(a),g=l(f);if(1==h.length){var d=g.indexOf(h[0]);if(-1==d)continue t;return o=adjustPos(f,g,d,l)+a,{from:r(c,adjustPos(f,g,d,l)+a),to:r(c,adjustPos(f,g,d+h[0].length,l)+a)}}var m=g.length-h[0].length;if(g.slice(m)==h[0]){for(var p=1;p<h.length-1;p++)if(l(t.getLine(c+p))!=h[p])continue t;var v=t.getLine(c+h.length-1),x=l(v),L=h[h.length-1];if(v.slice(0,L.length)==L)return{from:r(c,adjustPos(f,g,m,l)+a),to:r(c+h.length-1,adjustPos(v,x,L.length,l))}}}})(t,i,s,l)}):(i=ensureGlobal(i),s&&!1===s.multiline?this.matches=function(e,n){return(e?function searchRegexpBackward(t,e,n){e=ensureGlobal(e);for(var i=n.line,o=n.ch,s=t.firstLine();i>=s;i--,o=-1){var l=t.getLine(i);o>-1&&(l=l.slice(0,o));var h=lastMatchIn(l,e);if(h)return{from:r(i,h.index),to:r(i,h.index+h[0].length),match:h}}}:searchRegexpForward)(t,i,n)}:this.matches=function(e,n){return(e?function searchRegexpBackwardMultiline(t,e,n){e=ensureGlobal(e);for(var i,o=1,s=n.line,l=t.firstLine();s>=l;){for(var h=0;h<o;h++){var c=t.getLine(s--);i=null==i?c.slice(0,n.ch):c+"\n"+i}o*=2;var a=lastMatchIn(i,e);if(a){var u=i.slice(0,a.index).split("\n"),f=a[0].split("\n"),g=s+u.length,d=u[u.length-1].length;return{from:r(g,d),to:r(g+f.length-1,1==f.length?d+f[0].length:f[f.length-1].length),match:a}}}}:function searchRegexpForwardMultiline(t,e,n){if(!function maybeMultiline(t){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(t.source)}(e))return searchRegexpForward(t,e,n);e=ensureGlobal(e);for(var i,o=1,s=n.line,l=t.lastLine();s<=l;){for(var h=0;h<o;h++){var c=t.getLine(s++);i=null==i?c:i+"\n"+c}o*=2,e.lastIndex=n.ch;var a=e.exec(i);if(a){var u=i.slice(0,a.index).split("\n"),f=a[0].split("\n"),g=n.line+u.length-1,d=u[u.length-1].length;return{from:r(g,d),to:r(g+f.length-1,1==f.length?d+f[0].length:f[f.length-1].length),match:a}}}})(t,i,n)})}var e,n,r=t.Pos;String.prototype.normalize?(e=function(t){return t.normalize("NFD").toLowerCase()},n=function(t){return t.normalize("NFD")}):(e=function(t){return t.toLowerCase()},n=function(t){return t}),SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(e){for(var n=this.matches(e,this.doc.clipPos(e?this.pos.from:this.pos.to));n&&0==t.cmpPos(n.from,n.to);)e?n.from.ch?n.from=r(n.from.line,n.from.ch-1):n=n.from.line==this.doc.firstLine()?null:this.matches(e,this.doc.clipPos(r(n.from.line-1))):n.to.ch<this.doc.getLine(n.to.line).length?n.to=r(n.to.line,n.to.ch+1):n=n.to.line==this.doc.lastLine()?null:this.matches(e,r(n.to.line+1,0));if(n)return this.pos=n,this.atOccurrence=!0,this.pos.match||!0;var i=r(e?this.doc.firstLine():this.doc.lastLine()+1,0);return this.pos={from:i,to:i},this.atOccurrence=!1},from:function(){if(this.atOccurrence)return this.pos.from},to:function(){if(this.atOccurrence)return this.pos.to},replace:function(e,n){if(this.atOccurrence){var i=t.splitLines(e);this.doc.replaceRange(i,this.pos.from,this.pos.to,n),this.pos.to=r(this.pos.from.line+i.length-1,i[i.length-1].length+(1==i.length?this.pos.from.ch:0))}}},t.defineExtension("getSearchCursor",function(t,e,n){return new SearchCursor(this.doc,t,e,n)}),t.defineDocExtension("getSearchCursor",function(t,e,n){return new SearchCursor(this,t,e,n)}),t.defineExtension("selectMatches",function(e,n){for(var r=[],i=this.getSearchCursor(e,this.getCursor("from"),n);i.findNext()&&!(t.cmpPos(i.to(),this.getCursor("to"))>0);)r.push({anchor:i.from(),head:i.to()});r.length&&this.setSelections(r,0)})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/0.fe7607f3.js b/build/codemirror/mode/0.b8f5d546.js similarity index 97% rename from build/codemirror/mode/0.fe7607f3.js rename to build/codemirror/mode/0.b8f5d546.js index 4d1da47..aa26211 100644 --- a/build/codemirror/mode/0.fe7607f3.js +++ b/build/codemirror/mode/0.b8f5d546.js @@ -1 +1 @@ -webpackJsonp([123],{938:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("apl",function(){var e={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},n={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,l=/⍬/,r=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,a=/←/,u=/[⍝#].*$/;return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(i,o){var s,c;return i.eatSpace()?null:'"'===(s=i.next())||"'"===s?(i.eatWhile(function(e){var n;return n=!1,function(t){return n=t,t!==e||"\\"===n}}(s)),i.next(),o.prev=!0,"string"):/[\[{\(]/.test(s)?(o.prev=!1,null):/[\]}\)]/.test(s)?(o.prev=!0,null):l.test(s)?(o.prev=!1,"niladic"):/[¯\d]/.test(s)?(o.func?(o.func=!1,o.prev=!1):o.prev=!0,i.eatWhile(/[\w\.]/),"number"):t.test(s)?"operator apl-"+e[s]:a.test(s)?"apl-arrow":r.test(s)?(c="apl-",null!=n[s]&&(o.prev?c+=n[s][1]:c+=n[s][0]),o.func=!0,o.prev=!1,"function "+c):u.test(s)?(i.skipToEnd(),"comment"):"∘"===s&&"."===i.peek()?(i.next(),"function jot-dot"):(i.eatWhile(/[\w\$_]/),o.prev=!0,"keyword")}}}),e.defineMIME("text/apl","apl")})}}); \ No newline at end of file +webpackJsonp([122],{938:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("apl",function(){var e={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},n={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},t=/[\.\/⌿⍀¨⍣]/,l=/⍬/,r=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,a=/←/,u=/[⍝#].*$/;return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(i,o){var s,c;return i.eatSpace()?null:'"'===(s=i.next())||"'"===s?(i.eatWhile(function(e){var n;return n=!1,function(t){return n=t,t!==e||"\\"===n}}(s)),i.next(),o.prev=!0,"string"):/[\[{\(]/.test(s)?(o.prev=!1,null):/[\]}\)]/.test(s)?(o.prev=!0,null):l.test(s)?(o.prev=!1,"niladic"):/[¯\d]/.test(s)?(o.func?(o.func=!1,o.prev=!1):o.prev=!0,i.eatWhile(/[\w\.]/),"number"):t.test(s)?"operator apl-"+e[s]:a.test(s)?"apl-arrow":r.test(s)?(c="apl-",null!=n[s]&&(o.prev?c+=n[s][1]:c+=n[s][0]),o.func=!0,o.prev=!1,"function "+c):u.test(s)?(i.skipToEnd(),"comment"):"∘"===s&&"."===i.peek()?(i.next(),"function jot-dot"):(i.eatWhile(/[\w\$_]/),o.prev=!0,"keyword")}}}),e.defineMIME("text/apl","apl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/1.a478c796.js b/build/codemirror/mode/1.28f4ed3b.js similarity index 94% rename from build/codemirror/mode/1.a478c796.js rename to build/codemirror/mode/1.28f4ed3b.js index 0f2a8bf..901ff58 100644 --- a/build/codemirror/mode/1.a478c796.js +++ b/build/codemirror/mode/1.28f4ed3b.js @@ -1 +1 @@ -webpackJsonp([122],{939:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";function errorIfNotEmpty(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}t.defineMode("asciiarmor",function(){return{token:function(t,e){var r;if("top"==e.state)return t.sol()&&(r=t.match(/^-----BEGIN (.*)?-----\s*$/))?(e.state="headers",e.type=r[1],"tag"):errorIfNotEmpty(t);if("headers"==e.state){if(t.sol()&&t.match(/^\w+:/))return e.state="header","atom";var a=errorIfNotEmpty(t);return a&&(e.state="body"),a}return"header"==e.state?(t.skipToEnd(),e.state="headers","string"):"body"==e.state?t.sol()&&(r=t.match(/^-----END (.*)?-----\s*$/))?r[1]!=e.type?"error":(e.state="end","tag"):t.eatWhile(/[A-Za-z0-9+\/=]/)?null:(t.next(),"error"):"end"==e.state?errorIfNotEmpty(t):void 0},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}}}),t.defineMIME("application/pgp","asciiarmor"),t.defineMIME("application/pgp-encrypted","asciiarmor"),t.defineMIME("application/pgp-keys","asciiarmor"),t.defineMIME("application/pgp-signature","asciiarmor")})}}); \ No newline at end of file +webpackJsonp([121],{939:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";function errorIfNotEmpty(t){var e=t.match(/^\s*\S/);return t.skipToEnd(),e?"error":null}t.defineMode("asciiarmor",function(){return{token:function(t,e){var r;if("top"==e.state)return t.sol()&&(r=t.match(/^-----BEGIN (.*)?-----\s*$/))?(e.state="headers",e.type=r[1],"tag"):errorIfNotEmpty(t);if("headers"==e.state){if(t.sol()&&t.match(/^\w+:/))return e.state="header","atom";var a=errorIfNotEmpty(t);return a&&(e.state="body"),a}return"header"==e.state?(t.skipToEnd(),e.state="headers","string"):"body"==e.state?t.sol()&&(r=t.match(/^-----END (.*)?-----\s*$/))?r[1]!=e.type?"error":(e.state="end","tag"):t.eatWhile(/[A-Za-z0-9+\/=]/)?null:(t.next(),"error"):"end"==e.state?errorIfNotEmpty(t):void 0},blankLine:function(t){"headers"==t.state&&(t.state="body")},startState:function(){return{state:"top",type:null}}}}),t.defineMIME("application/pgp","asciiarmor"),t.defineMIME("application/pgp-encrypted","asciiarmor"),t.defineMIME("application/pgp-keys","asciiarmor"),t.defineMIME("application/pgp-signature","asciiarmor")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/10.bd3eeb50.js b/build/codemirror/mode/10.2d2a1b06.js similarity index 97% rename from build/codemirror/mode/10.bd3eeb50.js rename to build/codemirror/mode/10.2d2a1b06.js index fd2b41d..97e90a8 100644 --- a/build/codemirror/mode/10.bd3eeb50.js +++ b/build/codemirror/mode/10.2d2a1b06.js @@ -1 +1 @@ -webpackJsonp([113],{946:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("commonlisp",function(t){function readSym(t){for(var e;e=t.next();)if("\\"==e)t.next();else if(!i.test(e)){t.backUp(1);break}return t.current()}function base(t,i){if(t.eatSpace())return e="ws",null;if(t.match(o))return"number";if("\\"==(l=t.next())&&(l=t.next()),'"'==l)return(i.tokenize=inString)(t,i);if("("==l)return e="open","bracket";if(")"==l||"]"==l)return e="close","bracket";if(";"==l)return t.skipToEnd(),e="ws","comment";if(/['`,@]/.test(l))return null;if("|"==l)return t.skipTo("|")?(t.next(),"symbol"):(t.skipToEnd(),"error");if("#"==l){var l;return"("==(l=t.next())?(e="open","bracket"):/[+\-=\.']/.test(l)?null:/\d/.test(l)&&t.match(/^\d*#/)?null:"|"==l?(i.tokenize=inComment)(t,i):":"==l?(readSym(t),"meta"):"\\"==l?(t.next(),readSym(t),"string-2"):"error"}var c=readSym(t);return"."==c?null:(e="symbol","nil"==c||"t"==c||":"==c.charAt(0)?"atom":"open"==i.lastType&&(n.test(c)||r.test(c))?"keyword":"&"==c.charAt(0)?"variable-2":"variable")}function inString(t,e){for(var n,r=!1;n=t.next();){if('"'==n&&!r){e.tokenize=base;break}r=!r&&"\\"==n}return"string"}function inComment(t,n){for(var r,o;r=t.next();){if("#"==r&&"|"==o){n.tokenize=base;break}o=r}return e="ws","comment"}var e,n=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,r=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,o=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,i=/[^\s'`,@()\[\]";]/;return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:base}},token:function(n,o){n.sol()&&"number"!=typeof o.ctx.indentTo&&(o.ctx.indentTo=o.ctx.start+1),e=null;var i=o.tokenize(n,o);return"ws"!=e&&(null==o.ctx.indentTo?"symbol"==e&&r.test(n.current())?o.ctx.indentTo=o.ctx.start+t.indentUnit:o.ctx.indentTo="next":"next"==o.ctx.indentTo&&(o.ctx.indentTo=n.column()),o.lastType=e),"open"==e?o.ctx={prev:o.ctx,start:n.column(),indentTo:null}:"close"==e&&(o.ctx=o.ctx.prev||o.ctx),i},indent:function(t,e){var n=t.ctx.indentTo;return"number"==typeof n?n:t.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),t.defineMIME("text/x-common-lisp","commonlisp")})}}); \ No newline at end of file +webpackJsonp([112],{946:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("commonlisp",function(t){function readSym(t){for(var e;e=t.next();)if("\\"==e)t.next();else if(!i.test(e)){t.backUp(1);break}return t.current()}function base(t,i){if(t.eatSpace())return e="ws",null;if(t.match(o))return"number";if("\\"==(l=t.next())&&(l=t.next()),'"'==l)return(i.tokenize=inString)(t,i);if("("==l)return e="open","bracket";if(")"==l||"]"==l)return e="close","bracket";if(";"==l)return t.skipToEnd(),e="ws","comment";if(/['`,@]/.test(l))return null;if("|"==l)return t.skipTo("|")?(t.next(),"symbol"):(t.skipToEnd(),"error");if("#"==l){var l;return"("==(l=t.next())?(e="open","bracket"):/[+\-=\.']/.test(l)?null:/\d/.test(l)&&t.match(/^\d*#/)?null:"|"==l?(i.tokenize=inComment)(t,i):":"==l?(readSym(t),"meta"):"\\"==l?(t.next(),readSym(t),"string-2"):"error"}var c=readSym(t);return"."==c?null:(e="symbol","nil"==c||"t"==c||":"==c.charAt(0)?"atom":"open"==i.lastType&&(n.test(c)||r.test(c))?"keyword":"&"==c.charAt(0)?"variable-2":"variable")}function inString(t,e){for(var n,r=!1;n=t.next();){if('"'==n&&!r){e.tokenize=base;break}r=!r&&"\\"==n}return"string"}function inComment(t,n){for(var r,o;r=t.next();){if("#"==r&&"|"==o){n.tokenize=base;break}o=r}return e="ws","comment"}var e,n=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,r=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,o=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,i=/[^\s'`,@()\[\]";]/;return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:base}},token:function(n,o){n.sol()&&"number"!=typeof o.ctx.indentTo&&(o.ctx.indentTo=o.ctx.start+1),e=null;var i=o.tokenize(n,o);return"ws"!=e&&(null==o.ctx.indentTo?"symbol"==e&&r.test(n.current())?o.ctx.indentTo=o.ctx.start+t.indentUnit:o.ctx.indentTo="next":"next"==o.ctx.indentTo&&(o.ctx.indentTo=n.column()),o.lastType=e),"open"==e?o.ctx={prev:o.ctx,start:n.column(),indentTo:null}:"close"==e&&(o.ctx=o.ctx.prev||o.ctx),i},indent:function(t,e){var n=t.ctx.indentTo;return"number"==typeof n?n:t.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",blockCommentStart:"#|",blockCommentEnd:"|#"}}),t.defineMIME("text/x-common-lisp","commonlisp")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/100.667ac867.js b/build/codemirror/mode/100.3dfe94d2.js similarity index 98% rename from build/codemirror/mode/100.667ac867.js rename to build/codemirror/mode/100.3dfe94d2.js index 71201fa..ea1fd18 100644 --- a/build/codemirror/mode/100.667ac867.js +++ b/build/codemirror/mode/100.3dfe94d2.js @@ -1 +1 @@ -webpackJsonp([45],{1023:function(n,t,e){!function(n){n(e(907))}(function(n){"use strict";n.defineMode("tiki",function(n){function inBlock(n,t,e){return function(i,r){for(;!i.eol();){if(i.match(t)){r.tokenize=inText;break}i.next()}return e&&(r.tokenize=e),n}}function inLine(n){return function(t,e){for(;!t.eol();)t.next();return e.tokenize=inText,n}}function inText(n,t){function chain(e){return t.tokenize=e,e(n,t)}var e=n.sol(),i=n.next();switch(i){case"{":return n.eat("/"),n.eatSpace(),n.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=inPlugin,"tag";case"_":if(n.eat("_"))return chain(inBlock("strong","__",inText));break;case"'":if(n.eat("'"))return chain(inBlock("em","''",inText));break;case"(":if(n.eat("("))return chain(inBlock("variable-2","))",inText));break;case"[":return chain(inBlock("variable-3","]",inText));case"|":if(n.eat("|"))return chain(inBlock("comment","||"));break;case"-":if(n.eat("="))return chain(inBlock("header string","=-",inText));if(n.eat("-"))return chain(inBlock("error tw-deleted","--",inText));break;case"=":if(n.match("=="))return chain(inBlock("tw-underline","===",inText));break;case":":if(n.eat(":"))return chain(inBlock("comment","::"));break;case"^":return chain(inBlock("tw-box","^"));case"~":if(n.match("np~"))return chain(inBlock("meta","~/np~"))}if(e)switch(i){case"!":return n.match("!!!!!")?chain(inLine("header string")):n.match("!!!!")?chain(inLine("header string")):n.match("!!!")?chain(inLine("header string")):(n.match("!!"),chain(inLine("header string")));case"*":case"#":case"+":return chain(inLine("tw-listitem bracket"))}return null}function inPlugin(n,t){var i=n.next(),r=n.peek();return"}"==i?(t.tokenize=inText,"tag"):"("==i||")"==i?"bracket":"="==i?(e="equals",">"==r&&(n.next(),r=n.peek()),/[\'\"]/.test(r)||(t.tokenize=function inAttributeNoQuote(){return function(n,t){for(;!n.eol();){var e=n.next(),i=n.peek();if(" "==e||","==e||/[ )}]/.test(i)){t.tokenize=inPlugin;break}}return"string"}}()),"operator"):/[\'\"]/.test(i)?(t.tokenize=function inAttribute(n){return function(t,e){for(;!t.eol();)if(t.next()==n){e.tokenize=inPlugin;break}return"string"}}(i),t.tokenize(n,t)):(n.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function pass(){for(var n=arguments.length-1;n>=0;n--)i.cc.push(arguments[n])}function cont(){return pass.apply(null,arguments),!0}function pushContext(n,t){var e=i.context&&i.context.noIndent;i.context={prev:i.context,pluginName:n,indent:i.indented,startOfLine:t,noIndent:e}}function popContext(){i.context&&(i.context=i.context.prev)}function element(n){if("openPlugin"==n)return i.pluginName=t,cont(attributes,function endplugin(n){return function(t){return"selfclosePlugin"==t||"endPlugin"==t?cont():"endPlugin"==t?(pushContext(i.pluginName,n),cont()):cont()}}(i.startOfLine));if("closePlugin"==n){var e=!1;return i.context?(e=i.context.pluginName!=t,popContext()):e=!0,e&&(r="error"),cont(function endcloseplugin(n){return function(t){return n&&(r="error"),"endPlugin"==t?cont():pass()}}(e))}return"string"==n?(i.context&&"!cdata"==i.context.name||pushContext("!cdata"),i.tokenize==inText&&popContext(),cont()):cont()}function attributes(n){return"keyword"==n?(r="attribute",cont(attributes)):"equals"==n?cont(attvalue,attributes):pass()}function attvalue(n){return"keyword"==n?(r="string",cont()):"string"==n?cont(attvaluemaybe):pass()}function attvaluemaybe(n){return"string"==n?cont(attvaluemaybe):pass()}var t,e,i,r,a=n.indentUnit;return{startState:function(){return{tokenize:inText,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(n,a){if(n.sol()&&(a.startOfLine=!0,a.indented=n.indentation()),n.eatSpace())return null;r=e=t=null;var c=a.tokenize(n,a);if((c||e)&&"comment"!=c)for(i=a;;){if((a.cc.pop()||element)(e||c))break}return a.startOfLine=!1,r||c},indent:function(n,t){var e=n.context;if(e&&e.noIndent)return 0;for(e&&/^{\//.test(t)&&(e=e.prev);e&&!e.startOfLine;)e=e.prev;return e?e.indent+a:0},electricChars:"/"}}),n.defineMIME("text/tiki","tiki")})}}); \ No newline at end of file +webpackJsonp([44],{1022:function(n,t,e){!function(n){n(e(907))}(function(n){"use strict";n.defineMode("tiki",function(n){function inBlock(n,t,e){return function(i,r){for(;!i.eol();){if(i.match(t)){r.tokenize=inText;break}i.next()}return e&&(r.tokenize=e),n}}function inLine(n){return function(t,e){for(;!t.eol();)t.next();return e.tokenize=inText,n}}function inText(n,t){function chain(e){return t.tokenize=e,e(n,t)}var e=n.sol(),i=n.next();switch(i){case"{":return n.eat("/"),n.eatSpace(),n.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=inPlugin,"tag";case"_":if(n.eat("_"))return chain(inBlock("strong","__",inText));break;case"'":if(n.eat("'"))return chain(inBlock("em","''",inText));break;case"(":if(n.eat("("))return chain(inBlock("variable-2","))",inText));break;case"[":return chain(inBlock("variable-3","]",inText));case"|":if(n.eat("|"))return chain(inBlock("comment","||"));break;case"-":if(n.eat("="))return chain(inBlock("header string","=-",inText));if(n.eat("-"))return chain(inBlock("error tw-deleted","--",inText));break;case"=":if(n.match("=="))return chain(inBlock("tw-underline","===",inText));break;case":":if(n.eat(":"))return chain(inBlock("comment","::"));break;case"^":return chain(inBlock("tw-box","^"));case"~":if(n.match("np~"))return chain(inBlock("meta","~/np~"))}if(e)switch(i){case"!":return n.match("!!!!!")?chain(inLine("header string")):n.match("!!!!")?chain(inLine("header string")):n.match("!!!")?chain(inLine("header string")):(n.match("!!"),chain(inLine("header string")));case"*":case"#":case"+":return chain(inLine("tw-listitem bracket"))}return null}function inPlugin(n,t){var i=n.next(),r=n.peek();return"}"==i?(t.tokenize=inText,"tag"):"("==i||")"==i?"bracket":"="==i?(e="equals",">"==r&&(n.next(),r=n.peek()),/[\'\"]/.test(r)||(t.tokenize=function inAttributeNoQuote(){return function(n,t){for(;!n.eol();){var e=n.next(),i=n.peek();if(" "==e||","==e||/[ )}]/.test(i)){t.tokenize=inPlugin;break}}return"string"}}()),"operator"):/[\'\"]/.test(i)?(t.tokenize=function inAttribute(n){return function(t,e){for(;!t.eol();)if(t.next()==n){e.tokenize=inPlugin;break}return"string"}}(i),t.tokenize(n,t)):(n.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function pass(){for(var n=arguments.length-1;n>=0;n--)i.cc.push(arguments[n])}function cont(){return pass.apply(null,arguments),!0}function pushContext(n,t){var e=i.context&&i.context.noIndent;i.context={prev:i.context,pluginName:n,indent:i.indented,startOfLine:t,noIndent:e}}function popContext(){i.context&&(i.context=i.context.prev)}function element(n){if("openPlugin"==n)return i.pluginName=t,cont(attributes,function endplugin(n){return function(t){return"selfclosePlugin"==t||"endPlugin"==t?cont():"endPlugin"==t?(pushContext(i.pluginName,n),cont()):cont()}}(i.startOfLine));if("closePlugin"==n){var e=!1;return i.context?(e=i.context.pluginName!=t,popContext()):e=!0,e&&(r="error"),cont(function endcloseplugin(n){return function(t){return n&&(r="error"),"endPlugin"==t?cont():pass()}}(e))}return"string"==n?(i.context&&"!cdata"==i.context.name||pushContext("!cdata"),i.tokenize==inText&&popContext(),cont()):cont()}function attributes(n){return"keyword"==n?(r="attribute",cont(attributes)):"equals"==n?cont(attvalue,attributes):pass()}function attvalue(n){return"keyword"==n?(r="string",cont()):"string"==n?cont(attvaluemaybe):pass()}function attvaluemaybe(n){return"string"==n?cont(attvaluemaybe):pass()}var t,e,i,r,a=n.indentUnit;return{startState:function(){return{tokenize:inText,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(n,a){if(n.sol()&&(a.startOfLine=!0,a.indented=n.indentation()),n.eatSpace())return null;r=e=t=null;var c=a.tokenize(n,a);if((c||e)&&"comment"!=c)for(i=a;;){if((a.cc.pop()||element)(e||c))break}return a.startOfLine=!1,r||c},indent:function(n,t){var e=n.context;if(e&&e.noIndent)return 0;for(e&&/^{\//.test(t)&&(e=e.prev);e&&!e.startOfLine;)e=e.prev;return e?e.indent+a:0},electricChars:"/"}}),n.defineMIME("text/tiki","tiki")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/101.95a992a0.js b/build/codemirror/mode/101.2015be6c.js similarity index 94% rename from build/codemirror/mode/101.95a992a0.js rename to build/codemirror/mode/101.2015be6c.js index 7fd3da6..e5d26c2 100644 --- a/build/codemirror/mode/101.95a992a0.js +++ b/build/codemirror/mode/101.2015be6c.js @@ -1 +1 @@ -webpackJsonp([44],{1024:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property string":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}}}),e.defineMIME("text/x-toml","toml")})}}); \ No newline at end of file +webpackJsonp([43],{1023:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,t){if(t.inString||'"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.inString=!0),e.sol()&&0===t.inArray&&(t.lhs=!0),t.inString){for(;t.inString&&!e.eol();)e.peek()===t.stringType?(e.next(),t.inString=!1):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return t.lhs?"property string":"string"}return t.inArray&&"]"===e.peek()?(e.next(),t.inArray--,"bracket"):t.lhs&&"["===e.peek()&&e.skipTo("]")?(e.next(),"]"===e.peek()&&e.next(),"atom"):"#"===e.peek()?(e.skipToEnd(),"comment"):e.eatSpace()?null:t.lhs&&e.eatWhile(function(e){return"="!=e&&" "!=e})?"property":t.lhs&&"="===e.peek()?(e.next(),t.lhs=!1,null):!t.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/)?"atom":t.lhs||!e.match("true")&&!e.match("false")?t.lhs||"["!==e.peek()?!t.lhs&&e.match(/^\-?\d+(?:\.\d+)?/)?"number":(e.eatSpace()||e.next(),null):(t.inArray++,e.next(),"bracket"):"atom"}}}),e.defineMIME("text/x-toml","toml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/102.18644915.js b/build/codemirror/mode/102.18644915.js deleted file mode 100644 index 07881ee..0000000 --- a/build/codemirror/mode/102.18644915.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([7,12,33,89,111],{1025:function(e,t,r){!function(e){e(r(907),r(911),r(913))}(function(e){"use strict";e.defineMode("tornado:inner",function(){function tokenBase(t,r){t.eatWhile(/[^\{]/);var o=t.next();if("{"==o&&(o=t.eat(/\{|%|#/)))return r.tokenize=function inTag(t){"{"==t&&(t="}");return function(r,o){var n=r.next();return n==t&&r.eat("}")?(o.tokenize=tokenBase,"tag"):r.match(e)?"keyword":"#"==t?"comment":"string"}}(o),"tag"}var e=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];return e=new RegExp("^(("+e.join(")|(")+"))\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)}}}),e.defineMode("tornado",function(t){var r=e.getMode(t,"text/html"),o=e.getMode(t,"tornado:inner");return e.overlayMode(r,o)}),e.defineMIME("text/x-tornado","tornado")})},908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return o=e,n=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var o,n=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(o=t.next())&&(o!=e||n);)n=!n&&"\\"==o;return n||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,o=!1;null!=(t=e.next());){if(!r){if("/"==t&&!o)return;"["==t?o=!0:o&&"]"==t&&(o=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var o=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(o)){var n=u[o];return ret(n.type,n.style,o)}if("async"==o&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",o)}return ret("variable","variable",o)}}function tokenComment(e,t){for(var r,o=!1;r=e.next();){if("/"==r&&o){t.tokenize=tokenBase;break}o="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,o=!1;null!=(r=e.next());){if(!o&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}o=!o&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var o=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));o&&(r=o.index)}for(var n=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!n){++i;break}if(0==--n){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++n;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!n){++i;break}}}a&&!n&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,o,n,a){this.indented=e,this.column=t,this.type=r,this.prev=n,this.info=a,null!=o&&(this.align=o)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var o=e.context;o;o=o.prev)for(r=o.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=b}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,o=r.indented;if("stat"==r.lexical.type)o=r.lexical.indented;else for(var n=r.lexical;n&&")"==n.type&&n.align;n=n.prev)o=n.indented;r.lexical=new JSLexical(o,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var o=0==r?maybeoperatorComma:maybeoperatorNoComma,n=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(o):"?"==t?cont(expression,expect(":"),n):cont(n):"quasi"==e?pass(quasi,o):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",o):"."==e?cont(property,o):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,o):c&&"as"==t?(g.marked="keyword",cont(typeexpr,o)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(n)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(o,n){if(r?r.indexOf(o)>-1:","==o){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,o){return r==t||o==t?pass():pass(e)},proceed)}return o==t||n==t?cont():cont(expect(t))}return function(r,o){return r==t||o==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var o=3;o<arguments.length;o++)g.cc.push(arguments[o]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var o,n,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),o=kw("keyword d"),n=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:o,break:o,continue:o,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:n,typeof:n,instanceof:n,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},b={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==o?r:(t.lastType="operator"!=o||"++"!=n&&"--"!=n?o:"incdec",function parseJS(e,t,r,o,n){var a=e.cc;for(g.state=e,g.stream=n,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,o)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,o)?"variable-2":t}}(t,r,o,n,e))},indent:function(t,o){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var n,s=o&&o.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(o))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(n=t.cc[t.cc.length-1])&&(n==maybeoperatorComma||n==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(o));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,o)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(o)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(o,n){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var o=t.tokenize(e,t);return o?o+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,o){for(;!r.eol();){if(r.match(t)){o.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var o;null!=(o=t.next());){if("<"==o)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==o){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var o=t.current();return r.context&&r.context.tagName!=o&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==o||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var o=r.tagName,n=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(o)?maybePopContext(r,o):(maybePopContext(r,o),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,o,n==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=o.indentUnit,i={},s=n.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in n)i[l]=n[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,o){var n=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(n&&n.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;n;){if(n.tagName==s[2]){n=n.prev;break}if(!i.implicitlyClosed.hasOwnProperty(n.tagName))break;n=n.prev}else if(s)for(;n;){var l=i.contextGrabbers[n.tagName];if(!l||!l.hasOwnProperty(s[2]))break;n=n.prev}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return n=t,e}function tokenString(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var n,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},b=r.valueKeywords||{},x=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return d.hasOwnProperty(o)?(a="property","maybeprop"):m.hasOwnProperty(o)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&x)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,x?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();a="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":p.hasOwnProperty(o)?"property":u.hasOwnProperty(o)?"keyword":d.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":b.hasOwnProperty(o)?"atom":g.hasOwnProperty(o)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,x?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var o=s[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),a=r,"comment"!=n&&(t.state=w[t.state](n,e,t)),a},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),n=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(n=Math.max(0,r.indent-i)):n=(r=r.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=keySet(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(b),y=t.concat(o).concat(a).concat(s).concat(c).concat(u).concat(h).concat(b);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:n,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var o=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return o?/^\s*(.*?)\s*$/.exec(o[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var o=t[r]||(t[r]=[]),n=e[r],a=n.length-1;a>=0;a--)o.unshift(n[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,o){function html(t,o){var i,s=n.token(t,o.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))o.inTag=i+" ";else if(o.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var o=e[r];if(!o[0]||o[1].test(getAttrValue(t,o[0])))return o[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);o.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var o=e.current(),n=o.search(t);return n>-1?e.backUp(o.length-n):o.match(/<\/?$/)&&(e.backUp(o.length),e.match(t,!1)||e.match(o)),r}(e,m,t.localMode.token(e,t.localState))},o.localMode=u,o.localState=e.startState(u,n.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=t.current(),t.eol()&&(o.inTag+=" "));return s}var n=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag}),a={},i=o&&o.tags,s=o&&o.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(n)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(n,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,o){return!t.localMode||/^\s*<\//.test(r)?n.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,o):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||n}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},913:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.overlayMode=function(t,r,o){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:e.copyState(t,o.base),overlay:e.copyState(r,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(e,n){return(e!=n.streamSeen||Math.min(n.basePos,n.overlayPos)<e.start)&&(n.streamSeen=e,n.basePos=n.overlayPos=e.start),e.start==n.basePos&&(n.baseCur=t.token(e,n.base),n.basePos=e.pos),e.start==n.overlayPos&&(e.pos=e.start,n.overlayCur=r.token(e,n.overlay),n.overlayPos=e.pos),e.pos=Math.min(n.basePos,n.overlayPos),null==n.overlayCur?n.baseCur:null!=n.baseCur&&n.overlay.combineTokens||o&&null==n.overlay.combineTokens?n.baseCur+" "+n.overlayCur:n.overlayCur},indent:t.indent&&function(e,r){return t.indent(e.base,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var n,a;return t.blankLine&&(n=t.blankLine(e.base)),r.blankLine&&(a=r.blankLine(e.overlay)),null==a?n:o&&null!=n?n+" "+a:a}}}})}}); \ No newline at end of file diff --git a/build/codemirror/mode/102.337084be.js b/build/codemirror/mode/102.337084be.js new file mode 100644 index 0000000..b6cbcd5 --- /dev/null +++ b/build/codemirror/mode/102.337084be.js @@ -0,0 +1 @@ +webpackJsonp([7,12,32,88,110],{1024:function(e,t,r){!function(e){e(r(907),r(911),r(913))}(function(e){"use strict";e.defineMode("tornado:inner",function(){function tokenBase(t,r){t.eatWhile(/[^\{]/);var n=t.next();if("{"==n&&(n=t.eat(/\{|%|#/)))return r.tokenize=function inTag(t){"{"==t&&(t="}");return function(r,n){var o=r.next();return o==t&&r.eat("}")?(n.tokenize=tokenBase,"tag"):r.match(e)?"keyword":"#"==t?"comment":"string"}}(n),"tag"}var e=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];return e=new RegExp("^(("+e.join(")|(")+"))\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)}}}),e.defineMode("tornado",function(t){var r=e.getMode(t,"text/html"),n=e.getMode(t,"tornado:inner");return e.overlayMode(r,n)}),e.defineMIME("text/x-tornado","tornado")})},908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},y=r.allowNested,b=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(x),b=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",b),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},913:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.overlayMode=function(t,r,n){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(n){return{base:e.copyState(t,n.base),overlay:e.copyState(r,n.overlay),basePos:n.basePos,baseCur:null,overlayPos:n.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=r.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||n&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,r){return t.indent(e.base,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,a;return t.blankLine&&(o=t.blankLine(e.base)),r.blankLine&&(a=r.blankLine(e.overlay)),null==a?o:n&&null!=o?o+" "+a:a}}}})}}); \ No newline at end of file diff --git a/build/codemirror/mode/103.6728881e.js b/build/codemirror/mode/103.eef30f80.js similarity index 94% rename from build/codemirror/mode/103.6728881e.js rename to build/codemirror/mode/103.eef30f80.js index e57264a..5b3e225 100644 --- a/build/codemirror/mode/103.6728881e.js +++ b/build/codemirror/mode/103.eef30f80.js @@ -1 +1 @@ -webpackJsonp([43],{1026:function(t,n,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("troff",function(){function tokenize(n,e){return(e.tokens[0]||function tokenBase(n){if(n.eatSpace())return null;var e=n.sol(),r=n.next();if("\\"===r)return n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("&")?"string":n.match("m[")?(n.skipTo("]"),n.next(),"string"):n.match("s+")||n.match("s-")?(n.eatWhile(/[\d-]/),"string"):n.match("(")||n.match("*(")?(n.eatWhile(/[\w-]/),"string"):"string";if(e&&("."===r||"'"===r)&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(e&&"."===r){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);var a=n.current();return t.hasOwnProperty(a)?t[a]:null})(n,e)}var t={};return{startState:function(){return{tokens:[]}},token:function(t,n){return tokenize(t,n)}}}),t.defineMIME("text/troff","troff"),t.defineMIME("text/x-troff","troff"),t.defineMIME("application/x-troff","troff")})}}); \ No newline at end of file +webpackJsonp([42],{1025:function(t,n,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("troff",function(){function tokenize(n,e){return(e.tokens[0]||function tokenBase(n){if(n.eatSpace())return null;var e=n.sol(),r=n.next();if("\\"===r)return n.match("fB")||n.match("fR")||n.match("fI")||n.match("u")||n.match("d")||n.match("%")||n.match("&")?"string":n.match("m[")?(n.skipTo("]"),n.next(),"string"):n.match("s+")||n.match("s-")?(n.eatWhile(/[\d-]/),"string"):n.match("(")||n.match("*(")?(n.eatWhile(/[\w-]/),"string"):"string";if(e&&("."===r||"'"===r)&&n.eat("\\")&&n.eat('"'))return n.skipToEnd(),"comment";if(e&&"."===r){if(n.match("B ")||n.match("I ")||n.match("R "))return"attribute";if(n.match("TH ")||n.match("SH ")||n.match("SS ")||n.match("HP "))return n.skipToEnd(),"quote";if(n.match(/[A-Z]/)&&n.match(/[A-Z]/)||n.match(/[a-z]/)&&n.match(/[a-z]/))return"attribute"}n.eatWhile(/[\w-]/);var a=n.current();return t.hasOwnProperty(a)?t[a]:null})(n,e)}var t={};return{startState:function(){return{tokens:[]}},token:function(t,n){return tokenize(t,n)}}}),t.defineMIME("text/troff","troff"),t.defineMIME("text/x-troff","troff"),t.defineMIME("application/x-troff","troff")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/104.4a2eaa16.js b/build/codemirror/mode/104.5aa9aa5e.js similarity index 98% rename from build/codemirror/mode/104.4a2eaa16.js rename to build/codemirror/mode/104.5aa9aa5e.js index 5ed1a25..87d28e1 100644 --- a/build/codemirror/mode/104.4a2eaa16.js +++ b/build/codemirror/mode/104.5aa9aa5e.js @@ -1 +1 @@ -webpackJsonp([41],{1028:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}t.defineMode("ttcn",function(t,e){function tokenBase(t,e){var r=t.next();if('"'==r||"'"==r)return e.tokenize=function tokenString(t){return function(e,n){for(var r,o=!1,i=!1;null!=(r=e.next());){if(r==t&&!o){var s=e.peek();s&&("b"!=(s=s.toLowerCase())&&"h"!=s&&"o"!=s||e.next()),i=!0;break}o=!o&&"\\"==r}return(i||!o&&!y)&&(n.tokenize=null),"string"}}(r),e.tokenize(t,e);if(/[\[\]{}\(\),;\\:\?\.]/.test(r))return n=r,"punctuation";if("#"==r)return t.skipToEnd(),"atom preprocessor";if("%"==r)return t.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(r))return t.eatWhile(/[\w\.]/),"number";if("/"==r){if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(g.test(r))return"@"==r&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(g),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);var v=t.current();return o.propertyIsEnumerable(v)?"keyword":i.propertyIsEnumerable(v)?"builtin":s.propertyIsEnumerable(v)?"def timerOps":p.propertyIsEnumerable(v)?"def configOps":c.propertyIsEnumerable(v)?"def verdictOps":a.propertyIsEnumerable(v)?"def portOps":l.propertyIsEnumerable(v)?"def sutOps":u.propertyIsEnumerable(v)?"def functionOps":d.propertyIsEnumerable(v)?"string verdictConsts":f.propertyIsEnumerable(v)?"string booleanConsts":m.propertyIsEnumerable(v)?"string otherConsts":h.propertyIsEnumerable(v)?"builtin types":b.propertyIsEnumerable(v)?"builtin visibilityModifiers":x.propertyIsEnumerable(v)?"atom templateMatch":"variable"}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=null;break}r="*"==n}return"comment"}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){var r=t.indented;return t.context&&"statement"==t.context.type&&(r=t.context.indented),t.context=new Context(r,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,r=t.indentUnit,o=e.keywords||{},i=e.builtin||{},s=e.timerOps||{},a=e.portOps||{},p=e.configOps||{},c=e.verdictOps||{},l=e.sutOps||{},u=e.functionOps||{},d=e.verdictConsts||{},f=e.booleanConsts||{},m=e.otherConsts||{},h=e.types||{},b=e.visibilityModifiers||{},x=e.templateMatch||{},y=e.multiLineStrings,v=!1!==e.indentStatements,g=/[+\-*&@=<>!\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var r=e.context;if(t.sol()&&(null==r.align&&(r.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;n=null;var o=(e.tokenize||tokenBase)(t,e);if("comment"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type)if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(e);for("}"==r.type&&(r=popContext(e));"statement"==r.type;)r=popContext(e)}else n==r.type?popContext(e):v&&(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,o},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),function def(e,n){function add(t){if(t)for(var e in t)t.hasOwnProperty(e)&&r.push(e)}"string"==typeof e&&(e=[e]);var r=[];add(n.keywords),add(n.builtin),add(n.timerOps),add(n.portOps),r.length&&(n.helperType=e[0],t.registerHelper("hintWords",e[0],r));for(var o=0;o<e.length;++o)t.defineMIME(e[o],n)}(["text/x-ttcn","text/x-ttcn3","text/x-ttcnpp"],{name:"ttcn",keywords:words("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),builtin:words("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),types:words("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),timerOps:words("read running start stop timeout"),portOps:words("call catch check clear getcall getreply halt raise receive reply send trigger"),configOps:words("create connect disconnect done kill killed map unmap"),verdictOps:words("getverdict setverdict"),sutOps:words("action"),functionOps:words("apply derefers refers"),verdictConsts:words("error fail inconc none pass"),booleanConsts:words("true false"),otherConsts:words("null NULL omit"),visibilityModifiers:words("private public friend"),templateMatch:words("complement ifpresent subset superset permutation"),multiLineStrings:!0})})}}); \ No newline at end of file +webpackJsonp([40],{1027:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}t.defineMode("ttcn",function(t,e){function tokenBase(t,e){var r=t.next();if('"'==r||"'"==r)return e.tokenize=function tokenString(t){return function(e,n){for(var r,o=!1,i=!1;null!=(r=e.next());){if(r==t&&!o){var s=e.peek();s&&("b"!=(s=s.toLowerCase())&&"h"!=s&&"o"!=s||e.next()),i=!0;break}o=!o&&"\\"==r}return(i||!o&&!y)&&(n.tokenize=null),"string"}}(r),e.tokenize(t,e);if(/[\[\]{}\(\),;\\:\?\.]/.test(r))return n=r,"punctuation";if("#"==r)return t.skipToEnd(),"atom preprocessor";if("%"==r)return t.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(r))return t.eatWhile(/[\w\.]/),"number";if("/"==r){if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(g.test(r))return"@"==r&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(g),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);var v=t.current();return o.propertyIsEnumerable(v)?"keyword":i.propertyIsEnumerable(v)?"builtin":s.propertyIsEnumerable(v)?"def timerOps":p.propertyIsEnumerable(v)?"def configOps":c.propertyIsEnumerable(v)?"def verdictOps":a.propertyIsEnumerable(v)?"def portOps":l.propertyIsEnumerable(v)?"def sutOps":u.propertyIsEnumerable(v)?"def functionOps":d.propertyIsEnumerable(v)?"string verdictConsts":f.propertyIsEnumerable(v)?"string booleanConsts":m.propertyIsEnumerable(v)?"string otherConsts":h.propertyIsEnumerable(v)?"builtin types":b.propertyIsEnumerable(v)?"builtin visibilityModifiers":x.propertyIsEnumerable(v)?"atom templateMatch":"variable"}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize=null;break}r="*"==n}return"comment"}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){var r=t.indented;return t.context&&"statement"==t.context.type&&(r=t.context.indented),t.context=new Context(r,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,r=t.indentUnit,o=e.keywords||{},i=e.builtin||{},s=e.timerOps||{},a=e.portOps||{},p=e.configOps||{},c=e.verdictOps||{},l=e.sutOps||{},u=e.functionOps||{},d=e.verdictConsts||{},f=e.booleanConsts||{},m=e.otherConsts||{},h=e.types||{},b=e.visibilityModifiers||{},x=e.templateMatch||{},y=e.multiLineStrings,v=!1!==e.indentStatements,g=/[+\-*&@=<>!\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var r=e.context;if(t.sol()&&(null==r.align&&(r.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;n=null;var o=(e.tokenize||tokenBase)(t,e);if("comment"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type)if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(e);for("}"==r.type&&(r=popContext(e));"statement"==r.type;)r=popContext(e)}else n==r.type?popContext(e):v&&(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,o},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),function def(e,n){function add(t){if(t)for(var e in t)t.hasOwnProperty(e)&&r.push(e)}"string"==typeof e&&(e=[e]);var r=[];add(n.keywords),add(n.builtin),add(n.timerOps),add(n.portOps),r.length&&(n.helperType=e[0],t.registerHelper("hintWords",e[0],r));for(var o=0;o<e.length;++o)t.defineMIME(e[o],n)}(["text/x-ttcn","text/x-ttcn3","text/x-ttcnpp"],{name:"ttcn",keywords:words("activate address alive all alt altstep and and4b any break case component const continue control deactivate display do else encode enumerated except exception execute extends extension external for from function goto group if import in infinity inout interleave label language length log match message mixed mod modifies module modulepar mtc noblock not not4b nowait of on optional or or4b out override param pattern port procedure record recursive rem repeat return runs select self sender set signature system template testcase to type union value valueof var variant while with xor xor4b"),builtin:words("bit2hex bit2int bit2oct bit2str char2int char2oct encvalue decomp decvalue float2int float2str hex2bit hex2int hex2oct hex2str int2bit int2char int2float int2hex int2oct int2str int2unichar isbound ischosen ispresent isvalue lengthof log2str oct2bit oct2char oct2hex oct2int oct2str regexp replace rnd sizeof str2bit str2float str2hex str2int str2oct substr unichar2int unichar2char enum2int"),types:words("anytype bitstring boolean char charstring default float hexstring integer objid octetstring universal verdicttype timer"),timerOps:words("read running start stop timeout"),portOps:words("call catch check clear getcall getreply halt raise receive reply send trigger"),configOps:words("create connect disconnect done kill killed map unmap"),verdictOps:words("getverdict setverdict"),sutOps:words("action"),functionOps:words("apply derefers refers"),verdictConsts:words("error fail inconc none pass"),booleanConsts:words("true false"),otherConsts:words("null NULL omit"),visibilityModifiers:words("private public friend"),templateMatch:words("complement ifpresent subset superset permutation"),multiLineStrings:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/105.a8f13fa5.js b/build/codemirror/mode/105.ee32f53d.js similarity index 98% rename from build/codemirror/mode/105.a8f13fa5.js rename to build/codemirror/mode/105.ee32f53d.js index 1303999..85dd809 100644 --- a/build/codemirror/mode/105.a8f13fa5.js +++ b/build/codemirror/mode/105.ee32f53d.js @@ -1 +1 @@ -webpackJsonp([42],{1027:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),T=0;T<n.length;++T)e[n[T]]=!0;return e}t.defineMode("ttcn-cfg",function(t,e){function tokenBase(t,e){var T=t.next();if('"'==T||"'"==T)return e.tokenize=function tokenString(t){return function(e,n){for(var T,E=!1,C=!1;null!=(T=e.next());){if(T==t&&!E){var o=e.peek();o&&("b"!=(o=o.toLowerCase())&&"h"!=o&&"o"!=o||e.next()),C=!0;break}E=!E&&"\\"==T}return(C||!E&&!i)&&(n.tokenize=null),"string"}}(T),e.tokenize(t,e);if(/[:=]/.test(T))return n=T,"punctuation";if("#"==T)return t.skipToEnd(),"comment";if(/\d/.test(T))return t.eatWhile(/[\w\.]/),"number";if(N.test(T))return t.eatWhile(N),"operator";if("["==T)return t.eatWhile(/[\w_\]]/),"number sectionTitle";t.eatWhile(/[\w\$_]/);var r=t.current();return E.propertyIsEnumerable(r)?"keyword":C.propertyIsEnumerable(r)?"negative fileNCtrlMaskOptions":o.propertyIsEnumerable(r)?"negative externalCommands":"variable"}function Context(t,e,n,T,E){this.indented=t,this.column=e,this.type=n,this.align=T,this.prev=E}function pushContext(t,e,n){var T=t.indented;return t.context&&"statement"==t.context.type&&(T=t.context.indented),t.context=new Context(T,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,T=t.indentUnit,E=e.keywords||{},C=e.fileNCtrlMaskOptions||{},o=e.externalCommands||{},i=e.multiLineStrings,r=!1!==e.indentStatements,N=/[\|]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-T,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var T=e.context;if(t.sol()&&(null==T.align&&(T.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;n=null;var E=(e.tokenize||tokenBase)(t,e);if("comment"==E)return E;if(null==T.align&&(T.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=T.type)if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==T.type;)T=popContext(e);for("}"==T.type&&(T=popContext(e));"statement"==T.type;)T=popContext(e)}else n==T.type?popContext(e):r&&(("}"==T.type||"top"==T.type)&&";"!=n||"statement"==T.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,E},electricChars:"{}",lineComment:"#",fold:"brace"}}),t.defineMIME("text/x-ttcn-cfg",{name:"ttcn-cfg",keywords:words("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),fileNCtrlMaskOptions:words("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),externalCommands:words("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0})})}}); \ No newline at end of file +webpackJsonp([41],{1026:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),T=0;T<n.length;++T)e[n[T]]=!0;return e}t.defineMode("ttcn-cfg",function(t,e){function tokenBase(t,e){var T=t.next();if('"'==T||"'"==T)return e.tokenize=function tokenString(t){return function(e,n){for(var T,E=!1,C=!1;null!=(T=e.next());){if(T==t&&!E){var o=e.peek();o&&("b"!=(o=o.toLowerCase())&&"h"!=o&&"o"!=o||e.next()),C=!0;break}E=!E&&"\\"==T}return(C||!E&&!i)&&(n.tokenize=null),"string"}}(T),e.tokenize(t,e);if(/[:=]/.test(T))return n=T,"punctuation";if("#"==T)return t.skipToEnd(),"comment";if(/\d/.test(T))return t.eatWhile(/[\w\.]/),"number";if(N.test(T))return t.eatWhile(N),"operator";if("["==T)return t.eatWhile(/[\w_\]]/),"number sectionTitle";t.eatWhile(/[\w\$_]/);var r=t.current();return E.propertyIsEnumerable(r)?"keyword":C.propertyIsEnumerable(r)?"negative fileNCtrlMaskOptions":o.propertyIsEnumerable(r)?"negative externalCommands":"variable"}function Context(t,e,n,T,E){this.indented=t,this.column=e,this.type=n,this.align=T,this.prev=E}function pushContext(t,e,n){var T=t.indented;return t.context&&"statement"==t.context.type&&(T=t.context.indented),t.context=new Context(T,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,T=t.indentUnit,E=e.keywords||{},C=e.fileNCtrlMaskOptions||{},o=e.externalCommands||{},i=e.multiLineStrings,r=!1!==e.indentStatements,N=/[\|]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-T,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var T=e.context;if(t.sol()&&(null==T.align&&(T.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;n=null;var E=(e.tokenize||tokenBase)(t,e);if("comment"==E)return E;if(null==T.align&&(T.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=T.type)if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==T.type;)T=popContext(e);for("}"==T.type&&(T=popContext(e));"statement"==T.type;)T=popContext(e)}else n==T.type?popContext(e):r&&(("}"==T.type||"top"==T.type)&&";"!=n||"statement"==T.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,E},electricChars:"{}",lineComment:"#",fold:"brace"}}),t.defineMIME("text/x-ttcn-cfg",{name:"ttcn-cfg",keywords:words("Yes No LogFile FileMask ConsoleMask AppendFile TimeStampFormat LogEventTypes SourceInfoFormat LogEntityName LogSourceInfo DiskFullAction LogFileNumber LogFileSize MatchingHints Detailed Compact SubCategories Stack Single None Seconds DateTime Time Stop Error Retry Delete TCPPort KillTimer NumHCs UnixSocketsEnabled LocalAddress"),fileNCtrlMaskOptions:words("TTCN_EXECUTOR TTCN_ERROR TTCN_WARNING TTCN_PORTEVENT TTCN_TIMEROP TTCN_VERDICTOP TTCN_DEFAULTOP TTCN_TESTCASE TTCN_ACTION TTCN_USER TTCN_FUNCTION TTCN_STATISTICS TTCN_PARALLEL TTCN_MATCHING TTCN_DEBUG EXECUTOR ERROR WARNING PORTEVENT TIMEROP VERDICTOP DEFAULTOP TESTCASE ACTION USER FUNCTION STATISTICS PARALLEL MATCHING DEBUG LOG_ALL LOG_NOTHING ACTION_UNQUALIFIED DEBUG_ENCDEC DEBUG_TESTPORT DEBUG_UNQUALIFIED DEFAULTOP_ACTIVATE DEFAULTOP_DEACTIVATE DEFAULTOP_EXIT DEFAULTOP_UNQUALIFIED ERROR_UNQUALIFIED EXECUTOR_COMPONENT EXECUTOR_CONFIGDATA EXECUTOR_EXTCOMMAND EXECUTOR_LOGOPTIONS EXECUTOR_RUNTIME EXECUTOR_UNQUALIFIED FUNCTION_RND FUNCTION_UNQUALIFIED MATCHING_DONE MATCHING_MCSUCCESS MATCHING_MCUNSUCC MATCHING_MMSUCCESS MATCHING_MMUNSUCC MATCHING_PCSUCCESS MATCHING_PCUNSUCC MATCHING_PMSUCCESS MATCHING_PMUNSUCC MATCHING_PROBLEM MATCHING_TIMEOUT MATCHING_UNQUALIFIED PARALLEL_PORTCONN PARALLEL_PORTMAP PARALLEL_PTC PARALLEL_UNQUALIFIED PORTEVENT_DUALRECV PORTEVENT_DUALSEND PORTEVENT_MCRECV PORTEVENT_MCSEND PORTEVENT_MMRECV PORTEVENT_MMSEND PORTEVENT_MQUEUE PORTEVENT_PCIN PORTEVENT_PCOUT PORTEVENT_PMIN PORTEVENT_PMOUT PORTEVENT_PQUEUE PORTEVENT_STATE PORTEVENT_UNQUALIFIED STATISTICS_UNQUALIFIED STATISTICS_VERDICT TESTCASE_FINISH TESTCASE_START TESTCASE_UNQUALIFIED TIMEROP_GUARD TIMEROP_READ TIMEROP_START TIMEROP_STOP TIMEROP_TIMEOUT TIMEROP_UNQUALIFIED USER_UNQUALIFIED VERDICTOP_FINAL VERDICTOP_GETVERDICT VERDICTOP_SETVERDICT VERDICTOP_UNQUALIFIED WARNING_UNQUALIFIED"),externalCommands:words("BeginControlPart EndControlPart BeginTestCase EndTestCase"),multiLineStrings:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/106.585ee64c.js b/build/codemirror/mode/106.d75c2e21.js similarity index 97% rename from build/codemirror/mode/106.585ee64c.js rename to build/codemirror/mode/106.d75c2e21.js index d014270..e7c5096 100644 --- a/build/codemirror/mode/106.585ee64c.js +++ b/build/codemirror/mode/106.d75c2e21.js @@ -1 +1 @@ -webpackJsonp([40],{1029:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("turtle",function(t){function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")$","i")}function tokenBase(t,n){var i=t.next();if(e=null,"<"==i&&!t.match(/^[\s\u00a0=]/,!1))return t.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==i||"'"==i)return n.tokenize=function tokenLiteral(t){return function(e,n){for(var o,r=!1;null!=(o=e.next());){if(o==t&&!r){n.tokenize=tokenBase;break}r=!r&&"\\"==o}return"string"}}(i),n.tokenize(t,n);if(/[{}\(\),\.;\[\]]/.test(i))return e=i,null;if("#"==i)return t.skipToEnd(),"comment";if(r.test(i))return t.eatWhile(r),null;if(":"==i)return"operator";if(t.eatWhile(/[_\w\d]/),":"==t.peek())return"variable-3";var c=t.current();return o.test(c)?"meta":i>="A"&&i<="Z"?"comment":"keyword"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=(wordRegexp([]),wordRegexp(["@prefix","@base","a"])),r=/[*+\-<>=&|]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){if(t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation()),t.eatSpace())return null;var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&popContext(n)}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0},lineComment:"#"}}),t.defineMIME("text/turtle","turtle")})}}); \ No newline at end of file +webpackJsonp([39],{1028:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("turtle",function(t){function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")$","i")}function tokenBase(t,n){var i=t.next();if(e=null,"<"==i&&!t.match(/^[\s\u00a0=]/,!1))return t.match(/^[^\s\u00a0>]*>?/),"atom";if('"'==i||"'"==i)return n.tokenize=function tokenLiteral(t){return function(e,n){for(var o,r=!1;null!=(o=e.next());){if(o==t&&!r){n.tokenize=tokenBase;break}r=!r&&"\\"==o}return"string"}}(i),n.tokenize(t,n);if(/[{}\(\),\.;\[\]]/.test(i))return e=i,null;if("#"==i)return t.skipToEnd(),"comment";if(r.test(i))return t.eatWhile(r),null;if(":"==i)return"operator";if(t.eatWhile(/[_\w\d]/),":"==t.peek())return"variable-3";var c=t.current();return o.test(c)?"meta":i>="A"&&i<="Z"?"comment":"keyword"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=(wordRegexp([]),wordRegexp(["@prefix","@base","a"])),r=/[*+\-<>=&|]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){if(t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation()),t.eatSpace())return null;var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&popContext(n)}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0},lineComment:"#"}}),t.defineMIME("text/turtle","turtle")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/107.a3ff5dac.js b/build/codemirror/mode/107.2831d40a.js similarity index 98% rename from build/codemirror/mode/107.a3ff5dac.js rename to build/codemirror/mode/107.2831d40a.js index 734ea09..3ded369 100644 --- a/build/codemirror/mode/107.a3ff5dac.js +++ b/build/codemirror/mode/107.2831d40a.js @@ -1 +1 @@ -webpackJsonp([28],{1030:function(e,n,t){!function(e){e(t(907),t(914))}(function(e){"use strict";e.defineMode("twig:inner",function(){var e=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],n=/^[+\-*&%=<>!?|~^]/,t=/^[:\[\(\{]/,i=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return e=new RegExp("(("+e.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{}},token:function(o,a){return function tokenBase(o,a){var s=o.peek();if(a.incomment)return o.skipTo("#}")?(o.eatWhile(/\#|}/),a.incomment=!1):o.skipToEnd(),"comment";if(a.intag){if(a.operator){if(a.operator=!1,o.match(i))return"atom";if(o.match(r))return"number"}if(a.sign){if(a.sign=!1,o.match(i))return"atom";if(o.match(r))return"number"}if(a.instring)return s==a.instring&&(a.instring=!1),o.next(),"string";if("'"==s||'"'==s)return a.instring=s,o.next(),"string";if(o.match(a.intag+"}")||o.eat("-")&&o.match(a.intag+"}"))return a.intag=!1,"tag";if(o.match(n))return a.operator=!0,"operator";if(o.match(t))a.sign=!0;else if(o.eat(" ")||o.sol()){if(o.match(e))return"keyword";if(o.match(i))return"atom";if(o.match(r))return"number";o.sol()&&o.next()}else o.next();return"variable"}if(o.eat("{")){if(o.eat("#"))return a.incomment=!0,o.skipTo("#}")?(o.eatWhile(/\#|}/),a.incomment=!1):o.skipToEnd(),"comment";if(s=o.eat(/\{|%/))return a.intag=s,"{"==s&&(a.intag="}"),o.eat("-"),"tag"}o.next()}(o,a)}}}),e.defineMode("twig",function(n,t){var i=e.getMode(n,"twig:inner");return t&&t.base?e.multiplexingMode(e.getMode(n,t.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:i,parseDelimiters:!0}):i}),e.defineMIME("text/x-twig","twig")})},914:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.multiplexingMode=function(n){function indexOf(e,n,t,i){if("string"==typeof n){var r=e.indexOf(n,t);return i&&r>-1?r+n.length:r}var o=n.exec(t?e.slice(t):e);return o?o.index+t+(i?o[0].length:0):-1}var t=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(n),innerActive:null,inner:null}},copyState:function(t){return{outer:e.copyState(n,t.outer),innerActive:t.innerActive,inner:t.innerActive&&e.copyState(t.innerActive.mode,t.inner)}},token:function(i,r){if(r.innerActive){var o=r.innerActive;c=i.string;if(!o.close&&i.sol())return r.innerActive=r.inner=null,this.token(i,r);if((u=o.close?indexOf(c,o.close,i.pos,o.parseDelimiters):-1)==i.pos&&!o.parseDelimiters)return i.match(o.close),r.innerActive=r.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";u>-1&&(i.string=c.slice(0,u));var a=o.mode.token(i,r.inner);return u>-1&&(i.string=c),u==i.pos&&o.parseDelimiters&&(r.innerActive=r.inner=null),o.innerStyle&&(a=a?a+" "+o.innerStyle:o.innerStyle),a}for(var s=1/0,c=i.string,l=0;l<t.length;++l){var u,d=t[l];if((u=indexOf(c,d.open,i.pos))==i.pos)return d.parseDelimiters||i.match(d.open),r.innerActive=d,r.inner=e.startState(d.mode,n.indent?n.indent(r.outer,""):0),d.delimStyle&&d.delimStyle+" "+d.delimStyle+"-open";-1!=u&&u<s&&(s=u)}s!=1/0&&(i.string=c.slice(0,s));var f=n.token(i,r.outer);return s!=1/0&&(i.string=c),f},indent:function(t,i){var r=t.innerActive?t.innerActive.mode:n;return r.indent?r.indent(t.innerActive?t.inner:t.outer,i):e.Pass},blankLine:function(i){var r=i.innerActive?i.innerActive.mode:n;if(r.blankLine&&r.blankLine(i.innerActive?i.inner:i.outer),i.innerActive)"\n"===i.innerActive.close&&(i.innerActive=i.inner=null);else for(var o=0;o<t.length;++o){var a=t[o];"\n"===a.open&&(i.innerActive=a,i.inner=e.startState(a.mode,r.indent?r.indent(i.outer,""):0))}},electricChars:n.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:n}}}}})}}); \ No newline at end of file +webpackJsonp([27],{1029:function(e,n,t){!function(e){e(t(907),t(914))}(function(e){"use strict";e.defineMode("twig:inner",function(){var e=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],n=/^[+\-*&%=<>!?|~^]/,t=/^[:\[\(\{]/,i=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return e=new RegExp("(("+e.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{}},token:function(o,a){return function tokenBase(o,a){var s=o.peek();if(a.incomment)return o.skipTo("#}")?(o.eatWhile(/\#|}/),a.incomment=!1):o.skipToEnd(),"comment";if(a.intag){if(a.operator){if(a.operator=!1,o.match(i))return"atom";if(o.match(r))return"number"}if(a.sign){if(a.sign=!1,o.match(i))return"atom";if(o.match(r))return"number"}if(a.instring)return s==a.instring&&(a.instring=!1),o.next(),"string";if("'"==s||'"'==s)return a.instring=s,o.next(),"string";if(o.match(a.intag+"}")||o.eat("-")&&o.match(a.intag+"}"))return a.intag=!1,"tag";if(o.match(n))return a.operator=!0,"operator";if(o.match(t))a.sign=!0;else if(o.eat(" ")||o.sol()){if(o.match(e))return"keyword";if(o.match(i))return"atom";if(o.match(r))return"number";o.sol()&&o.next()}else o.next();return"variable"}if(o.eat("{")){if(o.eat("#"))return a.incomment=!0,o.skipTo("#}")?(o.eatWhile(/\#|}/),a.incomment=!1):o.skipToEnd(),"comment";if(s=o.eat(/\{|%/))return a.intag=s,"{"==s&&(a.intag="}"),o.eat("-"),"tag"}o.next()}(o,a)}}}),e.defineMode("twig",function(n,t){var i=e.getMode(n,"twig:inner");return t&&t.base?e.multiplexingMode(e.getMode(n,t.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:i,parseDelimiters:!0}):i}),e.defineMIME("text/x-twig","twig")})},914:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.multiplexingMode=function(n){function indexOf(e,n,t,i){if("string"==typeof n){var r=e.indexOf(n,t);return i&&r>-1?r+n.length:r}var o=n.exec(t?e.slice(t):e);return o?o.index+t+(i?o[0].length:0):-1}var t=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(n),innerActive:null,inner:null}},copyState:function(t){return{outer:e.copyState(n,t.outer),innerActive:t.innerActive,inner:t.innerActive&&e.copyState(t.innerActive.mode,t.inner)}},token:function(i,r){if(r.innerActive){var o=r.innerActive;c=i.string;if(!o.close&&i.sol())return r.innerActive=r.inner=null,this.token(i,r);if((u=o.close?indexOf(c,o.close,i.pos,o.parseDelimiters):-1)==i.pos&&!o.parseDelimiters)return i.match(o.close),r.innerActive=r.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";u>-1&&(i.string=c.slice(0,u));var a=o.mode.token(i,r.inner);return u>-1&&(i.string=c),u==i.pos&&o.parseDelimiters&&(r.innerActive=r.inner=null),o.innerStyle&&(a=a?a+" "+o.innerStyle:o.innerStyle),a}for(var s=1/0,c=i.string,l=0;l<t.length;++l){var u,d=t[l];if((u=indexOf(c,d.open,i.pos))==i.pos)return d.parseDelimiters||i.match(d.open),r.innerActive=d,r.inner=e.startState(d.mode,n.indent?n.indent(r.outer,""):0),d.delimStyle&&d.delimStyle+" "+d.delimStyle+"-open";-1!=u&&u<s&&(s=u)}s!=1/0&&(i.string=c.slice(0,s));var f=n.token(i,r.outer);return s!=1/0&&(i.string=c),f},indent:function(t,i){var r=t.innerActive?t.innerActive.mode:n;return r.indent?r.indent(t.innerActive?t.inner:t.outer,i):e.Pass},blankLine:function(i){var r=i.innerActive?i.innerActive.mode:n;if(r.blankLine&&r.blankLine(i.innerActive?i.inner:i.outer),i.innerActive)"\n"===i.innerActive.close&&(i.innerActive=i.inner=null);else for(var o=0;o<t.length;++o){var a=t[o];"\n"===a.open&&(i.innerActive=a,i.inner=e.startState(a.mode,r.indent?r.indent(i.outer,""):0))}},electricChars:n.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:n}}}}})}}); \ No newline at end of file diff --git a/build/codemirror/mode/108.cb9d408f.js b/build/codemirror/mode/108.8aa69e62.js similarity index 98% rename from build/codemirror/mode/108.cb9d408f.js rename to build/codemirror/mode/108.8aa69e62.js index 5a9f87a..4730c00 100644 --- a/build/codemirror/mode/108.cb9d408f.js +++ b/build/codemirror/mode/108.8aa69e62.js @@ -1 +1 @@ -webpackJsonp([39],{1031:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("vb",function(n,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function indent(e,n){n.currentIndent++}function dedent(e,n){n.currentIndent--}function tokenBase(e,n){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var l=!1;if(e.match(/^\d*\.\d+F?/i)?l=!0:e.match(/^\d+\.\d*F?/)?l=!0:e.match(/^\.\d+F?/)&&(l=!0),l)return e.eat(/J/i),"number";var s=!1;if(e.match(/^&H[0-9a-f]+/i)?s=!0:e.match(/^&O[0-7]+/i)?s=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),s=!0):e.match(/^0(?![\dx])/i)&&(s=!0),s)return e.eat(/L/i),"number"}return e.match(w)?(n.tokenize=function tokenStringFactory(e){var n=1==e.length;return function(i,o){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return o.tokenize=tokenBase,"string";i.eat(/['"]/)}if(n){if(t.singleLineStringErrors)return r;o.tokenize=tokenBase}return"string"}}(e.current()),n.tokenize(e,n)):e.match(d)||e.match(c)?null:e.match(a)||e.match(i)||e.match(m)?"operator":e.match(o)?null:e.match(y)?(indent(0,n),n.doInCurrentLine=!0,"keyword"):e.match(b)?(n.doInCurrentLine?n.doInCurrentLine=!1:indent(0,n),"keyword"):e.match(v)?"keyword":e.match(R)?(dedent(0,n),dedent(0,n),"keyword"):e.match(I)?(dedent(0,n),"keyword"):e.match(k)?"keyword":e.match(x)?"keyword":e.match(u)?"variable":(e.next(),r)}var r="error",i=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),o=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),a=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),c=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),d=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),u=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),l=["class","module","sub","enum","select","while","if","function","get","set","property","try"],s=["else","elseif","case","catch"],f=["next","loop"],h=["and","or","not","xor","in"],m=wordRegexp(h),p=["as","dim","break","continue","optional","then","until","goto","byval","byref","new","handles","property","return","const","private","protected","friend","public","shared","static","true","false"],g=["integer","string","double","decimal","boolean","short","char","float","single"],x=wordRegexp(p),k=wordRegexp(g),w='"',b=wordRegexp(l),v=wordRegexp(s),I=wordRegexp(f),R=wordRegexp(["end"]),y=wordRegexp(["do"]),E=null;e.registerHelper("hintWords","vb",l.concat(s).concat(f).concat(h).concat(p).concat(g));return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:tokenBase,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var t=function tokenLexer(e,n){var t=n.tokenize(e,n),i=e.current();if("."===i)return"variable"===(t=n.tokenize(e,n))?"variable":r;var o="[({".indexOf(i);return-1!==o&&indent(0,n),"dedent"===E&&dedent(0,n)?r:-1!==(o="])}".indexOf(i))&&dedent(0,n)?r:t}(e,n);return n.lastToken={style:t,content:e.current()},t},indent:function(e,t){var r=t.replace(/^\s+|\s+$/g,"");return r.match(I)||r.match(R)||r.match(v)?n.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.indentUnit},lineComment:"'"}}),e.defineMIME("text/x-vb","vb")})}}); \ No newline at end of file +webpackJsonp([38],{1030:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("vb",function(n,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function indent(e,n){n.currentIndent++}function dedent(e,n){n.currentIndent--}function tokenBase(e,n){if(e.eatSpace())return null;if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var l=!1;if(e.match(/^\d*\.\d+F?/i)?l=!0:e.match(/^\d+\.\d*F?/)?l=!0:e.match(/^\.\d+F?/)&&(l=!0),l)return e.eat(/J/i),"number";var s=!1;if(e.match(/^&H[0-9a-f]+/i)?s=!0:e.match(/^&O[0-7]+/i)?s=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),s=!0):e.match(/^0(?![\dx])/i)&&(s=!0),s)return e.eat(/L/i),"number"}return e.match(w)?(n.tokenize=function tokenStringFactory(e){var n=1==e.length;return function(i,o){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return o.tokenize=tokenBase,"string";i.eat(/['"]/)}if(n){if(t.singleLineStringErrors)return r;o.tokenize=tokenBase}return"string"}}(e.current()),n.tokenize(e,n)):e.match(d)||e.match(c)?null:e.match(a)||e.match(i)||e.match(m)?"operator":e.match(o)?null:e.match(y)?(indent(0,n),n.doInCurrentLine=!0,"keyword"):e.match(b)?(n.doInCurrentLine?n.doInCurrentLine=!1:indent(0,n),"keyword"):e.match(v)?"keyword":e.match(R)?(dedent(0,n),dedent(0,n),"keyword"):e.match(I)?(dedent(0,n),"keyword"):e.match(k)?"keyword":e.match(x)?"keyword":e.match(u)?"variable":(e.next(),r)}var r="error",i=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),o=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),a=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),c=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),d=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),u=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),l=["class","module","sub","enum","select","while","if","function","get","set","property","try"],s=["else","elseif","case","catch"],f=["next","loop"],h=["and","or","not","xor","in"],m=wordRegexp(h),p=["as","dim","break","continue","optional","then","until","goto","byval","byref","new","handles","property","return","const","private","protected","friend","public","shared","static","true","false"],g=["integer","string","double","decimal","boolean","short","char","float","single"],x=wordRegexp(p),k=wordRegexp(g),w='"',b=wordRegexp(l),v=wordRegexp(s),I=wordRegexp(f),R=wordRegexp(["end"]),y=wordRegexp(["do"]),E=null;e.registerHelper("hintWords","vb",l.concat(s).concat(f).concat(h).concat(p).concat(g));return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:tokenBase,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var t=function tokenLexer(e,n){var t=n.tokenize(e,n),i=e.current();if("."===i)return"variable"===(t=n.tokenize(e,n))?"variable":r;var o="[({".indexOf(i);return-1!==o&&indent(0,n),"dedent"===E&&dedent(0,n)?r:-1!==(o="])}".indexOf(i))&&dedent(0,n)?r:t}(e,n);return n.lastToken={style:t,content:e.current()},t},indent:function(e,t){var r=t.replace(/^\s+|\s+$/g,"");return r.match(I)||r.match(R)||r.match(v)?n.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*n.indentUnit},lineComment:"'"}}),e.defineMIME("text/x-vb","vb")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/109.9936a534.js b/build/codemirror/mode/109.b2f41820.js similarity index 98% rename from build/codemirror/mode/109.9936a534.js rename to build/codemirror/mode/109.b2f41820.js index edaff0e..9c85f67 100644 --- a/build/codemirror/mode/109.9936a534.js +++ b/build/codemirror/mode/109.b2f41820.js @@ -1 +1 @@ -webpackJsonp([38],{1032:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("vbscript",function(e,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function indent(e,t){t.currentIndent++}function dedent(e,t){t.currentIndent--}function tokenBase(e,b){if(e.eatSpace())return"space";if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(L))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var d=!1;if(e.match(/^\d*\.\d+/i)?d=!0:e.match(/^\d+\.\d*/)?d=!0:e.match(/^\.\d+/)&&(d=!0),d)return e.eat(/J/i),"number";var l=!1;if(e.match(/^&H[0-9a-f]+/i)?l=!0:e.match(/^&O[0-7]+/i)?l=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),l=!0):e.match(/^0(?![\dx])/i)&&(l=!0),l)return e.eat(/L/i),"number"}return e.match(y)?(b.tokenize=function tokenStringFactory(e){var r=1==e.length;return function(a,i){for(;!a.eol();){if(a.eatWhile(/[^'"]/),a.match(e))return i.tokenize=tokenBase,"string";a.eat(/['"]/)}if(r){if(t.singleLineStringErrors)return n;i.tokenize=tokenBase}return"string"}}(e.current()),b.tokenize(e,b)):e.match(a)||e.match(r)||e.match(s)?"operator":e.match(i)?null:e.match(o)?"bracket":e.match(C)?(b.doInCurrentLine=!0,"keyword"):e.match(I)?(indent(0,b),b.doInCurrentLine=!0,"keyword"):e.match(x)?(b.doInCurrentLine?b.doInCurrentLine=!1:indent(0,b),"keyword"):e.match(w)?"keyword":e.match(R)?(dedent(0,b),dedent(0,b),"keyword"):e.match(k)?(b.doInCurrentLine?b.doInCurrentLine=!1:dedent(0,b),"keyword"):e.match(m)?"keyword":e.match(p)?"atom":e.match(h)?"variable-2":e.match(g)?"builtin":e.match(f)?"variable-2":e.match(c)?"variable":(e.next(),n)}var n="error",r=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),a=new RegExp("^((<>)|(<=)|(>=))"),i=new RegExp("^[\\.,]"),o=new RegExp("^[\\(\\)]"),c=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),s=wordRegexp(["and","or","not","xor","is","mod","eqv","imp"]),b=["WScript","err","debug","RegExp"],d=["server","response","request","session","application"],l=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],u=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],v=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);b=b.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(b=b.concat(d),v=v.concat(u,l));var m=wordRegexp(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),p=wordRegexp(["true","false","nothing","empty","null"]),g=wordRegexp(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),f=wordRegexp(b),h=wordRegexp(v),y='"',x=wordRegexp(["class","sub","select","while","if","function","property","with","for"]),w=wordRegexp(["else","elseif","case"]),k=wordRegexp(["next","loop","wend"]),R=wordRegexp(["end"]),I=wordRegexp(["do"]),C=wordRegexp(["on error resume next","exit"]),L=wordRegexp(["rem"]);return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:tokenBase,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var r=function tokenLexer(e,t){var r=t.tokenize(e,t),a=e.current();return"."===a?(r=t.tokenize(e,t),a=e.current(),!r||"variable"!==r.substr(0,8)&&"builtin"!==r&&"keyword"!==r?n:("builtin"!==r&&"keyword"!==r||(r="variable"),v.indexOf(a.substr(1))>-1&&(r="variable-2"),r)):r}(e,t);return t.lastToken={style:r,content:e.current()},"space"===r&&(r=null),r},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(R)||r.match(w)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit}}}),e.defineMIME("text/vbscript","vbscript")})}}); \ No newline at end of file +webpackJsonp([37],{1031:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("vbscript",function(e,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}function indent(e,t){t.currentIndent++}function dedent(e,t){t.currentIndent--}function tokenBase(e,b){if(e.eatSpace())return"space";if("'"===e.peek())return e.skipToEnd(),"comment";if(e.match(L))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var d=!1;if(e.match(/^\d*\.\d+/i)?d=!0:e.match(/^\d+\.\d*/)?d=!0:e.match(/^\.\d+/)&&(d=!0),d)return e.eat(/J/i),"number";var l=!1;if(e.match(/^&H[0-9a-f]+/i)?l=!0:e.match(/^&O[0-7]+/i)?l=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),l=!0):e.match(/^0(?![\dx])/i)&&(l=!0),l)return e.eat(/L/i),"number"}return e.match(y)?(b.tokenize=function tokenStringFactory(e){var r=1==e.length;return function(a,i){for(;!a.eol();){if(a.eatWhile(/[^'"]/),a.match(e))return i.tokenize=tokenBase,"string";a.eat(/['"]/)}if(r){if(t.singleLineStringErrors)return n;i.tokenize=tokenBase}return"string"}}(e.current()),b.tokenize(e,b)):e.match(a)||e.match(r)||e.match(s)?"operator":e.match(i)?null:e.match(o)?"bracket":e.match(C)?(b.doInCurrentLine=!0,"keyword"):e.match(I)?(indent(0,b),b.doInCurrentLine=!0,"keyword"):e.match(x)?(b.doInCurrentLine?b.doInCurrentLine=!1:indent(0,b),"keyword"):e.match(w)?"keyword":e.match(R)?(dedent(0,b),dedent(0,b),"keyword"):e.match(k)?(b.doInCurrentLine?b.doInCurrentLine=!1:dedent(0,b),"keyword"):e.match(m)?"keyword":e.match(p)?"atom":e.match(h)?"variable-2":e.match(g)?"builtin":e.match(f)?"variable-2":e.match(c)?"variable":(e.next(),n)}var n="error",r=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),a=new RegExp("^((<>)|(<=)|(>=))"),i=new RegExp("^[\\.,]"),o=new RegExp("^[\\(\\)]"),c=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),s=wordRegexp(["and","or","not","xor","is","mod","eqv","imp"]),b=["WScript","err","debug","RegExp"],d=["server","response","request","session","application"],l=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],u=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],v=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"].concat(["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"]);b=b.concat(["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"]),e.isASP&&(b=b.concat(d),v=v.concat(u,l));var m=wordRegexp(["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"]),p=wordRegexp(["true","false","nothing","empty","null"]),g=wordRegexp(["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"]),f=wordRegexp(b),h=wordRegexp(v),y='"',x=wordRegexp(["class","sub","select","while","if","function","property","with","for"]),w=wordRegexp(["else","elseif","case"]),k=wordRegexp(["next","loop","wend"]),R=wordRegexp(["end"]),I=wordRegexp(["do"]),C=wordRegexp(["on error resume next","exit"]),L=wordRegexp(["rem"]);return{electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:tokenBase,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,t){e.sol()&&(t.currentIndent+=t.nextLineIndent,t.nextLineIndent=0,t.doInCurrentLine=0);var r=function tokenLexer(e,t){var r=t.tokenize(e,t),a=e.current();return"."===a?(r=t.tokenize(e,t),a=e.current(),!r||"variable"!==r.substr(0,8)&&"builtin"!==r&&"keyword"!==r?n:("builtin"!==r&&"keyword"!==r||(r="variable"),v.indexOf(a.substr(1))>-1&&(r="variable-2"),r)):r}(e,t);return t.lastToken={style:r,content:e.current()},"space"===r&&(r=null),r},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(R)||r.match(w)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit}}}),e.defineMIME("text/vbscript","vbscript")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/11.9d59b91f.js b/build/codemirror/mode/11.6f245c08.js similarity index 98% rename from build/codemirror/mode/11.9d59b91f.js rename to build/codemirror/mode/11.6f245c08.js index dd11e9a..265218a 100644 --- a/build/codemirror/mode/11.9d59b91f.js +++ b/build/codemirror/mode/11.6f245c08.js @@ -1 +1 @@ -webpackJsonp([112],{947:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("crystal",function(e){function wordRegExp(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,f){if(e.eatSpace())return null;if("\\"!=f.lastToken&&e.match("{%",!1))return chain(tokenMacro("%","%"),e,f);if("\\"!=f.lastToken&&e.match("{{",!1))return chain(tokenMacro("{","}"),e,f);if("#"==e.peek())return e.skipToEnd(),"comment";var k;if(e.match(a))return e.eat(/[?!]/),k=e.current(),e.eat(":")?"atom":"."==f.lastToken?"property":i.test(k)?(s.test(k)?"fun"==k&&f.blocks.indexOf("lib")>=0||"def"==k&&"abstract"==f.lastToken||(f.blocks.push(k),f.currentIndent+=1):"operator"!=f.lastStyle&&f.lastStyle||!l.test(k)?"end"==k&&(f.blocks.pop(),f.currentIndent-=1):(f.blocks.push(k),f.currentIndent+=1),p.hasOwnProperty(k)&&f.tokenize.push(p[k]),"keyword"):c.test(k)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?chain(tokenNest("[","]","meta"),e,f):(e.eat("@"),e.match(a)||e.match(u),"variable-2");if(e.match(u))return"tag";if(e.eat(":"))return e.eat('"')?chain(tokenQuote('"',"atom",!1),e,f):e.match(a)||e.match(u)||e.match(t)||e.match(n)||e.match(r)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return chain(tokenQuote('"',"string",!0),e,f);if("%"==e.peek()){var h,m="string",F=!0;if(e.match("%r"))m="string-2",h=e.next();else if(e.match("%w"))F=!1,h=e.next();else if(e.match("%q"))F=!1,h=e.next();else{if(!(h=e.match(/^%([^\w\s=])/)))return e.match(/^%[a-zA-Z0-9_\u009F-\uFFFF]*/)?"meta":"operator";h=h[1]}return d.hasOwnProperty(h)&&(h=d[h]),chain(tokenQuote(h,m,F),e,f)}return(k=e.match(/^<<-('?)([A-Z]\w*)\1/))?chain(function tokenHereDoc(e,t){return function(n,r){if(n.sol()&&(n.eatSpace(),n.match(e)))return r.tokenize.pop(),"string";for(var o=!1;n.peek();)if(o)n.next(),o=!1;else{if(n.match("{%",!1))return r.tokenize.push(tokenMacro("%","%")),"string";if(n.match("{{",!1))return r.tokenize.push(tokenMacro("{","}")),"string";if(t&&n.match("#{",!1))return r.tokenize.push(tokenNest("#{","}","meta")),"string";o=t&&"\\"==n.next()}return"string"}}(k[2],!k[1]),e,f):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F]+/):e.eat("o")?e.match(/^[0-7]+/):e.eat("b")&&e.match(/^[01]+/),"number"):e.eat(/^\d/)?(e.match(/^\d*(?:\.\d+)?(?:[eE][+-]?\d+)?/),"number"):e.match(t)?(e.eat("="),"operator"):e.match(n)||e.match(o)?"operator":(k=e.match(/[({[]/,!1))?(k=k[0],chain(tokenNest(k,d[k],null),e,f)):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function tokenNest(e,t,n,r){return function(o,a){if(!r&&o.match(e))return a.tokenize[a.tokenize.length-1]=tokenNest(e,t,n,!0),a.currentIndent+=1,n;var u=tokenBase(o,a);return o.current()===t&&(a.tokenize.pop(),a.currentIndent-=1,u=n),u}}function tokenMacro(e,t,n){return function(r,o){return!n&&r.match("{"+e)?(o.currentIndent+=1,o.tokenize[o.tokenize.length-1]=tokenMacro(e,t,!0),"meta"):r.match(t+"}")?(o.currentIndent-=1,o.tokenize.pop(),"meta"):tokenBase(r,o)}}function tokenFollowIdent(e,o){return e.eatSpace()?null:(e.match(a)?e.eat(/[!?]/):e.match(t)||e.match(n)||e.match(r),o.tokenize.pop(),"def")}function tokenFollowType(e,t){return e.eatSpace()?null:(e.match(u),t.tokenize.pop(),"def")}function tokenQuote(e,t,n){return function(r,o){for(var a=!1;r.peek();)if(a)r.next(),a=!1;else{if(r.match("{%",!1))return o.tokenize.push(tokenMacro("%","%")),t;if(r.match("{{",!1))return o.tokenize.push(tokenMacro("{","}")),t;if(n&&r.match("#{",!1))return o.tokenize.push(tokenNest("#{","}","meta")),t;var u=r.next();if(u==e)return o.tokenize.pop(),t;a=n&&"\\"==u}return t}}var t=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,n=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,r=/^(?:\[\][?=]?)/,o=/^(?:\.(?:\.{2})?|->|[?:])/,a=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,u=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,i=wordRegExp(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),c=wordRegExp(["true","false","nil","self"]),s=wordRegExp(["def","fun","macro","class","module","struct","lib","enum","union","do","for"]),l=wordRegExp(["if","unless","case","while","until","begin","then"]),f=["end","else","elsif","rescue","ensure"],k=wordRegExp(f),h=["\\)","\\}","\\]"],m=new RegExp("^(?:"+h.join("|")+")$"),p={def:tokenFollowIdent,fun:tokenFollowIdent,macro:function tokenMacroDef(e,t){if(e.eatSpace())return null;var n;if(n=e.match(a)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"},class:tokenFollowType,module:tokenFollowType,struct:tokenFollowType,lib:tokenFollowType,enum:tokenFollowType,union:tokenFollowType},d={"[":"]","{":"}","(":")","<":">"};return{startState:function(){return{tokenize:[tokenBase],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(t,n){return n=n.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),k.test(n)||m.test(n)?e.indentUnit*(t.currentIndent-1):e.indentUnit*t.currentIndent},fold:"indent",electricInput:wordRegExp(h.concat(f),!0),lineComment:"#"}}),e.defineMIME("text/x-crystal","crystal")})}}); \ No newline at end of file +webpackJsonp([111],{947:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("crystal",function(e){function wordRegExp(e,t){return new RegExp((t?"":"^")+"(?:"+e.join("|")+")"+(t?"$":"\\b"))}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,f){if(e.eatSpace())return null;if("\\"!=f.lastToken&&e.match("{%",!1))return chain(tokenMacro("%","%"),e,f);if("\\"!=f.lastToken&&e.match("{{",!1))return chain(tokenMacro("{","}"),e,f);if("#"==e.peek())return e.skipToEnd(),"comment";var k;if(e.match(a))return e.eat(/[?!]/),k=e.current(),e.eat(":")?"atom":"."==f.lastToken?"property":i.test(k)?(s.test(k)?"fun"==k&&f.blocks.indexOf("lib")>=0||"def"==k&&"abstract"==f.lastToken||(f.blocks.push(k),f.currentIndent+=1):"operator"!=f.lastStyle&&f.lastStyle||!l.test(k)?"end"==k&&(f.blocks.pop(),f.currentIndent-=1):(f.blocks.push(k),f.currentIndent+=1),p.hasOwnProperty(k)&&f.tokenize.push(p[k]),"keyword"):c.test(k)?"atom":"variable";if(e.eat("@"))return"["==e.peek()?chain(tokenNest("[","]","meta"),e,f):(e.eat("@"),e.match(a)||e.match(u),"variable-2");if(e.match(u))return"tag";if(e.eat(":"))return e.eat('"')?chain(tokenQuote('"',"atom",!1),e,f):e.match(a)||e.match(u)||e.match(t)||e.match(n)||e.match(r)?"atom":(e.eat(":"),"operator");if(e.eat('"'))return chain(tokenQuote('"',"string",!0),e,f);if("%"==e.peek()){var h,m="string",F=!0;if(e.match("%r"))m="string-2",h=e.next();else if(e.match("%w"))F=!1,h=e.next();else if(e.match("%q"))F=!1,h=e.next();else{if(!(h=e.match(/^%([^\w\s=])/)))return e.match(/^%[a-zA-Z0-9_\u009F-\uFFFF]*/)?"meta":"operator";h=h[1]}return d.hasOwnProperty(h)&&(h=d[h]),chain(tokenQuote(h,m,F),e,f)}return(k=e.match(/^<<-('?)([A-Z]\w*)\1/))?chain(function tokenHereDoc(e,t){return function(n,r){if(n.sol()&&(n.eatSpace(),n.match(e)))return r.tokenize.pop(),"string";for(var o=!1;n.peek();)if(o)n.next(),o=!1;else{if(n.match("{%",!1))return r.tokenize.push(tokenMacro("%","%")),"string";if(n.match("{{",!1))return r.tokenize.push(tokenMacro("{","}")),"string";if(t&&n.match("#{",!1))return r.tokenize.push(tokenNest("#{","}","meta")),"string";o=t&&"\\"==n.next()}return"string"}}(k[2],!k[1]),e,f):e.eat("'")?(e.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),e.eat("'"),"atom"):e.eat("0")?(e.eat("x")?e.match(/^[0-9a-fA-F]+/):e.eat("o")?e.match(/^[0-7]+/):e.eat("b")&&e.match(/^[01]+/),"number"):e.eat(/^\d/)?(e.match(/^\d*(?:\.\d+)?(?:[eE][+-]?\d+)?/),"number"):e.match(t)?(e.eat("="),"operator"):e.match(n)||e.match(o)?"operator":(k=e.match(/[({[]/,!1))?(k=k[0],chain(tokenNest(k,d[k],null),e,f)):e.eat("\\")?(e.next(),"meta"):(e.next(),null)}function tokenNest(e,t,n,r){return function(o,a){if(!r&&o.match(e))return a.tokenize[a.tokenize.length-1]=tokenNest(e,t,n,!0),a.currentIndent+=1,n;var u=tokenBase(o,a);return o.current()===t&&(a.tokenize.pop(),a.currentIndent-=1,u=n),u}}function tokenMacro(e,t,n){return function(r,o){return!n&&r.match("{"+e)?(o.currentIndent+=1,o.tokenize[o.tokenize.length-1]=tokenMacro(e,t,!0),"meta"):r.match(t+"}")?(o.currentIndent-=1,o.tokenize.pop(),"meta"):tokenBase(r,o)}}function tokenFollowIdent(e,o){return e.eatSpace()?null:(e.match(a)?e.eat(/[!?]/):e.match(t)||e.match(n)||e.match(r),o.tokenize.pop(),"def")}function tokenFollowType(e,t){return e.eatSpace()?null:(e.match(u),t.tokenize.pop(),"def")}function tokenQuote(e,t,n){return function(r,o){for(var a=!1;r.peek();)if(a)r.next(),a=!1;else{if(r.match("{%",!1))return o.tokenize.push(tokenMacro("%","%")),t;if(r.match("{{",!1))return o.tokenize.push(tokenMacro("{","}")),t;if(n&&r.match("#{",!1))return o.tokenize.push(tokenNest("#{","}","meta")),t;var u=r.next();if(u==e)return o.tokenize.pop(),t;a=n&&"\\"==u}return t}}var t=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,n=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,r=/^(?:\[\][?=]?)/,o=/^(?:\.(?:\.{2})?|->|[?:])/,a=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,u=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,i=wordRegExp(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),c=wordRegExp(["true","false","nil","self"]),s=wordRegExp(["def","fun","macro","class","module","struct","lib","enum","union","do","for"]),l=wordRegExp(["if","unless","case","while","until","begin","then"]),f=["end","else","elsif","rescue","ensure"],k=wordRegExp(f),h=["\\)","\\}","\\]"],m=new RegExp("^(?:"+h.join("|")+")$"),p={def:tokenFollowIdent,fun:tokenFollowIdent,macro:function tokenMacroDef(e,t){if(e.eatSpace())return null;var n;if(n=e.match(a)){if("def"==n)return"keyword";e.eat(/[?!]/)}return t.tokenize.pop(),"def"},class:tokenFollowType,module:tokenFollowType,struct:tokenFollowType,lib:tokenFollowType,enum:tokenFollowType,union:tokenFollowType},d={"[":"]","{":"}","(":")","<":">"};return{startState:function(){return{tokenize:[tokenBase],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(e,t){var n=t.tokenize[t.tokenize.length-1](e,t),r=e.current();return n&&"comment"!=n&&(t.lastToken=r,t.lastStyle=n),n},indent:function(t,n){return n=n.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),k.test(n)||m.test(n)?e.indentUnit*(t.currentIndent-1):e.indentUnit*t.currentIndent},fold:"indent",electricInput:wordRegExp(h.concat(f),!0),lineComment:"#"}}),e.defineMIME("text/x-crystal","crystal")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/110.ad82b946.js b/build/codemirror/mode/110.494e9203.js similarity index 97% rename from build/codemirror/mode/110.ad82b946.js rename to build/codemirror/mode/110.494e9203.js index c7be0ef..063bd43 100644 --- a/build/codemirror/mode/110.ad82b946.js +++ b/build/codemirror/mode/110.494e9203.js @@ -1 +1 @@ -webpackJsonp([37],{1033:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("velocity",function(){function parseWords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function chain(e,t,n){return t.tokenize=n,n(e,t)}function tokenBase(a,i){var o=i.beforeParams;i.beforeParams=!1;var s=a.next();if("'"==s&&!i.inString&&i.inParams)return i.lastTokenWasBuiltin=!1,chain(a,i,tokenString(s));if('"'!=s){if(/[\[\]{}\(\),;\.]/.test(s))return"("==s&&o?i.inParams=!0:")"==s&&(i.inParams=!1,i.lastTokenWasBuiltin=!0),null;if(/\d/.test(s))return i.lastTokenWasBuiltin=!1,a.eatWhile(/[\w\.]/),"number";if("#"==s&&a.eat("*"))return i.lastTokenWasBuiltin=!1,chain(a,i,tokenComment);if("#"==s&&a.match(/ *\[ *\[/))return i.lastTokenWasBuiltin=!1,chain(a,i,tokenUnparsed);if("#"==s&&a.eat("#"))return i.lastTokenWasBuiltin=!1,a.skipToEnd(),"comment";if("$"==s)return a.eatWhile(/[\w\d\$_\.{}]/),n&&n.propertyIsEnumerable(a.current())?"keyword":(i.lastTokenWasBuiltin=!0,i.beforeParams=!0,"builtin");if(r.test(s))return i.lastTokenWasBuiltin=!1,a.eatWhile(r),"operator";a.eatWhile(/[\w\$_{}@]/);var l=a.current();return e&&e.propertyIsEnumerable(l)?"keyword":t&&t.propertyIsEnumerable(l)||a.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==a.peek()&&(!t||!t.propertyIsEnumerable(l.toLowerCase()))?(i.beforeParams=!0,i.lastTokenWasBuiltin=!1,"keyword"):i.inString?(i.lastTokenWasBuiltin=!1,"string"):a.pos>l.length&&"."==a.string.charAt(a.pos-l.length-1)&&i.lastTokenWasBuiltin?"builtin":(i.lastTokenWasBuiltin=!1,null)}return i.lastTokenWasBuiltin=!1,i.inString?(i.inString=!1,"string"):i.inParams?chain(a,i,tokenString(s)):void 0}function tokenString(e){return function(t,n){for(var r,a=!1,i=!1;null!=(r=t.next());){if(r==e&&!a){i=!0;break}if('"'==e&&"$"==t.peek()&&!a){n.inString=!0,i=!0;break}a=!a&&"\\"==r}return i&&(n.tokenize=tokenBase),"string"}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function tokenUnparsed(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=tokenBase;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}var e=parseWords("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),t=parseWords("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),n=parseWords("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),r=/[+\-*&%=<>!?:\/|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),e.defineMIME("text/velocity","velocity")})}}); \ No newline at end of file +webpackJsonp([36],{1032:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("velocity",function(){function parseWords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function chain(e,t,n){return t.tokenize=n,n(e,t)}function tokenBase(a,i){var o=i.beforeParams;i.beforeParams=!1;var s=a.next();if("'"==s&&!i.inString&&i.inParams)return i.lastTokenWasBuiltin=!1,chain(a,i,tokenString(s));if('"'!=s){if(/[\[\]{}\(\),;\.]/.test(s))return"("==s&&o?i.inParams=!0:")"==s&&(i.inParams=!1,i.lastTokenWasBuiltin=!0),null;if(/\d/.test(s))return i.lastTokenWasBuiltin=!1,a.eatWhile(/[\w\.]/),"number";if("#"==s&&a.eat("*"))return i.lastTokenWasBuiltin=!1,chain(a,i,tokenComment);if("#"==s&&a.match(/ *\[ *\[/))return i.lastTokenWasBuiltin=!1,chain(a,i,tokenUnparsed);if("#"==s&&a.eat("#"))return i.lastTokenWasBuiltin=!1,a.skipToEnd(),"comment";if("$"==s)return a.eatWhile(/[\w\d\$_\.{}]/),n&&n.propertyIsEnumerable(a.current())?"keyword":(i.lastTokenWasBuiltin=!0,i.beforeParams=!0,"builtin");if(r.test(s))return i.lastTokenWasBuiltin=!1,a.eatWhile(r),"operator";a.eatWhile(/[\w\$_{}@]/);var l=a.current();return e&&e.propertyIsEnumerable(l)?"keyword":t&&t.propertyIsEnumerable(l)||a.current().match(/^#@?[a-z0-9_]+ *$/i)&&"("==a.peek()&&(!t||!t.propertyIsEnumerable(l.toLowerCase()))?(i.beforeParams=!0,i.lastTokenWasBuiltin=!1,"keyword"):i.inString?(i.lastTokenWasBuiltin=!1,"string"):a.pos>l.length&&"."==a.string.charAt(a.pos-l.length-1)&&i.lastTokenWasBuiltin?"builtin":(i.lastTokenWasBuiltin=!1,null)}return i.lastTokenWasBuiltin=!1,i.inString?(i.inString=!1,"string"):i.inParams?chain(a,i,tokenString(s)):void 0}function tokenString(e){return function(t,n){for(var r,a=!1,i=!1;null!=(r=t.next());){if(r==e&&!a){i=!0;break}if('"'==e&&"$"==t.peek()&&!a){n.inString=!0,i=!0;break}a=!a&&"\\"==r}return i&&(n.tokenize=tokenBase),"string"}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("#"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function tokenUnparsed(e,t){for(var n,r=0;n=e.next();){if("#"==n&&2==r){t.tokenize=tokenBase;break}"]"==n?r++:" "!=n&&(r=0)}return"meta"}var e=parseWords("#end #else #break #stop #[[ #]] #{end} #{else} #{break} #{stop}"),t=parseWords("#if #elseif #foreach #set #include #parse #macro #define #evaluate #{if} #{elseif} #{foreach} #{set} #{include} #{parse} #{macro} #{define} #{evaluate}"),n=parseWords("$foreach.count $foreach.hasNext $foreach.first $foreach.last $foreach.topmost $foreach.parent.count $foreach.parent.hasNext $foreach.parent.first $foreach.parent.last $foreach.parent $velocityCount $!bodyContent $bodyContent"),r=/[+\-*&%=<>!?:\/|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),e.defineMIME("text/velocity","velocity")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/111.ed91cbab.js b/build/codemirror/mode/111.b57b96f5.js similarity index 99% rename from build/codemirror/mode/111.ed91cbab.js rename to build/codemirror/mode/111.b57b96f5.js index 9878341..d674be4 100644 --- a/build/codemirror/mode/111.ed91cbab.js +++ b/build/codemirror/mode/111.b57b96f5.js @@ -1 +1 @@ -webpackJsonp([36],{1034:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function tlvScopeStyle(e,t,n){var r=t/i;return"tlv-"+e.tlvIndentationStyle[r]+"-"+n}e.defineMode("verilog",function(t,n){function words(e){for(var t={},n=e.split(" "),i=0;i<n.length;++i)t[n[i]]=!0;return t}function tokenBase(e,t){var n,o=e.peek();if(d[o]&&0!=(n=d[o](e,t)))return n;if(d.tokenBase&&0!=(n=d.tokenBase(e,t)))return n;if(/[,;:\.]/.test(o))return i=e.next(),null;if(p.test(o))return i=e.next(),"bracket";if("`"==o)return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if("$"==o)return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if("#"==o)return e.next(),e.eatWhile(/[\d_.]/),"def";if('"'==o)return e.next(),t.tokenize=function tokenString(e){return function(t,n){for(var i,r=!1,o=!1;null!=(i=t.next());){if(i==e&&!r){o=!0;break}r=!r&&"\\"==i}return(o||!r&&!c)&&(n.tokenize=tokenBase),"string"}}(o),t.tokenize(e,t);if("/"==o){if(e.next(),e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(y)||e.match(v)||e.match(g)||e.match(h)||e.match(k)||e.match(m)||e.match(y))return"number";if(e.eatWhile(f))return"meta";if(e.eatWhile(/[\w\$_]/)){var a=e.current();return u[a]?(_[a]&&(i="newblock"),I[a]&&(i="newstatement"),r=a,"keyword"):"variable"}return e.next(),null}function tokenComment(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=tokenBase;break}i="*"==n}return"comment"}function Context(e,t,n,i,r){this.indented=e,this.column=t,this.type=n,this.align=i,this.prev=r}function pushContext(e,t,n){var i=new Context(e.indented,t,n,null,e.context);return e.context=i}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function isClosing(e,t){if(e==t)return!0;var n=t.split(";");for(var i in n)if(e==n[i])return!0;return!1}var i,r,o=t.indentUnit,a=n.statementIndentUnit||o,l=n.dontAlignCalls,s=n.noIndentKeywords||[],c=n.multiLineStrings,d=n.hooks||{},u=words("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),f=/[\+\-\*\/!~&|^%=?:]/,p=/[\[\]{}()]/,m=/\d[0-9_]*/,v=/\d*\s*'s?d\s*\d[0-9_]*/i,g=/\d*\s*'s?b\s*[xz01][xz01_]*/i,h=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,k=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,y=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,x=/^((\w+)|[)}\]])/,b=/[)}\]]/,w=words("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),_={};for(var C in w)_[C]="end"+C;_.begin="end",_.casex="endcase",_.casez="endcase",_.do="while",_.fork="join;join_any;join_none",_.covergroup="endgroup";for(var S in s){_[C=s[S]]&&(_[C]=void 0)}var I=words("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");return{electricInput:function buildElectricInputRegEx(){var e=[];for(var t in _)if(_[t]){var n=_[t].split(";");for(var i in n)e.push(n[i])}return new RegExp("[{}()\\[\\]]|("+e.join("|")+")$")}(),startState:function(e){var t={tokenize:null,context:new Context((e||0)-o,0,"top",!1),indented:0,startOfLine:!0};return d.startState&&d.startState(t),t},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),d.token){if(void 0!==(o=d.token(e,t)))return o}if(e.eatSpace())return null;i=null,r=null;var o;if("comment"==(o=(t.tokenize||tokenBase)(e,t))||"meta"==o||"variable"==o)return o;if(null==n.align&&(n.align=!0),i==n.type)popContext(t);else if(";"==i&&"statement"==n.type||n.type&&isClosing(r,n.type))for(n=popContext(t);n&&"statement"==n.type;)n=popContext(t);else if("{"==i)pushContext(t,e.column(),"}");else if("["==i)pushContext(t,e.column(),"]");else if("("==i)pushContext(t,e.column(),")");else if(n&&"endcase"==n.type&&":"==i)pushContext(t,e.column(),"statement");else if("newstatement"==i)pushContext(t,e.column(),"statement");else if("newblock"==i)if("function"!=r||!n||"statement"!=n.type&&"endgroup"!=n.type)if("task"==r&&n&&"statement"==n.type);else{var a=_[r];pushContext(t,e.column(),a)}else;return t.startOfLine=!1,o},indent:function(t,n){if(t.tokenize!=tokenBase&&null!=t.tokenize)return e.Pass;if(d.indent){var i=d.indent(t);if(i>=0)return i}var r=t.context,s=n&&n.charAt(0);"statement"==r.type&&"}"==s&&(r=r.prev);var c=!1,u=n.match(x);return u&&(c=isClosing(u[0],r.type)),"statement"==r.type?r.indented+("{"==s?0:a):b.test(r.type)&&r.align&&!l?r.column+(c?0:1):")"!=r.type||c?r.indented+(c?0:o):r.indented+a},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-verilog",{name:"verilog"}),e.defineMIME("text/x-systemverilog",{name:"verilog"});var t={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},n={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},i=3,r=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,o=/^[! ] /,a=/^[! ] */,l=/^\/[\/\*]/;e.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(e,s){var c=void 0;if(e.sol()&&!s.tlvInBlockComment){"\\"==e.peek()&&(c="def",e.skipToEnd(),e.string.match(/\\SV/)?s.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(s.tlvCodeActive=!0)),s.tlvCodeActive&&0==e.pos&&0==s.indented&&(h=e.match(a,!1))&&(s.indented=h[0].length);var d=s.indented,u=d/i;if(u<=s.tlvIndentationStyle.length){var f=e.string.length==d,p=u*i;if(p<e.string.length){var m=e.string.slice(p),v=m[0];n[v]&&(h=m.match(r))&&t[h[1]]&&(d+=i,"\\"==v&&p>0||(s.tlvIndentationStyle[u]=n[v],u++))}if(!f)for(;s.tlvIndentationStyle.length>u;)s.tlvIndentationStyle.pop()}s.tlvNextIndent=d}if(s.tlvCodeActive){var g=!1;0;var h;if(void 0!==c)c+=" "+tlvScopeStyle(s,0,"scope-ident");else if(e.pos/i<s.tlvIndentationStyle.length&&(h=e.match(e.sol()?o:/^ /)))c="tlv-indent-"+(e.pos%2==0?"even":"odd")+" "+tlvScopeStyle(s,e.pos-i,"indent"),"!"==h[0].charAt(0)&&(c+=" tlv-alert-line-prefix"),function tlvIdentNext(e){var t;return(t=e.match(r,!1))&&t[2].length>0}(e)&&(c+=" "+tlvScopeStyle(s,e.pos,"before-scope-ident"));else if(s.tlvInBlockComment)e.match(/^.*?\*\//)?s.tlvInBlockComment=!1:e.skipToEnd(),c="comment";else if((h=e.match(l))&&!s.tlvInBlockComment)"//"==h[0]?e.skipToEnd():s.tlvInBlockComment=!0,c="comment";else if(h=e.match(r)){var k=h[1],y=h[2];t.hasOwnProperty(k)&&(y.length>0||e.eol())?(c=t[k],e.column()==s.indented&&(c+=" "+tlvScopeStyle(s,e.column(),"scope-ident"))):(e.backUp(e.current().length-1),c="tlv-default")}else e.match(/^\t+/)?c="tlv-tab":e.match(/^[\[\]{}\(\);\:]+/)?c="meta":(h=e.match(/^[mM]4([\+_])?[\w\d_]*/))?c="+"==h[1]?"tlv-m4-plus":"tlv-m4":e.match(/^ +/)?c=e.eol()?"error":"tlv-default":e.match(/^[\w\d_]+/)?c="number":(e.next(),c="tlv-default");g&&(c+=" tlv-statement")}else e.match(/^[mM]4([\w\d_]*)/)&&(c="tlv-m4");return c},indent:function(e){return 1==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1}}})})}}); \ No newline at end of file +webpackJsonp([35],{1033:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function tlvScopeStyle(e,t,n){var r=t/i;return"tlv-"+e.tlvIndentationStyle[r]+"-"+n}e.defineMode("verilog",function(t,n){function words(e){for(var t={},n=e.split(" "),i=0;i<n.length;++i)t[n[i]]=!0;return t}function tokenBase(e,t){var n,o=e.peek();if(d[o]&&0!=(n=d[o](e,t)))return n;if(d.tokenBase&&0!=(n=d.tokenBase(e,t)))return n;if(/[,;:\.]/.test(o))return i=e.next(),null;if(p.test(o))return i=e.next(),"bracket";if("`"==o)return e.next(),e.eatWhile(/[\w\$_]/)?"def":null;if("$"==o)return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if("#"==o)return e.next(),e.eatWhile(/[\d_.]/),"def";if('"'==o)return e.next(),t.tokenize=function tokenString(e){return function(t,n){for(var i,r=!1,o=!1;null!=(i=t.next());){if(i==e&&!r){o=!0;break}r=!r&&"\\"==i}return(o||!r&&!c)&&(n.tokenize=tokenBase),"string"}}(o),t.tokenize(e,t);if("/"==o){if(e.next(),e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(y)||e.match(v)||e.match(g)||e.match(h)||e.match(k)||e.match(m)||e.match(y))return"number";if(e.eatWhile(f))return"meta";if(e.eatWhile(/[\w\$_]/)){var a=e.current();return u[a]?(_[a]&&(i="newblock"),I[a]&&(i="newstatement"),r=a,"keyword"):"variable"}return e.next(),null}function tokenComment(e,t){for(var n,i=!1;n=e.next();){if("/"==n&&i){t.tokenize=tokenBase;break}i="*"==n}return"comment"}function Context(e,t,n,i,r){this.indented=e,this.column=t,this.type=n,this.align=i,this.prev=r}function pushContext(e,t,n){var i=new Context(e.indented,t,n,null,e.context);return e.context=i}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function isClosing(e,t){if(e==t)return!0;var n=t.split(";");for(var i in n)if(e==n[i])return!0;return!1}var i,r,o=t.indentUnit,a=n.statementIndentUnit||o,l=n.dontAlignCalls,s=n.noIndentKeywords||[],c=n.multiLineStrings,d=n.hooks||{},u=words("accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 null or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor"),f=/[\+\-\*\/!~&|^%=?:]/,p=/[\[\]{}()]/,m=/\d[0-9_]*/,v=/\d*\s*'s?d\s*\d[0-9_]*/i,g=/\d*\s*'s?b\s*[xz01][xz01_]*/i,h=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,k=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,y=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,x=/^((\w+)|[)}\]])/,b=/[)}\]]/,w=words("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),_={};for(var C in w)_[C]="end"+C;_.begin="end",_.casex="endcase",_.casez="endcase",_.do="while",_.fork="join;join_any;join_none",_.covergroup="endgroup";for(var S in s){_[C=s[S]]&&(_[C]=void 0)}var I=words("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while");return{electricInput:function buildElectricInputRegEx(){var e=[];for(var t in _)if(_[t]){var n=_[t].split(";");for(var i in n)e.push(n[i])}return new RegExp("[{}()\\[\\]]|("+e.join("|")+")$")}(),startState:function(e){var t={tokenize:null,context:new Context((e||0)-o,0,"top",!1),indented:0,startOfLine:!0};return d.startState&&d.startState(t),t},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),d.token){if(void 0!==(o=d.token(e,t)))return o}if(e.eatSpace())return null;i=null,r=null;var o;if("comment"==(o=(t.tokenize||tokenBase)(e,t))||"meta"==o||"variable"==o)return o;if(null==n.align&&(n.align=!0),i==n.type)popContext(t);else if(";"==i&&"statement"==n.type||n.type&&isClosing(r,n.type))for(n=popContext(t);n&&"statement"==n.type;)n=popContext(t);else if("{"==i)pushContext(t,e.column(),"}");else if("["==i)pushContext(t,e.column(),"]");else if("("==i)pushContext(t,e.column(),")");else if(n&&"endcase"==n.type&&":"==i)pushContext(t,e.column(),"statement");else if("newstatement"==i)pushContext(t,e.column(),"statement");else if("newblock"==i)if("function"!=r||!n||"statement"!=n.type&&"endgroup"!=n.type)if("task"==r&&n&&"statement"==n.type);else{var a=_[r];pushContext(t,e.column(),a)}else;return t.startOfLine=!1,o},indent:function(t,n){if(t.tokenize!=tokenBase&&null!=t.tokenize)return e.Pass;if(d.indent){var i=d.indent(t);if(i>=0)return i}var r=t.context,s=n&&n.charAt(0);"statement"==r.type&&"}"==s&&(r=r.prev);var c=!1,u=n.match(x);return u&&(c=isClosing(u[0],r.type)),"statement"==r.type?r.indented+("{"==s?0:a):b.test(r.type)&&r.align&&!l?r.column+(c?0:1):")"!=r.type||c?r.indented+(c?0:o):r.indented+a},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-verilog",{name:"verilog"}),e.defineMIME("text/x-systemverilog",{name:"verilog"});var t={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},n={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},i=3,r=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,o=/^[! ] /,a=/^[! ] */,l=/^\/[\/\*]/;e.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(e,s){var c=void 0;if(e.sol()&&!s.tlvInBlockComment){"\\"==e.peek()&&(c="def",e.skipToEnd(),e.string.match(/\\SV/)?s.tlvCodeActive=!1:e.string.match(/\\TLV/)&&(s.tlvCodeActive=!0)),s.tlvCodeActive&&0==e.pos&&0==s.indented&&(h=e.match(a,!1))&&(s.indented=h[0].length);var d=s.indented,u=d/i;if(u<=s.tlvIndentationStyle.length){var f=e.string.length==d,p=u*i;if(p<e.string.length){var m=e.string.slice(p),v=m[0];n[v]&&(h=m.match(r))&&t[h[1]]&&(d+=i,"\\"==v&&p>0||(s.tlvIndentationStyle[u]=n[v],u++))}if(!f)for(;s.tlvIndentationStyle.length>u;)s.tlvIndentationStyle.pop()}s.tlvNextIndent=d}if(s.tlvCodeActive){var g=!1;0;var h;if(void 0!==c)c+=" "+tlvScopeStyle(s,0,"scope-ident");else if(e.pos/i<s.tlvIndentationStyle.length&&(h=e.match(e.sol()?o:/^ /)))c="tlv-indent-"+(e.pos%2==0?"even":"odd")+" "+tlvScopeStyle(s,e.pos-i,"indent"),"!"==h[0].charAt(0)&&(c+=" tlv-alert-line-prefix"),function tlvIdentNext(e){var t;return(t=e.match(r,!1))&&t[2].length>0}(e)&&(c+=" "+tlvScopeStyle(s,e.pos,"before-scope-ident"));else if(s.tlvInBlockComment)e.match(/^.*?\*\//)?s.tlvInBlockComment=!1:e.skipToEnd(),c="comment";else if((h=e.match(l))&&!s.tlvInBlockComment)"//"==h[0]?e.skipToEnd():s.tlvInBlockComment=!0,c="comment";else if(h=e.match(r)){var k=h[1],y=h[2];t.hasOwnProperty(k)&&(y.length>0||e.eol())?(c=t[k],e.column()==s.indented&&(c+=" "+tlvScopeStyle(s,e.column(),"scope-ident"))):(e.backUp(e.current().length-1),c="tlv-default")}else e.match(/^\t+/)?c="tlv-tab":e.match(/^[\[\]{}\(\);\:]+/)?c="meta":(h=e.match(/^[mM]4([\+_])?[\w\d_]*/))?c="+"==h[1]?"tlv-m4-plus":"tlv-m4":e.match(/^ +/)?c=e.eol()?"error":"tlv-default":e.match(/^[\w\d_]+/)?c="number":(e.next(),c="tlv-default");g&&(c+=" tlv-statement")}else e.match(/^[mM]4([\w\d_]*)/)&&(c="tlv-m4");return c},indent:function(e){return 1==e.tlvCodeActive?e.tlvNextIndent:-1},startState:function(e){e.tlvIndentationStyle=[],e.tlvCodeActive=!0,e.tlvNextIndent=-1,e.tlvInBlockComment=!1}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/112.b6fbf1a3.js b/build/codemirror/mode/112.5ec6f653.js similarity index 98% rename from build/codemirror/mode/112.b6fbf1a3.js rename to build/codemirror/mode/112.5ec6f653.js index 67bdfb6..179e470 100644 --- a/build/codemirror/mode/112.b6fbf1a3.js +++ b/build/codemirror/mode/112.5ec6f653.js @@ -1 +1 @@ -webpackJsonp([35],{1035:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var o=n[r].toUpperCase(),i=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[o]=!0,t[i]=!0}return t}function metaHook(e){return e.eatWhile(/[\w\$_]/),"meta"}e.defineMode("vhdl",function(e,t){function tokenBase(e,t){var r=e.next();if(i[r]){var c=i[r](e,t);if(!1!==c)return c}if('"'==r)return t.tokenize=function tokenString2(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"--"==r}return(i||!o&&!a)&&(n.tokenize=tokenBase),"string-2"}}(r),t.tokenize(e,t);if("'"==r)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"--"==r}return(i||!o&&!a)&&(n.tokenize=tokenBase),"string"}}(r),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return n=r,null;if(/[\d']/.test(r))return e.eatWhile(/[\w\.']/),"number";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(l.test(r))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_]/);var p=e.current();return s.propertyIsEnumerable(p.toLowerCase())?(u.propertyIsEnumerable(p)&&(n="newstatement"),"keyword"):o.propertyIsEnumerable(p)?"atom":"variable"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var n,r=e.indentUnit,o=t.atoms||words("null"),i=t.hooks||{"`":metaHook,$:metaHook},a=t.multiLineStrings,s=words("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),u=words("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),l=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var o=(t.tokenize||tokenBase)(e,t);if("comment"==o||"meta"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(t);for("}"==r.type&&(r=popContext(t));"statement"==r.type;)r=popContext(t)}else n==r.type?popContext(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,o},indent:function(e,t){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var n=t&&t.charAt(0),o=e.context,i=n==o.type;return"statement"==o.type?o.indented+("{"==n?0:r):o.align?o.column+(i?0:1):o.indented+(i?0:r)},electricChars:"{}"}}),e.defineMIME("text/x-vhdl","vhdl")})}}); \ No newline at end of file +webpackJsonp([34],{1034:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(","),r=0;r<n.length;++r){var o=n[r].toUpperCase(),i=n[r].charAt(0).toUpperCase()+n[r].slice(1);t[n[r]]=!0,t[o]=!0,t[i]=!0}return t}function metaHook(e){return e.eatWhile(/[\w\$_]/),"meta"}e.defineMode("vhdl",function(e,t){function tokenBase(e,t){var r=e.next();if(i[r]){var c=i[r](e,t);if(!1!==c)return c}if('"'==r)return t.tokenize=function tokenString2(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"--"==r}return(i||!o&&!a)&&(n.tokenize=tokenBase),"string-2"}}(r),t.tokenize(e,t);if("'"==r)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"--"==r}return(i||!o&&!a)&&(n.tokenize=tokenBase),"string"}}(r),t.tokenize(e,t);if(/[\[\]{}\(\),;\:\.]/.test(r))return n=r,null;if(/[\d']/.test(r))return e.eatWhile(/[\w\.']/),"number";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(l.test(r))return e.eatWhile(l),"operator";e.eatWhile(/[\w\$_]/);var p=e.current();return s.propertyIsEnumerable(p.toLowerCase())?(u.propertyIsEnumerable(p)&&(n="newstatement"),"keyword"):o.propertyIsEnumerable(p)?"atom":"variable"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var n,r=e.indentUnit,o=t.atoms||words("null"),i=t.hooks||{"`":metaHook,$:metaHook},a=t.multiLineStrings,s=words("abs,access,after,alias,all,and,architecture,array,assert,attribute,begin,block,body,buffer,bus,case,component,configuration,constant,disconnect,downto,else,elsif,end,end block,end case,end component,end for,end generate,end if,end loop,end process,end record,end units,entity,exit,file,for,function,generate,generic,generic map,group,guarded,if,impure,in,inertial,inout,is,label,library,linkage,literal,loop,map,mod,nand,new,next,nor,null,of,on,open,or,others,out,package,package body,port,port map,postponed,procedure,process,pure,range,record,register,reject,rem,report,return,rol,ror,select,severity,signal,sla,sll,sra,srl,subtype,then,to,transport,type,unaffected,units,until,use,variable,wait,when,while,with,xnor,xor"),u=words("architecture,entity,begin,case,port,else,elsif,end,for,function,if"),l=/[&|~><!\)\(*#%@+\/=?\:;}{,\.\^\-\[\]]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var o=(t.tokenize||tokenBase)(e,t);if("comment"==o||"meta"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(t);for("}"==r.type&&(r=popContext(t));"statement"==r.type;)r=popContext(t)}else n==r.type?popContext(t):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,o},indent:function(e,t){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var n=t&&t.charAt(0),o=e.context,i=n==o.type;return"statement"==o.type?o.indented+("{"==n?0:r):o.align?o.column+(i?0:1):o.indented+(i?0:r)},electricChars:"{}"}}),e.defineMIME("text/x-vhdl","vhdl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/113.9848ee76.js b/build/codemirror/mode/113.9848ee76.js deleted file mode 100644 index 335575c..0000000 --- a/build/codemirror/mode/113.9848ee76.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([3,11,12,16,22,33,50,89,111,114],{1036:function(e,t,n){!function(e){"use strict";e(n(907),n(913),n(909),n(908),n(922),n(910),n(928),n(930),n(926),n(923))}(function(e){var t={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,n){return e.overlayMode(e.getMode(t,n.backdrop||"text/html"),{token:function(e){if(e.match(/^\{\{.*?\}\}/))return"meta mustache";for(;e.next()&&!e.match("{{",!1););return null}})}),e.defineMode("vue",function(n){return e.getMode(n,{name:"htmlmixed",tags:t})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})},908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(m))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(d.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(p.test(n)){e.eatWhile(p);var r=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(r)){var o=u[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,i=n-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=b}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var n=function(){var n=g.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,g.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var n=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var r=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(r):"function"==e?cont(functiondef,r):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,r):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,r):"{"==e?contCommasep(objprop,"}",null,r):"quasi"==e?pass(quasi,r):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(g.marked="keyword",cont(typeexpr,r)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&g.state.fatArrowAt==g.stream.start&&(n=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)g.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,i=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,p=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:n,namespace:n,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},b={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?i||a:0):"switch"!=l.info||m||0==n.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,n){return"endTag"!=e?(p="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return p="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return p="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,i={},s=o.htmlMode?t:n;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(p=null,t.state=t.state(c||n,e,t),p&&(n="error"==p?n+" error":p)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function ret(e,t){return o=t,e}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(!1===r?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return v[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();a=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var r=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},c=n.mediaTypes||{},p=n.mediaFeatures||{},u=n.mediaValueKeywords||{},d=n.propertyKeywords||{},m=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},h=n.counterDescriptors||{},g=n.colorKeywords||{},b=n.valueKeywords||{},x=n.allowNested,k=n.lineComment,y=!0===n.supportsAtComponent,v={};return v.top=function(e,t,n){if("{"==e)return pushContext(n,t,"block");if("}"==e&&n.context.prev)return popContext(n);if(y&&/@component/.test(e))return pushContext(n,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(n,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(n,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(n,t,"parens")}return n.context.type},v.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(a="property","maybeprop"):m.hasOwnProperty(r)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?v.top(e,t,n):(a="error","block")},v.maybeprop=function(e,t,n){return":"==e?pushContext(n,t,"prop"):pass(e,t,n)},v.prop=function(e,t,n){if(";"==e)return popContext(n);if("{"==e&&x)return pushContext(n,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,n);if("("==e)return pushContext(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(n,t,"interpolation")}else a+=" error";return"prop"},v.propBlock=function(e,t,n){return"}"==e?popContext(n):"word"==e?(a="property","maybeprop"):n.context.type},v.parens=function(e,t,n){return"{"==e||"}"==e?popAndPass(e,t,n):")"==e?popContext(n):"("==e?pushContext(n,t,"parens"):"interpolation"==e?pushContext(n,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},v.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):pass(e,t,n)},v.documentTypes=function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):v.atBlock(e,t,n)},v.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,n);if("{"==e)return popContext(n)&&pushContext(n,t,x?"block":"top");if("interpolation"==e)return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();a="only"==r||"not"==r||"and"==r||"or"==r?"keyword":c.hasOwnProperty(r)?"attribute":p.hasOwnProperty(r)?"property":u.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":m.hasOwnProperty(r)?"string-2":b.hasOwnProperty(r)?"atom":g.hasOwnProperty(r)?"keyword":"error"}return n.context.type},v.atComponentBlock=function(e,t,n){return"}"==e?popAndPass(e,t,n):"{"==e?popContext(n)&&pushContext(n,t,x?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},v.atBlock_parens=function(e,t,n){return")"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n,2):v.atBlock(e,t,n)},v.restricted_atBlock_before=function(e,t,n){return"{"==e?pushContext(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,n)},v.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,popContext(n)):"word"==e?(a="@font-face"==n.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},v.keyframes=function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(n,t,"top"):pass(e,t,n)},v.at=function(e,t,n){return";"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},v.interpolation=function(e,t,n){return"}"==e?popContext(n):"{"==e||";"==e?popAndPass(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new Context(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function tokenBase(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?ret(null,"compare"):'"'==n||"'"==n?(t.tokenize=tokenString(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==n?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?ret(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?ret(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),a=n,"comment"!=o&&(t.state=v[t.state](o,e,t)),a},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-i)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:k,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],n=keySet(t),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(r),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(b),k=t.concat(r).concat(a).concat(s).concat(c).concat(u).concat(h).concat(b);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,n){!function(e){e(n(907),n(909),n(908),n(910))}(function(e){"use strict";function getAttrValue(e,t){var r=e.match(function getAttrRegexp(e){var t=n[e];return t||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),o=e[n],a=o.length-1;a>=0;a--)r.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};e.defineMode("htmlmixed",function(n,r){function html(t,r){var i,s=o.token(t,r.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))r.inTag=i+" ";else if(r.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}(a[c[1]],c[2]),u=e.getMode(n,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);r.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}(e,m,t.localMode.token(e,t.localState))},r.localMode=u,r.localState=e.startState(u,o.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return s}var o=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),a={},i=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?o.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var i=o.local.endToken||null;return o.local=o.localState=null,i}var s;i=o.local.mode.token(r,o.localState);return o.local.endScan&&(s=o.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),i}for(var l=t[o.state],c=0;c<l.length;c++){var p=l[c],u=(!p.data.sol||r.sol())&&r.match(p.regex);if(u){p.data.next?o.state=p.data.next:p.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=p.data.push):p.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),p.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var i=n.persistentStates;i&&!a;i=i.next)(r.spec?cmp(r.spec,i.spec):r.mode==i.mode)&&(a=i);var s=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(s);r.persistent&&!a&&(n.persistentStates={mode:s,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:s,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,p.data.mode,p.token),p.data.indent&&o.indent.push(r.indentation()+n.indentUnit),p.data.dedent&&o.indent.pop();var d=p.token;if(d&&d.apply&&(d=d(u)),u.length>2&&p.token&&"string"!=typeof p.token){o.pending=[];for(var m=2;m<u.length;m++)u[m]&&o.pending.push({text:u[m],token:p.token[m-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),d[0]}return d&&d.join?d[0]:d}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var i in n)if(i!=o&&n.hasOwnProperty(i))for(var s=r[i]=[],l=n[i],c=0;c<l.length;c++){var p=l[c];s.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(p,n)),(p.indent||p.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var i=r.indent.length-1,s=t[r.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var p=c.regex.exec(o);if(p&&p[0]){i--,(c.next||c.push)&&(s=t[c.next||c.push]),o=o.slice(p[0].length);continue e}}}break}return i<0?0:r.indent[i]}}(r,o)};if(o)for(var d in o)o.hasOwnProperty(d)&&(u[d]=o[d]);return u}})},913:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=n.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||r&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,n){return t.indent(e.base,n)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,a;return t.blankLine&&(o=t.blankLine(e.base)),n.blankLine&&(a=n.blankLine(e.overlay)),null==a?o:r&&null!=o?o+" "+a:a}}}})},914:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,n,r){if("string"==typeof t){var o=e.indexOf(t,n);return r&&o>-1?o+t.length:o}var a=t.exec(n?e.slice(n):e);return a?a.index+n+(r?a[0].length:0):-1}var n=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,o){if(o.innerActive){var a=o.innerActive;l=r.string;if(!a.close&&r.sol())return o.innerActive=o.inner=null,this.token(r,o);if((p=a.close?indexOf(l,a.close,r.pos,a.parseDelimiters):-1)==r.pos&&!a.parseDelimiters)return r.match(a.close),o.innerActive=o.inner=null,a.delimStyle&&a.delimStyle+" "+a.delimStyle+"-close";p>-1&&(r.string=l.slice(0,p));var i=a.mode.token(r,o.inner);return p>-1&&(r.string=l),p==r.pos&&a.parseDelimiters&&(o.innerActive=o.inner=null),a.innerStyle&&(i=i?i+" "+a.innerStyle:a.innerStyle),i}for(var s=1/0,l=r.string,c=0;c<n.length;++c){var p,u=n[c];if((p=indexOf(l,u.open,r.pos))==r.pos)return u.parseDelimiters||r.match(u.open),o.innerActive=u,o.inner=e.startState(u.mode,t.indent?t.indent(o.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=p&&p<s&&(s=p)}s!=1/0&&(r.string=l.slice(0,s));var d=t.token(r,o.outer);return s!=1/0&&(r.string=l),d},indent:function(n,r){var o=n.innerActive?n.innerActive.mode:t;return o.indent?o.indent(n.innerActive?n.inner:n.outer,r):e.Pass},blankLine:function(r){var o=r.innerActive?r.innerActive.mode:t;if(o.blankLine&&o.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)"\n"===r.innerActive.close&&(r.innerActive=r.inner=null);else for(var a=0;a<n.length;++a){var i=n[a];"\n"===i.open&&(r.innerActive=i,r.inner=e.startState(i.mode,o.indent?o.indent(r.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},922:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("coffeescript",function(e,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var l=t.scope.offset;if(e.eatSpace()){var m=e.indentation();return m>l&&"coffee"==t.scope.type?"indent":m<l?"dedent":null}l>0&&dedent(e,t)}if(e.eatSpace())return null;var f=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=longComment,t.tokenize(e,t);if("#"===f)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(p))return t.tokenize=tokenFactory(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(u)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=tokenFactory(e.current(),!0,"string-2"),t.tokenize(e,t);e.backUp(1)}return e.match(r)||e.match(s)?"operator":e.match(o)?"punctuation":e.match(d)?"atom":e.match(i)||t.prop&&e.match(a)?"property":e.match(c)?"keyword":e.match(a)?"variable":(e.next(),n)}function tokenFactory(e,r,o){return function(a,i){for(;!a.eol();)if(a.eatWhile(/[^'"\/\\]/),a.eat("\\")){if(a.next(),r&&a.eol())return o}else{if(a.match(e))return i.tokenize=tokenBase,o;a.eat(/['"\/]/)}return r&&(t.singleLineStringErrors?o=n:i.tokenize=tokenBase),o}}function longComment(e,t){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=tokenBase;break}e.eatWhile("#")}return"comment"}function indent(t,n,r){r=r||"coffee";for(var o=0,a=!1,i=null,s=n.scope;s;s=s.prev)if("coffee"===s.type||"}"==s.type){o=s.offset+e.indentUnit;break}"coffee"!==r?(a=null,i=t.column()+t.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:o,type:r,prev:n.scope,align:a,alignOffset:i}}function dedent(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),r=!1,o=t.scope;o;o=o.prev)if(n===o.offset){r=!0;break}if(!r)return!0;for(;t.scope.prev&&t.scope.offset!==n;)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}var n="error",r=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,o=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,a=/^[_A-Za-z$][_A-Za-z$0-9]*/,i=/^@[_A-Za-z$][_A-Za-z$0-9]*/,s=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),l=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],c=wordRegexp(l.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));l=wordRegexp(l);var p=/^('{3}|\"{3}|['\"])/,u=/^(\/{3}|\/)/,d=wordRegexp(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);return{startState:function(e){return{tokenize:tokenBase,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var r=null===t.scope.align&&t.scope;r&&e.sol()&&(r.align=!1);var o=function tokenLexer(e,t){var r=t.tokenize(e,t),o=e.current();"return"===o&&(t.dedent=!0),(("->"===o||"=>"===o)&&e.eol()||"indent"===r)&&indent(e,t);var a="[({".indexOf(o);if(-1!==a&&indent(e,t,"])}".slice(a,a+1)),l.exec(o)&&indent(e,t),"then"==o&&dedent(e,t),"dedent"===r&&dedent(e,t))return n;if(-1!==(a="])}".indexOf(o))){for(;"coffee"==t.scope.type&&t.scope.prev;)t.scope=t.scope.prev;t.scope.type==o&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),r}(e,t);return o&&"comment"!=o&&(r&&(r.align=!0),t.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,t){if(e.tokenize!=tokenBase)return 0;var n=e.scope,r=t&&"])}".indexOf(t.charAt(0))>-1;if(r)for(;"coffee"==n.type&&n.prev;)n=n.prev;var o=r&&n.type===t.charAt(0);return n.align?n.alignOffset-(o?1:0):(o?n.prev:n).offset},lineComment:"#",fold:"indent"}}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})},923:function(e,t,n){!function(e){e(n(907),n(912),n(914))}(function(e){"use strict";e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}]}),e.defineMode("handlebars",function(t,n){var r=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-handlebars-template","handlebars")})},926:function(e,t,n){!function(e){e(n(907),n(908),n(910),n(911))}(function(e){"use strict";e.defineMode("pug",function(t){function State(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=e.startState(s),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}function interpolation(e,t){if(e.match("#{"))return t.isInterpolating=!0,t.interpolationNesting=0,"punctuation"}function filter(n,r){if(n.match(/^:([\w\-]+)/)){var o;return t&&t.innerModes&&(o=t.innerModes(n.current().substring(1))),o||(o=n.current().substring(1)),"string"==typeof o&&(o=e.getMode(t,o)),setInnerMode(n,r,o),"atom"}}function attrsContinued(t,n){if(n.isAttrs){if(i[t.peek()]&&n.attrsNest.push(i[t.peek()]),n.attrsNest[n.attrsNest.length-1]===t.peek())n.attrsNest.pop();else if(t.eat(")"))return n.isAttrs=!1,"punctuation";if(n.inAttributeName&&t.match(/^[^=,\)!]+/))return"="!==t.peek()&&"!"!==t.peek()||(n.inAttributeName=!1,n.jsState=e.startState(s),"script"===n.lastTag&&"type"===t.current().trim().toLowerCase()?n.attributeIsType=!0:n.attributeIsType=!1),"attribute";var r=s.token(t,n.jsState);if(n.attributeIsType&&"string"===r&&(n.scriptType=t.current().toString()),0===n.attrsNest.length&&("string"===r||"variable"===r||"keyword"===r))try{return Function("","var x "+n.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),n.inAttributeName=!0,n.attrValue="",t.backUp(t.current().length),attrsContinued(t,n)}catch(e){}return n.attrValue+=t.current(),r||!0}}function setInnerMode(n,r,o){o=e.mimeModes[o]||o,o=t.innerModes?t.innerModes(o)||o:o,o=e.mimeModes[o]||o,o=e.getMode(t,o),r.indentOf=n.indentation(),o&&"null"!==o.name?r.innerMode=o:r.indentToken="string"}function innerMode(t,n,r){if(t.indentation()>n.indentOf||n.innerModeForLine&&!t.sol()||r)return n.innerMode?(n.innerState||(n.innerState=n.innerMode.startState?e.startState(n.innerMode,t.indentation()):{}),t.hideFirstChars(n.indentOf+2,function(){return n.innerMode.token(t,n.innerState)||!0})):(t.skipToEnd(),n.indentToken);t.sol()&&(n.indentOf=1/0,n.indentToken=null,n.innerMode=null,n.innerState=null)}var n="keyword",r="meta",o="builtin",a="qualifier",i={"{":"}","(":")","[":"]"},s=e.getMode(t,"javascript");return State.prototype.copy=function(){var t=new State;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:function startState(){return new State},copyState:function copyState(e){return e.copy()},token:function nextToken(e,t){var i=innerMode(e,t)||function restOfLine(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var n=t.restOfLine;return t.restOfLine="",n}}(e,t)||function interpolationContinued(e,t){if(t.isInterpolating){if("}"===e.peek()){if(t.interpolationNesting--,t.interpolationNesting<0)return e.next(),t.isInterpolating=!1,"punctuation"}else"{"===e.peek()&&t.interpolationNesting++;return s.token(e,t.jsState)||!0}}(e,t)||function includeFilteredContinued(e,t){if(t.isIncludeFiltered){var n=filter(e,t);return t.isIncludeFiltered=!1,t.restOfLine="string",n}}(e,t)||function eachContinued(e,t){if(t.isEach){if(e.match(/^ in\b/))return t.javaScriptLine=!0,t.isEach=!1,n;if(e.sol()||e.eol())t.isEach=!1;else if(e.next()){for(;!e.match(/^ in\b/,!1)&&e.next(););return"variable"}}}(e,t)||attrsContinued(e,t)||function javaScript(e,t){if(e.sol()&&(t.javaScriptLine=!1,t.javaScriptLineExcludesColon=!1),t.javaScriptLine){if(t.javaScriptLineExcludesColon&&":"===e.peek())return t.javaScriptLine=!1,void(t.javaScriptLineExcludesColon=!1);var n=s.token(e,t.jsState);return e.eol()&&(t.javaScriptLine=!1),n||!0}}(e,t)||function javaScriptArguments(e,t){if(t.javaScriptArguments)return 0===t.javaScriptArgumentsDepth&&"("!==e.peek()?void(t.javaScriptArguments=!1):("("===e.peek()?t.javaScriptArgumentsDepth++:")"===e.peek()&&t.javaScriptArgumentsDepth--,0===t.javaScriptArgumentsDepth?void(t.javaScriptArguments=!1):s.token(e,t.jsState)||!0)}(e,t)||function callArguments(e,t){if(t.mixinCallAfter)return t.mixinCallAfter=!1,e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),!0}(e,t)||function yieldStatement(e){if(e.match(/^yield\b/))return"keyword"}(e)||function doctype(e){if(e.match(/^(?:doctype) *([^\n]+)?/))return r}(e)||interpolation(e,t)||function caseStatement(e,t){if(e.match(/^case\b/))return t.javaScriptLine=!0,n}(e,t)||function when(e,t){if(e.match(/^when\b/))return t.javaScriptLine=!0,t.javaScriptLineExcludesColon=!0,n}(e,t)||function defaultStatement(e){if(e.match(/^default\b/))return n}(e)||function extendsStatement(e,t){if(e.match(/^extends?\b/))return t.restOfLine="string",n}(e,t)||function append(e,t){if(e.match(/^append\b/))return t.restOfLine="variable",n}(e,t)||function prepend(e,t){if(e.match(/^prepend\b/))return t.restOfLine="variable",n}(e,t)||function block(e,t){if(e.match(/^block\b *(?:(prepend|append)\b)?/))return t.restOfLine="variable",n}(e,t)||function include(e,t){if(e.match(/^include\b/))return t.restOfLine="string",n}(e,t)||function includeFiltered(e,t){if(e.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&e.match("include"))return t.isIncludeFiltered=!0,n}(e,t)||function mixin(e,t){if(e.match(/^mixin\b/))return t.javaScriptLine=!0,n}(e,t)||function call(e,t){return e.match(/^\+([-\w]+)/)?(e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),"variable"):e.match(/^\+#{/,!1)?(e.next(),t.mixinCallAfter=!0,interpolation(e,t)):void 0}(e,t)||function conditional(e,t){if(e.match(/^(if|unless|else if|else)\b/))return t.javaScriptLine=!0,n}(e,t)||function each(e,t){if(e.match(/^(- *)?(each|for)\b/))return t.isEach=!0,n}(e,t)||function whileStatement(e,t){if(e.match(/^while\b/))return t.javaScriptLine=!0,n}(e,t)||function tag(e,t){var n;if(n=e.match(/^(\w(?:[-:\w]*\w)?)\/?/))return t.lastTag=n[1].toLowerCase(),"script"===t.lastTag&&(t.scriptType="application/javascript"),"tag"}(e,t)||filter(e,t)||function code(e,t){if(e.match(/^(!?=|-)/))return t.javaScriptLine=!0,"punctuation"}(e,t)||function id(e){if(e.match(/^#([\w-]+)/))return o}(e)||function className(e){if(e.match(/^\.([\w-]+)/))return a}(e)||function attrs(e,t){if("("==e.peek())return e.next(),t.isAttrs=!0,t.attrsNest=[],t.inAttributeName=!0,t.attrValue="",t.attributeIsType=!1,"punctuation"}(e,t)||function attributesBlock(e,t){if(e.match(/^&attributes\b/))return t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0,"keyword"}(e,t)||function indent(e){if(e.sol()&&e.eatSpace())return"indent"}(e)||function text(e,t){return e.match(/^(?:\| ?| )([^\n]+)/)?"string":e.match(/^(<[^\n]*)/,!1)?(setInnerMode(e,t,"htmlmixed"),t.innerModeForLine=!0,innerMode(e,t,!0)):void 0}(e,t)||function comment(e,t){if(e.match(/^ *\/\/(-)?([^\n]*)/))return t.indentOf=e.indentation(),t.indentToken="comment","comment"}(e,t)||function colon(e){if(e.match(/^: */))return"colon"}(e)||function dot(e,t){if(e.eat(".")){var n=null;return"script"===t.lastTag&&-1!=t.scriptType.toLowerCase().indexOf("javascript")?n=t.scriptType.toLowerCase().replace(/"|'/g,""):"style"===t.lastTag&&(n="css"),setInnerMode(e,t,n),"dot"}}(e,t)||function fail(e){return e.next(),null}(e);return!0===i?null:i}}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})},928:function(e,t,n){!function(e){e(n(907),n(910))}(function(e){"use strict";e.defineMode("sass",function(t){function isEndLine(e){return!e.peek()||e.match(/\s+$/,!1)}function urlTokens(e,t){var n=e.peek();return")"===n?(e.next(),t.tokenizer=tokenBase,"operator"):"("===n?(e.next(),e.eatSpace(),"operator"):"'"===n||'"'===n?(t.tokenizer=buildStringTokenizer(e.next()),"string"):(t.tokenizer=buildStringTokenizer(")",!1),"string")}function comment(e,t){return function(n,r){return n.sol()&&n.indentation()<=e?(r.tokenizer=tokenBase,tokenBase(n,r)):(t&&n.skipTo("*/")?(n.next(),n.next(),r.tokenizer=tokenBase):n.skipToEnd(),"comment")}}function buildStringTokenizer(e,t){function stringTokenizer(n,r){var o=n.next(),a=n.peek(),i=n.string.charAt(n.pos-2);return"\\"!==o&&a===e||o===e&&"\\"!==i?(o!==e&&t&&n.next(),isEndLine(n)&&(r.cursorHalf=0),r.tokenizer=tokenBase,"string"):"#"===o&&"{"===a?(r.tokenizer=buildInterpolationTokenizer(stringTokenizer),n.next(),"operator"):"string"}return null==t&&(t=!0),stringTokenizer}function buildInterpolationTokenizer(e){return function(t,n){return"}"===t.peek()?(t.next(),n.tokenizer=e,"operator"):tokenBase(t,n)}}function indent(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:n})}}function dedent(e){1!=e.scopes.length&&e.scopes.shift()}function tokenBase(e,t){var r=e.peek();if(e.match("/*"))return t.tokenizer=comment(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=comment(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=buildInterpolationTokenizer(tokenBase),"operator";if('"'===r||"'"===r)return e.next(),t.tokenizer=buildStringTokenizer(r),"string";if(t.cursorHalf){if("#"===r&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return isEndLine(e)&&(t.cursorHalf=0),"unit";if(e.match(l))return isEndLine(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,isEndLine(e)&&(t.cursorHalf=0),"atom";if("$"===r)return e.next(),e.eatWhile(/[\w-]/),isEndLine(e)&&(t.cursorHalf=0),"variable-2";if("!"===r)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(c))return isEndLine(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return isEndLine(e)&&(t.cursorHalf=0),n=e.current().toLowerCase(),i.hasOwnProperty(n)?"atom":a.hasOwnProperty(n)?"keyword":o.hasOwnProperty(n)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(isEndLine(e))return t.cursorHalf=0,null}else{if("-"===r&&e.match(/^-\w+-/))return"meta";if("."===r){if(e.next(),e.match(/^[\w-]+/))return indent(t),"qualifier";if("#"===e.peek())return indent(t),"tag"}if("#"===r){if(e.next(),e.match(/^[\w-]+/))return indent(t),"builtin";if("#"===e.peek())return indent(t),"tag"}if("$"===r)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(l))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,"atom";if("="===r&&e.match(/^=[\w-]+/))return indent(t),"meta";if("+"===r&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===r&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||dedent(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return indent(t),"def";if("@"===r)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){n=e.current().toLowerCase();var u=t.prevProp+"-"+n;return o.hasOwnProperty(u)?"property":o.hasOwnProperty(n)?(t.prevProp=n,"property"):s.hasOwnProperty(n)?"property":"tag"}return e.match(/ *:/,!1)?(indent(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(indent(t),"tag")}if(":"===r)return e.match(p)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(c)?"operator":(e.next(),null)}var n,r=e.mimeModes["text/css"],o=r.propertyKeywords||{},a=r.colorKeywords||{},i=r.valueKeywords||{},s=r.fontProperties||{},l=new RegExp("^"+["true","false","null","auto"].join("|")),c=function tokenRegexp(e){return new RegExp("^"+e.join("|"))}(["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"]),p=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:tokenBase,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,n){var r=function tokenLexer(e,n){e.sol()&&(n.indentCount=0);var r=n.tokenizer(e,n),o=e.current();if("@return"!==o&&"}"!==o||dedent(n),null!==r){for(var a=e.pos-o.length+t.indentUnit*n.indentCount,i=[],s=0;s<n.scopes.length;s++){var l=n.scopes[s];l.offset<=a&&i.push(l)}n.scopes=i}return r}(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")})},930:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}e.defineMode("stylus",function(e){function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),["string","string"]}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),[null,"("]}function Context(e,t,n,r){this.type=e,this.indent=t,this.prev=n,this.line=r||{firstWord:"",indent:0}}function pushContext(e,t,n,r){return r=r>=0?r:b,e.context=new Context(n,t.indentation()+r,e.context),n}function popContext(e,t){var n=e.context.indent-b;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=n),e.context.type}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return function pass(e,t,n){return B[n.context.type](e,t,n)}(e,t,n)}function wordIsTag(e){return e.toLowerCase()in k}function wordIsProperty(e){return(e=e.toLowerCase())in v||e in M}function wordIsBlock(e){return e.toLowerCase()in P}function wordIsVendorPrefix(e){return e.toLowerCase().match(O)}function wordAsValue(e){var t=e.toLowerCase(),n="variable-2";return wordIsTag(e)?n="tag":wordIsBlock(e)?n="block-keyword":wordIsProperty(e)?n="property":t in S||t in E?n="atom":"return"==t||t in C?n="keyword":e.match(/^[A-Z]/)&&(n="string"),n}function typeIsBlock(e,t){return endOfLine(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function typeIsInterpolation(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function typeIsPseudo(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function startOfLine(e){return e.sol()||e.string.match(new RegExp("^\\s*"+function escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e.current())))}function endOfLine(e){return e.eol()||e.match(/^\s*$/,!1)}function firstWordOfLine(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,n="string"==typeof e?e.match(t):e.string.match(t);return n?n[0].replace(/^\s*/,""):""}for(var m,f,h,g,b=e.indentUnit,x="",k=keySet(t),y=/^(a|b|i|s|col|em)$/i,v=keySet(a),w=keySet(i),S=keySet(c),C=keySet(l),z=keySet(n),A=wordRegexp(n),T=keySet(o),j=keySet(r),M=keySet(s),L=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,I=wordRegexp(p),P=keySet(u),O=new RegExp(/^\-(moz|ms|o|webkit)-/i),E=keySet(d),N="",B={};x.length<b;)x+=" ";return B.block=function(e,t,n){if("comment"==e&&startOfLine(t)||","==e&&endOfLine(t)||"mixin"==e)return pushContext(n,t,"block",0);if(typeIsInterpolation(e,t))return pushContext(n,t,"interpolation");if(endOfLine(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!wordIsTag(firstWordOfLine(t)))return pushContext(n,t,"block",0);if(typeIsBlock(e,t))return pushContext(n,t,"block");if("}"==e&&endOfLine(t))return pushContext(n,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||wordIsBlock(firstWordOfLine(t))?pushContext(n,t,"variableName"):pushContext(n,t,"variableName",0);if("="==e)return endOfLine(t)||wordIsBlock(firstWordOfLine(t))?pushContext(n,t,"block"):pushContext(n,t,"block",0);if("*"==e&&(endOfLine(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return g="tag",pushContext(n,t,"block");if(typeIsPseudo(e,t))return pushContext(n,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return pushContext(n,t,endOfLine(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return pushContext(n,t,"keyframes");if(/@extends?/.test(e))return pushContext(n,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&wordIsProperty(t.current().slice(1))?(g="variable-2","block"):/(@import|@require|@charset)/.test(e)?pushContext(n,t,"block",0):pushContext(n,t,"block");if("reference"==e&&endOfLine(t))return pushContext(n,t,"block");if("("==e)return pushContext(n,t,"parens");if("vendor-prefixes"==e)return pushContext(n,t,"vendorPrefixes");if("word"==e){var r=t.current();if("property"==(g=wordAsValue(r)))return startOfLine(t)?pushContext(n,t,"block",0):(g="atom","block");if("tag"==g){if(/embed|menu|pre|progress|sub|table/.test(r)&&wordIsProperty(firstWordOfLine(t)))return g="atom","block";if(t.string.match(new RegExp("\\[\\s*"+r+"|"+r+"\\s*\\]")))return g="atom","block";if(y.test(r)&&(startOfLine(t)&&t.string.match(/=/)||!startOfLine(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!wordIsTag(firstWordOfLine(t))))return g="variable-2",wordIsBlock(firstWordOfLine(t))?"block":pushContext(n,t,"block",0);if(endOfLine(t))return pushContext(n,t,"block")}if("block-keyword"==g)return g="keyword",t.current(/(if|unless)/)&&!startOfLine(t)?"block":pushContext(n,t,"block");if("return"==r)return pushContext(n,t,"block",0);if("variable-2"==g&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(n,t,"block")}return n.context.type},B.parens=function(e,t,n){if("("==e)return pushContext(n,t,"parens");if(")"==e)return"parens"==n.context.prev.type?popContext(n):t.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(t)||wordIsBlock(firstWordOfLine(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(t))?pushContext(n,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?pushContext(n,t,"block",0):endOfLine(t)?pushContext(n,t,"block"):pushContext(n,t,"block",0);if(e&&"@"==e.charAt(0)&&wordIsProperty(t.current().slice(1))&&(g="variable-2"),"word"==e){var r=t.current();"tag"==(g=wordAsValue(r))&&y.test(r)&&(g="variable-2"),"property"!=g&&"to"!=r||(g="atom")}return"variable-name"==e?pushContext(n,t,"variableName"):typeIsPseudo(e,t)?pushContext(n,t,"pseudo"):n.context.type},B.vendorPrefixes=function(e,t,n){return"word"==e?(g="property",pushContext(n,t,"block",0)):popContext(n)},B.pseudo=function(e,t,n){return wordIsProperty(firstWordOfLine(t.string))?popAndPass(e,t,n):(t.match(/^[a-z-]+/),g="variable-3",endOfLine(t)?pushContext(n,t,"block"):popContext(n))},B.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if(typeIsBlock(e,t))return pushContext(n,t,"block");if(typeIsInterpolation(e,t))return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();if("tag"==(g=/^(only|not|and|or)$/.test(r)?"keyword":z.hasOwnProperty(r)?"tag":j.hasOwnProperty(r)?"attribute":T.hasOwnProperty(r)?"property":w.hasOwnProperty(r)?"string-2":wordAsValue(t.current()))&&endOfLine(t))return pushContext(n,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(g="keyword"),n.context.type},B.atBlock_parens=function(e,t,n){if("{"==e||"}"==e)return n.context.type;if(")"==e)return endOfLine(t)?pushContext(n,t,"block"):pushContext(n,t,"atBlock");if("word"==e){var r=t.current().toLowerCase();return g=wordAsValue(r),/^(max|min)/.test(r)&&(g="property"),"tag"==g&&(g=y.test(r)?"variable-2":"atom"),n.context.type}return B.atBlock(e,t,n)},B.keyframes=function(e,t,n){return"0"==t.indentation()&&("}"==e&&startOfLine(t)||"]"==e||"hash"==e||"qualifier"==e||wordIsTag(t.current()))?popAndPass(e,t,n):"{"==e?pushContext(n,t,"keyframes"):"}"==e?startOfLine(t)?popContext(n,!0):pushContext(n,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?pushContext(n,t,"keyframes"):"word"==e&&"block-keyword"==(g=wordAsValue(t.current()))?(g="keyword",pushContext(n,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?pushContext(n,t,endOfLine(t)?"block":"atBlock"):"mixin"==e?pushContext(n,t,"block",0):n.context.type},B.interpolation=function(e,t,n){return"{"==e&&popContext(n)&&pushContext(n,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(t))?pushContext(n,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?pushContext(n,t,"block",0):pushContext(n,t,"block"):"variable-name"==e?pushContext(n,t,"variableName",0):("word"==e&&"tag"==(g=wordAsValue(t.current()))&&(g="atom"),n.context.type)},B.extend=function(e,t,n){return"["==e||"="==e?"extend":"]"==e?popContext(n):"word"==e?(g=wordAsValue(t.current()),"extend"):popContext(n)},B.variableName=function(e,t,n){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(g="variable-2"),"variableName"):popAndPass(e,t,n)},{startState:function(e){return{tokenize:null,state:"block",context:new Context("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((f=(t.tokenize||function tokenBase(e,t){if(N=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=N?N[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),m=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=tokenCComment,tokenCComment(e,t);if('"'==m||"'"==m)return e.next(),t.tokenize=tokenString(m),t.tokenize(e,t);if("@"==m)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==m){if(e.next(),e.match(/^[0-9a-f]{6}|[0-9a-f]{3}/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(O)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==m?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==m&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(A)?("("==e.peek()&&(t.tokenize=tokenParenthesized),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match(I)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(L)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(m)?(e.next(),[null,m]):(e.next(),[null,null])})(e,t))&&"object"==typeof f&&(h=f[1],f=f[0]),g=f,t.state=B[t.state](h,e,t),g)},indent:function(e,t,n){var r=e.context,o=t&&t.charAt(0),a=r.indent,i=firstWordOfLine(t),s=n.match(/^\s*/)[0].replace(/\t/g,x).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return r.prev&&("}"==o&&("block"==r.type||"atBlock"==r.type||"keyframes"==r.type)||")"==o&&("parens"==r.type||"atBlock_parens"==r.type)||"{"==o&&"at"==r.type)?a=r.indent-b:/(\})/.test(o)||(/@|\$|\d/.test(o)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||wordIsBlock(i)?a=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(o)||wordIsTag(i)?a=/\,\s*$/.test(l)?c:/^\s+/.test(n)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||wordIsTag(l))?s<=c?c:c+b:s:/,\s*$/.test(n)||!wordIsVendorPrefix(i)&&!wordIsProperty(i)||(a=wordIsBlock(l)?s<=c?c:c+b:/^\{/.test(l)?s<=c?s:c+b:wordIsVendorPrefix(l)||wordIsProperty(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||wordIsTag(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+b:s)),a},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],n=["domain","regexp","url","url-prefix"],r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],a=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],i=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],p=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],u=["for","if","else","unless","from","to"],d=["null","true","false","href","title","type","not-allowed","readonly","disabled"],m=t.concat(n,r,o,a,i,l,c,s,p,u,d,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);e.registerHelper("hintWords","stylus",m),e.defineMIME("text/x-styl","stylus")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/113.e88b1ce9.js b/build/codemirror/mode/113.e88b1ce9.js new file mode 100644 index 0000000..ca86313 --- /dev/null +++ b/build/codemirror/mode/113.e88b1ce9.js @@ -0,0 +1 @@ +webpackJsonp([3,11,12,16,21,32,49,88,110,113],{1035:function(e,t,n){!function(e){"use strict";e(n(907),n(913),n(909),n(908),n(919),n(910),n(926),n(928),n(924),n(920))}(function(e){var t={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,n){return e.overlayMode(e.getMode(t,n.backdrop||"text/html"),{token:function(e){if(e.match(/^\{\{.*?\}\}/))return"meta mustache";for(;e.next()&&!e.match("{{",!1););return null}})}),e.defineMode("vue",function(n){return e.getMode(n,{name:"htmlmixed",tags:t})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})},908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(m))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(d.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(p.test(n)){e.eatWhile(p);var r=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(r)){var o=u[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,i=n-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=b}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var n=function(){var n=g.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,g.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(g.state.fatArrowAt==g.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=n?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(g.marked="keyword",cont(typeexpr,r)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&g.state.fatArrowAt==g.stream.start&&(n=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)g.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,i=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,p=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},b={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?i||a:0):"switch"!=l.info||m||0==n.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,n)):(p="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,n)):(p="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(p="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return p="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return p="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,i={},s=o.htmlMode?t:n;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(p=null,t.state=t.state(c||n,e,t),p&&(n="error"==p?n+" error":p)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function ret(e,t){return o=t,e}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(!1===r?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return v[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();a=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var r=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},c=n.mediaTypes||{},p=n.mediaFeatures||{},u=n.mediaValueKeywords||{},d=n.propertyKeywords||{},m=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},h=n.counterDescriptors||{},g=n.colorKeywords||{},b=n.valueKeywords||{},x=n.allowNested,k=n.lineComment,y=!0===n.supportsAtComponent,v={};return v.top=function(e,t,n){if("{"==e)return pushContext(n,t,"block");if("}"==e&&n.context.prev)return popContext(n);if(y&&/@component/i.test(e))return pushContext(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(n,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(n,t,"parens")}return n.context.type},v.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(a="property","maybeprop"):m.hasOwnProperty(r)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?v.top(e,t,n):(a="error","block")},v.maybeprop=function(e,t,n){return":"==e?pushContext(n,t,"prop"):pass(e,t,n)},v.prop=function(e,t,n){if(";"==e)return popContext(n);if("{"==e&&x)return pushContext(n,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,n);if("("==e)return pushContext(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(n,t,"interpolation")}else a+=" error";return"prop"},v.propBlock=function(e,t,n){return"}"==e?popContext(n):"word"==e?(a="property","maybeprop"):n.context.type},v.parens=function(e,t,n){return"{"==e||"}"==e?popAndPass(e,t,n):")"==e?popContext(n):"("==e?pushContext(n,t,"parens"):"interpolation"==e?pushContext(n,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},v.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):pass(e,t,n)},v.documentTypes=function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):v.atBlock(e,t,n)},v.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,n);if("{"==e)return popContext(n)&&pushContext(n,t,x?"block":"top");if("interpolation"==e)return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();a="only"==r||"not"==r||"and"==r||"or"==r?"keyword":c.hasOwnProperty(r)?"attribute":p.hasOwnProperty(r)?"property":u.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":m.hasOwnProperty(r)?"string-2":b.hasOwnProperty(r)?"atom":g.hasOwnProperty(r)?"keyword":"error"}return n.context.type},v.atComponentBlock=function(e,t,n){return"}"==e?popAndPass(e,t,n):"{"==e?popContext(n)&&pushContext(n,t,x?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},v.atBlock_parens=function(e,t,n){return")"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n,2):v.atBlock(e,t,n)},v.restricted_atBlock_before=function(e,t,n){return"{"==e?pushContext(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,n)},v.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,popContext(n)):"word"==e?(a="@font-face"==n.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},v.keyframes=function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(n,t,"top"):pass(e,t,n)},v.at=function(e,t,n){return";"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},v.interpolation=function(e,t,n){return"}"==e?popContext(n):"{"==e||";"==e?popAndPass(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new Context(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function tokenBase(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?ret(null,"compare"):'"'==n||"'"==n?(t.tokenize=tokenString(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==n?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?ret(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?ret(null,n):("u"==n||"U"==n)&&e.match(/rl(-prefix)?\(/i)||("d"==n||"D"==n)&&e.match("omain(",!0,!0)||("r"==n||"R"==n)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),a=n,"comment"!=o&&(t.state=v[t.state](o,e,t)),a},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-i)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:k,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],n=keySet(t),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(r),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(b),k=t.concat(r).concat(a).concat(s).concat(c).concat(u).concat(h).concat(b);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,n){!function(e){e(n(907),n(909),n(908),n(910))}(function(e){"use strict";function getAttrValue(e,t){var r=e.match(function getAttrRegexp(e){var t=n[e];return t||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),o=e[n],a=o.length-1;a>=0;a--)r.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};e.defineMode("htmlmixed",function(n,r){function html(t,r){var i,s=o.token(t,r.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))r.inTag=i+" ";else if(r.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}(a[c[1]],c[2]),u=e.getMode(n,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);r.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}(e,m,t.localMode.token(e,t.localState))},r.localMode=u,r.localState=e.startState(u,o.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return s}var o=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),a={},i=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?o.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var i=o.local.endToken||null;return o.local=o.localState=null,i}var s;i=o.local.mode.token(r,o.localState);return o.local.endScan&&(s=o.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),i}for(var l=t[o.state],c=0;c<l.length;c++){var p=l[c],u=(!p.data.sol||r.sol())&&r.match(p.regex);if(u){p.data.next?o.state=p.data.next:p.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=p.data.push):p.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),p.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var i=n.persistentStates;i&&!a;i=i.next)(r.spec?cmp(r.spec,i.spec):r.mode==i.mode)&&(a=i);var s=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(s);r.persistent&&!a&&(n.persistentStates={mode:s,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:s,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,p.data.mode,p.token),p.data.indent&&o.indent.push(r.indentation()+n.indentUnit),p.data.dedent&&o.indent.pop();var d=p.token;if(d&&d.apply&&(d=d(u)),u.length>2&&p.token&&"string"!=typeof p.token){o.pending=[];for(var m=2;m<u.length;m++)u[m]&&o.pending.push({text:u[m],token:p.token[m-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),d[0]}return d&&d.join?d[0]:d}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var i in n)if(i!=o&&n.hasOwnProperty(i))for(var s=r[i]=[],l=n[i],c=0;c<l.length;c++){var p=l[c];s.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(p,n)),(p.indent||p.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var i=r.indent.length-1,s=t[r.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var p=c.regex.exec(o);if(p&&p[0]){i--,(c.next||c.push)&&(s=t[c.next||c.push]),o=o.slice(p[0].length);continue e}}}break}return i<0?0:r.indent[i]}}(r,o)};if(o)for(var d in o)o.hasOwnProperty(d)&&(u[d]=o[d]);return u}})},913:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.overlayMode=function(t,n,r){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(r){return{base:e.copyState(t,r.base),overlay:e.copyState(n,r.overlay),basePos:r.basePos,baseCur:null,overlayPos:r.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=n.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||r&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,n){return t.indent(e.base,n)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,a;return t.blankLine&&(o=t.blankLine(e.base)),n.blankLine&&(a=n.blankLine(e.overlay)),null==a?o:r&&null!=o?o+" "+a:a}}}})},914:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,n,r){if("string"==typeof t){var o=e.indexOf(t,n);return r&&o>-1?o+t.length:o}var a=t.exec(n?e.slice(n):e);return a?a.index+n+(r?a[0].length:0):-1}var n=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,o){if(o.innerActive){var a=o.innerActive;l=r.string;if(!a.close&&r.sol())return o.innerActive=o.inner=null,this.token(r,o);if((p=a.close?indexOf(l,a.close,r.pos,a.parseDelimiters):-1)==r.pos&&!a.parseDelimiters)return r.match(a.close),o.innerActive=o.inner=null,a.delimStyle&&a.delimStyle+" "+a.delimStyle+"-close";p>-1&&(r.string=l.slice(0,p));var i=a.mode.token(r,o.inner);return p>-1&&(r.string=l),p==r.pos&&a.parseDelimiters&&(o.innerActive=o.inner=null),a.innerStyle&&(i=i?i+" "+a.innerStyle:a.innerStyle),i}for(var s=1/0,l=r.string,c=0;c<n.length;++c){var p,u=n[c];if((p=indexOf(l,u.open,r.pos))==r.pos)return u.parseDelimiters||r.match(u.open),o.innerActive=u,o.inner=e.startState(u.mode,t.indent?t.indent(o.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=p&&p<s&&(s=p)}s!=1/0&&(r.string=l.slice(0,s));var d=t.token(r,o.outer);return s!=1/0&&(r.string=l),d},indent:function(n,r){var o=n.innerActive?n.innerActive.mode:t;return o.indent?o.indent(n.innerActive?n.inner:n.outer,r):e.Pass},blankLine:function(r){var o=r.innerActive?r.innerActive.mode:t;if(o.blankLine&&o.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)"\n"===r.innerActive.close&&(r.innerActive=r.inner=null);else for(var a=0;a<n.length;++a){var i=n[a];"\n"===i.open&&(r.innerActive=i,r.inner=e.startState(i.mode,o.indent?o.indent(r.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},919:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("coffeescript",function(e,t){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,t){if(e.sol()){null===t.scope.align&&(t.scope.align=!1);var l=t.scope.offset;if(e.eatSpace()){var m=e.indentation();return m>l&&"coffee"==t.scope.type?"indent":m<l?"dedent":null}l>0&&dedent(e,t)}if(e.eatSpace())return null;var f=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return t.tokenize=longComment,t.tokenize(e,t);if("#"===f)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var g=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(g=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(g=!0),e.match(/^-?0(?![\dx])/i)&&(g=!0),g)return"number"}if(e.match(p))return t.tokenize=tokenFactory(e.current(),!1,"string"),t.tokenize(e,t);if(e.match(u)){if("/"!=e.current()||e.match(/^.*\//,!1))return t.tokenize=tokenFactory(e.current(),!0,"string-2"),t.tokenize(e,t);e.backUp(1)}return e.match(r)||e.match(s)?"operator":e.match(o)?"punctuation":e.match(d)?"atom":e.match(i)||t.prop&&e.match(a)?"property":e.match(c)?"keyword":e.match(a)?"variable":(e.next(),n)}function tokenFactory(e,r,o){return function(a,i){for(;!a.eol();)if(a.eatWhile(/[^'"\/\\]/),a.eat("\\")){if(a.next(),r&&a.eol())return o}else{if(a.match(e))return i.tokenize=tokenBase,o;a.eat(/['"\/]/)}return r&&(t.singleLineStringErrors?o=n:i.tokenize=tokenBase),o}}function longComment(e,t){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){t.tokenize=tokenBase;break}e.eatWhile("#")}return"comment"}function indent(t,n,r){r=r||"coffee";for(var o=0,a=!1,i=null,s=n.scope;s;s=s.prev)if("coffee"===s.type||"}"==s.type){o=s.offset+e.indentUnit;break}"coffee"!==r?(a=null,i=t.column()+t.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:o,type:r,prev:n.scope,align:a,alignOffset:i}}function dedent(e,t){if(t.scope.prev){if("coffee"===t.scope.type){for(var n=e.indentation(),r=!1,o=t.scope;o;o=o.prev)if(n===o.offset){r=!0;break}if(!r)return!0;for(;t.scope.prev&&t.scope.offset!==n;)t.scope=t.scope.prev;return!1}return t.scope=t.scope.prev,!1}}var n="error",r=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,o=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,a=/^[_A-Za-z$][_A-Za-z$0-9]*/,i=/^@[_A-Za-z$][_A-Za-z$0-9]*/,s=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),l=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],c=wordRegexp(l.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));l=wordRegexp(l);var p=/^('{3}|\"{3}|['\"])/,u=/^(\/{3}|\/)/,d=wordRegexp(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);return{startState:function(e){return{tokenize:tokenBase,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,t){var r=null===t.scope.align&&t.scope;r&&e.sol()&&(r.align=!1);var o=function tokenLexer(e,t){var r=t.tokenize(e,t),o=e.current();"return"===o&&(t.dedent=!0),(("->"===o||"=>"===o)&&e.eol()||"indent"===r)&&indent(e,t);var a="[({".indexOf(o);if(-1!==a&&indent(e,t,"])}".slice(a,a+1)),l.exec(o)&&indent(e,t),"then"==o&&dedent(e,t),"dedent"===r&&dedent(e,t))return n;if(-1!==(a="])}".indexOf(o))){for(;"coffee"==t.scope.type&&t.scope.prev;)t.scope=t.scope.prev;t.scope.type==o&&(t.scope=t.scope.prev)}return t.dedent&&e.eol()&&("coffee"==t.scope.type&&t.scope.prev&&(t.scope=t.scope.prev),t.dedent=!1),r}(e,t);return o&&"comment"!=o&&(r&&(r.align=!0),t.prop="punctuation"==o&&"."==e.current()),o},indent:function(e,t){if(e.tokenize!=tokenBase)return 0;var n=e.scope,r=t&&"])}".indexOf(t.charAt(0))>-1;if(r)for(;"coffee"==n.type&&n.prev;)n=n.prev;var o=r&&n.type===t.charAt(0);return n.align?n.alignOffset-(o?1:0):(o?n.prev:n).offset},lineComment:"#",fold:"indent"}}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})},920:function(e,t,n){!function(e){e(n(907),n(912),n(914))}(function(e){"use strict";e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}]}),e.defineMode("handlebars",function(t,n){var r=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-handlebars-template","handlebars")})},924:function(e,t,n){!function(e){e(n(907),n(908),n(910),n(911))}(function(e){"use strict";e.defineMode("pug",function(t){function State(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=e.startState(s),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}function interpolation(e,t){if(e.match("#{"))return t.isInterpolating=!0,t.interpolationNesting=0,"punctuation"}function filter(n,r){if(n.match(/^:([\w\-]+)/)){var o;return t&&t.innerModes&&(o=t.innerModes(n.current().substring(1))),o||(o=n.current().substring(1)),"string"==typeof o&&(o=e.getMode(t,o)),setInnerMode(n,r,o),"atom"}}function attrsContinued(t,n){if(n.isAttrs){if(i[t.peek()]&&n.attrsNest.push(i[t.peek()]),n.attrsNest[n.attrsNest.length-1]===t.peek())n.attrsNest.pop();else if(t.eat(")"))return n.isAttrs=!1,"punctuation";if(n.inAttributeName&&t.match(/^[^=,\)!]+/))return"="!==t.peek()&&"!"!==t.peek()||(n.inAttributeName=!1,n.jsState=e.startState(s),"script"===n.lastTag&&"type"===t.current().trim().toLowerCase()?n.attributeIsType=!0:n.attributeIsType=!1),"attribute";var r=s.token(t,n.jsState);if(n.attributeIsType&&"string"===r&&(n.scriptType=t.current().toString()),0===n.attrsNest.length&&("string"===r||"variable"===r||"keyword"===r))try{return Function("","var x "+n.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),n.inAttributeName=!0,n.attrValue="",t.backUp(t.current().length),attrsContinued(t,n)}catch(e){}return n.attrValue+=t.current(),r||!0}}function setInnerMode(n,r,o){o=e.mimeModes[o]||o,o=t.innerModes?t.innerModes(o)||o:o,o=e.mimeModes[o]||o,o=e.getMode(t,o),r.indentOf=n.indentation(),o&&"null"!==o.name?r.innerMode=o:r.indentToken="string"}function innerMode(t,n,r){if(t.indentation()>n.indentOf||n.innerModeForLine&&!t.sol()||r)return n.innerMode?(n.innerState||(n.innerState=n.innerMode.startState?e.startState(n.innerMode,t.indentation()):{}),t.hideFirstChars(n.indentOf+2,function(){return n.innerMode.token(t,n.innerState)||!0})):(t.skipToEnd(),n.indentToken);t.sol()&&(n.indentOf=1/0,n.indentToken=null,n.innerMode=null,n.innerState=null)}var n="keyword",r="meta",o="builtin",a="qualifier",i={"{":"}","(":")","[":"]"},s=e.getMode(t,"javascript");return State.prototype.copy=function(){var t=new State;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:function startState(){return new State},copyState:function copyState(e){return e.copy()},token:function nextToken(e,t){var i=innerMode(e,t)||function restOfLine(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var n=t.restOfLine;return t.restOfLine="",n}}(e,t)||function interpolationContinued(e,t){if(t.isInterpolating){if("}"===e.peek()){if(t.interpolationNesting--,t.interpolationNesting<0)return e.next(),t.isInterpolating=!1,"punctuation"}else"{"===e.peek()&&t.interpolationNesting++;return s.token(e,t.jsState)||!0}}(e,t)||function includeFilteredContinued(e,t){if(t.isIncludeFiltered){var n=filter(e,t);return t.isIncludeFiltered=!1,t.restOfLine="string",n}}(e,t)||function eachContinued(e,t){if(t.isEach){if(e.match(/^ in\b/))return t.javaScriptLine=!0,t.isEach=!1,n;if(e.sol()||e.eol())t.isEach=!1;else if(e.next()){for(;!e.match(/^ in\b/,!1)&&e.next(););return"variable"}}}(e,t)||attrsContinued(e,t)||function javaScript(e,t){if(e.sol()&&(t.javaScriptLine=!1,t.javaScriptLineExcludesColon=!1),t.javaScriptLine){if(t.javaScriptLineExcludesColon&&":"===e.peek())return t.javaScriptLine=!1,void(t.javaScriptLineExcludesColon=!1);var n=s.token(e,t.jsState);return e.eol()&&(t.javaScriptLine=!1),n||!0}}(e,t)||function javaScriptArguments(e,t){if(t.javaScriptArguments)return 0===t.javaScriptArgumentsDepth&&"("!==e.peek()?void(t.javaScriptArguments=!1):("("===e.peek()?t.javaScriptArgumentsDepth++:")"===e.peek()&&t.javaScriptArgumentsDepth--,0===t.javaScriptArgumentsDepth?void(t.javaScriptArguments=!1):s.token(e,t.jsState)||!0)}(e,t)||function callArguments(e,t){if(t.mixinCallAfter)return t.mixinCallAfter=!1,e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),!0}(e,t)||function yieldStatement(e){if(e.match(/^yield\b/))return"keyword"}(e)||function doctype(e){if(e.match(/^(?:doctype) *([^\n]+)?/))return r}(e)||interpolation(e,t)||function caseStatement(e,t){if(e.match(/^case\b/))return t.javaScriptLine=!0,n}(e,t)||function when(e,t){if(e.match(/^when\b/))return t.javaScriptLine=!0,t.javaScriptLineExcludesColon=!0,n}(e,t)||function defaultStatement(e){if(e.match(/^default\b/))return n}(e)||function extendsStatement(e,t){if(e.match(/^extends?\b/))return t.restOfLine="string",n}(e,t)||function append(e,t){if(e.match(/^append\b/))return t.restOfLine="variable",n}(e,t)||function prepend(e,t){if(e.match(/^prepend\b/))return t.restOfLine="variable",n}(e,t)||function block(e,t){if(e.match(/^block\b *(?:(prepend|append)\b)?/))return t.restOfLine="variable",n}(e,t)||function include(e,t){if(e.match(/^include\b/))return t.restOfLine="string",n}(e,t)||function includeFiltered(e,t){if(e.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&e.match("include"))return t.isIncludeFiltered=!0,n}(e,t)||function mixin(e,t){if(e.match(/^mixin\b/))return t.javaScriptLine=!0,n}(e,t)||function call(e,t){return e.match(/^\+([-\w]+)/)?(e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),"variable"):e.match(/^\+#{/,!1)?(e.next(),t.mixinCallAfter=!0,interpolation(e,t)):void 0}(e,t)||function conditional(e,t){if(e.match(/^(if|unless|else if|else)\b/))return t.javaScriptLine=!0,n}(e,t)||function each(e,t){if(e.match(/^(- *)?(each|for)\b/))return t.isEach=!0,n}(e,t)||function whileStatement(e,t){if(e.match(/^while\b/))return t.javaScriptLine=!0,n}(e,t)||function tag(e,t){var n;if(n=e.match(/^(\w(?:[-:\w]*\w)?)\/?/))return t.lastTag=n[1].toLowerCase(),"script"===t.lastTag&&(t.scriptType="application/javascript"),"tag"}(e,t)||filter(e,t)||function code(e,t){if(e.match(/^(!?=|-)/))return t.javaScriptLine=!0,"punctuation"}(e,t)||function id(e){if(e.match(/^#([\w-]+)/))return o}(e)||function className(e){if(e.match(/^\.([\w-]+)/))return a}(e)||function attrs(e,t){if("("==e.peek())return e.next(),t.isAttrs=!0,t.attrsNest=[],t.inAttributeName=!0,t.attrValue="",t.attributeIsType=!1,"punctuation"}(e,t)||function attributesBlock(e,t){if(e.match(/^&attributes\b/))return t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0,"keyword"}(e,t)||function indent(e){if(e.sol()&&e.eatSpace())return"indent"}(e)||function text(e,t){return e.match(/^(?:\| ?| )([^\n]+)/)?"string":e.match(/^(<[^\n]*)/,!1)?(setInnerMode(e,t,"htmlmixed"),t.innerModeForLine=!0,innerMode(e,t,!0)):void 0}(e,t)||function comment(e,t){if(e.match(/^ *\/\/(-)?([^\n]*)/))return t.indentOf=e.indentation(),t.indentToken="comment","comment"}(e,t)||function colon(e){if(e.match(/^: */))return"colon"}(e)||function dot(e,t){if(e.eat(".")){var n=null;return"script"===t.lastTag&&-1!=t.scriptType.toLowerCase().indexOf("javascript")?n=t.scriptType.toLowerCase().replace(/"|'/g,""):"style"===t.lastTag&&(n="css"),setInnerMode(e,t,n),"dot"}}(e,t)||function fail(e){return e.next(),null}(e);return!0===i?null:i}}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})},926:function(e,t,n){!function(e){e(n(907),n(910))}(function(e){"use strict";e.defineMode("sass",function(t){function isEndLine(e){return!e.peek()||e.match(/\s+$/,!1)}function urlTokens(e,t){var n=e.peek();return")"===n?(e.next(),t.tokenizer=tokenBase,"operator"):"("===n?(e.next(),e.eatSpace(),"operator"):"'"===n||'"'===n?(t.tokenizer=buildStringTokenizer(e.next()),"string"):(t.tokenizer=buildStringTokenizer(")",!1),"string")}function comment(e,t){return function(n,r){return n.sol()&&n.indentation()<=e?(r.tokenizer=tokenBase,tokenBase(n,r)):(t&&n.skipTo("*/")?(n.next(),n.next(),r.tokenizer=tokenBase):n.skipToEnd(),"comment")}}function buildStringTokenizer(e,t){function stringTokenizer(n,r){var o=n.next(),a=n.peek(),i=n.string.charAt(n.pos-2);return"\\"!==o&&a===e||o===e&&"\\"!==i?(o!==e&&t&&n.next(),isEndLine(n)&&(r.cursorHalf=0),r.tokenizer=tokenBase,"string"):"#"===o&&"{"===a?(r.tokenizer=buildInterpolationTokenizer(stringTokenizer),n.next(),"operator"):"string"}return null==t&&(t=!0),stringTokenizer}function buildInterpolationTokenizer(e){return function(t,n){return"}"===t.peek()?(t.next(),n.tokenizer=e,"operator"):tokenBase(t,n)}}function indent(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:n})}}function dedent(e){1!=e.scopes.length&&e.scopes.shift()}function tokenBase(e,t){var r=e.peek();if(e.match("/*"))return t.tokenizer=comment(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=comment(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=buildInterpolationTokenizer(tokenBase),"operator";if('"'===r||"'"===r)return e.next(),t.tokenizer=buildStringTokenizer(r),"string";if(t.cursorHalf){if("#"===r&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return isEndLine(e)&&(t.cursorHalf=0),"unit";if(e.match(l))return isEndLine(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,isEndLine(e)&&(t.cursorHalf=0),"atom";if("$"===r)return e.next(),e.eatWhile(/[\w-]/),isEndLine(e)&&(t.cursorHalf=0),"variable-2";if("!"===r)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(c))return isEndLine(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return isEndLine(e)&&(t.cursorHalf=0),n=e.current().toLowerCase(),i.hasOwnProperty(n)?"atom":a.hasOwnProperty(n)?"keyword":o.hasOwnProperty(n)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(isEndLine(e))return t.cursorHalf=0,null}else{if("-"===r&&e.match(/^-\w+-/))return"meta";if("."===r){if(e.next(),e.match(/^[\w-]+/))return indent(t),"qualifier";if("#"===e.peek())return indent(t),"tag"}if("#"===r){if(e.next(),e.match(/^[\w-]+/))return indent(t),"builtin";if("#"===e.peek())return indent(t),"tag"}if("$"===r)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(l))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,"atom";if("="===r&&e.match(/^=[\w-]+/))return indent(t),"meta";if("+"===r&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===r&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||dedent(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return indent(t),"def";if("@"===r)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){n=e.current().toLowerCase();var u=t.prevProp+"-"+n;return o.hasOwnProperty(u)?"property":o.hasOwnProperty(n)?(t.prevProp=n,"property"):s.hasOwnProperty(n)?"property":"tag"}return e.match(/ *:/,!1)?(indent(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(indent(t),"tag")}if(":"===r)return e.match(p)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(c)?"operator":(e.next(),null)}var n,r=e.mimeModes["text/css"],o=r.propertyKeywords||{},a=r.colorKeywords||{},i=r.valueKeywords||{},s=r.fontProperties||{},l=new RegExp("^"+["true","false","null","auto"].join("|")),c=function tokenRegexp(e){return new RegExp("^"+e.join("|"))}(["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"]),p=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:tokenBase,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,n){var r=function tokenLexer(e,n){e.sol()&&(n.indentCount=0);var r=n.tokenizer(e,n),o=e.current();if("@return"!==o&&"}"!==o||dedent(n),null!==r){for(var a=e.pos-o.length+t.indentUnit*n.indentCount,i=[],s=0;s<n.scopes.length;s++){var l=n.scopes[s];l.offset<=a&&i.push(l)}n.scopes=i}return r}(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")})},928:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}e.defineMode("stylus",function(e){function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),["string","string"]}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),[null,"("]}function Context(e,t,n,r){this.type=e,this.indent=t,this.prev=n,this.line=r||{firstWord:"",indent:0}}function pushContext(e,t,n,r){return r=r>=0?r:b,e.context=new Context(n,t.indentation()+r,e.context),n}function popContext(e,t){var n=e.context.indent-b;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=n),e.context.type}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return function pass(e,t,n){return B[n.context.type](e,t,n)}(e,t,n)}function wordIsTag(e){return e.toLowerCase()in k}function wordIsProperty(e){return(e=e.toLowerCase())in v||e in j}function wordIsBlock(e){return e.toLowerCase()in P}function wordIsVendorPrefix(e){return e.toLowerCase().match(O)}function wordAsValue(e){var t=e.toLowerCase(),n="variable-2";return wordIsTag(e)?n="tag":wordIsBlock(e)?n="block-keyword":wordIsProperty(e)?n="property":t in S||t in N?n="atom":"return"==t||t in C?n="keyword":e.match(/^[A-Z]/)&&(n="string"),n}function typeIsBlock(e,t){return endOfLine(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function typeIsInterpolation(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function typeIsPseudo(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function startOfLine(e){return e.sol()||e.string.match(new RegExp("^\\s*"+function escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e.current())))}function endOfLine(e){return e.eol()||e.match(/^\s*$/,!1)}function firstWordOfLine(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,n="string"==typeof e?e.match(t):e.string.match(t);return n?n[0].replace(/^\s*/,""):""}for(var m,f,h,g,b=e.indentUnit,x="",k=keySet(t),y=/^(a|b|i|s|col|em)$/i,v=keySet(a),w=keySet(i),S=keySet(c),C=keySet(l),z=keySet(n),T=wordRegexp(n),A=keySet(o),M=keySet(r),j=keySet(s),L=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,I=wordRegexp(p),P=keySet(u),O=new RegExp(/^\-(moz|ms|o|webkit)-/i),N=keySet(d),E="",B={};x.length<b;)x+=" ";return B.block=function(e,t,n){if("comment"==e&&startOfLine(t)||","==e&&endOfLine(t)||"mixin"==e)return pushContext(n,t,"block",0);if(typeIsInterpolation(e,t))return pushContext(n,t,"interpolation");if(endOfLine(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!wordIsTag(firstWordOfLine(t)))return pushContext(n,t,"block",0);if(typeIsBlock(e,t))return pushContext(n,t,"block");if("}"==e&&endOfLine(t))return pushContext(n,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||wordIsBlock(firstWordOfLine(t))?pushContext(n,t,"variableName"):pushContext(n,t,"variableName",0);if("="==e)return endOfLine(t)||wordIsBlock(firstWordOfLine(t))?pushContext(n,t,"block"):pushContext(n,t,"block",0);if("*"==e&&(endOfLine(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return g="tag",pushContext(n,t,"block");if(typeIsPseudo(e,t))return pushContext(n,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return pushContext(n,t,endOfLine(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return pushContext(n,t,"keyframes");if(/@extends?/.test(e))return pushContext(n,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&wordIsProperty(t.current().slice(1))?(g="variable-2","block"):/(@import|@require|@charset)/.test(e)?pushContext(n,t,"block",0):pushContext(n,t,"block");if("reference"==e&&endOfLine(t))return pushContext(n,t,"block");if("("==e)return pushContext(n,t,"parens");if("vendor-prefixes"==e)return pushContext(n,t,"vendorPrefixes");if("word"==e){var r=t.current();if("property"==(g=wordAsValue(r)))return startOfLine(t)?pushContext(n,t,"block",0):(g="atom","block");if("tag"==g){if(/embed|menu|pre|progress|sub|table/.test(r)&&wordIsProperty(firstWordOfLine(t)))return g="atom","block";if(t.string.match(new RegExp("\\[\\s*"+r+"|"+r+"\\s*\\]")))return g="atom","block";if(y.test(r)&&(startOfLine(t)&&t.string.match(/=/)||!startOfLine(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!wordIsTag(firstWordOfLine(t))))return g="variable-2",wordIsBlock(firstWordOfLine(t))?"block":pushContext(n,t,"block",0);if(endOfLine(t))return pushContext(n,t,"block")}if("block-keyword"==g)return g="keyword",t.current(/(if|unless)/)&&!startOfLine(t)?"block":pushContext(n,t,"block");if("return"==r)return pushContext(n,t,"block",0);if("variable-2"==g&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(n,t,"block")}return n.context.type},B.parens=function(e,t,n){if("("==e)return pushContext(n,t,"parens");if(")"==e)return"parens"==n.context.prev.type?popContext(n):t.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(t)||wordIsBlock(firstWordOfLine(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(t))?pushContext(n,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?pushContext(n,t,"block",0):endOfLine(t)?pushContext(n,t,"block"):pushContext(n,t,"block",0);if(e&&"@"==e.charAt(0)&&wordIsProperty(t.current().slice(1))&&(g="variable-2"),"word"==e){var r=t.current();"tag"==(g=wordAsValue(r))&&y.test(r)&&(g="variable-2"),"property"!=g&&"to"!=r||(g="atom")}return"variable-name"==e?pushContext(n,t,"variableName"):typeIsPseudo(e,t)?pushContext(n,t,"pseudo"):n.context.type},B.vendorPrefixes=function(e,t,n){return"word"==e?(g="property",pushContext(n,t,"block",0)):popContext(n)},B.pseudo=function(e,t,n){return wordIsProperty(firstWordOfLine(t.string))?popAndPass(e,t,n):(t.match(/^[a-z-]+/),g="variable-3",endOfLine(t)?pushContext(n,t,"block"):popContext(n))},B.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if(typeIsBlock(e,t))return pushContext(n,t,"block");if(typeIsInterpolation(e,t))return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();if("tag"==(g=/^(only|not|and|or)$/.test(r)?"keyword":z.hasOwnProperty(r)?"tag":M.hasOwnProperty(r)?"attribute":A.hasOwnProperty(r)?"property":w.hasOwnProperty(r)?"string-2":wordAsValue(t.current()))&&endOfLine(t))return pushContext(n,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(g="keyword"),n.context.type},B.atBlock_parens=function(e,t,n){if("{"==e||"}"==e)return n.context.type;if(")"==e)return endOfLine(t)?pushContext(n,t,"block"):pushContext(n,t,"atBlock");if("word"==e){var r=t.current().toLowerCase();return g=wordAsValue(r),/^(max|min)/.test(r)&&(g="property"),"tag"==g&&(g=y.test(r)?"variable-2":"atom"),n.context.type}return B.atBlock(e,t,n)},B.keyframes=function(e,t,n){return"0"==t.indentation()&&("}"==e&&startOfLine(t)||"]"==e||"hash"==e||"qualifier"==e||wordIsTag(t.current()))?popAndPass(e,t,n):"{"==e?pushContext(n,t,"keyframes"):"}"==e?startOfLine(t)?popContext(n,!0):pushContext(n,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?pushContext(n,t,"keyframes"):"word"==e&&"block-keyword"==(g=wordAsValue(t.current()))?(g="keyword",pushContext(n,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?pushContext(n,t,endOfLine(t)?"block":"atBlock"):"mixin"==e?pushContext(n,t,"block",0):n.context.type},B.interpolation=function(e,t,n){return"{"==e&&popContext(n)&&pushContext(n,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(t))?pushContext(n,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?pushContext(n,t,"block",0):pushContext(n,t,"block"):"variable-name"==e?pushContext(n,t,"variableName",0):("word"==e&&"tag"==(g=wordAsValue(t.current()))&&(g="atom"),n.context.type)},B.extend=function(e,t,n){return"["==e||"="==e?"extend":"]"==e?popContext(n):"word"==e?(g=wordAsValue(t.current()),"extend"):popContext(n)},B.variableName=function(e,t,n){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(g="variable-2"),"variableName"):popAndPass(e,t,n)},{startState:function(e){return{tokenize:null,state:"block",context:new Context("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((f=(t.tokenize||function tokenBase(e,t){if(E=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=E?E[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),m=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=tokenCComment,tokenCComment(e,t);if('"'==m||"'"==m)return e.next(),t.tokenize=tokenString(m),t.tokenize(e,t);if("@"==m)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==m){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(O)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==m?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==m&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(T)?("("==e.peek()&&(t.tokenize=tokenParenthesized),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match(I)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(L)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(m)?(e.next(),[null,m]):(e.next(),[null,null])})(e,t))&&"object"==typeof f&&(h=f[1],f=f[0]),g=f,t.state=B[t.state](h,e,t),g)},indent:function(e,t,n){var r=e.context,o=t&&t.charAt(0),a=r.indent,i=firstWordOfLine(t),s=n.match(/^\s*/)[0].replace(/\t/g,x).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return r.prev&&("}"==o&&("block"==r.type||"atBlock"==r.type||"keyframes"==r.type)||")"==o&&("parens"==r.type||"atBlock_parens"==r.type)||"{"==o&&"at"==r.type)?a=r.indent-b:/(\})/.test(o)||(/@|\$|\d/.test(o)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||wordIsBlock(i)?a=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(o)||wordIsTag(i)?a=/\,\s*$/.test(l)?c:/^\s+/.test(n)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||wordIsTag(l))?s<=c?c:c+b:s:/,\s*$/.test(n)||!wordIsVendorPrefix(i)&&!wordIsProperty(i)||(a=wordIsBlock(l)?s<=c?c:c+b:/^\{/.test(l)?s<=c?s:c+b:wordIsVendorPrefix(l)||wordIsProperty(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||wordIsTag(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+b:s)),a},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],n=["domain","regexp","url","url-prefix"],r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],a=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],i=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],p=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],u=["for","if","else","unless","from","to"],d=["null","true","false","href","title","type","not-allowed","readonly","disabled"],m=t.concat(n,r,o,a,i,l,c,s,p,u,d,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);e.registerHelper("hintWords","stylus",m),e.defineMIME("text/x-styl","stylus")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/114.dc9ecfc5.js b/build/codemirror/mode/114.3af0b25a.js similarity index 97% rename from build/codemirror/mode/114.dc9ecfc5.js rename to build/codemirror/mode/114.3af0b25a.js index 320ab87..291d324 100644 --- a/build/codemirror/mode/114.dc9ecfc5.js +++ b/build/codemirror/mode/114.3af0b25a.js @@ -1 +1 @@ -webpackJsonp([34],{1037:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var t=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],r=wordRegexp(t),n=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],a=wordRegexp(n),i=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],o=wordRegexp(i),c=["true","false","Infinity","NaN","null"],l=wordRegexp(c);e.registerHelper("hintWords","webidl",t.concat(n).concat(i).concat(c));var m=wordRegexp(["callback","dictionary","enum","interface"]),u=wordRegexp(["typedef"]),s=/^[:<=>?]/,f=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,d=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,p=/^_?[A-Za-z][0-9A-Z_a-z-]*/,b=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,y=/^"[^"]*"/,g=/^\/\*.*?\*\//,h=/^\/\*.*/,A=/^.*?\*\//;e.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var n=function readToken(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(A)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(g))return"comment";if(e.match(h))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(f)||e.match(d)))return"number";if(e.match(y))return"string";if(t.startDef&&e.match(p))return"def";if(t.endDef&&e.match(b))return t.endDef=!1,"def";if(e.match(o))return"keyword";if(e.match(a)){var n=t.lastToken,i=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===n||"implements"===n||"implements"===i||"="===i?"builtin":"variable-3"}return e.match(r)?"builtin":e.match(l)?"atom":e.match(p)?"variable":e.match(s)?"operator":(e.next(),null)}(e,t);if(n){var i=e.current();t.lastToken=i,"keyword"===n?(t.startDef=m.test(i),t.endDef=t.endDef||u.test(i)):t.startDef=!1}return n}}}),e.defineMIME("text/x-webidl","webidl")})}}); \ No newline at end of file +webpackJsonp([33],{1036:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var t=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],r=wordRegexp(t),n=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],a=wordRegexp(n),i=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],o=wordRegexp(i),c=["true","false","Infinity","NaN","null"],l=wordRegexp(c);e.registerHelper("hintWords","webidl",t.concat(n).concat(i).concat(c));var m=wordRegexp(["callback","dictionary","enum","interface"]),u=wordRegexp(["typedef"]),s=/^[:<=>?]/,f=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,d=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,p=/^_?[A-Za-z][0-9A-Z_a-z-]*/,b=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,y=/^"[^"]*"/,g=/^\/\*.*?\*\//,h=/^\/\*.*/,A=/^.*?\*\//;e.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,t){var n=function readToken(e,t){if(e.eatSpace())return null;if(t.inComment)return e.match(A)?(t.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(g))return"comment";if(e.match(h))return t.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(f)||e.match(d)))return"number";if(e.match(y))return"string";if(t.startDef&&e.match(p))return"def";if(t.endDef&&e.match(b))return t.endDef=!1,"def";if(e.match(o))return"keyword";if(e.match(a)){var n=t.lastToken,i=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===n||"implements"===n||"implements"===i||"="===i?"builtin":"variable-3"}return e.match(r)?"builtin":e.match(l)?"atom":e.match(p)?"variable":e.match(s)?"operator":(e.next(),null)}(e,t);if(n){var i=e.current();t.lastToken=i,"keyword"===n?(t.startDef=m.test(i),t.endDef=t.endDef||u.test(i)):t.startDef=!1}return n}}}),e.defineMIME("text/x-webidl","webidl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/115.f2bd619e.js b/build/codemirror/mode/115.f2bd619e.js new file mode 100644 index 0000000..b07bc9b --- /dev/null +++ b/build/codemirror/mode/115.f2bd619e.js @@ -0,0 +1 @@ +webpackJsonp([32],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(a,r){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(c=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var a=e.tokenize(t,e);return a?a+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,a){for(;!n.eol();){if(n.match(e)){a.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var a;null!=(a=e.next());){if("<"==a)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==a){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),s="tag",attrState):i.allowMissingTagName&&"endTag"==t?(s="tag bracket",attrState(t,e,n)):(s="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var a=e.current();return n.context&&n.context.tagName!=a&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==a||!1===i.matchClosing?(s="tag",closeState):(s="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==t?(s="tag bracket",closeState(t,e,n)):(s="error",closeStateErr)}function closeState(t,e,n){return"endTag"!=t?(s="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return s="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return s="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var a=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||i.autoSelfClosers.hasOwnProperty(a)?maybePopContext(n,a):(maybePopContext(n,a),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,a,r==n.indented)),baseState}return s="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(i.allowMissing||(s="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&i.allowUnquoted?(s="string",attrState):(s="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var o=a.indentUnit,i={},l=r.htmlMode?e:n;for(var u in l)i[u]=l[u];for(var u in r)i[u]=r[u];var c,s;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;c=null;var n=e.tokenize(t,e);return(n||c)&&"comment"!=n&&(s=null,e.state=e.state(c||n,t,e),s&&(n="error"==s?n+" error":s)),n},indent:function(e,n,a){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+o;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return a?a.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==i.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+o*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;r;){if(r.tagName==l[2]){r=r.prev;break}if(!i.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(l)for(;r;){var u=i.contextGrabbers[r.tagName];if(!u||!u.hasOwnProperty(l[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+o:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/115.fc392072.js b/build/codemirror/mode/115.fc392072.js deleted file mode 100644 index eefba27..0000000 --- a/build/codemirror/mode/115.fc392072.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([33],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(r,a){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(c=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var r=e.tokenize(t,e);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var r;null!=(r=e.next());){if("<"==r)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==r){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),s="tag",attrState):(s="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var r=e.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(s="tag",closeState):(s="tag error",closeStateErr)}return s="error",closeStateErr}function closeState(t,e,n){return"endTag"!=t?(s="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return s="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return s="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var r=n.tagName,a=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,r,a==n.indented)),baseState}return s="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(i.allowMissing||(s="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&i.allowUnquoted?(s="string",attrState):(s="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var o=r.indentUnit,i={},l=a.htmlMode?e:n;for(var u in l)i[u]=l[u];for(var u in a)i[u]=a[u];var c,s;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;c=null;var n=e.tokenize(t,e);return(n||c)&&"comment"!=n&&(s=null,e.state=e.state(c||n,t,e),s&&(n="error"==s?n+" error":s)),n},indent:function(e,n,r){var a=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+o;if(a&&a.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==i.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+o*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;a;){if(a.tagName==l[2]){a=a.prev;break}if(!i.implicitlyClosed.hasOwnProperty(a.tagName))break;a=a.prev}else if(l)for(;a;){var u=i.contextGrabbers[a.tagName];if(!u||!u.hasOwnProperty(l[2]))break;a=a.prev}for(;a&&a.prev&&!a.startOfLine;)a=a.prev;return a?a.indent+o:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/116.f9582ff1.js b/build/codemirror/mode/116.8febadc3.js similarity index 99% rename from build/codemirror/mode/116.f9582ff1.js rename to build/codemirror/mode/116.8febadc3.js index 9f7c4cd..d585d82 100644 --- a/build/codemirror/mode/116.f9582ff1.js +++ b/build/codemirror/mode/116.8febadc3.js @@ -1 +1 @@ -webpackJsonp([32],{1038:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("xquery",function(){function chain(t,e,n){return e.tokenize=n,n(t,e)}function tokenBase(e,n){var a=e.next(),r=!1,i=function isEQNameAhead(t){return'"'===t.current()?t.match(/^[^\"]+\"\:/,!1):"'"===t.current()&&t.match(/^[^\"]+\'\:/,!1)}(e);if("<"==a){if(e.match("!--",!0))return chain(e,n,tokenXMLComment);if(e.match("![CDATA",!1))return n.tokenize=tokenCDATA,"tag";if(e.match("?",!1))return chain(e,n,tokenPreProcessing);var o=e.eat("/");e.eatSpace();for(var s,c="";s=e.eat(/[^\s\u00a0=<>\"\'\/?]/);)c+=s;return chain(e,n,function tokenTag(t,e){return function(n,a){return n.eatSpace(),e&&n.eat(">")?(popStateStack(a),a.tokenize=tokenBase,"tag"):(n.eat("/")||pushStateStack(a,{type:"tag",name:t,tokenize:tokenBase}),n.eat(">")?(a.tokenize=tokenBase,"tag"):(a.tokenize=tokenAttribute,"tag"))}}(c,o))}if("{"==a)return pushStateStack(n,{type:"codeblock"}),null;if("}"==a)return popStateStack(n),null;if(isInXmlBlock(n))return">"==a?"tag":"/"==a&&e.eat(">")?(popStateStack(n),"tag"):"variable";if(/\d/.test(a))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===a&&e.eat(":"))return pushStateStack(n,{type:"comment"}),chain(e,n,tokenComment);if(i||'"'!==a&&"'"!==a){if("$"===a)return chain(e,n,tokenVariable);if(":"===a&&e.eat("="))return"keyword";if("("===a)return pushStateStack(n,{type:"paren"}),null;if(")"===a)return popStateStack(n),null;if("["===a)return pushStateStack(n,{type:"bracket"}),null;if("]"===a)return popStateStack(n),null;var u=t.propertyIsEnumerable(a)&&t[a];if(i&&'"'===a)for(;'"'!==e.next(););if(i&&"'"===a)for(;"'"!==e.next(););u||e.eatWhile(/[\w\$_-]/);var l=e.eat(":");!e.eat(":")&&l&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(r=!0);var p=e.current();return u=t.propertyIsEnumerable(p)&&t[p],r&&!u&&(u={type:"function_call",style:"variable def"}),function isInXmlConstructor(t){return isIn(t,"xmlconstructor")}(n)?(popStateStack(n),"variable"):("element"!=p&&"attribute"!=p&&"axis_specifier"!=u.type||pushStateStack(n,{type:"xmlconstructor"}),u?u.style:"variable")}return chain(e,n,tokenString(a))}function tokenComment(t,e){for(var n,a=!1,r=!1,i=0;n=t.next();){if(")"==n&&a){if(!(i>0)){popStateStack(e);break}i--}else":"==n&&r&&i++;a=":"==n,r="("==n}return"comment"}function tokenString(t,e){return function(n,a){var r;if(function isInString(t){return isIn(t,"string")}(a)&&n.current()==t)return popStateStack(a),e&&(a.tokenize=e),"string";if(pushStateStack(a,{type:"string",name:t,tokenize:tokenString(t,e)}),n.match("{",!1)&&isInXmlAttributeBlock(a))return a.tokenize=tokenBase,"string";for(;r=n.next();){if(r==t){popStateStack(a),e&&(a.tokenize=e);break}if(n.match("{",!1)&&isInXmlAttributeBlock(a))return a.tokenize=tokenBase,"string"}return"string"}}function tokenVariable(t,e){var n=/[\w\$_-]/;if(t.eat('"')){for(;'"'!==t.next(););t.eat(":")}else t.eatWhile(n),t.match(":=",!1)||t.eat(":");return t.eatWhile(n),e.tokenize=tokenBase,"variable"}function tokenAttribute(t,e){var n=t.next();return"/"==n&&t.eat(">")?(isInXmlAttributeBlock(e)&&popStateStack(e),isInXmlBlock(e)&&popStateStack(e),"tag"):">"==n?(isInXmlAttributeBlock(e)&&popStateStack(e),"tag"):"="==n?null:'"'==n||"'"==n?chain(t,e,tokenString(n,tokenAttribute)):(isInXmlAttributeBlock(e)||pushStateStack(e,{type:"attribute",tokenize:tokenAttribute}),t.eat(/[a-zA-Z_:]/),t.eatWhile(/[-a-zA-Z0-9_:.]/),t.eatSpace(),(t.match(">",!1)||t.match("/",!1))&&(popStateStack(e),e.tokenize=tokenBase),"attribute")}function tokenXMLComment(t,e){for(var n;n=t.next();)if("-"==n&&t.match("->",!0))return e.tokenize=tokenBase,"comment"}function tokenCDATA(t,e){for(var n;n=t.next();)if("]"==n&&t.match("]",!0))return e.tokenize=tokenBase,"comment"}function tokenPreProcessing(t,e){for(var n;n=t.next();)if("?"==n&&t.match(">",!0))return e.tokenize=tokenBase,"comment meta"}function isInXmlBlock(t){return isIn(t,"tag")}function isInXmlAttributeBlock(t){return isIn(t,"attribute")}function isIn(t,e){return t.stack.length&&t.stack[t.stack.length-1].type==e}function pushStateStack(t,e){t.stack.push(e)}function popStateStack(t){t.stack.pop();var e=t.stack.length&&t.stack[t.stack.length-1].tokenize;t.tokenize=e||tokenBase}var t=function(){function kw(t){return{type:t,style:"keyword"}}for(var t=kw("operator"),e={type:"atom",style:"atom"},n={type:"axis_specifier",style:"qualifier"},a={",":{type:"punctuation",style:null}},r=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],i=0,o=r.length;i<o;i++)a[r[i]]=kw(r[i]);var s=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(i=0,o=s.length;i<o;i++)a[s[i]]=e;var c=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(i=0,o=c.length;i<o;i++)a[c[i]]=t;var u=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(i=0,o=u.length;i<o;i++)a[u[i]]=n;return a}();return{startState:function(){return{tokenize:tokenBase,cc:[],stack:[]}},token:function(t,e){if(t.eatSpace())return null;return e.tokenize(t,e)},blockCommentStart:"(:",blockCommentEnd:":)"}}),t.defineMIME("application/xquery","xquery")})}}); \ No newline at end of file +webpackJsonp([31],{1037:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("xquery",function(){function chain(t,e,n){return e.tokenize=n,n(t,e)}function tokenBase(e,n){var a=e.next(),r=!1,i=function isEQNameAhead(t){return'"'===t.current()?t.match(/^[^\"]+\"\:/,!1):"'"===t.current()&&t.match(/^[^\"]+\'\:/,!1)}(e);if("<"==a){if(e.match("!--",!0))return chain(e,n,tokenXMLComment);if(e.match("![CDATA",!1))return n.tokenize=tokenCDATA,"tag";if(e.match("?",!1))return chain(e,n,tokenPreProcessing);var o=e.eat("/");e.eatSpace();for(var s,c="";s=e.eat(/[^\s\u00a0=<>\"\'\/?]/);)c+=s;return chain(e,n,function tokenTag(t,e){return function(n,a){return n.eatSpace(),e&&n.eat(">")?(popStateStack(a),a.tokenize=tokenBase,"tag"):(n.eat("/")||pushStateStack(a,{type:"tag",name:t,tokenize:tokenBase}),n.eat(">")?(a.tokenize=tokenBase,"tag"):(a.tokenize=tokenAttribute,"tag"))}}(c,o))}if("{"==a)return pushStateStack(n,{type:"codeblock"}),null;if("}"==a)return popStateStack(n),null;if(isInXmlBlock(n))return">"==a?"tag":"/"==a&&e.eat(">")?(popStateStack(n),"tag"):"variable";if(/\d/.test(a))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if("("===a&&e.eat(":"))return pushStateStack(n,{type:"comment"}),chain(e,n,tokenComment);if(i||'"'!==a&&"'"!==a){if("$"===a)return chain(e,n,tokenVariable);if(":"===a&&e.eat("="))return"keyword";if("("===a)return pushStateStack(n,{type:"paren"}),null;if(")"===a)return popStateStack(n),null;if("["===a)return pushStateStack(n,{type:"bracket"}),null;if("]"===a)return popStateStack(n),null;var u=t.propertyIsEnumerable(a)&&t[a];if(i&&'"'===a)for(;'"'!==e.next(););if(i&&"'"===a)for(;"'"!==e.next(););u||e.eatWhile(/[\w\$_-]/);var l=e.eat(":");!e.eat(":")&&l&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(r=!0);var p=e.current();return u=t.propertyIsEnumerable(p)&&t[p],r&&!u&&(u={type:"function_call",style:"variable def"}),function isInXmlConstructor(t){return isIn(t,"xmlconstructor")}(n)?(popStateStack(n),"variable"):("element"!=p&&"attribute"!=p&&"axis_specifier"!=u.type||pushStateStack(n,{type:"xmlconstructor"}),u?u.style:"variable")}return chain(e,n,tokenString(a))}function tokenComment(t,e){for(var n,a=!1,r=!1,i=0;n=t.next();){if(")"==n&&a){if(!(i>0)){popStateStack(e);break}i--}else":"==n&&r&&i++;a=":"==n,r="("==n}return"comment"}function tokenString(t,e){return function(n,a){var r;if(function isInString(t){return isIn(t,"string")}(a)&&n.current()==t)return popStateStack(a),e&&(a.tokenize=e),"string";if(pushStateStack(a,{type:"string",name:t,tokenize:tokenString(t,e)}),n.match("{",!1)&&isInXmlAttributeBlock(a))return a.tokenize=tokenBase,"string";for(;r=n.next();){if(r==t){popStateStack(a),e&&(a.tokenize=e);break}if(n.match("{",!1)&&isInXmlAttributeBlock(a))return a.tokenize=tokenBase,"string"}return"string"}}function tokenVariable(t,e){var n=/[\w\$_-]/;if(t.eat('"')){for(;'"'!==t.next(););t.eat(":")}else t.eatWhile(n),t.match(":=",!1)||t.eat(":");return t.eatWhile(n),e.tokenize=tokenBase,"variable"}function tokenAttribute(t,e){var n=t.next();return"/"==n&&t.eat(">")?(isInXmlAttributeBlock(e)&&popStateStack(e),isInXmlBlock(e)&&popStateStack(e),"tag"):">"==n?(isInXmlAttributeBlock(e)&&popStateStack(e),"tag"):"="==n?null:'"'==n||"'"==n?chain(t,e,tokenString(n,tokenAttribute)):(isInXmlAttributeBlock(e)||pushStateStack(e,{type:"attribute",tokenize:tokenAttribute}),t.eat(/[a-zA-Z_:]/),t.eatWhile(/[-a-zA-Z0-9_:.]/),t.eatSpace(),(t.match(">",!1)||t.match("/",!1))&&(popStateStack(e),e.tokenize=tokenBase),"attribute")}function tokenXMLComment(t,e){for(var n;n=t.next();)if("-"==n&&t.match("->",!0))return e.tokenize=tokenBase,"comment"}function tokenCDATA(t,e){for(var n;n=t.next();)if("]"==n&&t.match("]",!0))return e.tokenize=tokenBase,"comment"}function tokenPreProcessing(t,e){for(var n;n=t.next();)if("?"==n&&t.match(">",!0))return e.tokenize=tokenBase,"comment meta"}function isInXmlBlock(t){return isIn(t,"tag")}function isInXmlAttributeBlock(t){return isIn(t,"attribute")}function isIn(t,e){return t.stack.length&&t.stack[t.stack.length-1].type==e}function pushStateStack(t,e){t.stack.push(e)}function popStateStack(t){t.stack.pop();var e=t.stack.length&&t.stack[t.stack.length-1].tokenize;t.tokenize=e||tokenBase}var t=function(){function kw(t){return{type:t,style:"keyword"}}for(var t=kw("operator"),e={type:"atom",style:"atom"},n={type:"axis_specifier",style:"qualifier"},a={",":{type:"punctuation",style:null}},r=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],i=0,o=r.length;i<o;i++)a[r[i]]=kw(r[i]);var s=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(i=0,o=s.length;i<o;i++)a[s[i]]=e;var c=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(i=0,o=c.length;i<o;i++)a[c[i]]=t;var u=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(i=0,o=u.length;i<o;i++)a[u[i]]=n;return a}();return{startState:function(){return{tokenize:tokenBase,cc:[],stack:[]}},token:function(t,e){if(t.eatSpace())return null;return e.tokenize(t,e)},blockCommentStart:"(:",blockCommentEnd:":)"}}),t.defineMIME("application/xquery","xquery")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/117.7e30f14e.js b/build/codemirror/mode/117.ffc3c072.js similarity index 97% rename from build/codemirror/mode/117.7e30f14e.js rename to build/codemirror/mode/117.ffc3c072.js index 24e9761..bc59b9b 100644 --- a/build/codemirror/mode/117.7e30f14e.js +++ b/build/codemirror/mode/117.ffc3c072.js @@ -1 +1 @@ -webpackJsonp([31],{1039:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("yacas",function(t,n){function tokenBase(e,t){var n;if('"'===(n=e.next()))return t.tokenize=tokenString,t.tokenize(e,t);if("/"===n){if(e.eat("*"))return t.tokenize=tokenComment,t.tokenize(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var r=e.match(/^(\w+)\s*\(/,!1);null!==r&&o.hasOwnProperty(r[1])&&t.scopes.push("bodied");var s=currentScope(t);if("bodied"===s&&"["===n&&t.scopes.pop(),"["!==n&&"{"!==n&&"("!==n||t.scopes.push(n),("["===(s=currentScope(t))&&"]"===n||"{"===s&&"}"===n||"("===s&&")"===n)&&t.scopes.pop(),";"===n)for(;"bodied"===s;)t.scopes.pop(),s=currentScope(t);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(a,!0,!1)?"number":e.match(c,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(u,!0,!1)?(e.backUp(1),"variable"):e.match(i,!0,!1)?"variable-2":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function tokenString(e,t){for(var n,o=!1,r=!1;null!=(n=e.next());){if('"'===n&&!r){o=!0;break}r=!r&&"\\"===n}return o&&!r&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var n,o;null!=(o=e.next());){if("*"===n&&"/"===o){t.tokenize=tokenBase;break}n=o}return"comment"}function currentScope(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}var o=function words(e){for(var t={},n=e.split(" "),o=0;o<n.length;++o)t[n[o]]=!0;return t}("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),r="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",a=new RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),i=new RegExp(r),c=new RegExp(r+"?_"+r),u=new RegExp(r+"\\s*\\(");return{startState:function(){return{tokenize:tokenBase,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(n,o){if(n.tokenize!==tokenBase&&null!==n.tokenize)return e.Pass;var r=0;return"]"!==o&&"];"!==o&&"}"!==o&&"};"!==o&&");"!==o||(r=-1),(n.scopes.length+r)*t.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-yacas",{name:"yacas"})})}}); \ No newline at end of file +webpackJsonp([30],{1038:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("yacas",function(t,n){function tokenBase(e,t){var n;if('"'===(n=e.next()))return t.tokenize=tokenString,t.tokenize(e,t);if("/"===n){if(e.eat("*"))return t.tokenize=tokenComment,t.tokenize(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}e.backUp(1);var r=e.match(/^(\w+)\s*\(/,!1);null!==r&&o.hasOwnProperty(r[1])&&t.scopes.push("bodied");var s=currentScope(t);if("bodied"===s&&"["===n&&t.scopes.pop(),"["!==n&&"{"!==n&&"("!==n||t.scopes.push(n),("["===(s=currentScope(t))&&"]"===n||"{"===s&&"}"===n||"("===s&&")"===n)&&t.scopes.pop(),";"===n)for(;"bodied"===s;)t.scopes.pop(),s=currentScope(t);return e.match(/\d+ *#/,!0,!1)?"qualifier":e.match(a,!0,!1)?"number":e.match(c,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(u,!0,!1)?(e.backUp(1),"variable"):e.match(i,!0,!1)?"variable-2":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function tokenString(e,t){for(var n,o=!1,r=!1;null!=(n=e.next());){if('"'===n&&!r){o=!0;break}r=!r&&"\\"===n}return o&&!r&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var n,o;null!=(o=e.next());){if("*"===n&&"/"===o){t.tokenize=tokenBase;break}n=o}return"comment"}function currentScope(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}var o=function words(e){for(var t={},n=e.split(" "),o=0;o<n.length;++o)t[n[o]]=!0;return t}("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),r="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",a=new RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),i=new RegExp(r),c=new RegExp(r+"?_"+r),u=new RegExp(r+"\\s*\\(");return{startState:function(){return{tokenize:tokenBase,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(n,o){if(n.tokenize!==tokenBase&&null!==n.tokenize)return e.Pass;var r=0;return"]"!==o&&"];"!==o&&"}"!==o&&"};"!==o&&");"!==o||(r=-1),(n.scopes.length+r)*t.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-yacas",{name:"yacas"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/118.be8e9bef.js b/build/codemirror/mode/118.8852c4fd.js similarity index 96% rename from build/codemirror/mode/118.be8e9bef.js rename to build/codemirror/mode/118.8852c4fd.js index f3128ad..bd1e314 100644 --- a/build/codemirror/mode/118.be8e9bef.js +++ b/build/codemirror/mode/118.8852c4fd.js @@ -1 +1 @@ -webpackJsonp([30],{931:function(t,i,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("yaml",function(){var t=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(i,e){var n=i.peek(),r=e.escaped;if(e.escaped=!1,"#"==n&&(0==i.pos||/\s/.test(i.string.charAt(i.pos-1))))return i.skipToEnd(),"comment";if(i.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&i.indentation()>e.keyCol)return i.skipToEnd(),"string";if(e.literal&&(e.literal=!1),i.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,i.match(/---/))return"def";if(i.match(/\.\.\./))return"def";if(i.match(/\s*-\s+/))return"meta"}if(i.match(/^(\{|\}|\[|\])/))return"{"==n?e.inlinePairs++:"}"==n?e.inlinePairs--:"["==n?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!r&&","==n)return i.next(),"meta";if(e.inlinePairs>0&&!r&&","==n)return e.keyCol=0,e.pair=!1,e.pairStart=!1,i.next(),"meta";if(e.pairStart){if(i.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(i.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==e.inlinePairs&&i.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(e.inlinePairs>0&&i.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(i.match(t))return"keyword"}return!e.pair&&i.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=i.indentation(),"atom"):e.pair&&i.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped="\\"==n,i.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),t.defineMIME("text/x-yaml","yaml"),t.defineMIME("text/yaml","yaml")})}}); \ No newline at end of file +webpackJsonp([29],{929:function(t,i,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("yaml",function(){var t=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(i,e){var n=i.peek(),r=e.escaped;if(e.escaped=!1,"#"==n&&(0==i.pos||/\s/.test(i.string.charAt(i.pos-1))))return i.skipToEnd(),"comment";if(i.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&i.indentation()>e.keyCol)return i.skipToEnd(),"string";if(e.literal&&(e.literal=!1),i.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,i.match(/---/))return"def";if(i.match(/\.\.\./))return"def";if(i.match(/\s*-\s+/))return"meta"}if(i.match(/^(\{|\}|\[|\])/))return"{"==n?e.inlinePairs++:"}"==n?e.inlinePairs--:"["==n?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!r&&","==n)return i.next(),"meta";if(e.inlinePairs>0&&!r&&","==n)return e.keyCol=0,e.pair=!1,e.pairStart=!1,i.next(),"meta";if(e.pairStart){if(i.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(i.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==e.inlinePairs&&i.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(e.inlinePairs>0&&i.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(i.match(t))return"keyword"}return!e.pair&&i.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=i.indentation(),"atom"):e.pair&&i.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped="\\"==n,i.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),t.defineMIME("text/x-yaml","yaml"),t.defineMIME("text/yaml","yaml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/119.e3615ee1.js b/build/codemirror/mode/119.df9e6021.js similarity index 89% rename from build/codemirror/mode/119.e3615ee1.js rename to build/codemirror/mode/119.df9e6021.js index 2ba8781..11da6cc 100644 --- a/build/codemirror/mode/119.e3615ee1.js +++ b/build/codemirror/mode/119.df9e6021.js @@ -1 +1 @@ -webpackJsonp([18,30],{1040:function(t,e,n){!function(t){t(n(907),n(931))}(function(t){var e=2;t.defineMode("yaml-frontmatter",function(n,r){function curMode(t){return t.state==e?a:i}var i=t.getMode(n,"yaml"),a=t.getMode(n,r&&r.base||"gfm");return{startState:function(){return{state:0,inner:t.startState(i)}},copyState:function(e){return{state:e.state,inner:t.copyState(curMode(e),e.inner)}},token:function(n,r){if(0==r.state)return n.match(/---/,!1)?(r.state=1,i.token(n,r.inner)):(r.state=e,r.inner=t.startState(a),a.token(n,r.inner));if(1==r.state){var s=n.sol()&&n.match(/---/,!1),o=i.token(n,r.inner);return s&&(r.state=e,r.inner=t.startState(a)),o}return a.token(n,r.inner)},innerMode:function(t){return{mode:curMode(t),state:t.inner}},blankLine:function(t){var e=curMode(t);if(e.blankLine)return e.blankLine(t.inner)}}})})},931:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("yaml",function(){var t=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(e,n){var r=e.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return e.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),t.defineMIME("text/x-yaml","yaml"),t.defineMIME("text/yaml","yaml")})}}); \ No newline at end of file +webpackJsonp([17,29],{1039:function(t,e,n){!function(t){t(n(907),n(929))}(function(t){var e=2;t.defineMode("yaml-frontmatter",function(n,r){function curMode(t){return t.state==e?a:i}var i=t.getMode(n,"yaml"),a=t.getMode(n,r&&r.base||"gfm");return{startState:function(){return{state:0,inner:t.startState(i)}},copyState:function(e){return{state:e.state,inner:t.copyState(curMode(e),e.inner)}},token:function(n,r){if(0==r.state)return n.match(/---/,!1)?(r.state=1,i.token(n,r.inner)):(r.state=e,r.inner=t.startState(a),a.token(n,r.inner));if(1==r.state){var s=n.sol()&&n.match(/---/,!1),o=i.token(n,r.inner);return s&&(r.state=e,r.inner=t.startState(a)),o}return a.token(n,r.inner)},innerMode:function(t){return{mode:curMode(t),state:t.inner}},blankLine:function(t){var e=curMode(t);if(e.blankLine)return e.blankLine(t.inner)}}})})},929:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("yaml",function(){var t=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(e,n){var r=e.peek(),i=n.escaped;if(n.escaped=!1,"#"==r&&(0==e.pos||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&e.indentation()>n.keyCol)return e.skipToEnd(),"string";if(n.literal&&(n.literal=!1),e.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,e.match(/---/))return"def";if(e.match(/\.\.\./))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!i&&","==r)return e.next(),"meta";if(n.inlinePairs>0&&!i&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,e.next(),"meta";if(n.pairStart){if(e.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&e.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(t))return"keyword"}return!n.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=e.indentation(),"atom"):n.pair&&e.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}}}}),t.defineMIME("text/x-yaml","yaml"),t.defineMIME("text/yaml","yaml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/12.2f5d25a9.js b/build/codemirror/mode/12.2f5d25a9.js new file mode 100644 index 0000000..e1ce459 --- /dev/null +++ b/build/codemirror/mode/12.2f5d25a9.js @@ -0,0 +1 @@ +webpackJsonp([110],{910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return a=t,e}function tokenString(e){return function(t,r){for(var o,a=!1;null!=(o=t.next());){if(o==e&&!a){")"==e&&t.backUp(1);break}a=!a&&"\\"==o}return(o==e||!a&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return x[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var a=o||1;a>0;a--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();n=f.hasOwnProperty(t)?"atom":b.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var a,n,i=t.indentUnit,l=r.tokenHooks,s=r.documentTypes||{},c=r.mediaTypes||{},d=r.mediaFeatures||{},p=r.mediaValueKeywords||{},u=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},g=r.counterDescriptors||{},b=r.colorKeywords||{},f=r.valueKeywords||{},y=r.allowNested,k=r.lineComment,w=!0===r.supportsAtComponent,x={};return x.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(w&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)n="builtin";else if("word"==e)n="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},x.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return u.hasOwnProperty(o)?(n="property","maybeprop"):m.hasOwnProperty(o)?(n="string-2","maybeprop"):y?(n=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?x.top(e,t,r):(n="error","block")},x.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},x.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else n+=" error";return"prop"},x.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(n="property","maybeprop"):r.context.type},x.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},x.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(n="variable-3",r.context.type):pass(e,t,r)},x.documentTypes=function(e,t,r){return"word"==e&&s.hasOwnProperty(t.current())?(n="tag",r.context.type):x.atBlock(e,t,r)},x.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();n="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":d.hasOwnProperty(o)?"property":p.hasOwnProperty(o)?"keyword":u.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":f.hasOwnProperty(o)?"atom":b.hasOwnProperty(o)?"keyword":"error"}return r.context.type},x.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(n="error"),r.context.type)},x.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):x.atBlock(e,t,r)},x.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(n="variable","restricted_atBlock_before"):pass(e,t,r)},x.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(n="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},x.keyframes=function(e,t,r){return"word"==e?(n="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},x.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?n="tag":"hash"==e&&(n="builtin"),"at")},x.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?n="variable":"variable"!=e&&"("!=e&&")"!=e&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(l[r]){var o=l[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(a=r[1],r=r[0]),n=r,"comment"!=a&&(t.state=x[t.state](a,e,t)),n},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),a=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(a=Math.max(0,r.indent-i)):a=(r=r.prev).indent),a},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:k,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=keySet(o),n=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(n),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],s=keySet(l),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=keySet(c),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],u=keySet(p),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=keySet(g),f=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(f),k=t.concat(o).concat(n).concat(l).concat(c).concat(p).concat(g).concat(f);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:r,mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,fontProperties:m,counterDescriptors:h,colorKeywords:b,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,colorKeywords:b,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,colorKeywords:b,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:a,mediaFeatures:i,propertyKeywords:d,nonStandardPropertyKeywords:u,fontProperties:m,counterDescriptors:h,colorKeywords:b,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/12.840e57b9.js b/build/codemirror/mode/12.840e57b9.js deleted file mode 100644 index c46c17a..0000000 --- a/build/codemirror/mode/12.840e57b9.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([111],{910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return a=t,e}function tokenString(e){return function(t,r){for(var o,a=!1;null!=(o=t.next());){if(o==e&&!a){")"==e&&t.backUp(1);break}a=!a&&"\\"==o}return(o==e||!a&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return x[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var a=o||1;a>0;a--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();n=f.hasOwnProperty(t)?"atom":b.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var a,n,i=t.indentUnit,l=r.tokenHooks,s=r.documentTypes||{},c=r.mediaTypes||{},d=r.mediaFeatures||{},p=r.mediaValueKeywords||{},u=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},g=r.counterDescriptors||{},b=r.colorKeywords||{},f=r.valueKeywords||{},y=r.allowNested,k=r.lineComment,w=!0===r.supportsAtComponent,x={};return x.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(w&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)n="builtin";else if("word"==e)n="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},x.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return u.hasOwnProperty(o)?(n="property","maybeprop"):m.hasOwnProperty(o)?(n="string-2","maybeprop"):y?(n=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?x.top(e,t,r):(n="error","block")},x.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},x.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else n+=" error";return"prop"},x.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(n="property","maybeprop"):r.context.type},x.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},x.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(n="variable-3",r.context.type):pass(e,t,r)},x.documentTypes=function(e,t,r){return"word"==e&&s.hasOwnProperty(t.current())?(n="tag",r.context.type):x.atBlock(e,t,r)},x.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();n="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":d.hasOwnProperty(o)?"property":p.hasOwnProperty(o)?"keyword":u.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":f.hasOwnProperty(o)?"atom":b.hasOwnProperty(o)?"keyword":"error"}return r.context.type},x.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(n="error"),r.context.type)},x.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):x.atBlock(e,t,r)},x.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(n="variable","restricted_atBlock_before"):pass(e,t,r)},x.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(n="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},x.keyframes=function(e,t,r){return"word"==e?(n="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},x.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?n="tag":"hash"==e&&(n="builtin"),"at")},x.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?n="variable":"variable"!=e&&"("!=e&&")"!=e&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(l[r]){var o=l[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(a=r[1],r=r[0]),n=r,"comment"!=a&&(t.state=x[t.state](a,e,t)),n},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),a=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(a=Math.max(0,r.indent-i)):a=(r=r.prev).indent),a},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:k,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=keySet(o),n=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(n),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],s=keySet(l),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=keySet(c),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],u=keySet(p),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],b=keySet(g),f=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(f),k=t.concat(o).concat(n).concat(l).concat(c).concat(p).concat(g).concat(f);e.registerHelper("hintWords","css",k),e.defineMIME("text/css",{documentTypes:r,mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,fontProperties:m,counterDescriptors:h,colorKeywords:b,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,colorKeywords:b,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:i,mediaValueKeywords:s,propertyKeywords:d,nonStandardPropertyKeywords:u,colorKeywords:b,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:a,mediaFeatures:i,propertyKeywords:d,nonStandardPropertyKeywords:u,fontProperties:m,counterDescriptors:h,colorKeywords:b,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/120.ddecb772.js b/build/codemirror/mode/120.a1e75709.js similarity index 96% rename from build/codemirror/mode/120.ddecb772.js rename to build/codemirror/mode/120.a1e75709.js index 1ffc3b3..ec19949 100644 --- a/build/codemirror/mode/120.ddecb772.js +++ b/build/codemirror/mode/120.a1e75709.js @@ -1 +1 @@ -webpackJsonp([29],{1041:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("z80",function(e,t){var r,n,i=t.ez80;i?(r=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,n=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(r=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,n=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var l=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,a=/^(n?[zc]|p[oe]?|m)\b/i,c=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,t){if(e.column()||(t.context=0),e.eatSpace())return null;var o;if(e.eatWhile(/\w/)){if(i&&e.eat(".")&&e.eatWhile(/\w/),o=e.current(),!e.indentation())return e.match(s)?"number":null;if((1==t.context||4==t.context)&&l.test(o))return t.context=4,"var2";if(2==t.context&&a.test(o))return t.context=4,"var3";if(r.test(o))return t.context=1,"keyword";if(n.test(o))return t.context=2,"keyword";if(4==t.context&&s.test(o))return"number";if(c.test(o))return"error"}else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(o=e.next())&&'"'!=o;)"\\"==o&&e.next();return"string"}if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(t.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),e.defineMIME("text/x-z80","z80"),e.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})}}); \ No newline at end of file +webpackJsonp([28],{1040:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("z80",function(e,t){var r,n,i=t.ez80;i?(r=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,n=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(r=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,n=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var l=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,a=/^(n?[zc]|p[oe]?|m)\b/i,c=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,t){if(e.column()||(t.context=0),e.eatSpace())return null;var o;if(e.eatWhile(/\w/)){if(i&&e.eat(".")&&e.eatWhile(/\w/),o=e.current(),!e.indentation())return e.match(s)?"number":null;if((1==t.context||4==t.context)&&l.test(o))return t.context=4,"var2";if(2==t.context&&a.test(o))return t.context=4,"var3";if(r.test(o))return t.context=1,"keyword";if(n.test(o))return t.context=2,"keyword";if(4==t.context&&s.test(o))return"number";if(c.test(o))return"error"}else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(o=e.next())&&'"'!=o;)"\\"==o&&e.next();return"string"}if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(t.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),e.defineMIME("text/x-z80","z80"),e.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/13.f0d8e766.js b/build/codemirror/mode/13.21f7aba8.js similarity index 98% rename from build/codemirror/mode/13.f0d8e766.js rename to build/codemirror/mode/13.21f7aba8.js index b8c3427..1698a6b 100644 --- a/build/codemirror/mode/13.f0d8e766.js +++ b/build/codemirror/mode/13.21f7aba8.js @@ -1 +1 @@ -webpackJsonp([110],{948:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e=function(t){return new RegExp("^(?:"+t.join("|")+")$","i")};t.defineMode("cypher",function(n){var r,i=function(t){var e=t.next();if('"'===e)return t.match(/.*?"/),"string";if("'"===e)return t.match(/.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return r=e,"node";if("/"===e&&t.eat("/"))return t.skipToEnd(),"comment";if(u.test(e))return t.eatWhile(u),null;if(t.eatWhile(/[_\w\d]/),t.eat(":"))return t.eatWhile(/[\w\d_\-]/),"atom";var n=t.current();return s.test(n)?"builtin":l.test(n)?"def":d.test(n)?"keyword":"variable"},o=function(t,e,n){return t.context={prev:t.context,indent:t.indent,col:n,type:e}},a=function(t){return t.indent=t.context.indent,t.context=t.context.prev},c=n.indentUnit,s=e(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),l=e(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),d=e(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),u=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!==n&&e.context&&null==e.context.align&&"pattern"!==e.context.type&&(e.context.align=!0),"("===r)o(e,")",t.column());else if("["===r)o(e,"]",t.column());else if("{"===r)o(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"===e.context.type;)a(e);e.context&&r===e.context.type&&a(e)}else"."===r&&e.context&&"pattern"===e.context.type?a(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",t.column()):"pattern"!==e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(e,n){var r=n&&n.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"===i.type;)i=i.prev;var o=i&&r===i.type;return i?"keywords"===i.type?t.commands.newlineAndIndent:i.align?i.col+(o?0:1):i.indent+(o?0:c):0}}}),t.modeExtensions.cypher={autoFormatLineBreaks:function(t){for(var e=t.split("\n"),n=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,r=0;r<e.length;r++)e[r]=e[r].replace(n," \n$1 ").trim();return e.join("\n")}},t.defineMIME("application/x-cypher-query","cypher")})}}); \ No newline at end of file +webpackJsonp([109],{948:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e=function(t){return new RegExp("^(?:"+t.join("|")+")$","i")};t.defineMode("cypher",function(n){var r,i=function(t){var e=t.next();if('"'===e)return t.match(/.*?"/),"string";if("'"===e)return t.match(/.*?'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return r=e,"node";if("/"===e&&t.eat("/"))return t.skipToEnd(),"comment";if(u.test(e))return t.eatWhile(u),null;if(t.eatWhile(/[_\w\d]/),t.eat(":"))return t.eatWhile(/[\w\d_\-]/),"atom";var n=t.current();return s.test(n)?"builtin":l.test(n)?"def":d.test(n)?"keyword":"variable"},o=function(t,e,n){return t.context={prev:t.context,indent:t.indent,col:n,type:e}},a=function(t){return t.indent=t.context.indent,t.context=t.context.prev},c=n.indentUnit,s=e(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),l=e(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),d=e(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),u=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(t,e){if(t.sol()&&(e.context&&null==e.context.align&&(e.context.align=!1),e.indent=t.indentation()),t.eatSpace())return null;var n=e.tokenize(t,e);if("comment"!==n&&e.context&&null==e.context.align&&"pattern"!==e.context.type&&(e.context.align=!0),"("===r)o(e,")",t.column());else if("["===r)o(e,"]",t.column());else if("{"===r)o(e,"}",t.column());else if(/[\]\}\)]/.test(r)){for(;e.context&&"pattern"===e.context.type;)a(e);e.context&&r===e.context.type&&a(e)}else"."===r&&e.context&&"pattern"===e.context.type?a(e):/atom|string|variable/.test(n)&&e.context&&(/[\}\]]/.test(e.context.type)?o(e,"pattern",t.column()):"pattern"!==e.context.type||e.context.align||(e.context.align=!0,e.context.col=t.column()));return n},indent:function(e,n){var r=n&&n.charAt(0),i=e.context;if(/[\]\}]/.test(r))for(;i&&"pattern"===i.type;)i=i.prev;var o=i&&r===i.type;return i?"keywords"===i.type?t.commands.newlineAndIndent:i.align?i.col+(o?0:1):i.indent+(o?0:c):0}}}),t.modeExtensions.cypher={autoFormatLineBreaks:function(t){for(var e=t.split("\n"),n=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,r=0;r<e.length;r++)e[r]=e[r].replace(n," \n$1 ").trim();return e.join("\n")}},t.defineMIME("application/x-cypher-query","cypher")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/14.1f62f606.js b/build/codemirror/mode/14.aebc88cf.js similarity index 98% rename from build/codemirror/mode/14.1f62f606.js rename to build/codemirror/mode/14.aebc88cf.js index b167385..4435000 100644 --- a/build/codemirror/mode/14.1f62f606.js +++ b/build/codemirror/mode/14.aebc88cf.js @@ -1 +1 @@ -webpackJsonp([109],{949:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),o=0;o<n.length;++o)e[n[o]]=!0;return e}t.defineMode("d",function(e,n){function tokenBase(t,e){var n=t.next();if(c[n]){var r=c[n](t,e);if(!1!==r)return r}if('"'==n||"'"==n||"`"==n)return e.tokenize=function tokenString(t){return function(e,n){for(var o,r=!1,i=!1;null!=(o=e.next());){if(o==t&&!r){i=!0;break}r=!r&&"\\"==o}return(i||!r&&!f)&&(n.tokenize=null),"string"}}(n),e.tokenize(t,e);if(/[\[\]{}\(\),;\:\.]/.test(n))return o=n,null;if(/\d/.test(n))return t.eatWhile(/[\w\.]/),"number";if("/"==n){if(t.eat("+"))return e.tokenize=tokenNestedComment,tokenNestedComment(t,e);if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(p.test(n))return t.eatWhile(p),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var i=t.current();return a.propertyIsEnumerable(i)?(s.propertyIsEnumerable(i)&&(o="newstatement"),"keyword"):u.propertyIsEnumerable(i)?(s.propertyIsEnumerable(i)&&(o="newstatement"),"builtin"):l.propertyIsEnumerable(i)?"atom":"variable"}function tokenComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=null;break}o="*"==n}return"comment"}function tokenNestedComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=null;break}o="+"==n}return"comment"}function Context(t,e,n,o,r){this.indented=t,this.column=e,this.type=n,this.align=o,this.prev=r}function pushContext(t,e,n){var o=t.indented;return t.context&&"statement"==t.context.type&&(o=t.context.indented),t.context=new Context(o,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var o,r=e.indentUnit,i=n.statementIndentUnit||r,a=n.keywords||{},u=n.builtin||{},s=n.blockKeywords||{},l=n.atoms||{},c=n.hooks||{},f=n.multiLineStrings,p=/[+\-*&%=<>!?|\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(null==n.align&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;o=null;var r=(e.tokenize||tokenBase)(t,e);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=o&&":"!=o&&","!=o||"statement"!=n.type)if("{"==o)pushContext(e,t.column(),"}");else if("["==o)pushContext(e,t.column(),"]");else if("("==o)pushContext(e,t.column(),")");else if("}"==o){for(;"statement"==n.type;)n=popContext(e);for("}"==n.type&&(n=popContext(e));"statement"==n.type;)n=popContext(e)}else o==n.type?popContext(e):(("}"==n.type||"top"==n.type)&&";"!=o||"statement"==n.type&&"newstatement"==o)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return t.Pass;var o=e.context,a=n&&n.charAt(0);"statement"==o.type&&"}"==a&&(o=o.prev);var u=a==o.type;return"statement"==o.type?o.indented+("{"==a?0:i):o.align?o.column+(u?0:1):o.indented+(u?0:r)},electricChars:"{}"}});var e="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";t.defineMIME("text/x-d",{name:"d",keywords:words("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+e),blockKeywords:words(e),builtin:words("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:words("exit failure success true false null"),hooks:{"@":function(t,e){return t.eatWhile(/[\w\$_]/),"meta"}}})})}}); \ No newline at end of file +webpackJsonp([108],{949:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";function words(t){for(var e={},n=t.split(" "),o=0;o<n.length;++o)e[n[o]]=!0;return e}t.defineMode("d",function(e,n){function tokenBase(t,e){var n=t.next();if(c[n]){var r=c[n](t,e);if(!1!==r)return r}if('"'==n||"'"==n||"`"==n)return e.tokenize=function tokenString(t){return function(e,n){for(var o,r=!1,i=!1;null!=(o=e.next());){if(o==t&&!r){i=!0;break}r=!r&&"\\"==o}return(i||!r&&!f)&&(n.tokenize=null),"string"}}(n),e.tokenize(t,e);if(/[\[\]{}\(\),;\:\.]/.test(n))return o=n,null;if(/\d/.test(n))return t.eatWhile(/[\w\.]/),"number";if("/"==n){if(t.eat("+"))return e.tokenize=tokenNestedComment,tokenNestedComment(t,e);if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(p.test(n))return t.eatWhile(p),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var i=t.current();return a.propertyIsEnumerable(i)?(s.propertyIsEnumerable(i)&&(o="newstatement"),"keyword"):u.propertyIsEnumerable(i)?(s.propertyIsEnumerable(i)&&(o="newstatement"),"builtin"):l.propertyIsEnumerable(i)?"atom":"variable"}function tokenComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=null;break}o="*"==n}return"comment"}function tokenNestedComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=null;break}o="+"==n}return"comment"}function Context(t,e,n,o,r){this.indented=t,this.column=e,this.type=n,this.align=o,this.prev=r}function pushContext(t,e,n){var o=t.indented;return t.context&&"statement"==t.context.type&&(o=t.context.indented),t.context=new Context(o,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var o,r=e.indentUnit,i=n.statementIndentUnit||r,a=n.keywords||{},u=n.builtin||{},s=n.blockKeywords||{},l=n.atoms||{},c=n.hooks||{},f=n.multiLineStrings,p=/[+\-*&%=<>!?|\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var n=e.context;if(t.sol()&&(null==n.align&&(n.align=!1),e.indented=t.indentation(),e.startOfLine=!0),t.eatSpace())return null;o=null;var r=(e.tokenize||tokenBase)(t,e);if("comment"==r||"meta"==r)return r;if(null==n.align&&(n.align=!0),";"!=o&&":"!=o&&","!=o||"statement"!=n.type)if("{"==o)pushContext(e,t.column(),"}");else if("["==o)pushContext(e,t.column(),"]");else if("("==o)pushContext(e,t.column(),")");else if("}"==o){for(;"statement"==n.type;)n=popContext(e);for("}"==n.type&&(n=popContext(e));"statement"==n.type;)n=popContext(e)}else o==n.type?popContext(e):(("}"==n.type||"top"==n.type)&&";"!=o||"statement"==n.type&&"newstatement"==o)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return t.Pass;var o=e.context,a=n&&n.charAt(0);"statement"==o.type&&"}"==a&&(o=o.prev);var u=a==o.type;return"statement"==o.type?o.indented+("{"==a?0:i):o.align?o.column+(u?0:1):o.indented+(u?0:r)},electricChars:"{}"}});var e="body catch class do else enum for foreach foreach_reverse if in interface mixin out scope struct switch try union unittest version while with";t.defineMIME("text/x-d",{name:"d",keywords:words("abstract alias align asm assert auto break case cast cdouble cent cfloat const continue debug default delegate delete deprecated export extern final finally function goto immutable import inout invariant is lazy macro module new nothrow override package pragma private protected public pure ref return shared short static super synchronized template this throw typedef typeid typeof volatile __FILE__ __LINE__ __gshared __traits __vector __parameters "+e),blockKeywords:words(e),builtin:words("bool byte char creal dchar double float idouble ifloat int ireal long real short ubyte ucent uint ulong ushort wchar wstring void size_t sizediff_t"),atoms:words("exit failure success true false null"),hooks:{"@":function(t,e){return t.eatWhile(/[\w\$_]/),"meta"}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/15.a97f3b20.js b/build/codemirror/mode/15.a97f3b20.js new file mode 100644 index 0000000..b2f07c9 --- /dev/null +++ b/build/codemirror/mode/15.a97f3b20.js @@ -0,0 +1 @@ +webpackJsonp([22,117],{915:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Context(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=i}function pushContext(e,t,n,r){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new Context(o,t,n,r,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=cppHook;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}"string"==typeof t&&(t=[t]);var r=[];add(n.keywords),add(n.types),add(n.builtin),add(n.atoms),r.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],r));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function tokenTripleString(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function tokenNestedComment(e){return function(t,n){for(var r;r=t.next();){if("*"==r&&t.eat("/")){if(1==e){n.tokenize=null;break}return n.tokenize=tokenNestedComment(e-1),n.tokenize(t,n)}if("/"==r&&t.eat("*"))return n.tokenize=tokenNestedComment(e+1),n.tokenize(t,n)}return"comment"}}function tokenCeylonString(e){return function(t,n){for(var o,i=!1,a=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){a=!0;break}if(!i&&t.match("``")){r=tokenCeylonString(e),a=!0;break}o=t.next(),i="single"==e&&!i&&"\\"==o}return a&&(n.tokenize=null),"string"}}e.defineMode("clike",function(t,n){function tokenBase(e,t){var n=e.next();if(m[n]){var i=m[n](e,t);if(!1!==i)return i}if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"\\"==r}return(i||!o&&!k)&&(n.tokenize=null),"string"}}(n),t.tokenize(e,t);if(y.test(n))return r=n,null;if(x.test(n)){if(e.backUp(1),e.match(b))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(v.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(v););return"operator"}if(e.eatWhile(_),w)for(;e.match(w);)e.eatWhile(_);var a=e.current();return contains(s,a)?(contains(d,a)&&(r="newstatement"),contains(f,a)&&(o=!0),"keyword"):contains(c,a)?"type":contains(u,a)?(contains(d,a)&&(r="newstatement"),"builtin"):contains(p,a)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function maybeEOL(e,t){n.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var r,o,i=t.indentUnit,a=n.statementIndentUnit||i,l=n.dontAlignCalls,s=n.keywords||{},c=n.types||{},u=n.builtin||{},d=n.blockKeywords||{},f=n.defKeywords||{},p=n.atoms||{},m=n.hooks||{},k=n.multiLineStrings,h=!1!==n.indentStatements,g=!1!==n.indentSwitch,w=n.namespaceSeparator,y=n.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=n.numberStart||/[\d\.]/,b=n.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,v=n.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=n.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var i=t.context;if(e.sol()&&(null==i.align&&(i.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;r=o=null;var a=(t.tokenize||tokenBase)(e,t);if("comment"==a||"meta"==a)return a;if(null==i.align&&(i.align=!0),";"==r||":"==r||","==r&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==r)pushContext(t,e.column(),"}");else if("["==r)pushContext(t,e.column(),"]");else if("("==r)pushContext(t,e.column(),")");else if("}"==r){for(;"statement"==i.type;)i=popContext(t);for("}"==i.type&&(i=popContext(t));"statement"==i.type;)i=popContext(t)}else r==i.type?popContext(t):h&&(("}"==i.type||"top"==i.type)&&";"!=r||"statement"==i.type&&"newstatement"==r)&&pushContext(t,e.column(),"statement",e.current());if("variable"==a&&("def"==t.prevToken||n.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(a="def"),m.token){var l=m.token(e,t,a);void 0!==l&&(a=l)}return"def"==a&&!1===n.styleDefs&&(a="variable"),t.startOfLine=!1,t.prevToken=o?"def":a||r,maybeEOL(e,t),a},indent:function(t,r){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,s=r&&r.charAt(0);if("statement"==o.type&&"}"==s&&(o=o.prev),n.dontIndentStatements)for(;"statement"==o.type&&n.dontIndentStatements.test(o.info);)o=o.prev;if(m.indent){var c=m.indent(t,o,r);if("number"==typeof c)return c}var u=s==o.type,d=o.prev&&"switch"==o.prev.info;if(n.allmanIndentation&&/[{(]/.test(s)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==s?0:a):!o.align||l&&")"==o.type?")"!=o.type||u?o.indented+(u?0:i)+(u||!d||/^(?:case|default)\b/.test(r)?0:i):o.indented+a:o.column+(u?0:1)},electricInput:g?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",n="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(n+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(n+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new Context(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,n){for(var r,o=!1,i=!1;!t.eol();){if(!e&&!o&&t.match('"')){i=!0;break}if(e&&t.match('"""')){i=!0;break}r=t.next(),!o&&"$"==r&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==r&&!e}return!i&&e||(n.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(n),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(n),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(n),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var r=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!r||!e.match("`"))&&(t.tokenize=r,r=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},950:function(e,t,n){!function(e){e(n(907),n(915))}(function(e){"use strict";function set(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}function pushInterpolationStack(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function popInterpolationStack(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function tokenString(e,t,n,r){function tokenStringHelper(t,n){for(var i=!1;!t.eol();){if(!r&&!i&&"$"==t.peek())return pushInterpolationStack(n),n.tokenize=tokenInterpolation,"string";var a=t.next();if(a==e&&!i&&(!o||t.match(e+e))){n.tokenize=null;break}i=!r&&!i&&"\\"==a}return"string"}var o=!1;if(t.eat(e)){if(!t.eat(e))return"string";o=!0}return n.tokenize=tokenStringHelper,tokenStringHelper(t,n)}function tokenInterpolation(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=tokenInterpolationIdentifier,null}function tokenInterpolationIdentifier(e,t){return e.eatWhile(/[\w_]/),t.tokenize=popInterpolationStack(t),"variable"}function tokenNestedComment(e){return function(t,n){for(var r;r=t.next();){if("*"==r&&t.eat("/")){if(1==e){n.tokenize=null;break}return n.tokenize=tokenNestedComment(e-1),n.tokenize(t,n)}if("/"==r&&t.eat("*"))return n.tokenize=tokenNestedComment(e+1),n.tokenize(t,n)}return"comment"}}var t="this super static final const abstract class extends external factory implements get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as".split(" "),n="try catch finally do else for if switch while".split(" "),r="true false null".split(" "),o="void bool num int double dynamic var String".split(" ");e.defineMIME("application/dart",{name:"clike",keywords:set(t),blockKeywords:set(n),builtin:set(o),atoms:set(r),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return tokenString("'",e,t,!1)},'"':function(e,t){return tokenString('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&tokenString(e.next(),e,t,!0)},"}":function(e,t){return function sizeInterpolationStack(e){return e.interpolationStack?e.interpolationStack.length:0}(t)>0&&(t.tokenize=popInterpolationStack(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}}}),e.registerHelper("hintWords","application/dart",t.concat(r).concat(o)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart")},"clike")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/15.bf076336.js b/build/codemirror/mode/15.bf076336.js deleted file mode 100644 index efba313..0000000 --- a/build/codemirror/mode/15.bf076336.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([23,118],{915:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Context(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=i}function pushContext(e,t,n,r){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new Context(o,t,n,r,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=cppHook;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}"string"==typeof t&&(t=[t]);var r=[];add(n.keywords),add(n.types),add(n.builtin),add(n.atoms),r.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],r));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function tokenTripleString(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function tokenCeylonString(e){return function(t,n){for(var o,i=!1,a=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){a=!0;break}if(!i&&t.match("``")){r=tokenCeylonString(e),a=!0;break}o=t.next(),i="single"==e&&!i&&"\\"==o}return a&&(n.tokenize=null),"string"}}e.defineMode("clike",function(t,n){function tokenBase(e,t){var n=e.next();if(m[n]){var i=m[n](e,t);if(!1!==i)return i}if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"\\"==r}return(i||!o&&!h)&&(n.tokenize=null),"string"}}(n),t.tokenize(e,t);if(y.test(n))return r=n,null;if(x.test(n)){if(e.backUp(1),e.match(b))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(v.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(v););return"operator"}if(e.eatWhile(_),w)for(;e.match(w);)e.eatWhile(_);var a=e.current();return contains(s,a)?(contains(d,a)&&(r="newstatement"),contains(f,a)&&(o=!0),"keyword"):contains(c,a)?"type":contains(u,a)?(contains(d,a)&&(r="newstatement"),"builtin"):contains(p,a)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function maybeEOL(e,t){n.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var r,o,i=t.indentUnit,a=n.statementIndentUnit||i,l=n.dontAlignCalls,s=n.keywords||{},c=n.types||{},u=n.builtin||{},d=n.blockKeywords||{},f=n.defKeywords||{},p=n.atoms||{},m=n.hooks||{},h=n.multiLineStrings,k=!1!==n.indentStatements,g=!1!==n.indentSwitch,w=n.namespaceSeparator,y=n.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=n.numberStart||/[\d\.]/,b=n.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,v=n.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=n.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var i=t.context;if(e.sol()&&(null==i.align&&(i.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;r=o=null;var a=(t.tokenize||tokenBase)(e,t);if("comment"==a||"meta"==a)return a;if(null==i.align&&(i.align=!0),";"==r||":"==r||","==r&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==r)pushContext(t,e.column(),"}");else if("["==r)pushContext(t,e.column(),"]");else if("("==r)pushContext(t,e.column(),")");else if("}"==r){for(;"statement"==i.type;)i=popContext(t);for("}"==i.type&&(i=popContext(t));"statement"==i.type;)i=popContext(t)}else r==i.type?popContext(t):k&&(("}"==i.type||"top"==i.type)&&";"!=r||"statement"==i.type&&"newstatement"==r)&&pushContext(t,e.column(),"statement",e.current());if("variable"==a&&("def"==t.prevToken||n.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(a="def"),m.token){var l=m.token(e,t,a);void 0!==l&&(a=l)}return"def"==a&&!1===n.styleDefs&&(a="variable"),t.startOfLine=!1,t.prevToken=o?"def":a||r,maybeEOL(e,t),a},indent:function(t,r){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,s=r&&r.charAt(0);if("statement"==o.type&&"}"==s&&(o=o.prev),n.dontIndentStatements)for(;"statement"==o.type&&n.dontIndentStatements.test(o.info);)o=o.prev;if(m.indent){var c=m.indent(t,o,r);if("number"==typeof c)return c}var u=s==o.type,d=o.prev&&"switch"==o.prev.info;if(n.allmanIndentation&&/[{(]/.test(s)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==s?0:a):!o.align||l&&")"==o.type?")"!=o.type||u?o.indented+(u?0:i)+(u||!d||/^(?:case|default)\b/.test(r)?0:i):o.indented+a:o.column+(u?0:1)},electricInput:g?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",n="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(n+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(n+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new Context(n.indented,n.column,n.type,n.info,null,n.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,n){for(var r,o=!1,i=!1;!t.eol();){if(!e&&!o&&t.match('"')){i=!0;break}if(e&&t.match('"""')){i=!0;break}r=t.next(),!o&&"$"==r&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==r&&!e}return!i&&e||(n.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(n),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(n),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(n),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var r=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!r||!e.match("`"))&&(t.tokenize=r,r=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},950:function(e,t,n){!function(e){e(n(907),n(915))}(function(e){"use strict";function set(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}function pushInterpolationStack(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function popInterpolationStack(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function tokenString(e,t,n,r){function tokenStringHelper(t,n){for(var i=!1;!t.eol();){if(!r&&!i&&"$"==t.peek())return pushInterpolationStack(n),n.tokenize=tokenInterpolation,"string";var a=t.next();if(a==e&&!i&&(!o||t.match(e+e))){n.tokenize=null;break}i=!r&&!i&&"\\"==a}return"string"}var o=!1;if(t.eat(e)){if(!t.eat(e))return"string";o=!0}return n.tokenize=tokenStringHelper,tokenStringHelper(t,n)}function tokenInterpolation(e,t){return e.eat("$"),e.eat("{")?t.tokenize=null:t.tokenize=tokenInterpolationIdentifier,null}function tokenInterpolationIdentifier(e,t){return e.eatWhile(/[\w_]/),t.tokenize=popInterpolationStack(t),"variable"}function tokenNestedComment(e){return function(t,n){for(var r;r=t.next();){if("*"==r&&t.eat("/")){if(1==e){n.tokenize=null;break}return n.tokenize=tokenNestedComment(e-1),n.tokenize(t,n)}if("/"==r&&t.eat("*"))return n.tokenize=tokenNestedComment(e+1),n.tokenize(t,n)}return"comment"}}var t="this super static final const abstract class extends external factory implements get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as".split(" "),n="try catch finally do else for if switch while".split(" "),r="true false null".split(" "),o="void bool num int double dynamic var String".split(" ");e.defineMIME("application/dart",{name:"clike",keywords:set(t),blockKeywords:set(n),builtin:set(o),atoms:set(r),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,t){return tokenString("'",e,t,!1)},'"':function(e,t){return tokenString('"',e,t,!1)},r:function(e,t){var n=e.peek();return("'"==n||'"'==n)&&tokenString(e.next(),e,t,!0)},"}":function(e,t){return function sizeInterpolationStack(e){return e.interpolationStack?e.interpolationStack.length:0}(t)>0&&(t.tokenize=popInterpolationStack(t),null)},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}}}),e.registerHelper("hintWords","application/dart",t.concat(r).concat(o)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart")},"clike")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/16.3592a531.js b/build/codemirror/mode/16.f0020c3d.js similarity index 85% rename from build/codemirror/mode/16.3592a531.js rename to build/codemirror/mode/16.f0020c3d.js index 1643260..4ad4712 100644 --- a/build/codemirror/mode/16.3592a531.js +++ b/build/codemirror/mode/16.f0020c3d.js @@ -1 +1 @@ -webpackJsonp([108],{951:function(n,e,i){!function(n){n(i(907))}(function(n){"use strict";n.defineMode("diff",function(){var n={"+":"positive","-":"negative","@":"meta"};return{token:function(e){var i=e.string.search(/[\t ]+?$/);if(!e.sol()||0===i)return e.skipToEnd(),("error "+(n[e.string.charAt(0)]||"")).replace(/ $/,"");var t=n[e.peek()]||e.skipToEnd();return-1===i?e.skipToEnd():e.pos=i,t}}}),n.defineMIME("text/x-diff","diff")})}}); \ No newline at end of file +webpackJsonp([107],{951:function(n,e,i){!function(n){n(i(907))}(function(n){"use strict";n.defineMode("diff",function(){var n={"+":"positive","-":"negative","@":"meta"};return{token:function(e){var i=e.string.search(/[\t ]+?$/);if(!e.sol()||0===i)return e.skipToEnd(),("error "+(n[e.string.charAt(0)]||"")).replace(/ $/,"");var t=n[e.peek()]||e.skipToEnd();return-1===i?e.skipToEnd():e.pos=i,t}}}),n.defineMIME("text/x-diff","diff")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/17.a5a063ca.js b/build/codemirror/mode/17.a5a063ca.js deleted file mode 100644 index ef2e362..0000000 --- a/build/codemirror/mode/17.a5a063ca.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([8,12,33,89,111],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=b}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},b={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},b=r.valueKeywords||{},x=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&x)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,x?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":b.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,x?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(b),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(b);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},913:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.overlayMode=function(t,r,n){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(n){return{base:e.copyState(t,n.base),overlay:e.copyState(r,n.overlay),basePos:n.basePos,baseCur:null,overlayPos:n.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=r.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||n&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,r){return t.indent(e.base,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,a;return t.blankLine&&(o=t.blankLine(e.base)),r.blankLine&&(a=r.blankLine(e.overlay)),null==a?o:n&&null!=o?o+" "+a:a}}}})},952:function(e,t,r){!function(e){e(r(907),r(911),r(913))}(function(e){"use strict";e.defineMode("django:inner",function(){function tokenBase(e,t){if(e.match("{{"))return t.tokenize=inVariable,"tag";if(e.match("{%"))return t.tokenize=inTag,"tag";if(e.match("{#"))return t.tokenize=inComment,"comment";for(;null!=e.next()&&!e.match(/\{[{%#]/,!1););return null}function inString(e,t){return function(r,n){if(!n.escapeNext&&r.eat(e))n.tokenize=t;else{n.escapeNext&&(n.escapeNext=!1);"\\"==r.next()&&(n.escapeNext=!0)}return"string"}}function inVariable(e,r){if(r.waitDot){if(r.waitDot=!1,"."!=e.peek())return"null";if(e.match(/\.\W+/))return"error";if(e.eat("."))return r.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(r.waitPipe){if(r.waitPipe=!1,"|"!=e.peek())return"null";if(e.match(/\.\W+/))return"error";if(e.eat("|"))return r.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return r.waitProperty&&(r.waitProperty=!1,e.match(/\b(\w+)\b/))?(r.waitDot=!0,r.waitPipe=!0,"property"):r.waitFilter&&(r.waitFilter=!1,e.match(t))?"variable-2":e.eatSpace()?(r.waitProperty=!1,"null"):e.match(/\b\d+(\.\d+)?\b/)?"number":e.match("'")?(r.tokenize=inString("'",r.tokenize),"string"):e.match('"')?(r.tokenize=inString('"',r.tokenize),"string"):e.match(/\b(\w+)\b/)&&!r.foundVariable?(r.waitDot=!0,r.waitPipe=!0,"variable"):e.match("}}")?(r.waitProperty=null,r.waitFilter=null,r.waitDot=null,r.waitPipe=null,r.tokenize=tokenBase,"tag"):(e.next(),"null")}function inTag(o,a){if(a.waitDot){if(a.waitDot=!1,"."!=o.peek())return"null";if(o.match(/\.\W+/))return"error";if(o.eat("."))return a.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(a.waitPipe){if(a.waitPipe=!1,"|"!=o.peek())return"null";if(o.match(/\.\W+/))return"error";if(o.eat("|"))return a.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(a.waitProperty&&(a.waitProperty=!1,o.match(/\b(\w+)\b/)))return a.waitDot=!0,a.waitPipe=!0,"property";if(a.waitFilter&&(a.waitFilter=!1,o.match(t)))return"variable-2";if(o.eatSpace())return a.waitProperty=!1,"null";if(o.match(/\b\d+(\.\d+)?\b/))return"number";if(o.match("'"))return a.tokenize=inString("'",a.tokenize),"string";if(o.match('"'))return a.tokenize=inString('"',a.tokenize),"string";if(o.match(r))return"operator";if(o.match(n))return"keyword";var i=o.match(e);return i?("comment"==i[0]&&(a.blockCommentTag=!0),"keyword"):o.match(/\b(\w+)\b/)?(a.waitDot=!0,a.waitPipe=!0,"variable"):o.match("%}")?(a.waitProperty=null,a.waitFilter=null,a.waitDot=null,a.waitPipe=null,a.blockCommentTag?(a.blockCommentTag=!1,a.tokenize=inBlockComment):a.tokenize=tokenBase,"tag"):(o.next(),"null")}function inComment(e,t){return e.match(/^.*?#\}/)?t.tokenize=tokenBase:e.skipToEnd(),"comment"}function inBlockComment(e,t){return e.match(/\{%\s*endcomment\s*%\}/,!1)?(t.tokenize=inTag,e.match("{%"),"tag"):(e.next(),"comment")}var e=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],r=["==","!=","<",">","<=",">="],n=["in","not","or","and"];return e=new RegExp("^\\b("+e.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),r=new RegExp("^\\b("+r.join("|")+")\\b"),n=new RegExp("^\\b("+n.join("|")+")\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),e.defineMode("django",function(t){var r=e.getMode(t,"text/html"),n=e.getMode(t,"django:inner");return e.overlayMode(r,n)}),e.defineMIME("text/x-django","django")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/17.be4e6e78.js b/build/codemirror/mode/17.be4e6e78.js new file mode 100644 index 0000000..986128d --- /dev/null +++ b/build/codemirror/mode/17.be4e6e78.js @@ -0,0 +1 @@ +webpackJsonp([8,12,32,88,110],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=b}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},b={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},b=r.valueKeywords||{},y=r.allowNested,x=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":b.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:x,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(b),x=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(b);e.registerHelper("hintWords","css",x),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},913:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.overlayMode=function(t,r,n){return{startState:function(){return{base:e.startState(t),overlay:e.startState(r),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(n){return{base:e.copyState(t,n.base),overlay:e.copyState(r,n.overlay),basePos:n.basePos,baseCur:null,overlayPos:n.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=r.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||n&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,r){return t.indent(e.base,r)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,a;return t.blankLine&&(o=t.blankLine(e.base)),r.blankLine&&(a=r.blankLine(e.overlay)),null==a?o:n&&null!=o?o+" "+a:a}}}})},952:function(e,t,r){!function(e){e(r(907),r(911),r(913))}(function(e){"use strict";e.defineMode("django:inner",function(){function tokenBase(e,t){if(e.match("{{"))return t.tokenize=inVariable,"tag";if(e.match("{%"))return t.tokenize=inTag,"tag";if(e.match("{#"))return t.tokenize=inComment,"comment";for(;null!=e.next()&&!e.match(/\{[{%#]/,!1););return null}function inString(e,t){return function(r,n){if(!n.escapeNext&&r.eat(e))n.tokenize=t;else{n.escapeNext&&(n.escapeNext=!1);"\\"==r.next()&&(n.escapeNext=!0)}return"string"}}function inVariable(e,r){if(r.waitDot){if(r.waitDot=!1,"."!=e.peek())return"null";if(e.match(/\.\W+/))return"error";if(e.eat("."))return r.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(r.waitPipe){if(r.waitPipe=!1,"|"!=e.peek())return"null";if(e.match(/\.\W+/))return"error";if(e.eat("|"))return r.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return r.waitProperty&&(r.waitProperty=!1,e.match(/\b(\w+)\b/))?(r.waitDot=!0,r.waitPipe=!0,"property"):r.waitFilter&&(r.waitFilter=!1,e.match(t))?"variable-2":e.eatSpace()?(r.waitProperty=!1,"null"):e.match(/\b\d+(\.\d+)?\b/)?"number":e.match("'")?(r.tokenize=inString("'",r.tokenize),"string"):e.match('"')?(r.tokenize=inString('"',r.tokenize),"string"):e.match(/\b(\w+)\b/)&&!r.foundVariable?(r.waitDot=!0,r.waitPipe=!0,"variable"):e.match("}}")?(r.waitProperty=null,r.waitFilter=null,r.waitDot=null,r.waitPipe=null,r.tokenize=tokenBase,"tag"):(e.next(),"null")}function inTag(o,a){if(a.waitDot){if(a.waitDot=!1,"."!=o.peek())return"null";if(o.match(/\.\W+/))return"error";if(o.eat("."))return a.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(a.waitPipe){if(a.waitPipe=!1,"|"!=o.peek())return"null";if(o.match(/\.\W+/))return"error";if(o.eat("|"))return a.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(a.waitProperty&&(a.waitProperty=!1,o.match(/\b(\w+)\b/)))return a.waitDot=!0,a.waitPipe=!0,"property";if(a.waitFilter&&(a.waitFilter=!1,o.match(t)))return"variable-2";if(o.eatSpace())return a.waitProperty=!1,"null";if(o.match(/\b\d+(\.\d+)?\b/))return"number";if(o.match("'"))return a.tokenize=inString("'",a.tokenize),"string";if(o.match('"'))return a.tokenize=inString('"',a.tokenize),"string";if(o.match(r))return"operator";if(o.match(n))return"keyword";var i=o.match(e);return i?("comment"==i[0]&&(a.blockCommentTag=!0),"keyword"):o.match(/\b(\w+)\b/)?(a.waitDot=!0,a.waitPipe=!0,"variable"):o.match("%}")?(a.waitProperty=null,a.waitFilter=null,a.waitDot=null,a.waitPipe=null,a.blockCommentTag?(a.blockCommentTag=!1,a.tokenize=inBlockComment):a.tokenize=tokenBase,"tag"):(o.next(),"null")}function inComment(e,t){return e.match(/^.*?#\}/)?t.tokenize=tokenBase:e.skipToEnd(),"comment"}function inBlockComment(e,t){return e.match(/\{%\s*endcomment\s*%\}/,!1)?(t.tokenize=inTag,e.match("{%"),"tag"):(e.next(),"comment")}var e=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],r=["==","!=","<",">","<=",">="],n=["in","not","or","and"];return e=new RegExp("^\\b("+e.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),r=new RegExp("^\\b("+r.join("|")+")\\b"),n=new RegExp("^\\b("+n.join("|")+")\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),e.defineMode("django",function(t){var r=e.getMode(t,"text/html"),n=e.getMode(t,"django:inner");return e.overlayMode(r,n)}),e.defineMIME("text/x-django","django")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/18.f9460598.js b/build/codemirror/mode/18.7d74d0c8.js similarity index 98% rename from build/codemirror/mode/18.f9460598.js rename to build/codemirror/mode/18.7d74d0c8.js index a72bf37..6d81ced 100644 --- a/build/codemirror/mode/18.f9460598.js +++ b/build/codemirror/mode/18.7d74d0c8.js @@ -1 +1 @@ -webpackJsonp([27],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(a,r){if(r.pending){var o=r.pending.shift();return 0==r.pending.length&&(r.pending=null),a.pos+=o.text.length,o.token}if(r.local){if(r.local.end&&a.match(r.local.end)){var i=r.local.endToken||null;return r.local=r.localState=null,i}var l;i=r.local.mode.token(a,r.localState);return r.local.endScan&&(l=r.local.endScan.exec(a.current()))&&(a.pos=a.start+l.index),i}for(var s=t[r.state],c=0;c<s.length;c++){var d=s[c],u=(!d.data.sol||a.sol())&&a.match(d.regex);if(u){d.data.next?r.state=d.data.next:d.data.push?((r.stack||(r.stack=[])).push(r.state),r.state=d.data.push):d.data.pop&&r.stack&&r.stack.length&&(r.state=r.stack.pop()),d.data.mode&&function enterLocalMode(t,n,a,r){var o;if(a.persistent)for(var i=n.persistentStates;i&&!o;i=i.next)(a.spec?cmp(a.spec,i.spec):a.mode==i.mode)&&(o=i);var l=o?o.mode:a.mode||e.getMode(t,a.spec),s=o?o.state:e.startState(l);a.persistent&&!o&&(n.persistentStates={mode:l,spec:a.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:a.end&&toRegex(a.end),endScan:a.end&&!1!==a.forceEnd&&toRegex(a.end,!1),endToken:r&&r.join?r[r.length-1]:r}}(n,r,d.data.mode,d.token),d.data.indent&&r.indent.push(a.indentation()+n.indentUnit),d.data.dedent&&r.indent.pop();var p=d.token;if(p&&p.apply&&(p=p(u)),u.length>2&&d.token&&"string"!=typeof d.token){r.pending=[];for(var f=2;f<u.length;f++)u[f]&&r.pending.push({text:u[f],token:d.token[f-1]});return a.backUp(u[0].length-(u[1]?u[1].length:0)),p[0]}return p&&p.join?p[0]:p}}return a.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var a in e)if(e.hasOwnProperty(a)){if(!t.hasOwnProperty(a)||!cmp(e[a],t[a]))return!1;n++}for(var a in t)t.hasOwnProperty(a)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var a={},r=n.meta||{},o=!1;for(var i in n)if(i!=r&&n.hasOwnProperty(i))for(var l=a[i]=[],s=n[i],c=0;c<s.length;c++){var d=s[c];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(o=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:o?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var a=t.persistentStates;a;a=a.next)n.persistentStates={mode:a.mode,spec:a.spec,state:a.state==t.localState?n.localState:e.copyState(a.mode,a.state),next:n.persistentStates};return n},token:tokenFunction(a,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(a,r,o){if(a.local&&a.local.mode.indent)return a.local.mode.indent(a.localState,r,o);if(null==a.indent||a.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(a.state,n.dontIndentStates)>-1)return e.Pass;var i=a.indent.length-1,l=t[a.state];e:for(;;){for(var s=0;s<l.length;s++){var c=l[s];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(r);if(d&&d[0]){i--,(c.next||c.push)&&(l=t[c.next||c.push]),r=r.slice(d[0].length);continue e}}}break}return i<0?0:a.indent[i]}}(a,r)};if(r)for(var p in r)r.hasOwnProperty(p)&&(u[p]=r[p]);return u}})},953:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";var t="("+["from","maintainer","run","cmd","expose","env","add","copy","entrypoint","volume","user","workdir","onbuild"].join("|")+")",n=new RegExp(t+"\\s*$","i"),a=new RegExp(t+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/#.*$/,token:"comment"},{regex:n,token:"variable-2"},{regex:a,token:["variable-2",null],next:"arguments"},{regex:/./,token:null}],arguments:[{regex:/#.*$/,token:"error",next:"start"},{regex:/[^#]+\\$/,token:null},{regex:/[^#]+/,token:null,next:"start"},{regex:/$/,token:null,next:"start"},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})}}); \ No newline at end of file +webpackJsonp([26],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(a,r){if(r.pending){var o=r.pending.shift();return 0==r.pending.length&&(r.pending=null),a.pos+=o.text.length,o.token}if(r.local){if(r.local.end&&a.match(r.local.end)){var i=r.local.endToken||null;return r.local=r.localState=null,i}var l;i=r.local.mode.token(a,r.localState);return r.local.endScan&&(l=r.local.endScan.exec(a.current()))&&(a.pos=a.start+l.index),i}for(var s=t[r.state],c=0;c<s.length;c++){var d=s[c],u=(!d.data.sol||a.sol())&&a.match(d.regex);if(u){d.data.next?r.state=d.data.next:d.data.push?((r.stack||(r.stack=[])).push(r.state),r.state=d.data.push):d.data.pop&&r.stack&&r.stack.length&&(r.state=r.stack.pop()),d.data.mode&&function enterLocalMode(t,n,a,r){var o;if(a.persistent)for(var i=n.persistentStates;i&&!o;i=i.next)(a.spec?cmp(a.spec,i.spec):a.mode==i.mode)&&(o=i);var l=o?o.mode:a.mode||e.getMode(t,a.spec),s=o?o.state:e.startState(l);a.persistent&&!o&&(n.persistentStates={mode:l,spec:a.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:a.end&&toRegex(a.end),endScan:a.end&&!1!==a.forceEnd&&toRegex(a.end,!1),endToken:r&&r.join?r[r.length-1]:r}}(n,r,d.data.mode,d.token),d.data.indent&&r.indent.push(a.indentation()+n.indentUnit),d.data.dedent&&r.indent.pop();var p=d.token;if(p&&p.apply&&(p=p(u)),u.length>2&&d.token&&"string"!=typeof d.token){r.pending=[];for(var f=2;f<u.length;f++)u[f]&&r.pending.push({text:u[f],token:d.token[f-1]});return a.backUp(u[0].length-(u[1]?u[1].length:0)),p[0]}return p&&p.join?p[0]:p}}return a.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var a in e)if(e.hasOwnProperty(a)){if(!t.hasOwnProperty(a)||!cmp(e[a],t[a]))return!1;n++}for(var a in t)t.hasOwnProperty(a)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var a={},r=n.meta||{},o=!1;for(var i in n)if(i!=r&&n.hasOwnProperty(i))for(var l=a[i]=[],s=n[i],c=0;c<s.length;c++){var d=s[c];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(o=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:o?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var a=t.persistentStates;a;a=a.next)n.persistentStates={mode:a.mode,spec:a.spec,state:a.state==t.localState?n.localState:e.copyState(a.mode,a.state),next:n.persistentStates};return n},token:tokenFunction(a,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(a,r,o){if(a.local&&a.local.mode.indent)return a.local.mode.indent(a.localState,r,o);if(null==a.indent||a.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(a.state,n.dontIndentStates)>-1)return e.Pass;var i=a.indent.length-1,l=t[a.state];e:for(;;){for(var s=0;s<l.length;s++){var c=l[s];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(r);if(d&&d[0]){i--,(c.next||c.push)&&(l=t[c.next||c.push]),r=r.slice(d[0].length);continue e}}}break}return i<0?0:a.indent[i]}}(a,r)};if(r)for(var p in r)r.hasOwnProperty(p)&&(u[p]=r[p]);return u}})},953:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";var t="("+["from","maintainer","run","cmd","expose","env","add","copy","entrypoint","volume","user","workdir","onbuild"].join("|")+")",n=new RegExp(t+"\\s*$","i"),a=new RegExp(t+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/#.*$/,token:"comment"},{regex:n,token:"variable-2"},{regex:a,token:["variable-2",null],next:"arguments"},{regex:/./,token:null}],arguments:[{regex:/#.*$/,token:"error",next:"start"},{regex:/[^#]+\\$/,token:null},{regex:/[^#]+/,token:null,next:"start"},{regex:/$/,token:null,next:"start"},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/19.62046c7a.js b/build/codemirror/mode/19.c5231846.js similarity index 97% rename from build/codemirror/mode/19.62046c7a.js rename to build/codemirror/mode/19.c5231846.js index 8734a1c..6138d6b 100644 --- a/build/codemirror/mode/19.62046c7a.js +++ b/build/codemirror/mode/19.c5231846.js @@ -1 +1 @@ -webpackJsonp([107],{954:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("dtd",function(t){function ret(t,n){return e=n,t}function tokenBase(t,e){var n=t.next();if("<"!=n||!t.eat("!")){if("<"==n&&t.eat("?"))return e.tokenize=function inBlock(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=tokenBase;break}n.next()}return t}}("meta","?>"),ret("meta",n);if("#"==n&&t.eatWhile(/[\w]/))return ret("atom","tag");if("|"==n)return ret("keyword","seperator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return ret(null,n);if(n.match(/[\[\]]/))return ret("rule",n);if('"'==n||"'"==n)return e.tokenize=function tokenString(t){return function(e,n){for(var r,a=!1;null!=(r=e.next());){if(r==t&&!a){n.tokenize=tokenBase;break}a=!a&&"\\"==r}return ret("string","tag")}}(n),e.tokenize(t,e);if(t.eatWhile(/[a-zA-Z\?\+\d]/)){var r=t.current();return null!==r.substr(r.length-1,r.length).match(/\?|\+/)&&t.backUp(1),ret("tag","tag")}return"%"==n||"*"==n?ret("number","number"):(t.eatWhile(/[\w\\\-_%.{,]/),ret(null,null))}return t.eatWhile(/[\-]/)?(e.tokenize=tokenSGMLComment,tokenSGMLComment(t,e)):t.eatWhile(/[\w]/)?ret("keyword","doindent"):void 0}function tokenSGMLComment(t,e){for(var n,r=0;null!=(n=t.next());){if(r>=2&&">"==n){e.tokenize=tokenBase;break}r="-"==n?r+1:0}return ret("comment","comment")}var e,n=t.indentUnit;return{startState:function(t){return{tokenize:tokenBase,baseIndent:t||0,stack:[]}},token:function(t,n){if(t.eatSpace())return null;var r=n.tokenize(t,n),a=n.stack[n.stack.length-1];return"["==t.current()||"doindent"===e||"["==e?n.stack.push("rule"):"endtag"===e?n.stack[n.stack.length-1]="endtag":"]"==t.current()||"]"==e||">"==e&&"rule"==a?n.stack.pop():"["==e&&n.stack.push("["),r},indent:function(t,r){var a=t.stack.length;return r.match(/\]\s+|\]/)?a-=1:">"===r.substr(r.length-1,r.length)&&("<"===r.substr(0,1)||"doindent"==e&&r.length>1||("doindent"==e?a--:">"==e&&r.length>1||"tag"==e&&">"!==r||("tag"==e&&"rule"==t.stack[t.stack.length-1]?a--:"tag"==e?a++:">"===r&&"rule"==t.stack[t.stack.length-1]&&">"===e?a--:">"===r&&"rule"==t.stack[t.stack.length-1]||("<"!==r.substr(0,1)&&">"===r.substr(0,1)?a-=1:">"===r||(a-=1)))),null!=e&&"]"!=e||a--),t.baseIndent+a*n},electricChars:"]>"}}),t.defineMIME("application/xml-dtd","dtd")})}}); \ No newline at end of file +webpackJsonp([106],{954:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("dtd",function(t){function ret(t,n){return e=n,t}function tokenBase(t,e){var n=t.next();if("<"!=n||!t.eat("!")){if("<"==n&&t.eat("?"))return e.tokenize=function inBlock(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=tokenBase;break}n.next()}return t}}("meta","?>"),ret("meta",n);if("#"==n&&t.eatWhile(/[\w]/))return ret("atom","tag");if("|"==n)return ret("keyword","seperator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return ret(null,n);if(n.match(/[\[\]]/))return ret("rule",n);if('"'==n||"'"==n)return e.tokenize=function tokenString(t){return function(e,n){for(var r,a=!1;null!=(r=e.next());){if(r==t&&!a){n.tokenize=tokenBase;break}a=!a&&"\\"==r}return ret("string","tag")}}(n),e.tokenize(t,e);if(t.eatWhile(/[a-zA-Z\?\+\d]/)){var r=t.current();return null!==r.substr(r.length-1,r.length).match(/\?|\+/)&&t.backUp(1),ret("tag","tag")}return"%"==n||"*"==n?ret("number","number"):(t.eatWhile(/[\w\\\-_%.{,]/),ret(null,null))}return t.eatWhile(/[\-]/)?(e.tokenize=tokenSGMLComment,tokenSGMLComment(t,e)):t.eatWhile(/[\w]/)?ret("keyword","doindent"):void 0}function tokenSGMLComment(t,e){for(var n,r=0;null!=(n=t.next());){if(r>=2&&">"==n){e.tokenize=tokenBase;break}r="-"==n?r+1:0}return ret("comment","comment")}var e,n=t.indentUnit;return{startState:function(t){return{tokenize:tokenBase,baseIndent:t||0,stack:[]}},token:function(t,n){if(t.eatSpace())return null;var r=n.tokenize(t,n),a=n.stack[n.stack.length-1];return"["==t.current()||"doindent"===e||"["==e?n.stack.push("rule"):"endtag"===e?n.stack[n.stack.length-1]="endtag":"]"==t.current()||"]"==e||">"==e&&"rule"==a?n.stack.pop():"["==e&&n.stack.push("["),r},indent:function(t,r){var a=t.stack.length;return r.match(/\]\s+|\]/)?a-=1:">"===r.substr(r.length-1,r.length)&&("<"===r.substr(0,1)||"doindent"==e&&r.length>1||("doindent"==e?a--:">"==e&&r.length>1||"tag"==e&&">"!==r||("tag"==e&&"rule"==t.stack[t.stack.length-1]?a--:"tag"==e?a++:">"===r&&"rule"==t.stack[t.stack.length-1]&&">"===e?a--:">"===r&&"rule"==t.stack[t.stack.length-1]||("<"!==r.substr(0,1)&&">"===r.substr(0,1)?a-=1:">"===r||(a-=1)))),null!=e&&"]"!=e||a--),t.baseIndent+a*n},electricChars:"]>"}}),t.defineMIME("application/xml-dtd","dtd")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/2.33810719.js b/build/codemirror/mode/2.914d05f5.js similarity index 98% rename from build/codemirror/mode/2.33810719.js rename to build/codemirror/mode/2.914d05f5.js index 2991bbb..2401700 100644 --- a/build/codemirror/mode/2.33810719.js +++ b/build/codemirror/mode/2.914d05f5.js @@ -1 +1 @@ -webpackJsonp([121],{940:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}e.defineMode("asn.1",function(e,t){function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){var s=t.peek();s&&("b"!=(s=s.toLowerCase())&&"h"!=s&&"o"!=s||t.next()),o=!0;break}i=!i&&"\\"==r}return(o||!i&&!p)&&(n.tokenize=null),"string"}}(r),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(r))return n=r,"punctuation";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if(l.test(r))return e.eatWhile(l),"operator";e.eatWhile(/[\w\-]/);var S=e.current();return i.propertyIsEnumerable(S)?"keyword":o.propertyIsEnumerable(S)?"variable cmipVerbs":s.propertyIsEnumerable(S)?"atom compareTypes":E.propertyIsEnumerable(S)?"comment status":a.propertyIsEnumerable(S)?"variable-3 tags":I.propertyIsEnumerable(S)?"builtin storage":T.propertyIsEnumerable(S)?"string-2 modifier":u.propertyIsEnumerable(S)?"atom accessTypes":"variable"}function Context(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function pushContext(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new Context(r,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var n,r=e.indentUnit,i=t.keywords||{},o=t.cmipVerbs||{},s=t.compareTypes||{},E=t.status||{},a=t.tags||{},I=t.storage||{},T=t.modifier||{},u=t.accessTypes||{},p=t.multiLineStrings,S=!1!==t.indentStatements,l=/[\|\^]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(t);for("}"==r.type&&(r=popContext(t));"statement"==r.type;)r=popContext(t)}else n==r.type?popContext(t):S&&(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,i},electricChars:"{}",lineComment:"--",fold:"brace"}}),e.defineMIME("text/x-ttcn-asn",{name:"asn.1",keywords:words("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:words("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:words("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:words("current deprecated mandatory obsolete"),tags:words("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:words("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminAtring TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:words("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:words("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0})})}}); \ No newline at end of file +webpackJsonp([120],{940:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}e.defineMode("asn.1",function(e,t){function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,n){for(var r,i=!1,o=!1;null!=(r=t.next());){if(r==e&&!i){var s=t.peek();s&&("b"!=(s=s.toLowerCase())&&"h"!=s&&"o"!=s||t.next()),o=!0;break}i=!i&&"\\"==r}return(o||!i&&!p)&&(n.tokenize=null),"string"}}(r),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(r))return n=r,"punctuation";if("-"==r&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(r))return e.eatWhile(/[\w\.]/),"number";if(l.test(r))return e.eatWhile(l),"operator";e.eatWhile(/[\w\-]/);var S=e.current();return i.propertyIsEnumerable(S)?"keyword":o.propertyIsEnumerable(S)?"variable cmipVerbs":s.propertyIsEnumerable(S)?"atom compareTypes":E.propertyIsEnumerable(S)?"comment status":a.propertyIsEnumerable(S)?"variable-3 tags":I.propertyIsEnumerable(S)?"builtin storage":T.propertyIsEnumerable(S)?"string-2 modifier":u.propertyIsEnumerable(S)?"atom accessTypes":"variable"}function Context(e,t,n,r,i){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=i}function pushContext(e,t,n){var r=e.indented;return e.context&&"statement"==e.context.type&&(r=e.context.indented),e.context=new Context(r,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var n,r=e.indentUnit,i=t.keywords||{},o=t.cmipVerbs||{},s=t.compareTypes||{},E=t.status||{},a=t.tags||{},I=t.storage||{},T=t.modifier||{},u=t.accessTypes||{},p=t.multiLineStrings,S=!1!==t.indentStatements,l=/[\|\^]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-r,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var r=t.context;if(e.sol()&&(null==r.align&&(r.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;n=null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i)return i;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n&&","!=n||"statement"!=r.type)if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(t);for("}"==r.type&&(r=popContext(t));"statement"==r.type;)r=popContext(t)}else n==r.type?popContext(t):S&&(("}"==r.type||"top"==r.type)&&";"!=n||"statement"==r.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement");else popContext(t);return t.startOfLine=!1,i},electricChars:"{}",lineComment:"--",fold:"brace"}}),e.defineMIME("text/x-ttcn-asn",{name:"asn.1",keywords:words("DEFINITIONS OBJECTS IF DERIVED INFORMATION ACTION REPLY ANY NAMED CHARACTERIZED BEHAVIOUR REGISTERED WITH AS IDENTIFIED CONSTRAINED BY PRESENT BEGIN IMPORTS FROM UNITS SYNTAX MIN-ACCESS MAX-ACCESS MINACCESS MAXACCESS REVISION STATUS DESCRIPTION SEQUENCE SET COMPONENTS OF CHOICE DistinguishedName ENUMERATED SIZE MODULE END INDEX AUGMENTS EXTENSIBILITY IMPLIED EXPORTS"),cmipVerbs:words("ACTIONS ADD GET NOTIFICATIONS REPLACE REMOVE"),compareTypes:words("OPTIONAL DEFAULT MANAGED MODULE-TYPE MODULE_IDENTITY MODULE-COMPLIANCE OBJECT-TYPE OBJECT-IDENTITY OBJECT-COMPLIANCE MODE CONFIRMED CONDITIONAL SUBORDINATE SUPERIOR CLASS TRUE FALSE NULL TEXTUAL-CONVENTION"),status:words("current deprecated mandatory obsolete"),tags:words("APPLICATION AUTOMATIC EXPLICIT IMPLICIT PRIVATE TAGS UNIVERSAL"),storage:words("BOOLEAN INTEGER OBJECT IDENTIFIER BIT OCTET STRING UTCTime InterfaceIndex IANAifType CMIP-Attribute REAL PACKAGE PACKAGES IpAddress PhysAddress NetworkAddress BITS BMPString TimeStamp TimeTicks TruthValue RowStatus DisplayString GeneralString GraphicString IA5String NumericString PrintableString SnmpAdminAtring TeletexString UTF8String VideotexString VisibleString StringStore ISO646String T61String UniversalString Unsigned32 Integer32 Gauge Gauge32 Counter Counter32 Counter64"),modifier:words("ATTRIBUTE ATTRIBUTES MANDATORY-GROUP MANDATORY-GROUPS GROUP GROUPS ELEMENTS EQUALITY ORDERING SUBSTRINGS DEFINED"),accessTypes:words("not-accessible accessible-for-notify read-only read-create read-write"),multiLineStrings:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/20.57ecd309.js b/build/codemirror/mode/20.b24e51b0.js similarity index 98% rename from build/codemirror/mode/20.57ecd309.js rename to build/codemirror/mode/20.b24e51b0.js index 13df1a1..2da7bd0 100644 --- a/build/codemirror/mode/20.57ecd309.js +++ b/build/codemirror/mode/20.b24e51b0.js @@ -1 +1 @@ -webpackJsonp([106],{955:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";function forEach(e,n){for(var t=0;t<e.length;t++)n(e[t],t)}function some(e,n){for(var t=0;t<e.length;t++)if(n(e[t],t))return!0;return!1}e.defineMode("dylan",function(e){function chain(e,n,t){return n.tokenize=t,t(e,n)}function tokenBase(e,n){var t=e.peek();if("'"==t||'"'==t)return e.next(),chain(e,n,tokenString(t,"string"));if("/"==t){if(e.next(),e.eat("*"))return chain(e,n,tokenComment);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(t)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if("#"==t)return e.next(),'"'==(t=e.peek())?(e.next(),chain(e,n,tokenString('"',"string"))):"b"==t?(e.next(),e.eatWhile(/[01]/),"number"):"x"==t?(e.next(),e.eatWhile(/[\da-f]/i),"number"):"o"==t?(e.next(),e.eatWhile(/[0-7]/),"number"):"#"==t?(e.next(),"punctuation"):"["==t||"("==t?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if("~"==t)return e.next(),"="==(t=e.peek())?(e.next(),"="==(t=e.peek())?(e.next(),"operator"):"operator"):"operator";if(":"==t){if(e.next(),"="==(t=e.peek()))return e.next(),"operator";if(":"==t)return e.next(),"punctuation"}else{if(-1!="[](){}".indexOf(t))return e.next(),"bracket";if(-1!=".,".indexOf(t))return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var a in r)if(r.hasOwnProperty(a)){var f=r[a];if(f instanceof Array&&some(f,function(n){return e.match(n)})||e.match(f))return o[a]}return/[+\-*\/^=<>&|]/.test(t)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),l.hasOwnProperty(e.current())?c[e.current()]:e.current().match(i)?"variable":(e.next(),"variable-2"))}function tokenComment(e,n){for(var t,i=!1,r=!1,o=0;t=e.next();){if("/"==t&&i){if(!(o>0)){n.tokenize=tokenBase;break}o--}else"*"==t&&r&&o++;i="*"==t,r="/"==t}return"comment"}function tokenString(e,n){return function(t,i){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(i.tokenize=tokenBase),n}}var n={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};n.otherDefinition=n.unnamedDefinition.concat(n.namedDefinition).concat(n.otherParameterizedDefinition),n.definition=n.typeParameterizedDefinition.concat(n.otherDefinition),n.parameterizedDefinition=n.typeParameterizedDefinition.concat(n.otherParameterizedDefinition),n.simpleDefinition=n.constantSimpleDefinition.concat(n.variableSimpleDefinition).concat(n.otherSimpleDefinition),n.keyword=n.statement.concat(n.separator).concat(n.other);var t="[-_a-zA-Z?!*@<>$%]+",i=new RegExp("^"+t),r={symbolKeyword:t+":",symbolClass:"<"+t+">",symbolGlobal:"\\*"+t+"\\*",symbolConstant:"\\$"+t},o={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var a in r)r.hasOwnProperty(a)&&(r[a]=new RegExp("^"+r[a]));r.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var f={};f.keyword="keyword",f.definition="def",f.simpleDefinition="def",f.signalingCalls="builtin";var l={},c={};return forEach(["keyword","definition","simpleDefinition","signalingCalls"],function(e){forEach(n[e],function(n){l[n]=e,c[n]=f[e]})}),{startState:function(){return{tokenize:tokenBase,currentIndent:0}},token:function(e,n){if(e.eatSpace())return null;return n.tokenize(e,n)},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-dylan","dylan")})}}); \ No newline at end of file +webpackJsonp([105],{955:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";function forEach(e,n){for(var t=0;t<e.length;t++)n(e[t],t)}function some(e,n){for(var t=0;t<e.length;t++)if(n(e[t],t))return!0;return!1}e.defineMode("dylan",function(e){function chain(e,n,t){return n.tokenize=t,t(e,n)}function tokenBase(e,n){var t=e.peek();if("'"==t||'"'==t)return e.next(),chain(e,n,tokenString(t,"string"));if("/"==t){if(e.next(),e.eat("*"))return chain(e,n,tokenComment);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(t)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if("#"==t)return e.next(),'"'==(t=e.peek())?(e.next(),chain(e,n,tokenString('"',"string"))):"b"==t?(e.next(),e.eatWhile(/[01]/),"number"):"x"==t?(e.next(),e.eatWhile(/[\da-f]/i),"number"):"o"==t?(e.next(),e.eatWhile(/[0-7]/),"number"):"#"==t?(e.next(),"punctuation"):"["==t||"("==t?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if("~"==t)return e.next(),"="==(t=e.peek())?(e.next(),"="==(t=e.peek())?(e.next(),"operator"):"operator"):"operator";if(":"==t){if(e.next(),"="==(t=e.peek()))return e.next(),"operator";if(":"==t)return e.next(),"punctuation"}else{if(-1!="[](){}".indexOf(t))return e.next(),"bracket";if(-1!=".,".indexOf(t))return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var a in r)if(r.hasOwnProperty(a)){var f=r[a];if(f instanceof Array&&some(f,function(n){return e.match(n)})||e.match(f))return o[a]}return/[+\-*\/^=<>&|]/.test(t)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),l.hasOwnProperty(e.current())?c[e.current()]:e.current().match(i)?"variable":(e.next(),"variable-2"))}function tokenComment(e,n){for(var t,i=!1,r=!1,o=0;t=e.next();){if("/"==t&&i){if(!(o>0)){n.tokenize=tokenBase;break}o--}else"*"==t&&r&&o++;i="*"==t,r="/"==t}return"comment"}function tokenString(e,n){return function(t,i){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(i.tokenize=tokenBase),n}}var n={unnamedDefinition:["interface"],namedDefinition:["module","library","macro","C-struct","C-union","C-function","C-callable-wrapper"],typeParameterizedDefinition:["class","C-subtype","C-mapped-subtype"],otherParameterizedDefinition:["method","function","C-variable","C-address"],constantSimpleDefinition:["constant"],variableSimpleDefinition:["variable"],otherSimpleDefinition:["generic","domain","C-pointer-type","table"],statement:["if","block","begin","method","case","for","select","when","unless","until","while","iterate","profiling","dynamic-bind"],separator:["finally","exception","cleanup","else","elseif","afterwards"],other:["above","below","by","from","handler","in","instance","let","local","otherwise","slot","subclass","then","to","keyed-by","virtual"],signalingCalls:["signal","error","cerror","break","check-type","abort"]};n.otherDefinition=n.unnamedDefinition.concat(n.namedDefinition).concat(n.otherParameterizedDefinition),n.definition=n.typeParameterizedDefinition.concat(n.otherDefinition),n.parameterizedDefinition=n.typeParameterizedDefinition.concat(n.otherParameterizedDefinition),n.simpleDefinition=n.constantSimpleDefinition.concat(n.variableSimpleDefinition).concat(n.otherSimpleDefinition),n.keyword=n.statement.concat(n.separator).concat(n.other);var t="[-_a-zA-Z?!*@<>$%]+",i=new RegExp("^"+t),r={symbolKeyword:t+":",symbolClass:"<"+t+">",symbolGlobal:"\\*"+t+"\\*",symbolConstant:"\\$"+t},o={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var a in r)r.hasOwnProperty(a)&&(r[a]=new RegExp("^"+r[a]));r.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var f={};f.keyword="keyword",f.definition="def",f.simpleDefinition="def",f.signalingCalls="builtin";var l={},c={};return forEach(["keyword","definition","simpleDefinition","signalingCalls"],function(e){forEach(n[e],function(n){l[n]=e,c[n]=f[e]})}),{startState:function(){return{tokenize:tokenBase,currentIndent:0}},token:function(e,n){if(e.eatSpace())return null;return n.tokenize(e,n)},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-dylan","dylan")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/21.aa7adbd5.js b/build/codemirror/mode/21.b13f826d.js similarity index 97% rename from build/codemirror/mode/21.aa7adbd5.js rename to build/codemirror/mode/21.b13f826d.js index 968e41d..ec7cb21 100644 --- a/build/codemirror/mode/21.aa7adbd5.js +++ b/build/codemirror/mode/21.b13f826d.js @@ -1 +1 @@ -webpackJsonp([105],{956:function(t,e,a){!function(t){t(a(907))}(function(t){"use strict";t.defineMode("ebnf",function(e){var a=0,c=1,n=0,r=1,s=2,i=null;return e.bracesMode&&(i=t.getMode(e,e.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,m){if(e){switch(0===m.stack.length&&('"'==e.peek()||"'"==e.peek()?(m.stringType=e.peek(),e.next(),m.stack.unshift(r)):e.match(/^\/\*/)?(m.stack.unshift(n),m.commentType=a):e.match(/^\(\*/)&&(m.stack.unshift(n),m.commentType=c)),m.stack[0]){case r:for(;m.stack[0]===r&&!e.eol();)e.peek()===m.stringType?(e.next(),m.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return m.lhs?"property string":"string";case n:for(;m.stack[0]===n&&!e.eol();)m.commentType===a&&e.match(/\*\//)?(m.stack.shift(),m.commentType=null):m.commentType===c&&e.match(/\*\)/)?(m.stack.shift(),m.commentType=null):e.match(/^.[^\*]*/);return"comment";case s:for(;m.stack[0]===s&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||m.stack.shift();return"operator"}var o=e.peek();if(null!==i&&(m.braced||"{"===o)){null===m.localState&&(m.localState=t.startState(i));var u=i.token(e,m.localState),h=e.current();if(!u)for(var f=0;f<h.length;f++)"{"===h[f]?(0===m.braced&&(u="matchingbracket"),m.braced++):"}"===h[f]&&(m.braced--,0===m.braced&&(u="matchingbracket"));return u}switch(o){case"[":return e.next(),m.stack.unshift(s),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"matchingbracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string-2";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(o))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variable-3";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match(/^\/\//)?(e.skipToEnd(),"comment"):e.match(/return/)?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),t.defineMIME("text/x-ebnf","ebnf")})}}); \ No newline at end of file +webpackJsonp([104],{956:function(t,e,a){!function(t){t(a(907))}(function(t){"use strict";t.defineMode("ebnf",function(e){var a=0,c=1,n=0,r=1,s=2,i=null;return e.bracesMode&&(i=t.getMode(e,e.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,m){if(e){switch(0===m.stack.length&&('"'==e.peek()||"'"==e.peek()?(m.stringType=e.peek(),e.next(),m.stack.unshift(r)):e.match(/^\/\*/)?(m.stack.unshift(n),m.commentType=a):e.match(/^\(\*/)&&(m.stack.unshift(n),m.commentType=c)),m.stack[0]){case r:for(;m.stack[0]===r&&!e.eol();)e.peek()===m.stringType?(e.next(),m.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return m.lhs?"property string":"string";case n:for(;m.stack[0]===n&&!e.eol();)m.commentType===a&&e.match(/\*\//)?(m.stack.shift(),m.commentType=null):m.commentType===c&&e.match(/\*\)/)?(m.stack.shift(),m.commentType=null):e.match(/^.[^\*]*/);return"comment";case s:for(;m.stack[0]===s&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||m.stack.shift();return"operator"}var o=e.peek();if(null!==i&&(m.braced||"{"===o)){null===m.localState&&(m.localState=t.startState(i));var u=i.token(e,m.localState),h=e.current();if(!u)for(var f=0;f<h.length;f++)"{"===h[f]?(0===m.braced&&(u="matchingbracket"),m.braced++):"}"===h[f]&&(m.braced--,0===m.braced&&(u="matchingbracket"));return u}switch(o){case"[":return e.next(),m.stack.unshift(s),"bracket";case":":case"|":case";":return e.next(),"operator";case"%":if(e.match("%%"))return"header";if(e.match(/[%][A-Za-z]+/))return"keyword";if(e.match(/[%][}]/))return"matchingbracket";break;case"/":if(e.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(e.match(/[\][a-z]+/))return"string-2";case".":if(e.match("."))return"atom";case"*":case"-":case"+":case"^":if(e.match(o))return"atom";case"$":if(e.match("$$"))return"builtin";if(e.match(/[$][0-9]+/))return"variable-3";case"<":if(e.match(/<<[a-zA-Z_]+>>/))return"builtin"}return e.match(/^\/\//)?(e.skipToEnd(),"comment"):e.match(/return/)?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":-1!=["[","]","(",")"].indexOf(e.peek())?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),t.defineMIME("text/x-ebnf","ebnf")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/22.4558e8fa.js b/build/codemirror/mode/22.54e75c53.js similarity index 98% rename from build/codemirror/mode/22.4558e8fa.js rename to build/codemirror/mode/22.54e75c53.js index 41d7cd3..94978a8 100644 --- a/build/codemirror/mode/22.4558e8fa.js +++ b/build/codemirror/mode/22.54e75c53.js @@ -1 +1 @@ -webpackJsonp([104],{957:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ecl",function(e){function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function tokenBase(e,n){var d=e.next();if(c[d]){var m=c[d](e,n);if(!1!==m)return m}if('"'==d||"'"==d)return n.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(n.tokenize=tokenBase),"string"}}(d),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(d))return t=d,null;if(/\d/.test(d))return e.eatWhile(/[\w\.]/),"number";if("/"==d){if(e.eat("*"))return n.tokenize=tokenComment,tokenComment(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(p.test(d))return e.eatWhile(p),"operator";e.eatWhile(/[\w\$_]/);var f=e.current().toLowerCase();if(r.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"keyword";if(o.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable";if(a.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable-2";if(i.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable-3";if(s.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"builtin";for(var h=f.length-1;h>=0&&(!isNaN(f[h])||"_"==f[h]);)--h;if(h>0){var x=f.substr(0,h+1);if(i.propertyIsEnumerable(x))return l.propertyIsEnumerable(x)&&(t="newstatement"),"variable-3"}return u.propertyIsEnumerable(f)?"atom":null}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var t,n=e.indentUnit,r=words("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),o=words("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),a=words("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),i=words("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),s=words("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),l=words("catch class do else finally for if switch try while"),u=words("true false null"),c={"#":function metaHook(e,t){return!!t.startOfLine&&(e.skipToEnd(),"meta")}},p=/[+\-*&%=<>!?|\/]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-n,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var r=n.context;if(e.sol()&&(null==r.align&&(r.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;t=null;var o=(n.tokenize||tokenBase)(e,n);if("comment"==o||"meta"==o)return o;if(null==r.align&&(r.align=!0),";"!=t&&":"!=t||"statement"!=r.type)if("{"==t)pushContext(n,e.column(),"}");else if("["==t)pushContext(n,e.column(),"]");else if("("==t)pushContext(n,e.column(),")");else if("}"==t){for(;"statement"==r.type;)r=popContext(n);for("}"==r.type&&(r=popContext(n));"statement"==r.type;)r=popContext(n)}else t==r.type?popContext(n):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==t)&&pushContext(n,e.column(),"statement");else popContext(n);return n.startOfLine=!1,o},indent:function(e,t){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var r=e.context,o=t&&t.charAt(0);"statement"==r.type&&"}"==o&&(r=r.prev);var a=o==r.type;return"statement"==r.type?r.indented+("{"==o?0:n):r.align?r.column+(a?0:1):r.indented+(a?0:n)},electricChars:"{}"}}),e.defineMIME("text/x-ecl","ecl")})}}); \ No newline at end of file +webpackJsonp([103],{957:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ecl",function(e){function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function tokenBase(e,n){var d=e.next();if(c[d]){var m=c[d](e,n);if(!1!==m)return m}if('"'==d||"'"==d)return n.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(n.tokenize=tokenBase),"string"}}(d),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(d))return t=d,null;if(/\d/.test(d))return e.eatWhile(/[\w\.]/),"number";if("/"==d){if(e.eat("*"))return n.tokenize=tokenComment,tokenComment(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(p.test(d))return e.eatWhile(p),"operator";e.eatWhile(/[\w\$_]/);var f=e.current().toLowerCase();if(r.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"keyword";if(o.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable";if(a.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable-2";if(i.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"variable-3";if(s.propertyIsEnumerable(f))return l.propertyIsEnumerable(f)&&(t="newstatement"),"builtin";for(var h=f.length-1;h>=0&&(!isNaN(f[h])||"_"==f[h]);)--h;if(h>0){var x=f.substr(0,h+1);if(i.propertyIsEnumerable(x))return l.propertyIsEnumerable(x)&&(t="newstatement"),"variable-3"}return u.propertyIsEnumerable(f)?"atom":null}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}var t,n=e.indentUnit,r=words("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),o=words("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),a=words("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),i=words("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),s=words("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),l=words("catch class do else finally for if switch try while"),u=words("true false null"),c={"#":function metaHook(e,t){return!!t.startOfLine&&(e.skipToEnd(),"meta")}},p=/[+\-*&%=<>!?|\/]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-n,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var r=n.context;if(e.sol()&&(null==r.align&&(r.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;t=null;var o=(n.tokenize||tokenBase)(e,n);if("comment"==o||"meta"==o)return o;if(null==r.align&&(r.align=!0),";"!=t&&":"!=t||"statement"!=r.type)if("{"==t)pushContext(n,e.column(),"}");else if("["==t)pushContext(n,e.column(),"]");else if("("==t)pushContext(n,e.column(),")");else if("}"==t){for(;"statement"==r.type;)r=popContext(n);for("}"==r.type&&(r=popContext(n));"statement"==r.type;)r=popContext(n)}else t==r.type?popContext(n):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==t)&&pushContext(n,e.column(),"statement");else popContext(n);return n.startOfLine=!1,o},indent:function(e,t){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var r=e.context,o=t&&t.charAt(0);"statement"==r.type&&"}"==o&&(r=r.prev);var a=o==r.type;return"statement"==r.type?r.indented+("{"==o?0:n):r.align?r.column+(a?0:1):r.indented+(a?0:n)},electricChars:"{}"}}),e.defineMIME("text/x-ecl","ecl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/23.79089835.js b/build/codemirror/mode/23.f944f82b.js similarity index 96% rename from build/codemirror/mode/23.79089835.js rename to build/codemirror/mode/23.f944f82b.js index 472dbf3..b139854 100644 --- a/build/codemirror/mode/23.79089835.js +++ b/build/codemirror/mode/23.f944f82b.js @@ -1 +1 @@ -webpackJsonp([103],{958:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("eiffel",function(){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function tokenBase(e,t){if(e.eatSpace())return null;var n=e.next();return'"'==n||"'"==n?function chain(e,t,n){return n.tokenize.push(e),e(t,n)}(function readQuoted(e,t,n){return function(r,i){for(var a,o=!1;null!=(a=r.next());){if(a==e&&(n||!o)){i.tokenize.pop();break}o=!o&&"%"==a}return t}}(n,"string"),e,t):"-"==n&&e.eat("-")?(e.skipToEnd(),"comment"):":"==n&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}var e=wordObj(["note","across","when","variant","until","unique","undefine","then","strip","select","retry","rescue","require","rename","reference","redefine","prefix","once","old","obsolete","loop","local","like","is","inspect","infix","include","if","frozen","from","external","export","ensure","end","elseif","else","do","creation","create","check","alias","agent","separate","invariant","inherit","indexing","feature","expanded","deferred","class","Void","True","Result","Precursor","False","Current","create","attached","detachable","as","and","implies","not","or"]),t=wordObj([":=","and then","and","or","<<",">>"]);return{startState:function(){return{tokenize:[tokenBase]}},token:function(n,r){var i=r.tokenize[r.tokenize.length-1](n,r);if("ident"==i){var a=n.current();i=e.propertyIsEnumerable(n.current())?"keyword":t.propertyIsEnumerable(n.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(a)?"tag":/^0[bB][0-1]+$/g.test(a)?"number":/^0[cC][0-7]+$/g.test(a)?"number":/^0[xX][a-fA-F0-9]+$/g.test(a)?"number":/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(a)?"number":/^[0-9]+$/g.test(a)?"number":"variable"}return i},lineComment:"--"}}),e.defineMIME("text/x-eiffel","eiffel")})}}); \ No newline at end of file +webpackJsonp([102],{958:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("eiffel",function(){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function tokenBase(e,t){if(e.eatSpace())return null;var n=e.next();return'"'==n||"'"==n?function chain(e,t,n){return n.tokenize.push(e),e(t,n)}(function readQuoted(e,t,n){return function(r,i){for(var a,o=!1;null!=(a=r.next());){if(a==e&&(n||!o)){i.tokenize.pop();break}o=!o&&"%"==a}return t}}(n,"string"),e,t):"-"==n&&e.eat("-")?(e.skipToEnd(),"comment"):":"==n&&e.eat("=")?"operator":/[0-9]/.test(n)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(n)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(n)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}var e=wordObj(["note","across","when","variant","until","unique","undefine","then","strip","select","retry","rescue","require","rename","reference","redefine","prefix","once","old","obsolete","loop","local","like","is","inspect","infix","include","if","frozen","from","external","export","ensure","end","elseif","else","do","creation","create","check","alias","agent","separate","invariant","inherit","indexing","feature","expanded","deferred","class","Void","True","Result","Precursor","False","Current","create","attached","detachable","as","and","implies","not","or"]),t=wordObj([":=","and then","and","or","<<",">>"]);return{startState:function(){return{tokenize:[tokenBase]}},token:function(n,r){var i=r.tokenize[r.tokenize.length-1](n,r);if("ident"==i){var a=n.current();i=e.propertyIsEnumerable(n.current())?"keyword":t.propertyIsEnumerable(n.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(a)?"tag":/^0[bB][0-1]+$/g.test(a)?"number":/^0[cC][0-7]+$/g.test(a)?"number":/^0[xX][a-fA-F0-9]+$/g.test(a)?"number":/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(a)?"number":/^[0-9]+$/g.test(a)?"number":"variable"}return i},lineComment:"--"}}),e.defineMIME("text/x-eiffel","eiffel")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/24.481e77ff.js b/build/codemirror/mode/24.7547b394.js similarity index 97% rename from build/codemirror/mode/24.481e77ff.js rename to build/codemirror/mode/24.7547b394.js index 2b0627b..20281f2 100644 --- a/build/codemirror/mode/24.481e77ff.js +++ b/build/codemirror/mode/24.7547b394.js @@ -1 +1 @@ -webpackJsonp([102],{959:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";t.defineMode("elm",function(){function switchState(t,e,r){return e(r),r(t,e)}function normal(){return function(l,c){if(l.eatWhile(f))return null;var s=l.next();if(o.test(s)){if("{"==s&&l.eat("-")){var m="comment";return l.eat("#")&&(m="meta"),switchState(l,c,ncomment(m,1))}return null}if("'"==s)return l.eat("\\"),l.next(),l.eat("'")?"string":"error";if('"'==s)return switchState(l,c,stringLiteral);if(e.test(s))return l.eatWhile(a),l.eat(".")?"qualifier":"variable-2";if(t.test(s)){var h=1===l.pos;return l.eatWhile(a),h?"type":"variable"}if(r.test(s)){if("0"==s){if(l.eat(/[xX]/))return l.eatWhile(n),"integer";if(l.eat(/[oO]/))return l.eatWhile(i),"number"}l.eatWhile(r);m="number";return l.eat(".")&&(m="number",l.eatWhile(r)),l.eat(/[eE]/)&&(m="number",l.eat(/[-+]/),l.eatWhile(r)),m}return u.test(s)?"-"==s&&l.eat(/-/)&&(l.eatWhile(/-/),!l.eat(u))?(l.skipToEnd(),"comment"):(l.eatWhile(u),"builtin"):"error"}}function ncomment(t,e){return 0==e?normal():function(r,n){for(var i=e;!r.eol();){var a=r.next();if("{"==a&&r.eat("-"))++i;else if("-"==a&&r.eat("}")&&0==--i)return n(normal()),t}return n(ncomment(t,i)),t}}function stringLiteral(t,e){for(;!t.eol();){var r=t.next();if('"'==r)return e(normal()),"string";if("\\"==r){if(t.eol()||t.eat(f))return e(stringGap),"string";t.eat("&")||t.next()}}return e(normal()),"error"}function stringGap(t,e){return t.eat("\\")?switchState(t,e,stringLiteral):(t.next(),e(normal()),"error")}var t=/[a-z_]/,e=/[A-Z]/,r=/[0-9]/,n=/[0-9A-Fa-f]/,i=/[0-7]/,a=/[a-z_A-Z0-9\']/,u=/[-!#$%&*+.\/<=>?@\\^|~:\u03BB\u2192]/,o=/[(),;[\]`{}]/,f=/[ \t\v\f]/,l=function(){for(var t={},e=["case","of","as","if","then","else","let","in","infix","infixl","infixr","type","alias","input","output","foreign","loopback","module","where","import","exposing","_","..","|",":","=","\\",'"',"->","<-"],r=e.length;r--;)t[e[r]]="keyword";return t}();return{startState:function(){return{f:normal()}},copyState:function(t){return{f:t.f}},token:function(t,e){var r=e.f(t,function(t){e.f=t}),n=t.current();return l.hasOwnProperty(n)?l[n]:r}}}),t.defineMIME("text/x-elm","elm")})}}); \ No newline at end of file +webpackJsonp([101],{959:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";t.defineMode("elm",function(){function switchState(t,e,r){return e(r),r(t,e)}function normal(){return function(l,c){if(l.eatWhile(f))return null;var s=l.next();if(o.test(s)){if("{"==s&&l.eat("-")){var m="comment";return l.eat("#")&&(m="meta"),switchState(l,c,ncomment(m,1))}return null}if("'"==s)return l.eat("\\"),l.next(),l.eat("'")?"string":"error";if('"'==s)return switchState(l,c,stringLiteral);if(e.test(s))return l.eatWhile(a),l.eat(".")?"qualifier":"variable-2";if(t.test(s)){var h=1===l.pos;return l.eatWhile(a),h?"type":"variable"}if(r.test(s)){if("0"==s){if(l.eat(/[xX]/))return l.eatWhile(n),"integer";if(l.eat(/[oO]/))return l.eatWhile(i),"number"}l.eatWhile(r);m="number";return l.eat(".")&&(m="number",l.eatWhile(r)),l.eat(/[eE]/)&&(m="number",l.eat(/[-+]/),l.eatWhile(r)),m}return u.test(s)?"-"==s&&l.eat(/-/)&&(l.eatWhile(/-/),!l.eat(u))?(l.skipToEnd(),"comment"):(l.eatWhile(u),"builtin"):"error"}}function ncomment(t,e){return 0==e?normal():function(r,n){for(var i=e;!r.eol();){var a=r.next();if("{"==a&&r.eat("-"))++i;else if("-"==a&&r.eat("}")&&0==--i)return n(normal()),t}return n(ncomment(t,i)),t}}function stringLiteral(t,e){for(;!t.eol();){var r=t.next();if('"'==r)return e(normal()),"string";if("\\"==r){if(t.eol()||t.eat(f))return e(stringGap),"string";t.eat("&")||t.next()}}return e(normal()),"error"}function stringGap(t,e){return t.eat("\\")?switchState(t,e,stringLiteral):(t.next(),e(normal()),"error")}var t=/[a-z_]/,e=/[A-Z]/,r=/[0-9]/,n=/[0-9A-Fa-f]/,i=/[0-7]/,a=/[a-z_A-Z0-9\']/,u=/[-!#$%&*+.\/<=>?@\\^|~:\u03BB\u2192]/,o=/[(),;[\]`{}]/,f=/[ \t\v\f]/,l=function(){for(var t={},e=["case","of","as","if","then","else","let","in","infix","infixl","infixr","type","alias","input","output","foreign","loopback","module","where","import","exposing","_","..","|",":","=","\\",'"',"->","<-"],r=e.length;r--;)t[e[r]]="keyword";return t}();return{startState:function(){return{f:normal()}},copyState:function(t){return{f:t.f}},token:function(t,e){var r=e.f(t,function(t){e.f=t}),n=t.current();return l.hasOwnProperty(n)?l[n]:r}}}),t.defineMIME("text/x-elm","elm")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/25.9fa80074.js b/build/codemirror/mode/25.ab718f16.js similarity index 99% rename from build/codemirror/mode/25.9fa80074.js rename to build/codemirror/mode/25.ab718f16.js index 4506386..c828782 100644 --- a/build/codemirror/mode/25.9fa80074.js +++ b/build/codemirror/mode/25.ab718f16.js @@ -1 +1 @@ -webpackJsonp([101],{960:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMIME("text/x-erlang","erlang"),e.defineMode("erlang",function(t){function nongreedy(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),is_member(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function greedy(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;0<e.current().length;){if(is_member(e.current(),r))return!0;e.backUp(1)}e.next()}return!1}function doubleQuote(e){return quote(e,'"',"\\")}function singleQuote(e){return quote(e,"'","\\")}function quote(e,t,r){for(;!e.eol();){var n=e.next();if(n==t)return!0;n==r&&e.next()}return!1}function is_member(e,t){return-1<t.indexOf(e)}function rval(e,t,r){switch(function pushToken(e,t){"comment"!=t.type&&"whitespace"!=t.type&&(e.tokenStack=function maybe_drop_pre(e,t){var r=e.length-1;0<r&&"record"===e[r].type&&"dot"===t.type?e.pop():0<r&&"group"===e[r].type?(e.pop(),e.push(t)):e.push(t);return e}(e.tokenStack,t),e.tokenStack=function maybe_drop_post(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return d(e,{g:["{"]});case"]":return d(e,{i:["["]});case")":return d(e,{i:["("]});case">>":return d(e,{i:["<<"]});case"end":return d(e,{i:["begin","case","fun","if","receive","try"]});case",":return d(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return d(e,{r:["when"],m:["try","if","case","receive"]});case";":return d(e,{E:["case","fun","if","receive","try","when"]});case"catch":return d(e,{e:["try"]});case"of":return d(e,{e:["case"]});case"after":return d(e,{e:["receive","try"]});default:return e}}(e.tokenStack))}(e,function realToken(e,t){return aToken(t.current(),t.column(),t.indentation(),e)}(r,t)),r){case"atom":return"atom";case"attribute":return"attribute";case"boolean":return"atom";case"builtin":return"builtin";case"close_paren":case"colon":return null;case"comment":return"comment";case"dot":return null;case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"variable-2";case"number":return"number";case"open_paren":return null;case"operator":return"operator";case"record":return"bracket";case"separator":return null;case"string":return"string";case"type":return"def";case"variable":return"variable";default:return null}}function aToken(e,t,r,n){return{token:e,column:t,indent:r,type:n}}function fakeToken(e){return aToken(e,0,0,e)}function peekToken(e,t){var r=e.tokenStack.length,n=t||1;return!(r<n)&&e.tokenStack[r-n]}function d(e,t){for(var r in t)for(var n=e.length-1,o=t[r],a=n-1;-1<a;a--)if(is_member(e[a].token,o)){var i=e.slice(0,a);switch(r){case"m":return i.concat(e[a]).concat(e[n]);case"r":return i.concat(e[n]);case"i":return i;case"g":return i.concat(fakeToken("group"));case"E":case"e":return i.concat(e[a])}}return"E"==r?[]:e}function indenter(r,n){var o,a=t.indentUnit,i=function wordafter(e){var t=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return truthy(t)&&0===t.index?t[0]:""}(n),u=peekToken(r,1),c=peekToken(r,2);return r.in_string||r.in_atom?e.Pass:c?"when"==u.token?u.column+a:"when"===i&&"function"===c.type?c.indent+a:"("===i&&"fun"===u.token?u.column+3:"catch"===i&&(o=getToken(r,["try"]))?o.column:is_member(i,["end","after","of"])?(o=getToken(r,["begin","case","fun","if","receive","try"]))?o.column:e.Pass:is_member(i,f)?(o=getToken(r,l))?o.column:e.Pass:is_member(u.token,[",","|","||"])||is_member(i,[",","|","||"])?(o=function postcommaToken(e){var t=e.tokenStack.slice(0,-1),r=getTokenIndex(t,"type",["open_paren"]);return!!truthy(t[r])&&t[r]}(r))?o.column+o.token.length:a:"->"==u.token?is_member(c.token,["receive","case","if","try"])?c.column+a+a:c.column+a:is_member(u.token,l)?u.column+u.token.length:(o=function defaultToken(e){var t=e.tokenStack,r=getTokenIndex(t,"type",["open_paren","separator","keyword"]),n=getTokenIndex(t,"type",["operator"]);return truthy(r)&&truthy(n)&&r<n?t[r+1]:!!truthy(r)&&t[r]}(r),truthy(o)?o.column+a:0):0}function getToken(e,t){var r=e.tokenStack,n=getTokenIndex(r,"token",t);return!!truthy(r[n])&&r[n]}function getTokenIndex(e,t,r){for(var n=e.length-1;-1<n;n--)if(is_member(e[n][t],r))return n;return!1}function truthy(e){return!1!==e&&null!=e}var r=["-type","-spec","-export_type","-opaque"],n=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],o=/[\->,;]/,a=["->",";",","],i=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],u=/[\+\-\*\/<>=\|:!]/,c=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],s=/[<\(\[\{]/,l=["<<","(","[","{"],_=/[>\)\]\}]/,f=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],p=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],k=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,b=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;return{startState:function(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:function(e,t){return function tokenizer(e,t){if(t.in_string)return t.in_string=!doubleQuote(e),rval(t,e,"string");if(t.in_atom)return t.in_atom=!singleQuote(e),rval(t,e,"atom");if(e.eatSpace())return rval(t,e,"whitespace");if(!peekToken(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return is_member(e.current(),r)?rval(t,e,"type"):rval(t,e,"attribute");var d=e.next();if("%"==d)return e.skipToEnd(),rval(t,e,"comment");if(":"==d)return rval(t,e,"colon");if("?"==d)return e.eatSpace(),e.eatWhile(k),rval(t,e,"macro");if("#"==d)return e.eatSpace(),e.eatWhile(k),rval(t,e,"record");if("$"==d)return"\\"!=e.next()||e.match(b)?rval(t,e,"number"):rval(t,e,"error");if("."==d)return rval(t,e,"dot");if("'"==d){if(!(t.in_atom=!singleQuote(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return rval(t,e,"function")}return rval(t,e,"atom")}if('"'==d)return t.in_string=!doubleQuote(e),rval(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(d))return e.eatWhile(k),rval(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(d)){if(e.eatWhile(k),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(t,e,"fun");var g=e.current();return is_member(g,n)?rval(t,e,"keyword"):is_member(g,i)?rval(t,e,"operator"):e.match(/\s*\(/,!1)?!is_member(g,p)||":"==peekToken(t).token&&"erlang"!=peekToken(t,2).token?is_member(g,m)?rval(t,e,"guard"):rval(t,e,"function"):rval(t,e,"builtin"):":"==function lookahead(e){var t=e.match(/([\n\s]+|%[^\n]*\n)*(.)/,!1);return t?t.pop():""}(e)?rval(t,e,"erlang"==g?"builtin":"function"):is_member(g,["true","false"])?rval(t,e,"boolean"):rval(t,e,"atom")}var v=/[0-9]/,h=/[0-9a-zA-Z]/;return v.test(d)?(e.eatWhile(v),e.eat("#")?e.eatWhile(h)||e.backUp(1):e.eat(".")&&(e.eatWhile(v)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(v)||e.backUp(2):e.eatWhile(v)||e.backUp(1)):e.backUp(1)),rval(t,e,"number")):nongreedy(e,s,l)?rval(t,e,"open_paren"):nongreedy(e,_,f)?rval(t,e,"close_paren"):greedy(e,o,a)?rval(t,e,"separator"):greedy(e,u,c)?rval(t,e,"operator"):rval(t,e,null)}(e,t)},indent:function(e,t){return indenter(e,t)},lineComment:"%"}})})}}); \ No newline at end of file +webpackJsonp([100],{960:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMIME("text/x-erlang","erlang"),e.defineMode("erlang",function(t){function nongreedy(e,t,r){if(1==e.current().length&&t.test(e.current())){for(e.backUp(1);t.test(e.peek());)if(e.next(),is_member(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function greedy(e,t,r){if(1==e.current().length&&t.test(e.current())){for(;t.test(e.peek());)e.next();for(;0<e.current().length;){if(is_member(e.current(),r))return!0;e.backUp(1)}e.next()}return!1}function doubleQuote(e){return quote(e,'"',"\\")}function singleQuote(e){return quote(e,"'","\\")}function quote(e,t,r){for(;!e.eol();){var n=e.next();if(n==t)return!0;n==r&&e.next()}return!1}function is_member(e,t){return-1<t.indexOf(e)}function rval(e,t,r){switch(function pushToken(e,t){"comment"!=t.type&&"whitespace"!=t.type&&(e.tokenStack=function maybe_drop_pre(e,t){var r=e.length-1;0<r&&"record"===e[r].type&&"dot"===t.type?e.pop():0<r&&"group"===e[r].type?(e.pop(),e.push(t)):e.push(t);return e}(e.tokenStack,t),e.tokenStack=function maybe_drop_post(e){if(!e.length)return e;var t=e.length-1;if("dot"===e[t].type)return[];if(t>1&&"fun"===e[t].type&&"fun"===e[t-1].token)return e.slice(0,t-1);switch(e[t].token){case"}":return d(e,{g:["{"]});case"]":return d(e,{i:["["]});case")":return d(e,{i:["("]});case">>":return d(e,{i:["<<"]});case"end":return d(e,{i:["begin","case","fun","if","receive","try"]});case",":return d(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return d(e,{r:["when"],m:["try","if","case","receive"]});case";":return d(e,{E:["case","fun","if","receive","try","when"]});case"catch":return d(e,{e:["try"]});case"of":return d(e,{e:["case"]});case"after":return d(e,{e:["receive","try"]});default:return e}}(e.tokenStack))}(e,function realToken(e,t){return aToken(t.current(),t.column(),t.indentation(),e)}(r,t)),r){case"atom":return"atom";case"attribute":return"attribute";case"boolean":return"atom";case"builtin":return"builtin";case"close_paren":case"colon":return null;case"comment":return"comment";case"dot":return null;case"error":return"error";case"fun":return"meta";case"function":return"tag";case"guard":return"property";case"keyword":return"keyword";case"macro":return"variable-2";case"number":return"number";case"open_paren":return null;case"operator":return"operator";case"record":return"bracket";case"separator":return null;case"string":return"string";case"type":return"def";case"variable":return"variable";default:return null}}function aToken(e,t,r,n){return{token:e,column:t,indent:r,type:n}}function fakeToken(e){return aToken(e,0,0,e)}function peekToken(e,t){var r=e.tokenStack.length,n=t||1;return!(r<n)&&e.tokenStack[r-n]}function d(e,t){for(var r in t)for(var n=e.length-1,o=t[r],a=n-1;-1<a;a--)if(is_member(e[a].token,o)){var i=e.slice(0,a);switch(r){case"m":return i.concat(e[a]).concat(e[n]);case"r":return i.concat(e[n]);case"i":return i;case"g":return i.concat(fakeToken("group"));case"E":case"e":return i.concat(e[a])}}return"E"==r?[]:e}function indenter(r,n){var o,a=t.indentUnit,i=function wordafter(e){var t=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return truthy(t)&&0===t.index?t[0]:""}(n),u=peekToken(r,1),c=peekToken(r,2);return r.in_string||r.in_atom?e.Pass:c?"when"==u.token?u.column+a:"when"===i&&"function"===c.type?c.indent+a:"("===i&&"fun"===u.token?u.column+3:"catch"===i&&(o=getToken(r,["try"]))?o.column:is_member(i,["end","after","of"])?(o=getToken(r,["begin","case","fun","if","receive","try"]))?o.column:e.Pass:is_member(i,f)?(o=getToken(r,l))?o.column:e.Pass:is_member(u.token,[",","|","||"])||is_member(i,[",","|","||"])?(o=function postcommaToken(e){var t=e.tokenStack.slice(0,-1),r=getTokenIndex(t,"type",["open_paren"]);return!!truthy(t[r])&&t[r]}(r))?o.column+o.token.length:a:"->"==u.token?is_member(c.token,["receive","case","if","try"])?c.column+a+a:c.column+a:is_member(u.token,l)?u.column+u.token.length:(o=function defaultToken(e){var t=e.tokenStack,r=getTokenIndex(t,"type",["open_paren","separator","keyword"]),n=getTokenIndex(t,"type",["operator"]);return truthy(r)&&truthy(n)&&r<n?t[r+1]:!!truthy(r)&&t[r]}(r),truthy(o)?o.column+a:0):0}function getToken(e,t){var r=e.tokenStack,n=getTokenIndex(r,"token",t);return!!truthy(r[n])&&r[n]}function getTokenIndex(e,t,r){for(var n=e.length-1;-1<n;n--)if(is_member(e[n][t],r))return n;return!1}function truthy(e){return!1!==e&&null!=e}var r=["-type","-spec","-export_type","-opaque"],n=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],o=/[\->,;]/,a=["->",";",","],i=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],u=/[\+\-\*\/<>=\|:!]/,c=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],s=/[<\(\[\{]/,l=["<<","(","[","{"],_=/[>\)\]\}]/,f=["}","]",")",">>"],m=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],p=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],k=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,b=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;return{startState:function(){return{tokenStack:[],in_string:!1,in_atom:!1}},token:function(e,t){return function tokenizer(e,t){if(t.in_string)return t.in_string=!doubleQuote(e),rval(t,e,"string");if(t.in_atom)return t.in_atom=!singleQuote(e),rval(t,e,"atom");if(e.eatSpace())return rval(t,e,"whitespace");if(!peekToken(t)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return is_member(e.current(),r)?rval(t,e,"type"):rval(t,e,"attribute");var d=e.next();if("%"==d)return e.skipToEnd(),rval(t,e,"comment");if(":"==d)return rval(t,e,"colon");if("?"==d)return e.eatSpace(),e.eatWhile(k),rval(t,e,"macro");if("#"==d)return e.eatSpace(),e.eatWhile(k),rval(t,e,"record");if("$"==d)return"\\"!=e.next()||e.match(b)?rval(t,e,"number"):rval(t,e,"error");if("."==d)return rval(t,e,"dot");if("'"==d){if(!(t.in_atom=!singleQuote(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(t,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return rval(t,e,"function")}return rval(t,e,"atom")}if('"'==d)return t.in_string=!doubleQuote(e),rval(t,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(d))return e.eatWhile(k),rval(t,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(d)){if(e.eatWhile(k),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),rval(t,e,"fun");var g=e.current();return is_member(g,n)?rval(t,e,"keyword"):is_member(g,i)?rval(t,e,"operator"):e.match(/\s*\(/,!1)?!is_member(g,p)||":"==peekToken(t).token&&"erlang"!=peekToken(t,2).token?is_member(g,m)?rval(t,e,"guard"):rval(t,e,"function"):rval(t,e,"builtin"):":"==function lookahead(e){var t=e.match(/([\n\s]+|%[^\n]*\n)*(.)/,!1);return t?t.pop():""}(e)?rval(t,e,"erlang"==g?"builtin":"function"):is_member(g,["true","false"])?rval(t,e,"boolean"):rval(t,e,"atom")}var v=/[0-9]/,h=/[0-9a-zA-Z]/;return v.test(d)?(e.eatWhile(v),e.eat("#")?e.eatWhile(h)||e.backUp(1):e.eat(".")&&(e.eatWhile(v)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(v)||e.backUp(2):e.eatWhile(v)||e.backUp(1)):e.backUp(1)),rval(t,e,"number")):nongreedy(e,s,l)?rval(t,e,"open_paren"):nongreedy(e,_,f)?rval(t,e,"close_paren"):greedy(e,o,a)?rval(t,e,"separator"):greedy(e,u,c)?rval(t,e,"operator"):rval(t,e,null)}(e,t)},indent:function(e,t){return indenter(e,t)},lineComment:"%"}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/26.ae5267a0.js b/build/codemirror/mode/26.d5c43c69.js similarity index 98% rename from build/codemirror/mode/26.ae5267a0.js rename to build/codemirror/mode/26.d5c43c69.js index fe2d9d7..ee7c21b 100644 --- a/build/codemirror/mode/26.ae5267a0.js +++ b/build/codemirror/mode/26.d5c43c69.js @@ -1 +1 @@ -webpackJsonp([26],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var s=o.local.endToken||null;return o.local=o.localState=null,s}var i;s=o.local.mode.token(r,o.localState);return o.local.endScan&&(i=o.local.endScan.exec(r.current()))&&(r.pos=r.start+i.index),s}for(var l=t[o.state],d=0;d<l.length;d++){var c=l[d],u=(!c.data.sol||r.sol())&&r.match(c.regex);if(u){c.data.next?o.state=c.data.next:c.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=c.data.push):c.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),c.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var s=n.persistentStates;s&&!a;s=s.next)(r.spec?cmp(r.spec,s.spec):r.mode==s.mode)&&(a=s);var i=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(i);r.persistent&&!a&&(n.persistentStates={mode:i,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:i,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,c.data.mode,c.token),c.data.indent&&o.indent.push(r.indentation()+n.indentUnit),c.data.dedent&&o.indent.pop();var g=c.token;if(g&&g.apply&&(g=g(u)),u.length>2&&c.token&&"string"!=typeof c.token){o.pending=[];for(var f=2;f<u.length;f++)u[f]&&o.pending.push({text:u[f],token:c.token[f-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),g[0]}return g&&g.join?g[0]:g}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var s in n)if(s!=o&&n.hasOwnProperty(s))for(var i=r[s]=[],l=n[s],d=0;d<l.length;d++){var c=l[d];i.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(c,n)),(c.indent||c.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var s=r.indent.length-1,i=t[r.state];e:for(;;){for(var l=0;l<i.length;l++){var d=i[l];if(d.data.dedent&&!1!==d.data.dedentIfLineStart){var c=d.regex.exec(o);if(c&&c[0]){s--,(d.next||d.push)&&(i=t[d.next||d.push]),o=o.slice(c[0].length);continue e}}}break}return s<0?0:r.indent[s]}}(r,o)};if(o)for(var g in o)o.hasOwnProperty(g)&&(u[g]=o[g]);return u}})},961:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/,token:"keyword"},{regex:/\S+[\)>\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:["!","#!"]}}),e.defineMIME("text/x-factor","factor")})}}); \ No newline at end of file +webpackJsonp([25],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var s=o.local.endToken||null;return o.local=o.localState=null,s}var i;s=o.local.mode.token(r,o.localState);return o.local.endScan&&(i=o.local.endScan.exec(r.current()))&&(r.pos=r.start+i.index),s}for(var l=t[o.state],d=0;d<l.length;d++){var c=l[d],u=(!c.data.sol||r.sol())&&r.match(c.regex);if(u){c.data.next?o.state=c.data.next:c.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=c.data.push):c.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),c.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var s=n.persistentStates;s&&!a;s=s.next)(r.spec?cmp(r.spec,s.spec):r.mode==s.mode)&&(a=s);var i=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(i);r.persistent&&!a&&(n.persistentStates={mode:i,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:i,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,c.data.mode,c.token),c.data.indent&&o.indent.push(r.indentation()+n.indentUnit),c.data.dedent&&o.indent.pop();var g=c.token;if(g&&g.apply&&(g=g(u)),u.length>2&&c.token&&"string"!=typeof c.token){o.pending=[];for(var f=2;f<u.length;f++)u[f]&&o.pending.push({text:u[f],token:c.token[f-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),g[0]}return g&&g.join?g[0]:g}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var s in n)if(s!=o&&n.hasOwnProperty(s))for(var i=r[s]=[],l=n[s],d=0;d<l.length;d++){var c=l[d];i.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(c,n)),(c.indent||c.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var s=r.indent.length-1,i=t[r.state];e:for(;;){for(var l=0;l<i.length;l++){var d=i[l];if(d.data.dedent&&!1!==d.data.dedentIfLineStart){var c=d.regex.exec(o);if(c&&c[0]){s--,(d.next||d.push)&&(i=t[d.next||d.push]),o=o.slice(c[0].length);continue e}}}break}return s<0?0:r.indent[s]}}(r,o)};if(o)for(var g in o)o.hasOwnProperty(g)&&(u[g]=o[g]);return u}})},961:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/,token:"keyword"},{regex:/\S+[\)>\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:["!","#!"]}}),e.defineMIME("text/x-factor","factor")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/27.39ed72a8.js b/build/codemirror/mode/27.39ed72a8.js deleted file mode 100644 index 3c5b3f0..0000000 --- a/build/codemirror/mode/27.39ed72a8.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([100],{962:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("fcl",function(e){function tokenBase(e,t){var u=e.next();if(/[\d\.]/.test(u))return"."==u?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==u?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==u||"("==u){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(a.test(u))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var c=e.current().toLowerCase();return n.propertyIsEnumerable(c)||r.propertyIsEnumerable(c)||o.propertyIsEnumerable(c)?"keyword":i.propertyIsEnumerable(c)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if(("/"==n||")"==n)&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}var t=e.indentUnit,n={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},r={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},i={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},a=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-t,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i)return i;null==n.align&&(n.align=!0);var a=e.current().toLowerCase();return r.propertyIsEnumerable(a)?function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}(t,e.column(),"end_block"):o.propertyIsEnumerable(a)&&function popContext(e){if(e.context.prev)return"end_block"==e.context.type&&(e.indented=e.context.indented),e.context=e.context.prev}(t),t.startOfLine=!1,i},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var r=e.context,i=o.propertyIsEnumerable(n);return r.align?r.column+(i?0:1):r.indented+(i?0:t)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),e.defineMIME("text/x-fcl","fcl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/27.48b46d5a.js b/build/codemirror/mode/27.48b46d5a.js new file mode 100644 index 0000000..6370f5c --- /dev/null +++ b/build/codemirror/mode/27.48b46d5a.js @@ -0,0 +1 @@ +webpackJsonp([99],{962:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("fcl",function(e){function tokenBase(e,t){var u=e.next();if(/[\d\.]/.test(u))return"."==u?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==u?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if("/"==u||"("==u){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(a.test(u))return e.eatWhile(a),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var c=e.current().toLowerCase();return n.propertyIsEnumerable(c)||r.propertyIsEnumerable(c)||o.propertyIsEnumerable(c)?"keyword":i.propertyIsEnumerable(c)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if(("/"==n||")"==n)&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}function Context(e,t,n,r,o){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=o}var t=e.indentUnit,n={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},r={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},o={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},i={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},a=/[+\-*&^%:=<>!|\/]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-t,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(null==n.align&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i)return i;null==n.align&&(n.align=!0);var a=e.current().toLowerCase();return r.propertyIsEnumerable(a)?function pushContext(e,t,n){return e.context=new Context(e.indented,t,n,null,e.context)}(t,e.column(),"end_block"):o.propertyIsEnumerable(a)&&function popContext(e){if(e.context.prev)return"end_block"==e.context.type&&(e.indented=e.context.indented),e.context=e.context.prev}(t),t.startOfLine=!1,i},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return 0;var r=e.context,i=o.propertyIsEnumerable(n);return r.align?r.column+(i?0:1):r.indented+(i?0:t)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),e.defineMIME("text/x-fcl","fcl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/28.e6e73573.js b/build/codemirror/mode/28.a6aba0d7.js similarity index 97% rename from build/codemirror/mode/28.e6e73573.js rename to build/codemirror/mode/28.a6aba0d7.js index ba23ebc..f9819c1 100644 --- a/build/codemirror/mode/28.e6e73573.js +++ b/build/codemirror/mode/28.a6aba0d7.js @@ -1 +1 @@ -webpackJsonp([99],{963:function(t,E,e){!function(t){t(e(907))}(function(t){"use strict";function toWordList(t){var E=[];return t.split(" ").forEach(function(t){E.push({name:t})}),E}var E=toWordList("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),e=toWordList("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");t.defineMode("forth",function(){function searchWordList(t,E){var e;for(e=t.length-1;e>=0;e--)if(t[e].name===E.toUpperCase())return t[e]}return{startState:function(){return{state:"",base:10,coreWordList:E,immediateWordList:e,wordList:[]}},token:function(t,E){var e;if(t.eatSpace())return null;if(""===E.state){if(t.match(/^(\]|:NONAME)(\s|$)/i))return E.state=" compilation","builtin compilation";if(e=t.match(/^(\:)\s+(\S+)(\s|$)+/))return E.wordList.push({name:e[2].toUpperCase()}),E.state=" compilation","def"+E.state;if(e=t.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return E.wordList.push({name:e[2].toUpperCase()}),"def"+E.state;if(e=t.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"+E.state}else{if(t.match(/^(\;|\[)(\s)/))return E.state="",t.backUp(1),"builtin compilation";if(t.match(/^(\;|\[)($)/))return E.state="","builtin compilation";if(t.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return(e=t.match(/^(\S+)(\s+|$)/))?void 0!==searchWordList(E.wordList,e[1])?"variable"+E.state:"\\"===e[1]?(t.skipToEnd(),"comment"+E.state):void 0!==searchWordList(E.coreWordList,e[1])?"builtin"+E.state:void 0!==searchWordList(E.immediateWordList,e[1])?"keyword"+E.state:"("===e[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"comment"+E.state):".("===e[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"string"+E.state):'S"'===e[1]||'."'===e[1]||'C"'===e[1]?(t.eatWhile(function(t){return'"'!==t}),t.eat('"'),"string"+E.state):e[1]-68719476735?"number"+E.state:"atom"+E.state:void 0}}}),t.defineMIME("text/x-forth","forth")})}}); \ No newline at end of file +webpackJsonp([98],{963:function(t,E,e){!function(t){t(e(907))}(function(t){"use strict";function toWordList(t){var E=[];return t.split(" ").forEach(function(t){E.push({name:t})}),E}var E=toWordList("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),e=toWordList("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");t.defineMode("forth",function(){function searchWordList(t,E){var e;for(e=t.length-1;e>=0;e--)if(t[e].name===E.toUpperCase())return t[e]}return{startState:function(){return{state:"",base:10,coreWordList:E,immediateWordList:e,wordList:[]}},token:function(t,E){var e;if(t.eatSpace())return null;if(""===E.state){if(t.match(/^(\]|:NONAME)(\s|$)/i))return E.state=" compilation","builtin compilation";if(e=t.match(/^(\:)\s+(\S+)(\s|$)+/))return E.wordList.push({name:e[2].toUpperCase()}),E.state=" compilation","def"+E.state;if(e=t.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i))return E.wordList.push({name:e[2].toUpperCase()}),"def"+E.state;if(e=t.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/))return"builtin"+E.state}else{if(t.match(/^(\;|\[)(\s)/))return E.state="",t.backUp(1),"builtin compilation";if(t.match(/^(\;|\[)($)/))return E.state="","builtin compilation";if(t.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}return(e=t.match(/^(\S+)(\s+|$)/))?void 0!==searchWordList(E.wordList,e[1])?"variable"+E.state:"\\"===e[1]?(t.skipToEnd(),"comment"+E.state):void 0!==searchWordList(E.coreWordList,e[1])?"builtin"+E.state:void 0!==searchWordList(E.immediateWordList,e[1])?"keyword"+E.state:"("===e[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"comment"+E.state):".("===e[1]?(t.eatWhile(function(t){return")"!==t}),t.eat(")"),"string"+E.state):'S"'===e[1]||'."'===e[1]||'C"'===e[1]?(t.eatWhile(function(t){return'"'!==t}),t.eat('"'),"string"+E.state):e[1]-68719476735?"number"+E.state:"atom"+E.state:void 0}}}),t.defineMIME("text/x-forth","forth")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/29.aeb0cfba.js b/build/codemirror/mode/29.db9ac070.js similarity index 98% rename from build/codemirror/mode/29.aeb0cfba.js rename to build/codemirror/mode/29.db9ac070.js index 0f1239d..36497a5 100644 --- a/build/codemirror/mode/29.aeb0cfba.js +++ b/build/codemirror/mode/29.db9ac070.js @@ -1 +1 @@ -webpackJsonp([98],{964:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("fortran",function(){function words(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}var e=words(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),t=words(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),n=words(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),i=/[+\-*&=<>\/\:]/,a=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");return{startState:function(){return{tokenize:null}},token:function(r,o){if(r.eatSpace())return null;var c=(o.tokenize||function tokenBase(r,o){if(r.match(a))return"operator";var c=r.next();if("!"==c)return r.skipToEnd(),"comment";if('"'==c||"'"==c)return o.tokenize=function tokenString(e){return function(t,n){for(var i,a=!1,r=!1;null!=(i=t.next());){if(i==e&&!a){r=!0;break}a=!a&&"\\"==i}return!r&&a||(n.tokenize=null),"string"}}(c),o.tokenize(r,o);if(/[\[\]\(\),]/.test(c))return null;if(/\d/.test(c))return r.eatWhile(/[\w\.]/),"number";if(i.test(c))return r.eatWhile(i),"operator";r.eatWhile(/[\w\$_]/);var s=r.current().toLowerCase();return e.hasOwnProperty(s)?"keyword":t.hasOwnProperty(s)||n.hasOwnProperty(s)?"builtin":"variable"})(r,o);return c}}}),e.defineMIME("text/x-fortran","fortran")})}}); \ No newline at end of file +webpackJsonp([97],{964:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("fortran",function(){function words(e){for(var t={},n=0;n<e.length;++n)t[e[n]]=!0;return t}var e=words(["abstract","accept","allocatable","allocate","array","assign","asynchronous","backspace","bind","block","byte","call","case","class","close","common","contains","continue","cycle","data","deallocate","decode","deferred","dimension","do","elemental","else","encode","end","endif","entry","enumerator","equivalence","exit","external","extrinsic","final","forall","format","function","generic","go","goto","if","implicit","import","include","inquire","intent","interface","intrinsic","module","namelist","non_intrinsic","non_overridable","none","nopass","nullify","open","optional","options","parameter","pass","pause","pointer","print","private","program","protected","public","pure","read","recursive","result","return","rewind","save","select","sequence","stop","subroutine","target","then","to","type","use","value","volatile","where","while","write"]),t=words(["abort","abs","access","achar","acos","adjustl","adjustr","aimag","aint","alarm","all","allocated","alog","amax","amin","amod","and","anint","any","asin","associated","atan","besj","besjn","besy","besyn","bit_size","btest","cabs","ccos","ceiling","cexp","char","chdir","chmod","clog","cmplx","command_argument_count","complex","conjg","cos","cosh","count","cpu_time","cshift","csin","csqrt","ctime","c_funloc","c_loc","c_associated","c_null_ptr","c_null_funptr","c_f_pointer","c_null_char","c_alert","c_backspace","c_form_feed","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","dabs","dacos","dasin","datan","date_and_time","dbesj","dbesj","dbesjn","dbesy","dbesy","dbesyn","dble","dcos","dcosh","ddim","derf","derfc","dexp","digits","dim","dint","dlog","dlog","dmax","dmin","dmod","dnint","dot_product","dprod","dsign","dsinh","dsin","dsqrt","dtanh","dtan","dtime","eoshift","epsilon","erf","erfc","etime","exit","exp","exponent","extends_type_of","fdate","fget","fgetc","float","floor","flush","fnum","fputc","fput","fraction","fseek","fstat","ftell","gerror","getarg","get_command","get_command_argument","get_environment_variable","getcwd","getenv","getgid","getlog","getpid","getuid","gmtime","hostnm","huge","iabs","iachar","iand","iargc","ibclr","ibits","ibset","ichar","idate","idim","idint","idnint","ieor","ierrno","ifix","imag","imagpart","index","int","ior","irand","isatty","ishft","ishftc","isign","iso_c_binding","is_iostat_end","is_iostat_eor","itime","kill","kind","lbound","len","len_trim","lge","lgt","link","lle","llt","lnblnk","loc","log","logical","long","lshift","lstat","ltime","matmul","max","maxexponent","maxloc","maxval","mclock","merge","move_alloc","min","minexponent","minloc","minval","mod","modulo","mvbits","nearest","new_line","nint","not","or","pack","perror","precision","present","product","radix","rand","random_number","random_seed","range","real","realpart","rename","repeat","reshape","rrspacing","rshift","same_type_as","scale","scan","second","selected_int_kind","selected_real_kind","set_exponent","shape","short","sign","signal","sinh","sin","sleep","sngl","spacing","spread","sqrt","srand","stat","sum","symlnk","system","system_clock","tan","tanh","time","tiny","transfer","transpose","trim","ttynam","ubound","umask","unlink","unpack","verify","xor","zabs","zcos","zexp","zlog","zsin","zsqrt"]),n=words(["c_bool","c_char","c_double","c_double_complex","c_float","c_float_complex","c_funptr","c_int","c_int16_t","c_int32_t","c_int64_t","c_int8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_int_fast8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_least8_t","c_intmax_t","c_intptr_t","c_long","c_long_double","c_long_double_complex","c_long_long","c_ptr","c_short","c_signed_char","c_size_t","character","complex","double","integer","logical","real"]),i=/[+\-*&=<>\/\:]/,a=new RegExp("(.and.|.or.|.eq.|.lt.|.le.|.gt.|.ge.|.ne.|.not.|.eqv.|.neqv.)","i");return{startState:function(){return{tokenize:null}},token:function(r,o){if(r.eatSpace())return null;var c=(o.tokenize||function tokenBase(r,o){if(r.match(a))return"operator";var c=r.next();if("!"==c)return r.skipToEnd(),"comment";if('"'==c||"'"==c)return o.tokenize=function tokenString(e){return function(t,n){for(var i,a=!1,r=!1;null!=(i=t.next());){if(i==e&&!a){r=!0;break}a=!a&&"\\"==i}return!r&&a||(n.tokenize=null),"string"}}(c),o.tokenize(r,o);if(/[\[\]\(\),]/.test(c))return null;if(/\d/.test(c))return r.eatWhile(/[\w\.]/),"number";if(i.test(c))return r.eatWhile(i),"operator";r.eatWhile(/[\w\$_]/);var s=r.current().toLowerCase();return e.hasOwnProperty(s)?"keyword":t.hasOwnProperty(s)||n.hasOwnProperty(s)?"builtin":"variable"})(r,o);return c}}}),e.defineMIME("text/x-fortran","fortran")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/3.445c94a7.js b/build/codemirror/mode/3.860f39f2.js similarity index 98% rename from build/codemirror/mode/3.445c94a7.js rename to build/codemirror/mode/3.860f39f2.js index e3845f9..6f11c8b 100644 --- a/build/codemirror/mode/3.445c94a7.js +++ b/build/codemirror/mode/3.860f39f2.js @@ -1 +1 @@ -webpackJsonp([120],{941:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("asterisk",function(){var e=["exten","same","include","ignorepat","switch"],t=["#include","#exec"],n=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];return{startState:function(){return{extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(a,i){var r="";return a.eatSpace()?null:i.extenStart?(a.eatWhile(/[^\s]/),r=a.current(),/^=>?$/.test(r)?(i.extenExten=!0,i.extenStart=!1,"strong"):(i.extenStart=!1,a.skipToEnd(),"error")):i.extenExten?(i.extenExten=!1,i.extenPriority=!0,a.eatWhile(/[^,]/),i.extenInclude&&(a.skipToEnd(),i.extenPriority=!1,i.extenInclude=!1),i.extenSame&&(i.extenPriority=!1,i.extenSame=!1,i.extenApplication=!0),"tag"):i.extenPriority?(i.extenPriority=!1,i.extenApplication=!0,a.next(),i.extenSame?null:(a.eatWhile(/[^,]/),"number")):i.extenApplication?(a.eatWhile(/,/),","===(r=a.current())?null:(a.eatWhile(/\w/),r=a.current().toLowerCase(),i.extenApplication=!1,-1!==n.indexOf(r)?"def strong":null)):function basicToken(n,a){var i="",r=n.next();if(";"==r)return n.skipToEnd(),"comment";if("["==r)return n.skipTo("]"),n.eat("]"),"header";if('"'==r)return n.skipTo('"'),"string";if("'"==r)return n.skipTo("'"),"string-2";if("#"==r&&(n.eatWhile(/\w/),i=n.current(),-1!==t.indexOf(i)))return n.skipToEnd(),"strong";if("$"==r&&"{"==n.peek())return n.skipTo("}"),n.eat("}"),"variable-3";if(n.eatWhile(/\w/),i=n.current(),-1!==e.indexOf(i)){switch(a.extenStart=!0,i){case"same":a.extenSame=!0;break;case"include":case"switch":case"ignorepat":a.extenInclude=!0}return"atom"}}(a,i)}}}),e.defineMIME("text/x-asterisk","asterisk")})}}); \ No newline at end of file +webpackJsonp([119],{941:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("asterisk",function(){var e=["exten","same","include","ignorepat","switch"],t=["#include","#exec"],n=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];return{startState:function(){return{extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(a,i){var r="";return a.eatSpace()?null:i.extenStart?(a.eatWhile(/[^\s]/),r=a.current(),/^=>?$/.test(r)?(i.extenExten=!0,i.extenStart=!1,"strong"):(i.extenStart=!1,a.skipToEnd(),"error")):i.extenExten?(i.extenExten=!1,i.extenPriority=!0,a.eatWhile(/[^,]/),i.extenInclude&&(a.skipToEnd(),i.extenPriority=!1,i.extenInclude=!1),i.extenSame&&(i.extenPriority=!1,i.extenSame=!1,i.extenApplication=!0),"tag"):i.extenPriority?(i.extenPriority=!1,i.extenApplication=!0,a.next(),i.extenSame?null:(a.eatWhile(/[^,]/),"number")):i.extenApplication?(a.eatWhile(/,/),","===(r=a.current())?null:(a.eatWhile(/\w/),r=a.current().toLowerCase(),i.extenApplication=!1,-1!==n.indexOf(r)?"def strong":null)):function basicToken(n,a){var i="",r=n.next();if(";"==r)return n.skipToEnd(),"comment";if("["==r)return n.skipTo("]"),n.eat("]"),"header";if('"'==r)return n.skipTo('"'),"string";if("'"==r)return n.skipTo("'"),"string-2";if("#"==r&&(n.eatWhile(/\w/),i=n.current(),-1!==t.indexOf(i)))return n.skipToEnd(),"strong";if("$"==r&&"{"==n.peek())return n.skipTo("}"),n.eat("}"),"variable-3";if(n.eatWhile(/\w/),i=n.current(),-1!==e.indexOf(i)){switch(a.extenStart=!0,i){case"same":a.extenSame=!0;break;case"include":case"switch":case"ignorepat":a.extenInclude=!0}return"atom"}}(a,i)}}}),e.defineMIME("text/x-asterisk","asterisk")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/30.1b11854e.js b/build/codemirror/mode/30.d91cdc45.js similarity index 98% rename from build/codemirror/mode/30.1b11854e.js rename to build/codemirror/mode/30.d91cdc45.js index 2c7106b..50cf205 100644 --- a/build/codemirror/mode/30.1b11854e.js +++ b/build/codemirror/mode/30.d91cdc45.js @@ -1 +1 @@ -webpackJsonp([97],{965:function(i,t,n){!function(i){i(n(907))}(function(i){"use strict";i.defineMode("gas",function(i,t){function clikeComment(i,t){for(var n,l=!1;null!=(n=i.next());){if("/"===n&&l){t.tokenize=null;break}l="*"===n}return"comment"}var n=[],l="",e={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},b={},r=(t.architecture||"x86").toLowerCase();return"x86"===r?function x86(i){l="#",b.ax="variable",b.eax="variable-2",b.rax="variable-3",b.bx="variable",b.ebx="variable-2",b.rbx="variable-3",b.cx="variable",b.ecx="variable-2",b.rcx="variable-3",b.dx="variable",b.edx="variable-2",b.rdx="variable-3",b.si="variable",b.esi="variable-2",b.rsi="variable-3",b.di="variable",b.edi="variable-2",b.rdi="variable-3",b.sp="variable",b.esp="variable-2",b.rsp="variable-3",b.bp="variable",b.ebp="variable-2",b.rbp="variable-3",b.ip="variable",b.eip="variable-2",b.rip="variable-3",b.cs="keyword",b.ds="keyword",b.ss="keyword",b.es="keyword",b.fs="keyword",b.gs="keyword"}():"arm"!==r&&"armv6"!==r||function armv6(i){l="@",e.syntax="builtin",b.r0="variable",b.r1="variable",b.r2="variable",b.r3="variable",b.r4="variable",b.r5="variable",b.r6="variable",b.r7="variable",b.r8="variable",b.r9="variable",b.r10="variable",b.r11="variable",b.r12="variable",b.sp="variable-2",b.lr="variable-2",b.pc="variable-2",b.r13=b.sp,b.r14=b.lr,b.r15=b.pc,n.push(function(i,t){if("#"===i)return t.eatWhile(/\w/),"number"})}(),{startState:function(){return{tokenize:null}},token:function(i,t){if(t.tokenize)return t.tokenize(i,t);if(i.eatSpace())return null;var r,u,a=i.next();if("/"===a&&i.eat("*"))return t.tokenize=clikeComment,clikeComment(i,t);if(a===l)return i.skipToEnd(),"comment";if('"'===a)return function nextUntilUnescaped(i,t){for(var n,l=!1;null!=(n=i.next());){if(n===t&&!l)return!1;l=!l&&"\\"===n}return l}(i,'"'),"string";if("."===a)return i.eatWhile(/\w/),u=i.current().toLowerCase(),(r=e[u])||null;if("="===a)return i.eatWhile(/\w/),"tag";if("{"===a)return"braket";if("}"===a)return"braket";if(/\d/.test(a))return"0"===a&&i.eat("x")?(i.eatWhile(/[0-9a-fA-F]/),"number"):(i.eatWhile(/\d/),"number");if(/\w/.test(a))return i.eatWhile(/\w/),i.eat(":")?"tag":(u=i.current().toLowerCase(),(r=b[u])||null);for(var o=0;o<n.length;o++)if(r=n[o](a,i,t))return r},lineComment:l,blockCommentStart:"/*",blockCommentEnd:"*/"}})})}}); \ No newline at end of file +webpackJsonp([96],{965:function(i,t,n){!function(i){i(n(907))}(function(i){"use strict";i.defineMode("gas",function(i,t){function clikeComment(i,t){for(var n,l=!1;null!=(n=i.next());){if("/"===n&&l){t.tokenize=null;break}l="*"===n}return"comment"}var n=[],l="",e={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},b={},r=(t.architecture||"x86").toLowerCase();return"x86"===r?function x86(i){l="#",b.ax="variable",b.eax="variable-2",b.rax="variable-3",b.bx="variable",b.ebx="variable-2",b.rbx="variable-3",b.cx="variable",b.ecx="variable-2",b.rcx="variable-3",b.dx="variable",b.edx="variable-2",b.rdx="variable-3",b.si="variable",b.esi="variable-2",b.rsi="variable-3",b.di="variable",b.edi="variable-2",b.rdi="variable-3",b.sp="variable",b.esp="variable-2",b.rsp="variable-3",b.bp="variable",b.ebp="variable-2",b.rbp="variable-3",b.ip="variable",b.eip="variable-2",b.rip="variable-3",b.cs="keyword",b.ds="keyword",b.ss="keyword",b.es="keyword",b.fs="keyword",b.gs="keyword"}():"arm"!==r&&"armv6"!==r||function armv6(i){l="@",e.syntax="builtin",b.r0="variable",b.r1="variable",b.r2="variable",b.r3="variable",b.r4="variable",b.r5="variable",b.r6="variable",b.r7="variable",b.r8="variable",b.r9="variable",b.r10="variable",b.r11="variable",b.r12="variable",b.sp="variable-2",b.lr="variable-2",b.pc="variable-2",b.r13=b.sp,b.r14=b.lr,b.r15=b.pc,n.push(function(i,t){if("#"===i)return t.eatWhile(/\w/),"number"})}(),{startState:function(){return{tokenize:null}},token:function(i,t){if(t.tokenize)return t.tokenize(i,t);if(i.eatSpace())return null;var r,u,a=i.next();if("/"===a&&i.eat("*"))return t.tokenize=clikeComment,clikeComment(i,t);if(a===l)return i.skipToEnd(),"comment";if('"'===a)return function nextUntilUnescaped(i,t){for(var n,l=!1;null!=(n=i.next());){if(n===t&&!l)return!1;l=!l&&"\\"===n}return l}(i,'"'),"string";if("."===a)return i.eatWhile(/\w/),u=i.current().toLowerCase(),(r=e[u])||null;if("="===a)return i.eatWhile(/\w/),"tag";if("{"===a)return"braket";if("}"===a)return"braket";if(/\d/.test(a))return"0"===a&&i.eat("x")?(i.eatWhile(/[0-9a-fA-F]/),"number"):(i.eatWhile(/\d/),"number");if(/\w/.test(a))return i.eatWhile(/\w/),i.eat(":")?"tag":(u=i.current().toLowerCase(),(r=b[u])||null);for(var o=0;o<n.length;o++)if(r=n[o](a,i,t))return r},lineComment:l,blockCommentStart:"/*",blockCommentEnd:"*/"}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/31.175c6db1.js b/build/codemirror/mode/31.175c6db1.js new file mode 100644 index 0000000..9041270 --- /dev/null +++ b/build/codemirror/mode/31.175c6db1.js @@ -0,0 +1 @@ +webpackJsonp([14,18,32],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(i,a){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(c=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!o.contextGrabbers.hasOwnProperty(n)||!o.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),u="tag",attrState):o.allowMissingTagName&&"endTag"==t?(u="tag bracket",attrState(t,e,n)):(u="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&o.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==i||!1===o.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return o.allowMissingTagName&&"endTag"==t?(u="tag bracket",closeState(t,e,n)):(u="error",closeStateErr)}function closeState(t,e,n){return"endTag"!=t?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return u="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return u="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,a=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||o.autoSelfClosers.hasOwnProperty(i)?maybePopContext(n,i):(maybePopContext(n,i),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,i,a==n.indented)),baseState}return u="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(o.allowMissing||(u="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&o.allowUnquoted?(u="string",attrState):(u="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var r=i.indentUnit,o={},l=a.htmlMode?e:n;for(var s in l)o[s]=l[s];for(var s in a)o[s]=a[s];var c,u;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;c=null;var n=e.tokenize(t,e);return(n||c)&&"comment"!=n&&(u=null,e.state=e.state(c||n,t,e),u&&(n="error"==u?n+" error":u)),n},indent:function(e,n,i){var a=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+r;if(a&&a.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==o.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+r*(o.multilineTagIndentFactor||1);if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;a;){if(a.tagName==l[2]){a=a.prev;break}if(!o.implicitlyClosed.hasOwnProperty(a.tagName))break;a=a.prev}else if(l)for(;a;){var s=o.contextGrabbers[a.tagName];if(!s||!s.hasOwnProperty(l[2]))break;a=a.prev}for(;a&&a.prev&&!a.startOfLine;)a=a.prev;return a?a.indent+r:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:o.htmlMode?"html":"xml",helperType:o.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},913:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.overlayMode=function(e,n,i){return{startState:function(){return{base:t.startState(e),overlay:t.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:t.copyState(e,i.base),overlay:t.copyState(n,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(t,a){return(t!=a.streamSeen||Math.min(a.basePos,a.overlayPos)<t.start)&&(a.streamSeen=t,a.basePos=a.overlayPos=t.start),t.start==a.basePos&&(a.baseCur=e.token(t,a.base),a.basePos=t.pos),t.start==a.overlayPos&&(t.pos=t.start,a.overlayCur=n.token(t,a.overlay),a.overlayPos=t.pos),t.pos=Math.min(a.basePos,a.overlayPos),null==a.overlayCur?a.baseCur:null!=a.baseCur&&a.overlay.combineTokens||i&&null==a.overlay.combineTokens?a.baseCur+" "+a.overlayCur:a.overlayCur},indent:e.indent&&function(t,n){return e.indent(t.base,n)},electricChars:e.electricChars,innerMode:function(t){return{state:t.base,mode:e}},blankLine:function(t){var a,r;return e.blankLine&&(a=e.blankLine(t.base)),n.blankLine&&(r=n.blankLine(t.overlay)),null==r?a:i&&null!=a?a+" "+r:r}}}})},923:function(t,e,n){!function(t){t(n(907),n(909),n(917))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function switchInline(t,e,n){return e.f=e.inline=n,n(t,e)}function switchBlock(t,e,n){return e.f=e.block=n,n(t,e)}function blankLine(t){return t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock&&(t.f=inlineNormal,t.block=blockNormal),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(i,a){var o=i.column()===a.indentation,m=function lineIsEmpty(t){return!t||!/\S/.test(t.string)}(a.prevLine.stream),f=a.indentedCode,p=a.prevLine.hr,k=!1!==a.list,x=(a.listStack[a.listStack.length-1]||0)+3;a.indentedCode=!1;var S=a.indentation;if(null===a.indentationDiff&&(a.indentationDiff=a.indentation,k)){for(a.em=!1,a.strong=!1,a.code=!1,a.strikethrough=!1,a.list=null;S<a.listStack[a.listStack.length-1];)a.listStack.pop(),a.listStack.length?a.indentation=a.listStack[a.listStack.length-1]:a.list=!1;!1!==a.list&&(a.indentationDiff=S-a.listStack[a.listStack.length-1])}var v=!(m||p||a.prevLine.header||k&&f||a.prevLine.fencedCodeEnd),b=(!1===a.list||p||m)&&a.indentation<=x&&i.match(l),T=null;if(a.indentationDiff>=4&&(f||a.prevLine.fencedCodeEnd||a.prevLine.header||m))return i.skipToEnd(),a.indentedCode=!0,r.code;if(i.eatSpace())return null;if(o&&a.indentation<=x&&(T=i.match(u))&&T[1].length<=6)return a.quote=0,a.header=T[1].length,a.thisLine.header=!0,n.highlightFormatting&&(a.formatting="header"),a.f=a.inline,getType(a);if(a.indentation<=x&&i.eat(">"))return a.quote=o?1:a.quote+1,n.highlightFormatting&&(a.formatting="quote"),i.eatSpace(),getType(a);if(!b&&!a.setext&&o&&a.indentation<=x&&(T=i.match(s))){var y=T[1]?"ol":"ul";return a.indentation=S+i.current().length,a.list=!0,a.quote=0,a.listStack.push(a.indentation),n.taskLists&&i.match(c,!1)&&(a.taskList=!0),a.f=a.inline,n.highlightFormatting&&(a.formatting=["list","list-"+y]),getType(a)}return o&&a.indentation<=x&&(T=i.match(h,!0))?(a.quote=0,a.fencedEndRE=new RegExp(T[1]+"+ *$"),a.localMode=n.fencedCodeBlockHighlighting&&function getMode(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var a=t.getMode(e,n);return"null"==a.name?null:a}(T[2]),a.localMode&&(a.localState=t.startState(a.localMode)),a.f=a.block=local,n.highlightFormatting&&(a.formatting="code-block"),a.code=-1,getType(a)):a.setext||!(v&&k||a.quote||!1!==a.list||a.code||b||d.test(i.string))&&(T=i.lookAhead(1))&&(T=T.match(g))?(a.setext?(a.header=a.setext,a.setext=0,i.skipToEnd(),n.highlightFormatting&&(a.formatting="header")):(a.header="="==T[0].charAt(0)?1:2,a.setext=a.header),a.thisLine.header=!0,a.f=a.inline,getType(a)):b?(i.skipToEnd(),a.hr=!0,a.thisLine.hr=!0,r.hr):"["===i.peek()?switchInline(i,a,footnoteLink):switchInline(i,a,a.inline)}function htmlBlock(e,n){var r=i.token(e,n.htmlState);if(!a){var o=t.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return r}function local(t,e){var i=e.listStack[e.listStack.length-1]||0,a=e.indentation<i,o=i+3;if(e.fencedEndRE&&e.indentation<=o&&(a||t.match(e.fencedEndRE))){n.highlightFormatting&&(e.formatting="code-block");var l;return a||(l=getType(e)),e.localMode=e.localState=null,e.block=blockNormal,e.f=inlineNormal,e.fencedEndRE=null,e.code=0,e.thisLine.fencedCodeEnd=!0,a?switchBlock(t,e,e.block):l}return e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),r.code)}function getType(t){var e=[];if(t.formatting){e.push(r.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(r.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(r.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(r.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(r.linkHref,"url"):(t.strong&&e.push(r.strong),t.em&&e.push(r.em),t.strikethrough&&e.push(r.strikethrough),t.emoji&&e.push(r.emoji),t.linkText&&e.push(r.linkText),t.code&&e.push(r.code),t.image&&e.push(r.image),t.imageAltText&&e.push(r.imageAltText,"link"),t.imageMarker&&e.push(r.imageMarker)),t.header&&e.push(r.header,r.header+"-"+t.header),t.quote&&(e.push(r.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(r.quote+"-"+t.quote):e.push(r.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var a=(t.listStack.length-1)%3;a?1===a?e.push(r.list2):e.push(r.list3):e.push(r.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function handleText(t,e){if(t.match(m,!0))return getType(e)}function inlineNormal(e,a){var o=a.text(e,a);if(void 0!==o)return o;if(a.list)return a.list=null,getType(a);if(a.taskList){return" "===e.match(c,!0)[1]?a.taskOpen=!0:a.taskClosed=!0,n.highlightFormatting&&(a.formatting="task"),a.taskList=!1,getType(a)}if(a.taskOpen=!1,a.taskClosed=!1,a.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(a.formatting="header"),getType(a);var l=e.next();if(a.linkTitle){a.linkTitle=!1;var s=l;"("===l&&(s=")");var u="^\\s*(?:[^"+(s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(e.match(new RegExp(u),!0))return r.linkHref}if("`"===l){var g=a.formatting;n.highlightFormatting&&(a.formatting="code"),e.eatWhile("`");var m=e.current().length;if(0!=a.code||a.quote&&1!=m){if(m==a.code){var h=getType(a);return a.code=0,h}return a.formatting=g,getType(a)}return a.code=m,getType(a)}if(a.code)return getType(a);if("\\"===l&&(e.next(),n.highlightFormatting)){var d=getType(a),p=r.formatting+"-escape";return d?d+" "+p:p}if("!"===l&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return a.imageMarker=!0,a.image=!0,n.highlightFormatting&&(a.formatting="image"),getType(a);if("["===l&&a.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return a.imageMarker=!1,a.imageAltText=!0,n.highlightFormatting&&(a.formatting="image"),getType(a);if("]"===l&&a.imageAltText){n.highlightFormatting&&(a.formatting="image");d=getType(a);return a.imageAltText=!1,a.image=!1,a.inline=a.f=linkHref,d}if("["===l&&!a.image)return a.linkText=!0,n.highlightFormatting&&(a.formatting="link"),getType(a);if("]"===l&&a.linkText){n.highlightFormatting&&(a.formatting="link");d=getType(a);return a.linkText=!1,a.inline=a.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,d}if("<"===l&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){a.f=a.inline=linkInline,n.highlightFormatting&&(a.formatting="link");return(d=getType(a))?d+=" ":d="",d+r.linkInline}if("<"===l&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){a.f=a.inline=linkInline,n.highlightFormatting&&(a.formatting="link");return(d=getType(a))?d+=" ":d="",d+r.linkEmail}if(n.xml&&"<"===l&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var k=e.string.indexOf(">",e.pos);if(-1!=k){var x=e.string.substring(e.start,k);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(a.md_inside=!0)}return e.backUp(1),a.htmlState=t.startState(i),switchBlock(e,a,htmlBlock)}if(n.xml&&"<"===l&&e.match(/^\/\w*?>/))return a.md_inside=!1,"tag";if("*"===l||"_"===l){for(var S=1,v=1==e.pos?" ":e.string.charAt(e.pos-2);S<3&&e.eat(l);)S++;var b=e.peek()||" ",T=!/\s/.test(b)&&(!f.test(b)||/\s/.test(v)||f.test(v)),y=!/\s/.test(v)&&(!f.test(v)||/\s/.test(b)||f.test(b)),w=null,L=null;if(S%2&&(a.em||!T||"*"!==l&&y&&!f.test(v)?a.em!=l||!y||"*"!==l&&T&&!f.test(b)||(w=!1):w=!0),S>1&&(a.strong||!T||"*"!==l&&y&&!f.test(v)?a.strong!=l||!y||"*"!==l&&T&&!f.test(b)||(L=!1):L=!0),null!=L||null!=w){n.highlightFormatting&&(a.formatting=null==w?"strong":null==L?"em":"strong em"),!0===w&&(a.em=l),!0===L&&(a.strong=l);h=getType(a);return!1===w&&(a.em=!1),!1===L&&(a.strong=!1),h}}else if(" "===l&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return getType(a);e.backUp(1)}if(n.strikethrough)if("~"===l&&e.eatWhile(l)){if(a.strikethrough){n.highlightFormatting&&(a.formatting="strikethrough");h=getType(a);return a.strikethrough=!1,h}if(e.match(/^[^\s]/,!1))return a.strikethrough=!0,n.highlightFormatting&&(a.formatting="strikethrough"),getType(a)}else if(" "===l&&e.match(/^~~/,!0)){if(" "===e.peek())return getType(a);e.backUp(2)}if(n.emoji&&":"===l&&e.match(/^[a-z_\d+-]+:/)){a.emoji=!0,n.highlightFormatting&&(a.formatting="emoji");var M=getType(a);return a.emoji=!1,M}return" "===l&&(e.match(/ +$/,!1)?a.trailingSpace++:a.trailingSpace&&(a.trailingSpaceNewLine=!0)),getType(a)}function linkInline(t,e){if(">"===t.next()){e.f=e.inline=inlineNormal,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return i?i+=" ":i="",i+r.linkInline}return t.match(/^[^>]+/,!0),r.linkInline}function linkHref(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=function getLinkHrefInside(t){return function(e,i){var a=e.next();if(a===t){i.f=i.inline=inlineNormal,n.highlightFormatting&&(i.formatting="link-string");var r=getType(i);return i.linkHref=!1,r}return e.match(p[t]),i.linkHref=!0,getType(i)}}("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,getType(e)):"error"}function footnoteLink(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=footnoteLinkInside,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,getType(e)):switchInline(t,e,inlineNormal)}function footnoteLinkInside(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=footnoteUrl,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),r.linkText}function footnoteUrl(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=inlineNormal,r.linkHref+" url")}var i=t.getMode(e,"text/html"),a="null"==i.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var r={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in r)r.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(r[o]=n.tokenTypeOverrides[o]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,u=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,g=/^ *(?:\={1,}|-{1,})\s*$/,m=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,d=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,f=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,p={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},k={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(i,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,linkHref:e.linkHref,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return blankLine(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=htmlBlock)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==htmlBlock?{state:t.htmlState,mode:i}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:k}},indent:function(e,n,a){return e.block==htmlBlock&&i.indent?i.indent(e.htmlState,n,a):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,n,a):t.Pass},blankLine:blankLine,getType:getType,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return k},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})},966:function(t,e,n){!function(t){t(n(907),n(923),n(913))}(function(t){"use strict";var e=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(n,i){var a=0,r={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(t){return{code:t.code,codeBlock:t.codeBlock,ateSpace:t.ateSpace}},token:function(t,n){if(n.combineTokens=null,n.codeBlock)return t.match(/^```+/)?(n.codeBlock=!1,null):(t.skipToEnd(),null);if(t.sol()&&(n.code=!1),t.sol()&&t.match(/^```+/))return t.skipToEnd(),n.codeBlock=!0,null;if("`"===t.peek()){t.next();var r=t.pos;t.eatWhile("`");var o=1+t.pos-r;return n.code?o===a&&(n.code=!1):(a=o,n.code=!0),null}if(n.code)return t.next(),null;if(t.eatSpace())return n.ateSpace=!0,null;if((t.sol()||n.ateSpace)&&(n.ateSpace=!1,!1!==i.gitHubSpice)){if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return t.match(e)&&"]("!=t.string.slice(t.start-2,t.start)&&(0==t.start||/\W/.test(t.string.charAt(t.start-1)))?(n.combineTokens=!0,"link"):(t.next(),null)},blankLine:function blankLine(t){return t.code=!1,null}},o={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in i)o[l]=i[l];return o.name="markdown",t.overlayMode(t.getMode(n,o),r)},"markdown"),t.defineMIME("text/x-gfm","gfm")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/31.bd367f06.js b/build/codemirror/mode/31.bd367f06.js deleted file mode 100644 index b2e1bce..0000000 --- a/build/codemirror/mode/31.bd367f06.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([14,19,33],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(i,a){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(c=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!o.contextGrabbers.hasOwnProperty(n)||!o.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),u="tag",attrState):(u="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&o.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==i||!1===o.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return u="error",closeStateErr}function closeState(t,e,n){return"endTag"!=t?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return u="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return u="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,a=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||o.autoSelfClosers.hasOwnProperty(i)?maybePopContext(n,i):(maybePopContext(n,i),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,i,a==n.indented)),baseState}return u="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(o.allowMissing||(u="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&o.allowUnquoted?(u="string",attrState):(u="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var r=i.indentUnit,o={},l=a.htmlMode?e:n;for(var s in l)o[s]=l[s];for(var s in a)o[s]=a[s];var c,u;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;c=null;var n=e.tokenize(t,e);return(n||c)&&"comment"!=n&&(u=null,e.state=e.state(c||n,t,e),u&&(n="error"==u?n+" error":u)),n},indent:function(e,n,i){var a=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+r;if(a&&a.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==o.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+r*(o.multilineTagIndentFactor||1);if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;a;){if(a.tagName==l[2]){a=a.prev;break}if(!o.implicitlyClosed.hasOwnProperty(a.tagName))break;a=a.prev}else if(l)for(;a;){var s=o.contextGrabbers[a.tagName];if(!s||!s.hasOwnProperty(l[2]))break;a=a.prev}for(;a&&a.prev&&!a.startOfLine;)a=a.prev;return a?a.indent+r:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:o.htmlMode?"html":"xml",helperType:o.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},913:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.overlayMode=function(e,n,i){return{startState:function(){return{base:t.startState(e),overlay:t.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:t.copyState(e,i.base),overlay:t.copyState(n,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(t,a){return(t!=a.streamSeen||Math.min(a.basePos,a.overlayPos)<t.start)&&(a.streamSeen=t,a.basePos=a.overlayPos=t.start),t.start==a.basePos&&(a.baseCur=e.token(t,a.base),a.basePos=t.pos),t.start==a.overlayPos&&(t.pos=t.start,a.overlayCur=n.token(t,a.overlay),a.overlayPos=t.pos),t.pos=Math.min(a.basePos,a.overlayPos),null==a.overlayCur?a.baseCur:null!=a.baseCur&&a.overlay.combineTokens||i&&null==a.overlay.combineTokens?a.baseCur+" "+a.overlayCur:a.overlayCur},indent:e.indent&&function(t,n){return e.indent(t.base,n)},electricChars:e.electricChars,innerMode:function(t){return{state:t.base,mode:e}},blankLine:function(t){var a,r;return e.blankLine&&(a=e.blankLine(t.base)),n.blankLine&&(r=n.blankLine(t.overlay)),null==r?a:i&&null!=a?a+" "+r:r}}}})},925:function(t,e,n){!function(t){t(n(907),n(909),n(917))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function switchInline(t,e,n){return e.f=e.inline=n,n(t,e)}function switchBlock(t,e,n){return e.f=e.block=n,n(t,e)}function blankLine(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock&&(t.f=inlineNormal,t.block=blockNormal),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(i,a){var o=i.column()===a.indentation,g=function lineIsEmpty(t){return!t||!/\S/.test(t.string)}(a.prevLine.stream),f=a.indentedCode,p=a.prevLine.hr,k=!1!==a.list,x=(a.listStack[a.listStack.length-1]||0)+3;a.indentedCode=!1;var S=a.indentation;if(null===a.indentationDiff&&(a.indentationDiff=a.indentation,k)){for(a.list=null;S<a.listStack[a.listStack.length-1];)a.listStack.pop(),a.listStack.length?a.indentation=a.listStack[a.listStack.length-1]:a.list=!1;!1!==a.list&&(a.indentationDiff=S-a.listStack[a.listStack.length-1])}var v=!(g||p||a.prevLine.header||k&&f||a.prevLine.fencedCodeEnd),b=(!1===a.list||p||g)&&a.indentation<=x&&i.match(l),y=null;if(a.indentationDiff>=4&&(f||a.prevLine.fencedCodeEnd||a.prevLine.header||g))return i.skipToEnd(),a.indentedCode=!0,r.code;if(i.eatSpace())return null;if(o&&a.indentation<=x&&(y=i.match(u))&&y[1].length<=6)return a.quote=0,a.header=y[1].length,a.thisLine.header=!0,n.highlightFormatting&&(a.formatting="header"),a.f=a.inline,getType(a);if(a.indentation<=x&&i.eat(">"))return a.quote=o?1:a.quote+1,n.highlightFormatting&&(a.formatting="quote"),i.eatSpace(),getType(a);if(!b&&!a.setext&&o&&a.indentation<=x&&(y=i.match(s))){var T=y[1]?"ol":"ul";return a.indentation=S+i.current().length,a.list=!0,a.quote=0,a.listStack.push(a.indentation),n.taskLists&&i.match(c,!1)&&(a.taskList=!0),a.f=a.inline,n.highlightFormatting&&(a.formatting=["list","list-"+T]),getType(a)}return o&&a.indentation<=x&&(y=i.match(h,!0))?(a.quote=0,a.fencedEndRE=new RegExp(y[1]+"+ *$"),a.localMode=n.fencedCodeBlockHighlighting&&function getMode(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var a=t.getMode(e,n);return"null"==a.name?null:a}(y[2]),a.localMode&&(a.localState=t.startState(a.localMode)),a.f=a.block=local,n.highlightFormatting&&(a.formatting="code-block"),a.code=-1,getType(a)):a.setext||!(v&&k||a.quote||!1!==a.list||a.code||b||d.test(i.string))&&(y=i.lookAhead(1))&&(y=y.match(m))?(a.setext?(a.header=a.setext,a.setext=0,i.skipToEnd(),n.highlightFormatting&&(a.formatting="header")):(a.header="="==y[0].charAt(0)?1:2,a.setext=a.header),a.thisLine.header=!0,a.f=a.inline,getType(a)):b?(i.skipToEnd(),a.hr=!0,a.thisLine.hr=!0,r.hr):"["===i.peek()?switchInline(i,a,footnoteLink):switchInline(i,a,a.inline)}function htmlBlock(e,n){var r=i.token(e,n.htmlState);if(!a){var o=t.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return r}function local(t,e){var i=e.listStack[e.listStack.length-1]||0,a=e.indentation<i,o=i+3;if(e.fencedEndRE&&e.indentation<=o&&(a||t.match(e.fencedEndRE))){n.highlightFormatting&&(e.formatting="code-block");var l;return a||(l=getType(e)),e.localMode=e.localState=null,e.block=blockNormal,e.f=inlineNormal,e.fencedEndRE=null,e.code=0,e.thisLine.fencedCodeEnd=!0,a?switchBlock(t,e,e.block):l}return e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),r.code)}function getType(t){var e=[];if(t.formatting){e.push(r.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(r.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(r.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(r.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(r.linkHref,"url"):(t.strong&&e.push(r.strong),t.em&&e.push(r.em),t.strikethrough&&e.push(r.strikethrough),t.emoji&&e.push(r.emoji),t.linkText&&e.push(r.linkText),t.code&&e.push(r.code),t.image&&e.push(r.image),t.imageAltText&&e.push(r.imageAltText,"link"),t.imageMarker&&e.push(r.imageMarker)),t.header&&e.push(r.header,r.header+"-"+t.header),t.quote&&(e.push(r.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(r.quote+"-"+t.quote):e.push(r.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var a=(t.listStack.length-1)%3;a?1===a?e.push(r.list2):e.push(r.list3):e.push(r.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function handleText(t,e){if(t.match(g,!0))return getType(e)}function inlineNormal(e,a){var o=a.text(e,a);if(void 0!==o)return o;if(a.list)return a.list=null,getType(a);if(a.taskList){return" "===e.match(c,!0)[1]?a.taskOpen=!0:a.taskClosed=!0,n.highlightFormatting&&(a.formatting="task"),a.taskList=!1,getType(a)}if(a.taskOpen=!1,a.taskClosed=!1,a.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(a.formatting="header"),getType(a);var l=e.next();if(a.linkTitle){a.linkTitle=!1;var s=l;"("===l&&(s=")");var u="^\\s*(?:[^"+(s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(e.match(new RegExp(u),!0))return r.linkHref}if("`"===l){var m=a.formatting;n.highlightFormatting&&(a.formatting="code"),e.eatWhile("`");var g=e.current().length;if(0!=a.code||a.quote&&1!=g){if(g==a.code){var h=getType(a);return a.code=0,h}return a.formatting=m,getType(a)}return a.code=g,getType(a)}if(a.code)return getType(a);if("\\"===l&&(e.next(),n.highlightFormatting)){var d=getType(a),p=r.formatting+"-escape";return d?d+" "+p:p}if("!"===l&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return a.imageMarker=!0,a.image=!0,n.highlightFormatting&&(a.formatting="image"),getType(a);if("["===l&&a.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return a.imageMarker=!1,a.imageAltText=!0,n.highlightFormatting&&(a.formatting="image"),getType(a);if("]"===l&&a.imageAltText){n.highlightFormatting&&(a.formatting="image");d=getType(a);return a.imageAltText=!1,a.image=!1,a.inline=a.f=linkHref,d}if("["===l&&!a.image)return a.linkText=!0,n.highlightFormatting&&(a.formatting="link"),getType(a);if("]"===l&&a.linkText){n.highlightFormatting&&(a.formatting="link");d=getType(a);return a.linkText=!1,a.inline=a.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,d}if("<"===l&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){a.f=a.inline=linkInline,n.highlightFormatting&&(a.formatting="link");return(d=getType(a))?d+=" ":d="",d+r.linkInline}if("<"===l&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){a.f=a.inline=linkInline,n.highlightFormatting&&(a.formatting="link");return(d=getType(a))?d+=" ":d="",d+r.linkEmail}if(n.xml&&"<"===l&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var k=e.string.indexOf(">",e.pos);if(-1!=k){var x=e.string.substring(e.start,k);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(a.md_inside=!0)}return e.backUp(1),a.htmlState=t.startState(i),switchBlock(e,a,htmlBlock)}if(n.xml&&"<"===l&&e.match(/^\/\w*?>/))return a.md_inside=!1,"tag";if("*"===l||"_"===l){for(var S=1,v=1==e.pos?" ":e.string.charAt(e.pos-2);S<3&&e.eat(l);)S++;var b=e.peek()||" ",y=!/\s/.test(b)&&(!f.test(b)||/\s/.test(v)||f.test(v)),T=!/\s/.test(v)&&(!f.test(v)||/\s/.test(b)||f.test(b)),w=null,L=null;if(S%2&&(a.em||!y||"*"!==l&&T&&!f.test(v)?a.em!=l||!T||"*"!==l&&y&&!f.test(b)||(w=!1):w=!0),S>1&&(a.strong||!y||"*"!==l&&T&&!f.test(v)?a.strong!=l||!T||"*"!==l&&y&&!f.test(b)||(L=!1):L=!0),null!=L||null!=w){n.highlightFormatting&&(a.formatting=null==w?"strong":null==L?"em":"strong em"),!0===w&&(a.em=l),!0===L&&(a.strong=l);h=getType(a);return!1===w&&(a.em=!1),!1===L&&(a.strong=!1),h}}else if(" "===l&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return getType(a);e.backUp(1)}if(n.strikethrough)if("~"===l&&e.eatWhile(l)){if(a.strikethrough){n.highlightFormatting&&(a.formatting="strikethrough");h=getType(a);return a.strikethrough=!1,h}if(e.match(/^[^\s]/,!1))return a.strikethrough=!0,n.highlightFormatting&&(a.formatting="strikethrough"),getType(a)}else if(" "===l&&e.match(/^~~/,!0)){if(" "===e.peek())return getType(a);e.backUp(2)}if(n.emoji&&":"===l&&e.match(/^[a-z_\d+-]+:/)){a.emoji=!0,n.highlightFormatting&&(a.formatting="emoji");var C=getType(a);return a.emoji=!1,C}return" "===l&&(e.match(/ +$/,!1)?a.trailingSpace++:a.trailingSpace&&(a.trailingSpaceNewLine=!0)),getType(a)}function linkInline(t,e){if(">"===t.next()){e.f=e.inline=inlineNormal,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return i?i+=" ":i="",i+r.linkInline}return t.match(/^[^>]+/,!0),r.linkInline}function linkHref(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=function getLinkHrefInside(t){return function(e,i){var a=e.next();if(a===t){i.f=i.inline=inlineNormal,n.highlightFormatting&&(i.formatting="link-string");var r=getType(i);return i.linkHref=!1,r}return e.match(p[t]),i.linkHref=!0,getType(i)}}("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,getType(e)):"error"}function footnoteLink(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=footnoteLinkInside,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,getType(e)):switchInline(t,e,inlineNormal)}function footnoteLinkInside(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=footnoteUrl,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),r.linkText}function footnoteUrl(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=inlineNormal,r.linkHref+" url")}var i=t.getMode(e,"text/html"),a="null"==i.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var r={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in r)r.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(r[o]=n.tokenTypeOverrides[o]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,c=/^\[(x| )\](?=\s)/i,u=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,m=/^ *(?:\={1,}|-{1,})\s*$/,g=/^[^#!\[\]*_\\<>` "'(~:]+/,h=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,d=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,f=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,p={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},k={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(i,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return blankLine(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=htmlBlock)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==htmlBlock?{state:t.htmlState,mode:i}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:k}},indent:function(e,n,a){return e.block==htmlBlock&&i.indent?i.indent(e.htmlState,n,a):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,n,a):t.Pass},blankLine:blankLine,getType:getType,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return k},"xml"),t.defineMIME("text/x-markdown","markdown")})},966:function(t,e,n){!function(t){t(n(907),n(925),n(913))}(function(t){"use strict";var e=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(n,i){var a=0,r={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(t){return{code:t.code,codeBlock:t.codeBlock,ateSpace:t.ateSpace}},token:function(t,n){if(n.combineTokens=null,n.codeBlock)return t.match(/^```+/)?(n.codeBlock=!1,null):(t.skipToEnd(),null);if(t.sol()&&(n.code=!1),t.sol()&&t.match(/^```+/))return t.skipToEnd(),n.codeBlock=!0,null;if("`"===t.peek()){t.next();var r=t.pos;t.eatWhile("`");var o=1+t.pos-r;return n.code?o===a&&(n.code=!1):(a=o,n.code=!0),null}if(n.code)return t.next(),null;if(t.eatSpace())return n.ateSpace=!0,null;if((t.sol()||n.ateSpace)&&(n.ateSpace=!1,!1!==i.gitHubSpice)){if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(t.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return t.match(e)&&"]("!=t.string.slice(t.start-2,t.start)&&(0==t.start||/\W/.test(t.string.charAt(t.start-1)))?(n.combineTokens=!0,"link"):(t.next(),null)},blankLine:function blankLine(t){return t.code=!1,null}},o={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in i)o[l]=i[l];return o.name="markdown",t.overlayMode(t.getMode(n,o),r)},"markdown"),t.defineMIME("text/x-gfm","gfm")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/32.82765e46.js b/build/codemirror/mode/32.db75da5a.js similarity index 99% rename from build/codemirror/mode/32.82765e46.js rename to build/codemirror/mode/32.db75da5a.js index 10bac99..479e6b6 100644 --- a/build/codemirror/mode/32.82765e46.js +++ b/build/codemirror/mode/32.db75da5a.js @@ -1 +1 @@ -webpackJsonp([96],{967:function(a,e,n){!function(a){a(n(907))}(function(a){"use strict";a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(a,e){if(a.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,a.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),a.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return a.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):a.match(/.*/),"string";if(e.inMultilineTable)return a.match(/\|\s*/)?"bracket":(a.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(a.match('"""'))return e.inMultilineString=!0,"string";if(a.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return a.match(/#.*/)?"comment":!e.inKeywordLine&&a.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&a.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&a.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&a.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&a.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):a.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&a.match(/<[^>]*>?/)?"variable":(a.next(),a.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})}}); \ No newline at end of file +webpackJsonp([95],{967:function(a,e,n){!function(a){a(n(907))}(function(a){"use strict";a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(a,e){if(a.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,a.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),a.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return a.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):a.match(/.*/),"string";if(e.inMultilineTable)return a.match(/\|\s*/)?"bracket":(a.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(a.match('"""'))return e.inMultilineString=!0,"string";if(a.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return a.match(/#.*/)?"comment":!e.inKeywordLine&&a.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&a.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&a.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&a.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&a.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&a.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):a.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&a.match(/<[^>]*>?/)?"variable":(a.next(),a.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/33.3ba1fd88.js b/build/codemirror/mode/33.fb720ccb.js similarity index 97% rename from build/codemirror/mode/33.3ba1fd88.js rename to build/codemirror/mode/33.fb720ccb.js index 91a5b65..826e0e1 100644 --- a/build/codemirror/mode/33.3ba1fd88.js +++ b/build/codemirror/mode/33.fb720ccb.js @@ -1 +1 @@ -webpackJsonp([95],{968:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("go",function(e){function tokenBase(t,e){var o=t.next();if('"'==o||"'"==o||"`"==o)return e.tokenize=function tokenString(t){return function(e,n){for(var o,r=!1,i=!1;null!=(o=e.next());){if(o==t&&!r){i=!0;break}r=!r&&"`"!=t&&"\\"==o}return(i||!r&&"`"!=t)&&(n.tokenize=tokenBase),"string"}}(o),e.tokenize(t,e);if(/[\d\.]/.test(o))return"."==o?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==o?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(o))return n=o,null;if("/"==o){if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(a.test(o))return t.eatWhile(a),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var c=t.current();return r.propertyIsEnumerable(c)?("case"!=c&&"default"!=c||(n="case"),"keyword"):i.propertyIsEnumerable(c)?"atom":"variable"}function tokenComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=tokenBase;break}o="*"==n}return"comment"}function Context(t,e,n,o,r){this.indented=t,this.column=e,this.type=n,this.align=o,this.prev=r}function pushContext(t,e,n){return t.context=new Context(t.indented,e,n,null,t.context)}function popContext(t){if(t.context.prev){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}}var n,o=e.indentUnit,r={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},i={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},a=/[+\-*&^%:=<>!|\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-o,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var o=e.context;if(t.sol()&&(null==o.align&&(o.align=!1),e.indented=t.indentation(),e.startOfLine=!0,"case"==o.type&&(o.type="}")),t.eatSpace())return null;n=null;var r=(e.tokenize||tokenBase)(t,e);return"comment"==r?r:(null==o.align&&(o.align=!0),"{"==n?pushContext(e,t.column(),"}"):"["==n?pushContext(e,t.column(),"]"):"("==n?pushContext(e,t.column(),")"):"case"==n?o.type="case":"}"==n&&"}"==o.type?popContext(e):n==o.type&&popContext(e),e.startOfLine=!1,r)},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return t.Pass;var r=e.context,i=n&&n.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(n))return e.context.type="}",r.indented;var a=i==r.type;return r.align?r.column+(a?0:1):r.indented+(a?0:o)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),t.defineMIME("text/x-go","go")})}}); \ No newline at end of file +webpackJsonp([94],{968:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("go",function(e){function tokenBase(t,e){var o=t.next();if('"'==o||"'"==o||"`"==o)return e.tokenize=function tokenString(t){return function(e,n){for(var o,r=!1,i=!1;null!=(o=e.next());){if(o==t&&!r){i=!0;break}r=!r&&"`"!=t&&"\\"==o}return(i||!r&&"`"!=t)&&(n.tokenize=tokenBase),"string"}}(o),e.tokenize(t,e);if(/[\d\.]/.test(o))return"."==o?t.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==o?t.match(/^[xX][0-9a-fA-F]+/)||t.match(/^0[0-7]+/):t.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(o))return n=o,null;if("/"==o){if(t.eat("*"))return e.tokenize=tokenComment,tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment"}if(a.test(o))return t.eatWhile(a),"operator";t.eatWhile(/[\w\$_\xa1-\uffff]/);var c=t.current();return r.propertyIsEnumerable(c)?("case"!=c&&"default"!=c||(n="case"),"keyword"):i.propertyIsEnumerable(c)?"atom":"variable"}function tokenComment(t,e){for(var n,o=!1;n=t.next();){if("/"==n&&o){e.tokenize=tokenBase;break}o="*"==n}return"comment"}function Context(t,e,n,o,r){this.indented=t,this.column=e,this.type=n,this.align=o,this.prev=r}function pushContext(t,e,n){return t.context=new Context(t.indented,e,n,null,t.context)}function popContext(t){if(t.context.prev){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}}var n,o=e.indentUnit,r={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0},i={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},a=/[+\-*&^%:=<>!|\/]/;return{startState:function(t){return{tokenize:null,context:new Context((t||0)-o,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,e){var o=e.context;if(t.sol()&&(null==o.align&&(o.align=!1),e.indented=t.indentation(),e.startOfLine=!0,"case"==o.type&&(o.type="}")),t.eatSpace())return null;n=null;var r=(e.tokenize||tokenBase)(t,e);return"comment"==r?r:(null==o.align&&(o.align=!0),"{"==n?pushContext(e,t.column(),"}"):"["==n?pushContext(e,t.column(),"]"):"("==n?pushContext(e,t.column(),")"):"case"==n?o.type="case":"}"==n&&"}"==o.type?popContext(e):n==o.type&&popContext(e),e.startOfLine=!1,r)},indent:function(e,n){if(e.tokenize!=tokenBase&&null!=e.tokenize)return t.Pass;var r=e.context,i=n&&n.charAt(0);if("case"==r.type&&/^(?:case|default)\b/.test(n))return e.context.type="}",r.indented;var a=i==r.type;return r.align?r.column+(a?0:1):r.indented+(a?0:o)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),t.defineMIME("text/x-go","go")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/34.0cc6b81f.js b/build/codemirror/mode/34.dc385593.js similarity index 98% rename from build/codemirror/mode/34.0cc6b81f.js rename to build/codemirror/mode/34.dc385593.js index 9e83b50..4cc0482 100644 --- a/build/codemirror/mode/34.0cc6b81f.js +++ b/build/codemirror/mode/34.dc385593.js @@ -1 +1 @@ -webpackJsonp([94],{969:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("groovy",function(e){function words(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}function tokenBase(t,e){var s=t.next();if('"'==s||"'"==s)return startString(s,t,e);if(/[\[\]{}\(\),;\:\.]/.test(s))return n=s,null;if(/\d/.test(s))return t.eatWhile(/[\w\.]/),t.eat(/eE/)&&(t.eat(/\+\-/),t.eatWhile(/\d/)),"number";if("/"==s){if(t.eat("*"))return e.tokenize.push(tokenComment),tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment";if(expectExpression(e.lastToken,!1))return startString(s,t,e)}if("-"==s&&t.eat(">"))return n="->",null;if(/[+\-*&%=<>!?|\/~]/.test(s))return t.eatWhile(/[+\-*&%=<>|~]/),"operator";if(t.eatWhile(/[\w\$_]/),"@"==s)return t.eatWhile(/[\w\$_\.]/),"meta";if("."==e.lastToken)return"property";if(t.eat(":"))return n="proplabel","property";var l=t.current();return a.propertyIsEnumerable(l)?"atom":r.propertyIsEnumerable(l)?(o.propertyIsEnumerable(l)?n="newstatement":i.propertyIsEnumerable(l)&&(n="standalone"),"keyword"):"variable"}function startString(e,n,r){function t(t,n){for(var r,i=!1,a=!o;null!=(r=t.next());){if(r==e&&!i){if(!o)break;if(t.match(e+e)){a=!0;break}}if('"'==e&&"$"==r&&!i&&t.eat("{"))return n.tokenize.push(function tokenBaseUntilBrace(){function t(t,n){if("}"==t.peek()){if(0==--e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)}else"{"==t.peek()&&e++;return tokenBase(t,n)}var e=1;return t.isBase=!0,t}()),"string";i=!i&&"\\"==r}return a&&n.tokenize.pop(),"string"}var o=!1;if("/"!=e&&n.eat(e)){if(!n.eat(e))return"string";o=!0}return r.tokenize.push(t),t(n,r)}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize.pop();break}r="*"==n}return"comment"}function expectExpression(t,e){return!t||"operator"==t||"->"==t||/[\.\[\{\(,;:]/.test(t)||"newstatement"==t||"keyword"==t||"proplabel"==t||"standalone"==t&&!e}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){return t.context=new Context(t.indented,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,r=words("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"),o=words("catch class def do else enum finally for if interface switch trait try while"),i=words("return break continue"),a=words("null true false this");return tokenBase.isBase=!0,{startState:function(t){return{tokenize:[tokenBase],context:new Context((t||0)-e.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(t,e){var r=e.context;if(t.sol()&&(null==r.align&&(r.align=!1),e.indented=t.indentation(),e.startOfLine=!0,"statement"!=r.type||expectExpression(e.lastToken,!0)||(popContext(e),r=e.context)),t.eatSpace())return null;n=null;var o=e.tokenize[e.tokenize.length-1](t,e);if("comment"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type)if("->"==n&&"statement"==r.type&&"}"==r.prev.type)popContext(e),e.context.align=!1;else if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(e);for("}"==r.type&&(r=popContext(e));"statement"==r.type;)r=popContext(e)}else n==r.type?popContext(e):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,e.lastToken=n||o,o},indent:function(n,r){if(!n.tokenize[n.tokenize.length-1].isBase)return t.Pass;var o=r&&r.charAt(0),i=n.context;"statement"!=i.type||expectExpression(n.lastToken,!0)||(i=i.prev);var a=o==i.type;return"statement"==i.type?i.indented+("{"==o?0:e.indentUnit):i.align?i.column+(a?0:1):i.indented+(a?0:e.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace"}}),t.defineMIME("text/x-groovy","groovy")})}}); \ No newline at end of file +webpackJsonp([93],{969:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("groovy",function(e){function words(t){for(var e={},n=t.split(" "),r=0;r<n.length;++r)e[n[r]]=!0;return e}function tokenBase(t,e){var s=t.next();if('"'==s||"'"==s)return startString(s,t,e);if(/[\[\]{}\(\),;\:\.]/.test(s))return n=s,null;if(/\d/.test(s))return t.eatWhile(/[\w\.]/),t.eat(/eE/)&&(t.eat(/\+\-/),t.eatWhile(/\d/)),"number";if("/"==s){if(t.eat("*"))return e.tokenize.push(tokenComment),tokenComment(t,e);if(t.eat("/"))return t.skipToEnd(),"comment";if(expectExpression(e.lastToken,!1))return startString(s,t,e)}if("-"==s&&t.eat(">"))return n="->",null;if(/[+\-*&%=<>!?|\/~]/.test(s))return t.eatWhile(/[+\-*&%=<>|~]/),"operator";if(t.eatWhile(/[\w\$_]/),"@"==s)return t.eatWhile(/[\w\$_\.]/),"meta";if("."==e.lastToken)return"property";if(t.eat(":"))return n="proplabel","property";var l=t.current();return a.propertyIsEnumerable(l)?"atom":r.propertyIsEnumerable(l)?(o.propertyIsEnumerable(l)?n="newstatement":i.propertyIsEnumerable(l)&&(n="standalone"),"keyword"):"variable"}function startString(e,n,r){function t(t,n){for(var r,i=!1,a=!o;null!=(r=t.next());){if(r==e&&!i){if(!o)break;if(t.match(e+e)){a=!0;break}}if('"'==e&&"$"==r&&!i&&t.eat("{"))return n.tokenize.push(function tokenBaseUntilBrace(){function t(t,n){if("}"==t.peek()){if(0==--e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)}else"{"==t.peek()&&e++;return tokenBase(t,n)}var e=1;return t.isBase=!0,t}()),"string";i=!i&&"\\"==r}return a&&n.tokenize.pop(),"string"}var o=!1;if("/"!=e&&n.eat(e)){if(!n.eat(e))return"string";o=!0}return r.tokenize.push(t),t(n,r)}function tokenComment(t,e){for(var n,r=!1;n=t.next();){if("/"==n&&r){e.tokenize.pop();break}r="*"==n}return"comment"}function expectExpression(t,e){return!t||"operator"==t||"->"==t||/[\.\[\{\(,;:]/.test(t)||"newstatement"==t||"keyword"==t||"proplabel"==t||"standalone"==t&&!e}function Context(t,e,n,r,o){this.indented=t,this.column=e,this.type=n,this.align=r,this.prev=o}function pushContext(t,e,n){return t.context=new Context(t.indented,e,n,null,t.context)}function popContext(t){var e=t.context.type;return")"!=e&&"]"!=e&&"}"!=e||(t.indented=t.context.indented),t.context=t.context.prev}var n,r=words("abstract as assert boolean break byte case catch char class const continue def default do double else enum extends final finally float for goto if implements import in instanceof int interface long native new package private protected public return short static strictfp super switch synchronized threadsafe throw throws trait transient try void volatile while"),o=words("catch class def do else enum finally for if interface switch trait try while"),i=words("return break continue"),a=words("null true false this");return tokenBase.isBase=!0,{startState:function(t){return{tokenize:[tokenBase],context:new Context((t||0)-e.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(t,e){var r=e.context;if(t.sol()&&(null==r.align&&(r.align=!1),e.indented=t.indentation(),e.startOfLine=!0,"statement"!=r.type||expectExpression(e.lastToken,!0)||(popContext(e),r=e.context)),t.eatSpace())return null;n=null;var o=e.tokenize[e.tokenize.length-1](t,e);if("comment"==o)return o;if(null==r.align&&(r.align=!0),";"!=n&&":"!=n||"statement"!=r.type)if("->"==n&&"statement"==r.type&&"}"==r.prev.type)popContext(e),e.context.align=!1;else if("{"==n)pushContext(e,t.column(),"}");else if("["==n)pushContext(e,t.column(),"]");else if("("==n)pushContext(e,t.column(),")");else if("}"==n){for(;"statement"==r.type;)r=popContext(e);for("}"==r.type&&(r=popContext(e));"statement"==r.type;)r=popContext(e)}else n==r.type?popContext(e):("}"==r.type||"top"==r.type||"statement"==r.type&&"newstatement"==n)&&pushContext(e,t.column(),"statement");else popContext(e);return e.startOfLine=!1,e.lastToken=n||o,o},indent:function(n,r){if(!n.tokenize[n.tokenize.length-1].isBase)return t.Pass;var o=r&&r.charAt(0),i=n.context;"statement"!=i.type||expectExpression(n.lastToken,!0)||(i=i.prev);var a=o==i.type;return"statement"==i.type?i.indented+("{"==o?0:e.indentUnit):i.align?i.column+(a?0:1):i.indented+(a?0:e.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace"}}),t.defineMIME("text/x-groovy","groovy")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/35.95f88735.js b/build/codemirror/mode/35.95f88735.js deleted file mode 100644 index 5352acf..0000000 --- a/build/codemirror/mode/35.95f88735.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([5,12,33,62,89,111],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},916:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},r=0,n=e.length;r<n;++r)t[e[r]]=!0;return t}function chain(e,t,r){return r.tokenize.push(e),e(t,r)}function tokenBase(e,r){if(e.sol()&&e.match("=begin")&&e.eol())return r.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var n,o=e.next();if("`"==o||"'"==o||'"'==o)return chain(readQuoted(o,"string",'"'==o||"`"==o),e,r);if("/"==o)return function regexpAhead(e){var t,r=e.pos,n=0,o=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)n++;else if("]})".indexOf(t)>-1){if(--n<0)break}else if("/"==t&&0==n){o=!0;break}a="\\"==t}return e.backUp(e.pos-r),o}(e)?chain(readQuoted(o,"string-2",!0),e,r):"operator";if("%"==o){var i="string",s=!0;e.eat("s")?i="atom":e.eat(/[WQ]/)?i="string":e.eat(/[r]/)?i="string-2":e.eat(/[wxq]/)&&(i="string",s=!1);var l=e.eat(/[^\w\s=]/);return l?(a.propertyIsEnumerable(l)&&(l=a[l]),chain(readQuoted(l,i,s,!0),e,r)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(n=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,r){return t.match(e)?r.tokenize.pop():t.skipToEnd(),"string"}}(n[1]),e,r);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?chain(readQuoted("'","atom",!1),e,r):e.eat('"')?chain(readQuoted('"',"atom",!0),e,r):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!r.varList&&"{"!=r.lastTok&&"do"!=r.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return t=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||c||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,r)}}function tokenBaseOnce(){var e=!1;return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,tokenBase(t,r))}}function readQuoted(e,t,r,n){return function(o,a){var i,s=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,o.eat("}"));null!=(i=o.next());){if(i==e&&(n||!s)){a.tokenize.pop();break}if(r&&"#"==i&&!s){if(o.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(o.peek())){a.tokenize.push(tokenBaseOnce());break}}s=!s&&"\\"==i}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,r=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),n=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),o=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var i,s=a.tokenize[a.tokenize.length-1](e,a),l=t;if("ident"==s){var c=e.current();"keyword"==(s="."==a.lastTok?"property":r.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(l=c,n.propertyIsEnumerable(c)?i="indent":o.propertyIsEnumerable(c)?i="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&a.context.indented<a.indented&&(i="indent"):i="indent")}return(t||s&&"comment"!=s)&&(a.lastTok=l),"|"==t&&(a.varList=!a.varList),"indent"==i||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||s,indented:a.indented}:("dedent"==i||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==s),s},indent:function(t,r){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var n=r&&r.charAt(0),o=t.context,i=o.type==a[n]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(r);return o.indented+(i?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})},970:function(e,t,r){!function(e){e(r(907),r(911),r(916))}(function(e){"use strict";e.defineMode("haml",function(t){function rubyInQuote(e){return function(t,r){return t.peek()==e&&1==r.rubyState.tokenize.length?(t.next(),r.tokenize=html,"closeAttributeTag"):ruby(t,r)}}function ruby(e,t){return e.match("-#")?(e.skipToEnd(),"comment"):n.token(e,t.rubyState)}function html(e,t){var n=e.peek();if("comment"==t.previousToken.style&&t.indented>t.previousToken.indented)return e.skipToEnd(),"commentLine";if(t.startOfLine){if("!"==n&&e.match("!!"))return e.skipToEnd(),"tag";if(e.match(/^%[\w:#\.]+=/))return t.tokenize=ruby,"hamlTag";if(e.match(/^%[\w:]+/))return"hamlTag";if("/"==n)return e.skipToEnd(),"comment"}if((t.startOfLine||"hamlTag"==t.previousToken.style)&&("#"==n||"."==n))return e.match(/[\w-#\.]*/),"hamlAttribute";if(t.startOfLine&&!e.match("--\x3e",!1)&&("="==n||"-"==n))return t.tokenize=ruby,t.tokenize(e,t);if("hamlTag"==t.previousToken.style||"closeAttributeTag"==t.previousToken.style||"hamlAttribute"==t.previousToken.style){if("("==n)return t.tokenize=rubyInQuote(")"),t.tokenize(e,t);if("{"==n&&!e.match(/^\{%.*/))return t.tokenize=rubyInQuote("}"),t.tokenize(e,t)}return r.token(e,t.htmlState)}var r=e.getMode(t,{name:"htmlmixed"}),n=e.getMode(t,"ruby");return{startState:function(){return{htmlState:e.startState(r),rubyState:e.startState(n),indented:0,previousToken:{style:null,indented:0},tokenize:html}},copyState:function(t){return{htmlState:e.copyState(r,t.htmlState),rubyState:e.copyState(n,t.rubyState),indented:t.indented,previousToken:t.previousToken,tokenize:t.tokenize}},token:function(e,t){if(e.sol()&&(t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var r=t.tokenize(e,t);if(t.startOfLine=!1,r&&"commentLine"!=r&&(t.previousToken={style:r,indented:t.indented}),e.eol()&&t.tokenize==ruby){e.backUp(1);var n=e.peek();e.next(),n&&","!=n&&(t.tokenize=html)}return"hamlTag"==r?r="tag":"commentLine"==r?r="comment":"hamlAttribute"==r?r="attribute":"closeAttributeTag"==r&&(r=null),r}}},"htmlmixed","ruby"),e.defineMIME("text/x-haml","haml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/35.d361f93b.js b/build/codemirror/mode/35.d361f93b.js new file mode 100644 index 0000000..055988c --- /dev/null +++ b/build/codemirror/mode/35.d361f93b.js @@ -0,0 +1 @@ +webpackJsonp([5,12,32,61,88,110],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)x.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=x.state;if(x.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){x.state.context={prev:x.state.context,vars:x.state.localVars},x.state.localVars=g}function popcontext(){x.state.localVars=x.state.context.vars,x.state.context=x.state.context.prev}function pushlex(e,t){var r=function(){var r=x.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,x.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=x.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?x.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==x.state.lexical.info&&x.state.cc[x.state.cc.length-1]==poplex&&x.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(x.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(x.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&x.stream.match(/^\s*\w/,!1)?(x.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(x.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(x.state.fatArrowAt==x.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(x.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&x.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(x.marked="keyword",cont(typeexpr,n)):"regexp"==e?(x.state.lastType=x.marked="operator",x.stream.backUp(x.stream.pos-x.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return x.marked="string-2",x.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(x.stream,x.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(x.stream,x.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return x.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return x.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return x.marked="property",cont()}function objprop(e,t){if("async"==e)return x.marked="property",cont(objprop);if("variable"==e||"keyword"==x.style){if(x.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&x.state.fatArrowAt==x.stream.start&&(r=x.stream.match(/^\s*:\s*/,!1))&&(x.state.fatArrowAt=x.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(x.marked=s?"property":x.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(x.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(x.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(x.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=x.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)x.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return x.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return x.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(x.marked="keyword",cont(typeexpr)):(x.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==x.style?(x.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(x.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(x.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(x.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||x.stream.match(/^\s*:/,!1)?("variable"==e&&(x.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(x.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(x.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(x.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(x.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(x.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&x.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(x.marked="keyword",cont(classBody)):"variable"==e||"keyword"==x.style?(x.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(x.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(x.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(x.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(x.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(x.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return x.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return x.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},x={state:null,column:null,marked:null,cc:null},g={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(x.state=e,x.stream=o,x.marked=null,x.cc=a,x.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return x.marked?x.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=g.hasOwnProperty(t)?"atom":x.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},x=r.colorKeywords||{},g=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":g.hasOwnProperty(n)?"atom":x.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],x=keySet(h),g=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(g),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(g);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:x,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:x,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:x,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:x,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},916:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},r=0,n=e.length;r<n;++r)t[e[r]]=!0;return t}function chain(e,t,r){return r.tokenize.push(e),e(t,r)}function tokenBase(e,r){if(e.sol()&&e.match("=begin")&&e.eol())return r.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var n,o=e.next();if("`"==o||"'"==o||'"'==o)return chain(readQuoted(o,"string",'"'==o||"`"==o),e,r);if("/"==o)return function regexpAhead(e){var t,r=e.pos,n=0,o=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)n++;else if("]})".indexOf(t)>-1){if(--n<0)break}else if("/"==t&&0==n){o=!0;break}a="\\"==t}return e.backUp(e.pos-r),o}(e)?chain(readQuoted(o,"string-2",!0),e,r):"operator";if("%"==o){var i="string",s=!0;e.eat("s")?i="atom":e.eat(/[WQ]/)?i="string":e.eat(/[r]/)?i="string-2":e.eat(/[wxq]/)&&(i="string",s=!1);var l=e.eat(/[^\w\s=]/);return l?(a.propertyIsEnumerable(l)&&(l=a[l]),chain(readQuoted(l,i,s,!0),e,r)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(n=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,r){return t.match(e)?r.tokenize.pop():t.skipToEnd(),"string"}}(n[1]),e,r);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?chain(readQuoted("'","atom",!1),e,r):e.eat('"')?chain(readQuoted('"',"atom",!0),e,r):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!r.varList&&"{"!=r.lastTok&&"do"!=r.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return t=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||c||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,r){if("}"==t.peek()){if(1==e)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r);r.tokenize[r.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(r.tokenize[r.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,r)}}function tokenBaseOnce(){var e=!1;return function(t,r){return e?(r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)):(e=!0,tokenBase(t,r))}}function readQuoted(e,t,r,n){return function(o,a){var i,s=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,o.eat("}"));null!=(i=o.next());){if(i==e&&(n||!s)){a.tokenize.pop();break}if(r&&"#"==i&&!s){if(o.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(o.peek())){a.tokenize.push(tokenBaseOnce());break}}s=!s&&"\\"==i}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,r=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),n=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),o=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var i,s=a.tokenize[a.tokenize.length-1](e,a),l=t;if("ident"==s){var c=e.current();"keyword"==(s="."==a.lastTok?"property":r.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(l=c,n.propertyIsEnumerable(c)?i="indent":o.propertyIsEnumerable(c)?i="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&a.context.indented<a.indented&&(i="indent"):i="indent")}return(t||s&&"comment"!=s)&&(a.lastTok=l),"|"==t&&(a.varList=!a.varList),"indent"==i||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||s,indented:a.indented}:("dedent"==i||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==s),s},indent:function(t,r){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var n=r&&r.charAt(0),o=t.context,i=o.type==a[n]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(r);return o.indented+(i?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})},970:function(e,t,r){!function(e){e(r(907),r(911),r(916))}(function(e){"use strict";e.defineMode("haml",function(t){function rubyInQuote(e){return function(t,r){return t.peek()==e&&1==r.rubyState.tokenize.length?(t.next(),r.tokenize=html,"closeAttributeTag"):ruby(t,r)}}function ruby(e,t){return e.match("-#")?(e.skipToEnd(),"comment"):n.token(e,t.rubyState)}function html(e,t){var n=e.peek();if("comment"==t.previousToken.style&&t.indented>t.previousToken.indented)return e.skipToEnd(),"commentLine";if(t.startOfLine){if("!"==n&&e.match("!!"))return e.skipToEnd(),"tag";if(e.match(/^%[\w:#\.]+=/))return t.tokenize=ruby,"hamlTag";if(e.match(/^%[\w:]+/))return"hamlTag";if("/"==n)return e.skipToEnd(),"comment"}if((t.startOfLine||"hamlTag"==t.previousToken.style)&&("#"==n||"."==n))return e.match(/[\w-#\.]*/),"hamlAttribute";if(t.startOfLine&&!e.match("--\x3e",!1)&&("="==n||"-"==n))return t.tokenize=ruby,t.tokenize(e,t);if("hamlTag"==t.previousToken.style||"closeAttributeTag"==t.previousToken.style||"hamlAttribute"==t.previousToken.style){if("("==n)return t.tokenize=rubyInQuote(")"),t.tokenize(e,t);if("{"==n&&!e.match(/^\{%.*/))return t.tokenize=rubyInQuote("}"),t.tokenize(e,t)}return r.token(e,t.htmlState)}var r=e.getMode(t,{name:"htmlmixed"}),n=e.getMode(t,"ruby");return{startState:function(){return{htmlState:e.startState(r),rubyState:e.startState(n),indented:0,previousToken:{style:null,indented:0},tokenize:html}},copyState:function(t){return{htmlState:e.copyState(r,t.htmlState),rubyState:e.copyState(n,t.rubyState),indented:t.indented,previousToken:t.previousToken,tokenize:t.tokenize}},token:function(e,t){if(e.sol()&&(t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;var r=t.tokenize(e,t);if(t.startOfLine=!1,r&&"commentLine"!=r&&(t.previousToken={style:r,indented:t.indented}),e.eol()&&t.tokenize==ruby){e.backUp(1);var n=e.peek();e.next(),n&&","!=n&&(t.tokenize=html)}return"hamlTag"==r?r="tag":"commentLine"==r?r="comment":"hamlAttribute"==r?r="attribute":"closeAttributeTag"==r&&(r=null),r}}},"htmlmixed","ruby"),e.defineMIME("text/x-haml","haml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/36.9f18a546.js b/build/codemirror/mode/36.2a61213e.js similarity index 99% rename from build/codemirror/mode/36.9f18a546.js rename to build/codemirror/mode/36.2a61213e.js index 1cb6312..21bf2ab 100644 --- a/build/codemirror/mode/36.9f18a546.js +++ b/build/codemirror/mode/36.2a61213e.js @@ -1 +1 @@ -webpackJsonp([16],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,i){if(i.pending){var o=i.pending.shift();return 0==i.pending.length&&(i.pending=null),r.pos+=o.text.length,o.token}if(i.local){if(i.local.end&&r.match(i.local.end)){var a=i.local.endToken||null;return i.local=i.localState=null,a}var l;a=i.local.mode.token(r,i.localState);return i.local.endScan&&(l=i.local.endScan.exec(r.current()))&&(r.pos=r.start+l.index),a}for(var s=t[i.state],c=0;c<s.length;c++){var d=s[c],u=(!d.data.sol||r.sol())&&r.match(d.regex);if(u){d.data.next?i.state=d.data.next:d.data.push?((i.stack||(i.stack=[])).push(i.state),i.state=d.data.push):d.data.pop&&i.stack&&i.stack.length&&(i.state=i.stack.pop()),d.data.mode&&function enterLocalMode(t,n,r,i){var o;if(r.persistent)for(var a=n.persistentStates;a&&!o;a=a.next)(r.spec?cmp(r.spec,a.spec):r.mode==a.mode)&&(o=a);var l=o?o.mode:r.mode||e.getMode(t,r.spec),s=o?o.state:e.startState(l);r.persistent&&!o&&(n.persistentStates={mode:l,spec:r.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:i&&i.join?i[i.length-1]:i}}(n,i,d.data.mode,d.token),d.data.indent&&i.indent.push(r.indentation()+n.indentUnit),d.data.dedent&&i.indent.pop();var p=d.token;if(p&&p.apply&&(p=p(u)),u.length>2&&d.token&&"string"!=typeof d.token){i.pending=[];for(var f=2;f<u.length;f++)u[f]&&i.pending.push({text:u[f],token:d.token[f-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),p[0]}return p&&p.join?p[0]:p}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},i=n.meta||{},o=!1;for(var a in n)if(a!=i&&n.hasOwnProperty(a))for(var l=r[a]=[],s=n[a],c=0;c<s.length;c++){var d=s[c];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(o=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:o?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,i,o){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,i,o);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var a=r.indent.length-1,l=t[r.state];e:for(;;){for(var s=0;s<l.length;s++){var c=l[s];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(i);if(d&&d[0]){a--,(c.next||c.push)&&(l=t[c.next||c.push]),i=i.slice(d[0].length);continue e}}}break}return a<0?0:r.indent[a]}}(r,i)};if(i)for(var p in i)i.hasOwnProperty(p)&&(u[p]=i[p]);return u}})},914:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,n,r){if("string"==typeof t){var i=e.indexOf(t,n);return r&&i>-1?i+t.length:i}var o=t.exec(n?e.slice(n):e);return o?o.index+n+(r?o[0].length:0):-1}var n=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,i){if(i.innerActive){var o=i.innerActive;s=r.string;if(!o.close&&r.sol())return i.innerActive=i.inner=null,this.token(r,i);if((d=o.close?indexOf(s,o.close,r.pos,o.parseDelimiters):-1)==r.pos&&!o.parseDelimiters)return r.match(o.close),i.innerActive=i.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";d>-1&&(r.string=s.slice(0,d));var a=o.mode.token(r,i.inner);return d>-1&&(r.string=s),d==r.pos&&o.parseDelimiters&&(i.innerActive=i.inner=null),o.innerStyle&&(a=a?a+" "+o.innerStyle:o.innerStyle),a}for(var l=1/0,s=r.string,c=0;c<n.length;++c){var d,u=n[c];if((d=indexOf(s,u.open,r.pos))==r.pos)return u.parseDelimiters||r.match(u.open),i.innerActive=u,i.inner=e.startState(u.mode,t.indent?t.indent(i.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=d&&d<l&&(l=d)}l!=1/0&&(r.string=s.slice(0,l));var p=t.token(r,i.outer);return l!=1/0&&(r.string=s),p},indent:function(n,r){var i=n.innerActive?n.innerActive.mode:t;return i.indent?i.indent(n.innerActive?n.inner:n.outer,r):e.Pass},blankLine:function(r){var i=r.innerActive?r.innerActive.mode:t;if(i.blankLine&&i.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)"\n"===r.innerActive.close&&(r.innerActive=r.inner=null);else for(var o=0;o<n.length;++o){var a=n[o];"\n"===a.open&&(r.innerActive=a,r.inner=e.startState(a.mode,i.indent?i.indent(r.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},923:function(e,t,n){!function(e){e(n(907),n(912),n(914))}(function(e){"use strict";e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}]}),e.defineMode("handlebars",function(t,n){var r=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-handlebars-template","handlebars")})}}); \ No newline at end of file +webpackJsonp([16],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,i){if(i.pending){var o=i.pending.shift();return 0==i.pending.length&&(i.pending=null),r.pos+=o.text.length,o.token}if(i.local){if(i.local.end&&r.match(i.local.end)){var a=i.local.endToken||null;return i.local=i.localState=null,a}var l;a=i.local.mode.token(r,i.localState);return i.local.endScan&&(l=i.local.endScan.exec(r.current()))&&(r.pos=r.start+l.index),a}for(var s=t[i.state],c=0;c<s.length;c++){var d=s[c],u=(!d.data.sol||r.sol())&&r.match(d.regex);if(u){d.data.next?i.state=d.data.next:d.data.push?((i.stack||(i.stack=[])).push(i.state),i.state=d.data.push):d.data.pop&&i.stack&&i.stack.length&&(i.state=i.stack.pop()),d.data.mode&&function enterLocalMode(t,n,r,i){var o;if(r.persistent)for(var a=n.persistentStates;a&&!o;a=a.next)(r.spec?cmp(r.spec,a.spec):r.mode==a.mode)&&(o=a);var l=o?o.mode:r.mode||e.getMode(t,r.spec),s=o?o.state:e.startState(l);r.persistent&&!o&&(n.persistentStates={mode:l,spec:r.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:i&&i.join?i[i.length-1]:i}}(n,i,d.data.mode,d.token),d.data.indent&&i.indent.push(r.indentation()+n.indentUnit),d.data.dedent&&i.indent.pop();var p=d.token;if(p&&p.apply&&(p=p(u)),u.length>2&&d.token&&"string"!=typeof d.token){i.pending=[];for(var f=2;f<u.length;f++)u[f]&&i.pending.push({text:u[f],token:d.token[f-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),p[0]}return p&&p.join?p[0]:p}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},i=n.meta||{},o=!1;for(var a in n)if(a!=i&&n.hasOwnProperty(a))for(var l=r[a]=[],s=n[a],c=0;c<s.length;c++){var d=s[c];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(o=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:o?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,i,o){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,i,o);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var a=r.indent.length-1,l=t[r.state];e:for(;;){for(var s=0;s<l.length;s++){var c=l[s];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(i);if(d&&d[0]){a--,(c.next||c.push)&&(l=t[c.next||c.push]),i=i.slice(d[0].length);continue e}}}break}return a<0?0:r.indent[a]}}(r,i)};if(i)for(var p in i)i.hasOwnProperty(p)&&(u[p]=i[p]);return u}})},914:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,n,r){if("string"==typeof t){var i=e.indexOf(t,n);return r&&i>-1?i+t.length:i}var o=t.exec(n?e.slice(n):e);return o?o.index+n+(r?o[0].length:0):-1}var n=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(r,i){if(i.innerActive){var o=i.innerActive;s=r.string;if(!o.close&&r.sol())return i.innerActive=i.inner=null,this.token(r,i);if((d=o.close?indexOf(s,o.close,r.pos,o.parseDelimiters):-1)==r.pos&&!o.parseDelimiters)return r.match(o.close),i.innerActive=i.inner=null,o.delimStyle&&o.delimStyle+" "+o.delimStyle+"-close";d>-1&&(r.string=s.slice(0,d));var a=o.mode.token(r,i.inner);return d>-1&&(r.string=s),d==r.pos&&o.parseDelimiters&&(i.innerActive=i.inner=null),o.innerStyle&&(a=a?a+" "+o.innerStyle:o.innerStyle),a}for(var l=1/0,s=r.string,c=0;c<n.length;++c){var d,u=n[c];if((d=indexOf(s,u.open,r.pos))==r.pos)return u.parseDelimiters||r.match(u.open),i.innerActive=u,i.inner=e.startState(u.mode,t.indent?t.indent(i.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=d&&d<l&&(l=d)}l!=1/0&&(r.string=s.slice(0,l));var p=t.token(r,i.outer);return l!=1/0&&(r.string=s),p},indent:function(n,r){var i=n.innerActive?n.innerActive.mode:t;return i.indent?i.indent(n.innerActive?n.inner:n.outer,r):e.Pass},blankLine:function(r){var i=r.innerActive?r.innerActive.mode:t;if(i.blankLine&&i.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)"\n"===r.innerActive.close&&(r.innerActive=r.inner=null);else for(var o=0;o<n.length;++o){var a=n[o];"\n"===a.open&&(r.innerActive=a,r.inner=e.startState(a.mode,i.indent?i.indent(r.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},920:function(e,t,n){!function(e){e(n(907),n(912),n(914))}(function(e){"use strict";e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}]}),e.defineMode("handlebars",function(t,n){var r=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-handlebars-template","handlebars")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/37.fd6baf76.js b/build/codemirror/mode/37.a1edc9f1.js similarity index 98% rename from build/codemirror/mode/37.fd6baf76.js rename to build/codemirror/mode/37.a1edc9f1.js index 6281afb..f97fc92 100644 --- a/build/codemirror/mode/37.fd6baf76.js +++ b/build/codemirror/mode/37.a1edc9f1.js @@ -1 +1 @@ -webpackJsonp([93],{924:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("haskell",function(e,t){function switchState(e,t,r){return t(r),r(e,t)}function normal(e,t){if(e.eatWhile(f))return null;var c=e.next();if(s.test(c)){if("{"==c&&e.eat("-")){var m="comment";return e.eat("#")&&(m="meta"),switchState(e,t,ncomment(m,1))}return null}if("'"==c)return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if('"'==c)return switchState(e,t,stringLiteral);if(n.test(c))return e.eatWhile(l),e.eat(".")?"qualifier":"variable-2";if(r.test(c))return e.eatWhile(l),"variable";if(a.test(c)){if("0"==c){if(e.eat(/[xX]/))return e.eatWhile(i),"integer";if(e.eat(/[oO]/))return e.eatWhile(o),"number"}e.eatWhile(a);m="number";return e.match(/^\.\d+/)&&(m="number"),e.eat(/[eE]/)&&(m="number",e.eat(/[-+]/),e.eatWhile(a)),m}if("."==c&&e.eat("."))return"keyword";if(u.test(c)){if("-"==c&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(u)))return e.skipToEnd(),"comment";m="variable";return":"==c&&(m="variable-2"),e.eatWhile(u),m}return"error"}function ncomment(e,t){return 0==t?normal:function(r,n){for(var a=t;!r.eol();){var i=r.next();if("{"==i&&r.eat("-"))++a;else if("-"==i&&r.eat("}")&&0==--a)return n(normal),e}return n(ncomment(e,a)),e}}function stringLiteral(e,t){for(;!e.eol();){var r=e.next();if('"'==r)return t(normal),"string";if("\\"==r){if(e.eol()||e.eat(f))return t(stringGap),"string";e.eat("&")||e.next()}}return t(normal),"string error"}function stringGap(e,t){return e.eat("\\")?switchState(e,t,stringLiteral):(e.next(),t(normal),"error")}var r=/[a-z_]/,n=/[A-Z]/,a=/\d/,i=/[0-9A-Fa-f]/,o=/[0-7]/,l=/[a-z_A-Z0-9'\xa1-\uffff]/,u=/[-!#$%&*+.\/<=>?@\\^|~:]/,s=/[(),;[\]`{}]/,f=/[ \t\v\f]/,c=function(){function setType(t){return function(){for(var r=0;r<arguments.length;r++)e[arguments[r]]=t}}var e={};setType("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),setType("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),setType("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<=","=<<","==",">",">=",">>",">>=","^","^^","||","*","**"),setType("builtin")("Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),setType("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var r=t.overrideKeywords;if(r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);return e}();return{startState:function(){return{f:normal}},copyState:function(e){return{f:e.f}},token:function(e,t){var r=t.f(e,function(e){t.f=e}),n=e.current();return c.hasOwnProperty(n)?c[n]:r},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),e.defineMIME("text/x-haskell","haskell")})}}); \ No newline at end of file +webpackJsonp([92],{921:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("haskell",function(e,t){function switchState(e,t,r){return t(r),r(e,t)}function normal(e,t){if(e.eatWhile(f))return null;var c=e.next();if(s.test(c)){if("{"==c&&e.eat("-")){var m="comment";return e.eat("#")&&(m="meta"),switchState(e,t,ncomment(m,1))}return null}if("'"==c)return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if('"'==c)return switchState(e,t,stringLiteral);if(n.test(c))return e.eatWhile(l),e.eat(".")?"qualifier":"variable-2";if(r.test(c))return e.eatWhile(l),"variable";if(a.test(c)){if("0"==c){if(e.eat(/[xX]/))return e.eatWhile(i),"integer";if(e.eat(/[oO]/))return e.eatWhile(o),"number"}e.eatWhile(a);m="number";return e.match(/^\.\d+/)&&(m="number"),e.eat(/[eE]/)&&(m="number",e.eat(/[-+]/),e.eatWhile(a)),m}if("."==c&&e.eat("."))return"keyword";if(u.test(c)){if("-"==c&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(u)))return e.skipToEnd(),"comment";m="variable";return":"==c&&(m="variable-2"),e.eatWhile(u),m}return"error"}function ncomment(e,t){return 0==t?normal:function(r,n){for(var a=t;!r.eol();){var i=r.next();if("{"==i&&r.eat("-"))++a;else if("-"==i&&r.eat("}")&&0==--a)return n(normal),e}return n(ncomment(e,a)),e}}function stringLiteral(e,t){for(;!e.eol();){var r=e.next();if('"'==r)return t(normal),"string";if("\\"==r){if(e.eol()||e.eat(f))return t(stringGap),"string";e.eat("&")||e.next()}}return t(normal),"string error"}function stringGap(e,t){return e.eat("\\")?switchState(e,t,stringLiteral):(e.next(),t(normal),"error")}var r=/[a-z_]/,n=/[A-Z]/,a=/\d/,i=/[0-9A-Fa-f]/,o=/[0-7]/,l=/[a-z_A-Z0-9'\xa1-\uffff]/,u=/[-!#$%&*+.\/<=>?@\\^|~:]/,s=/[(),;[\]`{}]/,f=/[ \t\v\f]/,c=function(){function setType(t){return function(){for(var r=0;r<arguments.length;r++)e[arguments[r]]=t}}var e={};setType("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),setType("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),setType("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<=","=<<","==",">",">=",">>",">>=","^","^^","||","*","**"),setType("builtin")("Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),setType("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var r=t.overrideKeywords;if(r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);return e}();return{startState:function(){return{f:normal}},copyState:function(e){return{f:e.f}},token:function(e,t){var r=t.f(e,function(e){t.f=e}),n=e.current();return c.hasOwnProperty(n)?c[n]:r},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),e.defineMIME("text/x-haskell","haskell")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/38.71c44bb9.js b/build/codemirror/mode/38.20d4cd0b.js similarity index 97% rename from build/codemirror/mode/38.71c44bb9.js rename to build/codemirror/mode/38.20d4cd0b.js index 9a77374..fa302df 100644 --- a/build/codemirror/mode/38.71c44bb9.js +++ b/build/codemirror/mode/38.20d4cd0b.js @@ -1 +1 @@ -webpackJsonp([21,93],{924:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("haskell",function(e,t){function switchState(e,t,n){return t(n),n(e,t)}function normal(e,t){if(e.eatWhile(f))return null;var c=e.next();if(u.test(c)){if("{"==c&&e.eat("-")){var d="comment";return e.eat("#")&&(d="meta"),switchState(e,t,ncomment(d,1))}return null}if("'"==c)return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if('"'==c)return switchState(e,t,stringLiteral);if(r.test(c))return e.eatWhile(l),e.eat(".")?"qualifier":"variable-2";if(n.test(c))return e.eatWhile(l),"variable";if(a.test(c)){if("0"==c){if(e.eat(/[xX]/))return e.eatWhile(i),"integer";if(e.eat(/[oO]/))return e.eatWhile(o),"number"}e.eatWhile(a);d="number";return e.match(/^\.\d+/)&&(d="number"),e.eat(/[eE]/)&&(d="number",e.eat(/[-+]/),e.eatWhile(a)),d}if("."==c&&e.eat("."))return"keyword";if(s.test(c)){if("-"==c&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(s)))return e.skipToEnd(),"comment";d="variable";return":"==c&&(d="variable-2"),e.eatWhile(s),d}return"error"}function ncomment(e,t){return 0==t?normal:function(n,r){for(var a=t;!n.eol();){var i=n.next();if("{"==i&&n.eat("-"))++a;else if("-"==i&&n.eat("}")&&0==--a)return r(normal),e}return r(ncomment(e,a)),e}}function stringLiteral(e,t){for(;!e.eol();){var n=e.next();if('"'==n)return t(normal),"string";if("\\"==n){if(e.eol()||e.eat(f))return t(stringGap),"string";e.eat("&")||e.next()}}return t(normal),"string error"}function stringGap(e,t){return e.eat("\\")?switchState(e,t,stringLiteral):(e.next(),t(normal),"error")}var n=/[a-z_]/,r=/[A-Z]/,a=/\d/,i=/[0-9A-Fa-f]/,o=/[0-7]/,l=/[a-z_A-Z0-9'\xa1-\uffff]/,s=/[-!#$%&*+.\/<=>?@\\^|~:]/,u=/[(),;[\]`{}]/,f=/[ \t\v\f]/,c=function(){function setType(t){return function(){for(var n=0;n<arguments.length;n++)e[arguments[n]]=t}}var e={};setType("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),setType("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),setType("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<=","=<<","==",">",">=",">>",">>=","^","^^","||","*","**"),setType("builtin")("Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),setType("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var n=t.overrideKeywords;if(n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);return e}();return{startState:function(){return{f:normal}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return c.hasOwnProperty(r)?c[r]:n},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),e.defineMIME("text/x-haskell","haskell")})},971:function(e,t,n){!function(e){e(n(907),n(924))}(function(e){"use strict";e.defineMode("haskell-literate",function(t,n){var r=e.getMode(t,n&&n.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(r)}},token:function(e,t){return e.sol()&&(t.inCode=e.eat(">"))?"meta":t.inCode?r.token(e,t.baseState):(e.skipToEnd(),"comment")},innerMode:function(e){return e.inCode?{state:e.baseState,mode:r}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})}}); \ No newline at end of file +webpackJsonp([20,92],{921:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("haskell",function(e,t){function switchState(e,t,n){return t(n),n(e,t)}function normal(e,t){if(e.eatWhile(f))return null;var c=e.next();if(u.test(c)){if("{"==c&&e.eat("-")){var d="comment";return e.eat("#")&&(d="meta"),switchState(e,t,ncomment(d,1))}return null}if("'"==c)return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if('"'==c)return switchState(e,t,stringLiteral);if(r.test(c))return e.eatWhile(l),e.eat(".")?"qualifier":"variable-2";if(n.test(c))return e.eatWhile(l),"variable";if(a.test(c)){if("0"==c){if(e.eat(/[xX]/))return e.eatWhile(i),"integer";if(e.eat(/[oO]/))return e.eatWhile(o),"number"}e.eatWhile(a);d="number";return e.match(/^\.\d+/)&&(d="number"),e.eat(/[eE]/)&&(d="number",e.eat(/[-+]/),e.eatWhile(a)),d}if("."==c&&e.eat("."))return"keyword";if(s.test(c)){if("-"==c&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(s)))return e.skipToEnd(),"comment";d="variable";return":"==c&&(d="variable-2"),e.eatWhile(s),d}return"error"}function ncomment(e,t){return 0==t?normal:function(n,r){for(var a=t;!n.eol();){var i=n.next();if("{"==i&&n.eat("-"))++a;else if("-"==i&&n.eat("}")&&0==--a)return r(normal),e}return r(ncomment(e,a)),e}}function stringLiteral(e,t){for(;!e.eol();){var n=e.next();if('"'==n)return t(normal),"string";if("\\"==n){if(e.eol()||e.eat(f))return t(stringGap),"string";e.eat("&")||e.next()}}return t(normal),"string error"}function stringGap(e,t){return e.eat("\\")?switchState(e,t,stringLiteral):(e.next(),t(normal),"error")}var n=/[a-z_]/,r=/[A-Z]/,a=/\d/,i=/[0-9A-Fa-f]/,o=/[0-7]/,l=/[a-z_A-Z0-9'\xa1-\uffff]/,s=/[-!#$%&*+.\/<=>?@\\^|~:]/,u=/[(),;[\]`{}]/,f=/[ \t\v\f]/,c=function(){function setType(t){return function(){for(var n=0;n<arguments.length;n++)e[arguments[n]]=t}}var e={};setType("keyword")("case","class","data","default","deriving","do","else","foreign","if","import","in","infix","infixl","infixr","instance","let","module","newtype","of","then","type","where","_"),setType("keyword")("..",":","::","=","\\","<-","->","@","~","=>"),setType("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<=","=<<","==",">",">=",">>",">>=","^","^^","||","*","**"),setType("builtin")("Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),setType("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var n=t.overrideKeywords;if(n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r]);return e}();return{startState:function(){return{f:normal}},copyState:function(e){return{f:e.f}},token:function(e,t){var n=t.f(e,function(e){t.f=e}),r=e.current();return c.hasOwnProperty(r)?c[r]:n},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),e.defineMIME("text/x-haskell","haskell")})},971:function(e,t,n){!function(e){e(n(907),n(921))}(function(e){"use strict";e.defineMode("haskell-literate",function(t,n){var r=e.getMode(t,n&&n.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(r)}},token:function(e,t){return e.sol()&&(t.inCode=e.eat(">"))?"meta":t.inCode?r.token(e,t.baseState):(e.skipToEnd(),"comment")},innerMode:function(e){return e.inCode?{state:e.baseState,mode:r}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/39.10535a98.js b/build/codemirror/mode/39.0c2841f7.js similarity index 99% rename from build/codemirror/mode/39.10535a98.js rename to build/codemirror/mode/39.0c2841f7.js index a2962fa..5632095 100644 --- a/build/codemirror/mode/39.10535a98.js +++ b/build/codemirror/mode/39.0c2841f7.js @@ -1 +1 @@ -webpackJsonp([92],{972:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("haxe",function(e,t){function kw(e){return{type:e,style:"keyword"}}function chain(e,t,n){return t.tokenize=n,n(e,t)}function toUnescaped(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function ret(e,t,r){return l=e,n=r,t}function haxeTokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return chain(e,t,function haxeTokenString(e){return function(t,n){return toUnescaped(t,e)&&(n.tokenize=haxeTokenBase),ret("string","string")}}(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),ret("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return toUnescaped(e,"/"),e.eatWhile(/[gimsu]/),ret("regexp","string-2");if("/"==n)return e.eat("*")?chain(e,t,haxeTokenComment):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):(e.eatWhile(x),ret("operator",null,e.current()));if("#"==n)return e.skipToEnd(),ret("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),ret("metadata","meta");if(x.test(n))return e.eatWhile(x),ret("operator",null,e.current());if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),r=e.current(),ret("type","variable-3",r);e.eatWhile(/[\w_]/);var r=e.current(),o=u.propertyIsEnumerable(r)&&u[r];return o&&t.kwAllowed?ret(o.type,o.style,r):ret("variable","variable",r)}function haxeTokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=haxeTokenBase;break}r="*"==n}return ret("comment","comment")}function HaxeLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function registerimport(e){for(var t=d.state,n=t.importedtypes;n;n=n.next)if(n.name==e)return;t.importedtypes={name:e,next:t.importedtypes}}function pass(){for(var e=arguments.length-1;e>=0;e--)d.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=d.state;if(t.context){if(d.marked="def",inList(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if(inList(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}function pushcontext(){d.state.context||(d.state.localVars=b),d.state.context={prev:d.state.context,vars:d.state.localVars}}function popcontext(){d.state.localVars=d.state.context.vars,d.state.context=d.state.context.prev}function pushlex(e,t){var n=function(){var n=d.state;n.lexical=new HaxeLexical(n.indented,d.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=d.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function f(t){return t==e?cont():";"==e?pass():cont(f)}return f}function statement(e){return"@"==e?cont(metadef):"var"==e?cont(pushlex("vardef"),vardef1,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),expression,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"{"==e?cont(pushlex("}"),pushcontext,block,poplex,popcontext):";"==e?cont():"attribute"==e?cont(maybeattribute):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),expect("("),pushlex(")"),forspec1,expect(")"),poplex,statement,poplex):"variable"==e?cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),expression,pushlex("}","switch"),expect("{"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"import"==e?cont(importdef,expect(";")):"typedef"==e?cont(typedef):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return m.hasOwnProperty(e)?cont(maybeoperator):"type"==e?cont(maybeoperator):"function"==e?cont(functiondef):"keyword c"==e?cont(maybeexpression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,maybeoperator):"operator"==e?cont(expression):"["==e?cont(pushlex("]"),commasep(maybeexpression,"]"),poplex,maybeoperator):"{"==e?cont(pushlex("}"),commasep(objprop,"}"),poplex,maybeoperator):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperator(e,t){if("operator"==e&&/\+\+|--/.test(t))return cont(maybeoperator);if("operator"==e||":"==e)return cont(expression);if(";"!=e)return"("==e?cont(pushlex(")"),commasep(expression,")"),poplex,maybeoperator):"."==e?cont(property,maybeoperator):"["==e?cont(pushlex("]"),expression,expect("]"),poplex,maybeoperator):void 0}function maybeattribute(e){return"attribute"==e?cont(maybeattribute):"function"==e?cont(functiondef):"var"==e?cont(vardef1):void 0}function metadef(e){return":"==e?cont(metadef):"variable"==e?cont(metadef):"("==e?cont(pushlex(")"),commasep(metaargs,")"),poplex,statement):void 0}function metaargs(e){if("variable"==e)return cont()}function importdef(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(registerimport(t),cont()):"variable"==e||"property"==e||"."==e||"*"==t?cont(importdef):void 0}function typedef(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(registerimport(t),cont()):"type"==e&&/[A-Z]/.test(t.charAt(0))?cont():void 0}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperator,expect(";"),poplex)}function property(e){if("variable"==e)return d.marked="property",cont()}function objprop(e){if("variable"==e&&(d.marked="property"),m.hasOwnProperty(e))return cont(expect(":"),expression)}function commasep(e,t){function proceed(n){return","==n?cont(e,proceed):n==t?cont():cont(expect(t))}return function(n){return n==t?cont():pass(e,proceed)}}function block(e){return"}"==e?cont():pass(statement,block)}function vardef1(e,t){return"variable"==e?(register(t),cont(typeuse,vardef2)):cont()}function vardef2(e,t){return"="==t?cont(expression,vardef2):","==e?cont(vardef1):void 0}function forspec1(e,t){return"variable"==e?(register(t),cont(forin,expression)):pass()}function forin(e,t){if("in"==t)return cont()}function functiondef(e,t){return"variable"==e||"type"==e?(register(t),cont(functiondef)):"new"==t?cont(functiondef):"("==e?cont(pushlex(")"),pushcontext,commasep(funarg,")"),poplex,typeuse,statement,popcontext):void 0}function typeuse(e){if(":"==e)return cont(typestring)}function typestring(e){return"type"==e?cont():"variable"==e?cont():"{"==e?cont(pushlex("}"),commasep(typeprop,"}"),poplex):void 0}function typeprop(e){if("variable"==e)return cont(typeuse)}function funarg(e,t){if("variable"==e)return register(t),cont(typeuse)}var n,r=e.indentUnit,o=kw("keyword a"),a=kw("keyword b"),i=kw("keyword c"),c=kw("operator"),p={type:"atom",style:"atom"},s={type:"attribute",style:"attribute"},l=kw("typedef"),u={if:o,while:o,else:a,do:a,try:a,return:i,break:i,continue:i,new:i,throw:i,var:kw("var"),inline:s,static:s,using:kw("import"),public:s,private:s,cast:kw("cast"),import:kw("import"),macro:kw("macro"),function:kw("function"),catch:kw("catch"),untyped:kw("untyped"),callback:kw("cb"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:c,never:kw("property_access"),trace:kw("trace"),class:l,abstract:l,enum:l,interface:l,typedef:l,extends:l,implements:l,dynamic:l,true:p,false:p,null:p},x=/[+\-*&%=<>!?|]/,m={atom:!0,number:!0,variable:!0,string:!0,regexp:!0},d={state:null,column:null,marked:null,cc:null},b={name:"this",next:null};return popcontext.lex=!0,poplex.lex=!0,{startState:function(e){var n={tokenize:haxeTokenBase,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new HaxeLexical((e||0)-r,0,"block",!1),localVars:t.localVars,importedtypes:["Int","Float","String","Void","Std","Bool","Dynamic","Array"],context:t.localVars&&{vars:t.localVars},indented:0};return t.globalVars&&"object"==typeof t.globalVars&&(n.globalVars=t.globalVars),n},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==l?r:(t.reAllowed=!("operator"!=l&&"keyword c"!=l&&!l.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=l,function parseHaxe(e,t,n,r,o){var a=e.cc;for(d.state=e,d.stream=o,d.marked=null,d.cc=a,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return d.marked?d.marked:"variable"==n&&inScope(e,r)?"variable-2":"variable"==n&&function imported(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r<n;r++)if(e.importedtypes[r]==t)return!0}(e,r)?"variable-3":t}}(t,r,l,n,e))},indent:function(e,t){if(e.tokenize!=haxeTokenBase)return 0;var n=t&&t.charAt(0),o=e.lexical;"stat"==o.type&&"}"==n&&(o=o.prev);var a=o.type,i=n==a;return"vardef"==a?o.indented+4:"form"==a&&"{"==n?o.indented:"stat"==a||"form"==a?o.indented+r:"switch"!=o.info||i?o.align?o.column+(i?0:1):o.indented+(i?0:r):o.indented+(/^(?:case|default)\b/.test(t)?r:2*r)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-haxe","haxe"),e.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(e,t){var n=e.peek(),r=e.sol();if("#"==n)return e.skipToEnd(),"comment";if(r&&"-"==n){var o="variable-2";return e.eat(/-/),"-"==e.peek()&&(e.eat(/-/),o="keyword a"),"D"==e.peek()&&(e.eat(/[D]/),o="keyword c",t.define=!0),e.eatWhile(/[A-Z]/i),o}n=e.peek();return 0==t.inString&&"'"==n&&(t.inString=!0,e.next()),1==t.inString?(e.skipTo("'")||e.skipToEnd(),"'"==e.peek()&&(e.next(),t.inString=!1),"string"):(e.next(),null)},lineComment:"#"}}),e.defineMIME("text/x-hxml","hxml")})}}); \ No newline at end of file +webpackJsonp([91],{972:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("haxe",function(e,t){function kw(e){return{type:e,style:"keyword"}}function chain(e,t,n){return t.tokenize=n,n(e,t)}function toUnescaped(e,t){for(var n,r=!1;null!=(n=e.next());){if(n==t&&!r)return!0;r=!r&&"\\"==n}}function ret(e,t,r){return l=e,n=r,t}function haxeTokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return chain(e,t,function haxeTokenString(e){return function(t,n){return toUnescaped(t,e)&&(n.tokenize=haxeTokenBase),ret("string","string")}}(n));if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if(/\d/.test(n)||"-"==n&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),ret("number","number");if(t.reAllowed&&"~"==n&&e.eat(/\//))return toUnescaped(e,"/"),e.eatWhile(/[gimsu]/),ret("regexp","string-2");if("/"==n)return e.eat("*")?chain(e,t,haxeTokenComment):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):(e.eatWhile(x),ret("operator",null,e.current()));if("#"==n)return e.skipToEnd(),ret("conditional","meta");if("@"==n)return e.eat(/:/),e.eatWhile(/[\w_]/),ret("metadata","meta");if(x.test(n))return e.eatWhile(x),ret("operator",null,e.current());if(/[A-Z]/.test(n))return e.eatWhile(/[\w_<>]/),r=e.current(),ret("type","variable-3",r);e.eatWhile(/[\w_]/);var r=e.current(),o=u.propertyIsEnumerable(r)&&u[r];return o&&t.kwAllowed?ret(o.type,o.style,r):ret("variable","variable",r)}function haxeTokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=haxeTokenBase;break}r="*"==n}return ret("comment","comment")}function HaxeLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0}function registerimport(e){for(var t=d.state,n=t.importedtypes;n;n=n.next)if(n.name==e)return;t.importedtypes={name:e,next:t.importedtypes}}function pass(){for(var e=arguments.length-1;e>=0;e--)d.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function inList(e,t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}function register(e){var t=d.state;if(t.context){if(d.marked="def",inList(e,t.localVars))return;t.localVars={name:e,next:t.localVars}}else if(t.globalVars){if(inList(e,t.globalVars))return;t.globalVars={name:e,next:t.globalVars}}}function pushcontext(){d.state.context||(d.state.localVars=b),d.state.context={prev:d.state.context,vars:d.state.localVars}}function popcontext(){d.state.localVars=d.state.context.vars,d.state.context=d.state.context.prev}function pushlex(e,t){var n=function(){var n=d.state;n.lexical=new HaxeLexical(n.indented,d.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=d.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function f(t){return t==e?cont():";"==e?pass():cont(f)}return f}function statement(e){return"@"==e?cont(metadef):"var"==e?cont(pushlex("vardef"),vardef1,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),expression,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"{"==e?cont(pushlex("}"),pushcontext,block,poplex,popcontext):";"==e?cont():"attribute"==e?cont(maybeattribute):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),expect("("),pushlex(")"),forspec1,expect(")"),poplex,statement,poplex):"variable"==e?cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),expression,pushlex("}","switch"),expect("{"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"import"==e?cont(importdef,expect(";")):"typedef"==e?cont(typedef):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return m.hasOwnProperty(e)?cont(maybeoperator):"type"==e?cont(maybeoperator):"function"==e?cont(functiondef):"keyword c"==e?cont(maybeexpression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,maybeoperator):"operator"==e?cont(expression):"["==e?cont(pushlex("]"),commasep(maybeexpression,"]"),poplex,maybeoperator):"{"==e?cont(pushlex("}"),commasep(objprop,"}"),poplex,maybeoperator):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperator(e,t){if("operator"==e&&/\+\+|--/.test(t))return cont(maybeoperator);if("operator"==e||":"==e)return cont(expression);if(";"!=e)return"("==e?cont(pushlex(")"),commasep(expression,")"),poplex,maybeoperator):"."==e?cont(property,maybeoperator):"["==e?cont(pushlex("]"),expression,expect("]"),poplex,maybeoperator):void 0}function maybeattribute(e){return"attribute"==e?cont(maybeattribute):"function"==e?cont(functiondef):"var"==e?cont(vardef1):void 0}function metadef(e){return":"==e?cont(metadef):"variable"==e?cont(metadef):"("==e?cont(pushlex(")"),commasep(metaargs,")"),poplex,statement):void 0}function metaargs(e){if("variable"==e)return cont()}function importdef(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(registerimport(t),cont()):"variable"==e||"property"==e||"."==e||"*"==t?cont(importdef):void 0}function typedef(e,t){return"variable"==e&&/[A-Z]/.test(t.charAt(0))?(registerimport(t),cont()):"type"==e&&/[A-Z]/.test(t.charAt(0))?cont():void 0}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperator,expect(";"),poplex)}function property(e){if("variable"==e)return d.marked="property",cont()}function objprop(e){if("variable"==e&&(d.marked="property"),m.hasOwnProperty(e))return cont(expect(":"),expression)}function commasep(e,t){function proceed(n){return","==n?cont(e,proceed):n==t?cont():cont(expect(t))}return function(n){return n==t?cont():pass(e,proceed)}}function block(e){return"}"==e?cont():pass(statement,block)}function vardef1(e,t){return"variable"==e?(register(t),cont(typeuse,vardef2)):cont()}function vardef2(e,t){return"="==t?cont(expression,vardef2):","==e?cont(vardef1):void 0}function forspec1(e,t){return"variable"==e?(register(t),cont(forin,expression)):pass()}function forin(e,t){if("in"==t)return cont()}function functiondef(e,t){return"variable"==e||"type"==e?(register(t),cont(functiondef)):"new"==t?cont(functiondef):"("==e?cont(pushlex(")"),pushcontext,commasep(funarg,")"),poplex,typeuse,statement,popcontext):void 0}function typeuse(e){if(":"==e)return cont(typestring)}function typestring(e){return"type"==e?cont():"variable"==e?cont():"{"==e?cont(pushlex("}"),commasep(typeprop,"}"),poplex):void 0}function typeprop(e){if("variable"==e)return cont(typeuse)}function funarg(e,t){if("variable"==e)return register(t),cont(typeuse)}var n,r=e.indentUnit,o=kw("keyword a"),a=kw("keyword b"),i=kw("keyword c"),c=kw("operator"),p={type:"atom",style:"atom"},s={type:"attribute",style:"attribute"},l=kw("typedef"),u={if:o,while:o,else:a,do:a,try:a,return:i,break:i,continue:i,new:i,throw:i,var:kw("var"),inline:s,static:s,using:kw("import"),public:s,private:s,cast:kw("cast"),import:kw("import"),macro:kw("macro"),function:kw("function"),catch:kw("catch"),untyped:kw("untyped"),callback:kw("cb"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:c,never:kw("property_access"),trace:kw("trace"),class:l,abstract:l,enum:l,interface:l,typedef:l,extends:l,implements:l,dynamic:l,true:p,false:p,null:p},x=/[+\-*&%=<>!?|]/,m={atom:!0,number:!0,variable:!0,string:!0,regexp:!0},d={state:null,column:null,marked:null,cc:null},b={name:"this",next:null};return popcontext.lex=!0,poplex.lex=!0,{startState:function(e){var n={tokenize:haxeTokenBase,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new HaxeLexical((e||0)-r,0,"block",!1),localVars:t.localVars,importedtypes:["Int","Float","String","Void","Std","Bool","Dynamic","Array"],context:t.localVars&&{vars:t.localVars},indented:0};return t.globalVars&&"object"==typeof t.globalVars&&(n.globalVars=t.globalVars),n},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation()),e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==l?r:(t.reAllowed=!("operator"!=l&&"keyword c"!=l&&!l.match(/^[\[{}\(,;:]$/)),t.kwAllowed="."!=l,function parseHaxe(e,t,n,r,o){var a=e.cc;for(d.state=e,d.stream=o,d.marked=null,d.cc=a,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return d.marked?d.marked:"variable"==n&&inScope(e,r)?"variable-2":"variable"==n&&function imported(e,t){if(/[a-z]/.test(t.charAt(0)))return!1;for(var n=e.importedtypes.length,r=0;r<n;r++)if(e.importedtypes[r]==t)return!0}(e,r)?"variable-3":t}}(t,r,l,n,e))},indent:function(e,t){if(e.tokenize!=haxeTokenBase)return 0;var n=t&&t.charAt(0),o=e.lexical;"stat"==o.type&&"}"==n&&(o=o.prev);var a=o.type,i=n==a;return"vardef"==a?o.indented+4:"form"==a&&"{"==n?o.indented:"stat"==a||"form"==a?o.indented+r:"switch"!=o.info||i?o.align?o.column+(i?0:1):o.indented+(i?0:r):o.indented+(/^(?:case|default)\b/.test(t)?r:2*r)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),e.defineMIME("text/x-haxe","haxe"),e.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(e,t){var n=e.peek(),r=e.sol();if("#"==n)return e.skipToEnd(),"comment";if(r&&"-"==n){var o="variable-2";return e.eat(/-/),"-"==e.peek()&&(e.eat(/-/),o="keyword a"),"D"==e.peek()&&(e.eat(/[D]/),o="keyword c",t.define=!0),e.eatWhile(/[A-Z]/i),o}n=e.peek();return 0==t.inString&&"'"==n&&(t.inString=!0,e.next()),1==t.inString?(e.skipTo("'")||e.skipToEnd(),"'"==e.peek()&&(e.next(),t.inString=!1),"string"):(e.next(),null)},lineComment:"#"}}),e.defineMIME("text/x-hxml","hxml")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/4.9832fd20.js b/build/codemirror/mode/4.1cfb22b3.js similarity index 90% rename from build/codemirror/mode/4.9832fd20.js rename to build/codemirror/mode/4.1cfb22b3.js index 1501066..907315c 100644 --- a/build/codemirror/mode/4.9832fd20.js +++ b/build/codemirror/mode/4.1cfb22b3.js @@ -1 +1 @@ -webpackJsonp([119],{942:function(n,e,t){!function(n){n(t(907))}(function(n){"use strict";var e="><+-.,[]".split("");n.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(n,t){if(n.eatSpace())return null;n.sol()&&(t.commentLine=!1);var o=n.next().toString();return-1===e.indexOf(o)?(t.commentLine=!0,n.eol()&&(t.commentLine=!1),"comment"):!0===t.commentLine?(n.eol()&&(t.commentLine=!1),"comment"):"]"===o||"["===o?("["===o?t.left++:t.right++,"bracket"):"+"===o||"-"===o?"keyword":"<"===o||">"===o?"atom":"."===o||","===o?"def":void(n.eol()&&(t.commentLine=!1))}}}),n.defineMIME("text/x-brainfuck","brainfuck")})}}); \ No newline at end of file +webpackJsonp([118],{942:function(n,e,t){!function(n){n(t(907))}(function(n){"use strict";var e="><+-.,[]".split("");n.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(n,t){if(n.eatSpace())return null;n.sol()&&(t.commentLine=!1);var o=n.next().toString();return-1===e.indexOf(o)?(t.commentLine=!0,n.eol()&&(t.commentLine=!1),"comment"):!0===t.commentLine?(n.eol()&&(t.commentLine=!1),"comment"):"]"===o||"["===o?("["===o?t.left++:t.right++,"bracket"):"+"===o||"-"===o?"keyword":"<"===o||">"===o?"atom":"."===o||","===o?"def":void(n.eol()&&(t.commentLine=!1))}}}),n.defineMIME("text/x-brainfuck","brainfuck")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/40.32f465ff.js b/build/codemirror/mode/40.32f465ff.js new file mode 100644 index 0000000..f12f885 --- /dev/null +++ b/build/codemirror/mode/40.32f465ff.js @@ -0,0 +1 @@ +webpackJsonp([9,12,32,88,110],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},y=r.allowNested,b=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(x),b=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",b),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},914:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,r,n){if("string"==typeof t){var o=e.indexOf(t,r);return n&&o>-1?o+t.length:o}var a=t.exec(r?e.slice(r):e);return a?a.index+r+(n?a[0].length:0):-1}var r=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(r){return{outer:e.copyState(t,r.outer),innerActive:r.innerActive,inner:r.innerActive&&e.copyState(r.innerActive.mode,r.inner)}},token:function(n,o){if(o.innerActive){var a=o.innerActive;l=n.string;if(!a.close&&n.sol())return o.innerActive=o.inner=null,this.token(n,o);if((p=a.close?indexOf(l,a.close,n.pos,a.parseDelimiters):-1)==n.pos&&!a.parseDelimiters)return n.match(a.close),o.innerActive=o.inner=null,a.delimStyle&&a.delimStyle+" "+a.delimStyle+"-close";p>-1&&(n.string=l.slice(0,p));var i=a.mode.token(n,o.inner);return p>-1&&(n.string=l),p==n.pos&&a.parseDelimiters&&(o.innerActive=o.inner=null),a.innerStyle&&(i=i?i+" "+a.innerStyle:a.innerStyle),i}for(var s=1/0,l=n.string,c=0;c<r.length;++c){var p,u=r[c];if((p=indexOf(l,u.open,n.pos))==n.pos)return u.parseDelimiters||n.match(u.open),o.innerActive=u,o.inner=e.startState(u.mode,t.indent?t.indent(o.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=p&&p<s&&(s=p)}s!=1/0&&(n.string=l.slice(0,s));var d=t.token(n,o.outer);return s!=1/0&&(n.string=l),d},indent:function(r,n){var o=r.innerActive?r.innerActive.mode:t;return o.indent?o.indent(r.innerActive?r.inner:r.outer,n):e.Pass},blankLine:function(n){var o=n.innerActive?n.innerActive.mode:t;if(o.blankLine&&o.blankLine(n.innerActive?n.inner:n.outer),n.innerActive)"\n"===n.innerActive.close&&(n.innerActive=n.inner=null);else for(var a=0;a<r.length;++a){var i=r[a];"\n"===i.open&&(n.innerActive=i,n.inner=e.startState(i.mode,o.indent?o.indent(n.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},973:function(e,t,r){!function(e){e(r(907),r(911),r(914))}(function(e){"use strict";e.defineMode("htmlembedded",function(t,r){var n=r.closeComment||"--%>";return e.multiplexingMode(e.getMode(t,"htmlmixed"),{open:r.openComment||"<%--",close:n,delimStyle:"comment",mode:{token:function(e){return e.skipTo(n)||e.skipToEnd(),"comment"}}},{open:r.open||r.scriptStartRegex||"<%",close:r.close||r.scriptEndRegex||"%>",mode:e.getMode(t,r.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/40.9942dea7.js b/build/codemirror/mode/40.9942dea7.js deleted file mode 100644 index 398463b..0000000 --- a/build/codemirror/mode/40.9942dea7.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([9,12,33,89,111],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return v[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,v={};return v.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},v.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?v.top(e,t,r):(a="error","block")},v.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},v.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},v.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},v.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},v.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},v.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):v.atBlock(e,t,r)},v.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},v.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},v.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):v.atBlock(e,t,r)},v.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},v.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},v.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},v.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},v.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=v[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},914:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.multiplexingMode=function(t){function indexOf(e,t,r,n){if("string"==typeof t){var o=e.indexOf(t,r);return n&&o>-1?o+t.length:o}var a=t.exec(r?e.slice(r):e);return a?a.index+r+(n?a[0].length:0):-1}var r=Array.prototype.slice.call(arguments,1);return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(r){return{outer:e.copyState(t,r.outer),innerActive:r.innerActive,inner:r.innerActive&&e.copyState(r.innerActive.mode,r.inner)}},token:function(n,o){if(o.innerActive){var a=o.innerActive;l=n.string;if(!a.close&&n.sol())return o.innerActive=o.inner=null,this.token(n,o);if((p=a.close?indexOf(l,a.close,n.pos,a.parseDelimiters):-1)==n.pos&&!a.parseDelimiters)return n.match(a.close),o.innerActive=o.inner=null,a.delimStyle&&a.delimStyle+" "+a.delimStyle+"-close";p>-1&&(n.string=l.slice(0,p));var i=a.mode.token(n,o.inner);return p>-1&&(n.string=l),p==n.pos&&a.parseDelimiters&&(o.innerActive=o.inner=null),a.innerStyle&&(i=i?i+" "+a.innerStyle:a.innerStyle),i}for(var s=1/0,l=n.string,c=0;c<r.length;++c){var p,u=r[c];if((p=indexOf(l,u.open,n.pos))==n.pos)return u.parseDelimiters||n.match(u.open),o.innerActive=u,o.inner=e.startState(u.mode,t.indent?t.indent(o.outer,""):0),u.delimStyle&&u.delimStyle+" "+u.delimStyle+"-open";-1!=p&&p<s&&(s=p)}s!=1/0&&(n.string=l.slice(0,s));var d=t.token(n,o.outer);return s!=1/0&&(n.string=l),d},indent:function(r,n){var o=r.innerActive?r.innerActive.mode:t;return o.indent?o.indent(r.innerActive?r.inner:r.outer,n):e.Pass},blankLine:function(n){var o=n.innerActive?n.innerActive.mode:t;if(o.blankLine&&o.blankLine(n.innerActive?n.inner:n.outer),n.innerActive)"\n"===n.innerActive.close&&(n.innerActive=n.inner=null);else for(var a=0;a<r.length;++a){var i=r[a];"\n"===i.open&&(n.innerActive=i,n.inner=e.startState(i.mode,o.indent?o.indent(n.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}})},973:function(e,t,r){!function(e){e(r(907),r(911),r(914))}(function(e){"use strict";e.defineMode("htmlembedded",function(t,r){return e.multiplexingMode(e.getMode(t,"htmlmixed"),{open:r.open||r.scriptStartRegex||"<%",close:r.close||r.scriptEndRegex||"%>",mode:e.getMode(t,r.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/41.30150f92.js b/build/codemirror/mode/41.30150f92.js deleted file mode 100644 index 58aec53..0000000 --- a/build/codemirror/mode/41.30150f92.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([12,33,89,111],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return o=e,n=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var o,n=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(o=t.next())&&(o!=e||n);)n=!n&&"\\"==o;return n||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,o=!1;null!=(t=e.next());){if(!r){if("/"==t&&!o)return;"["==t?o=!0:o&&"]"==t&&(o=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var o=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(o)){var n=u[o];return ret(n.type,n.style,o)}if("async"==o&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",o)}return ret("variable","variable",o)}}function tokenComment(e,t){for(var r,o=!1;r=e.next();){if("/"==r&&o){t.tokenize=tokenBase;break}o="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,o=!1;null!=(r=e.next());){if(!o&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}o=!o&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var o=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));o&&(r=o.index)}for(var n=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!n){++i;break}if(0==--n){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++n;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!n){++i;break}}}a&&!n&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,o,n,a){this.indented=e,this.column=t,this.type=r,this.prev=n,this.info=a,null!=o&&(this.align=o)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var o=e.context;o;o=o.prev)for(r=o.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,o=r.indented;if("stat"==r.lexical.type)o=r.lexical.indented;else for(var n=r.lexical;n&&")"==n.type&&n.align;n=n.prev)o=n.indented;r.lexical=new JSLexical(o,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var o=0==r?maybeoperatorComma:maybeoperatorNoComma,n=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(o):"?"==t?cont(expression,expect(":"),n):cont(n):"quasi"==e?pass(quasi,o):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",o):"."==e?cont(property,o):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,o):c&&"as"==t?(g.marked="keyword",cont(typeexpr,o)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(n)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(o,n){if(r?r.indexOf(o)>-1:","==o){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,o){return r==t||o==t?pass():pass(e)},proceed)}return o==t||n==t?cont():cont(expect(t))}return function(r,o){return r==t||o==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var o=3;o<arguments.length;o++)g.cc.push(arguments[o]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var o,n,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),o=kw("keyword d"),n=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:o,break:o,continue:o,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:n,typeof:n,instanceof:n,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==o?r:(t.lastType="operator"!=o||"++"!=n&&"--"!=n?o:"incdec",function parseJS(e,t,r,o,n){var a=e.cc;for(g.state=e,g.stream=n,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,o)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,o)?"variable-2":t}}(t,r,o,n,e))},indent:function(t,o){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var n,s=o&&o.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(o))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(n=t.cc[t.cc.length-1])&&(n==maybeoperatorComma||n==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(o));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,o)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(o)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(o,n){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var o=t.tokenize(e,t);return o?o+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,o){for(;!r.eol();){if(r.match(t)){o.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var o;null!=(o=t.next());){if("<"==o)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==o){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var o=t.current();return r.context&&r.context.tagName!=o&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==o||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var o=r.tagName,n=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(o)?maybePopContext(r,o):(maybePopContext(r,o),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,o,n==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=o.indentUnit,i={},s=n.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in n)i[l]=n[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,o){var n=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(n&&n.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;n;){if(n.tagName==s[2]){n=n.prev;break}if(!i.implicitlyClosed.hasOwnProperty(n.tagName))break;n=n.prev}else if(s)for(;n;){var l=i.contextGrabbers[n.tagName];if(!l||!l.hasOwnProperty(s[2]))break;n=n.prev}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return n=t,e}function tokenString(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var n,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return d.hasOwnProperty(o)?(a="property","maybeprop"):m.hasOwnProperty(o)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();a="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":p.hasOwnProperty(o)?"property":u.hasOwnProperty(o)?"keyword":d.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":x.hasOwnProperty(o)?"atom":g.hasOwnProperty(o)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var o=s[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),a=r,"comment"!=n&&(t.state=w[t.state](n,e,t)),a},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),n=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(n=Math.max(0,r.indent-i)):n=(r=r.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=keySet(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(o).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:n,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var o=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return o?/^\s*(.*?)\s*$/.exec(o[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var o=t[r]||(t[r]=[]),n=e[r],a=n.length-1;a>=0;a--)o.unshift(n[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,o){function html(t,o){var i,s=n.token(t,o.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))o.inTag=i+" ";else if(o.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var o=e[r];if(!o[0]||o[1].test(getAttrValue(t,o[0])))return o[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);o.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var o=e.current(),n=o.search(t);return n>-1?e.backUp(o.length-n):o.match(/<\/?$/)&&(e.backUp(o.length),e.match(t,!1)||e.match(o)),r}(e,m,t.localMode.token(e,t.localState))},o.localMode=u,o.localState=e.startState(u,n.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=t.current(),t.eol()&&(o.inTag+=" "));return s}var n=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag}),a={},i=o&&o.tags,s=o&&o.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(n)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(n,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,o){return!t.localMode||/^\s*<\//.test(r)?n.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,o):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||n}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/41.e578ae37.js b/build/codemirror/mode/41.e578ae37.js new file mode 100644 index 0000000..38cabeb --- /dev/null +++ b/build/codemirror/mode/41.e578ae37.js @@ -0,0 +1 @@ +webpackJsonp([12,32,88,110],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return o=e,n=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var o,n=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(o=t.next())&&(o!=e||n);)n=!n&&"\\"==o;return n||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,o=!1;null!=(t=e.next());){if(!r){if("/"==t&&!o)return;"["==t?o=!0:o&&"]"==t&&(o=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var o=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(o)){var n=u[o];return ret(n.type,n.style,o)}if("async"==o&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",o)}return ret("variable","variable",o)}}function tokenComment(e,t){for(var r,o=!1;r=e.next();){if("/"==r&&o){t.tokenize=tokenBase;break}o="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,o=!1;null!=(r=e.next());){if(!o&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}o=!o&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var o=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));o&&(r=o.index)}for(var n=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!n){++i;break}if(0==--n){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++n;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!n){++i;break}}}a&&!n&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,o,n,a){this.indented=e,this.column=t,this.type=r,this.prev=n,this.info=a,null!=o&&(this.align=o)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var o=e.context;o;o=o.prev)for(r=o.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,o=r.indented;if("stat"==r.lexical.type)o=r.lexical.indented;else for(var n=r.lexical;n&&")"==n.type&&n.align;n=n.prev)o=n.indented;r.lexical=new JSLexical(o,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var o=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),o,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),o,popcontext)}var n=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var o=0==r?maybeoperatorComma:maybeoperatorNoComma,n=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(o):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,o):"?"==t?cont(expression,expect(":"),n):cont(n):"quasi"==e?pass(quasi,o):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",o):"."==e?cont(property,o):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,o):c&&"as"==t?(g.marked="keyword",cont(typeexpr,o)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(n)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(o,n){if(r?r.indexOf(o)>-1:","==o){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,o){return r==t||o==t?pass():pass(e)},proceed)}return o==t||n==t?cont():cont(expect(t))}return function(r,o){return r==t||o==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var o=3;o<arguments.length;o++)g.cc.push(arguments[o]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var o,n,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),o=kw("keyword d"),n=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:o,break:o,continue:o,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:n,typeof:n,instanceof:n,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==o?r:(t.lastType="operator"!=o||"++"!=n&&"--"!=n?o:"incdec",function parseJS(e,t,r,o,n){var a=e.cc;for(g.state=e,g.stream=n,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,o)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,o)?"variable-2":t}}(t,r,o,n,e))},indent:function(t,o){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var n,s=o&&o.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(o))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(n=t.cc[t.cc.length-1])&&(n==maybeoperatorComma||n==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(o));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,o)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(o)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(o,n){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var o=t.tokenize(e,t);return o?o+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,o){for(;!r.eol();){if(r.match(t)){o.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var o;null!=(o=t.next());){if("<"==o)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==o){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var o=t.current();return r.context&&r.context.tagName!=o&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==o||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var o=r.tagName,n=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(o)?maybePopContext(r,o):(maybePopContext(r,o),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,o,n==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=o.indentUnit,i={},s=n.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in n)i[l]=n[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,o){var n=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(n&&n.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;n;){if(n.tagName==s[2]){n=n.prev;break}if(!i.implicitlyClosed.hasOwnProperty(n.tagName))break;n=n.prev}else if(s)for(;n;){var l=i.contextGrabbers[n.tagName];if(!l||!l.hasOwnProperty(s[2]))break;n=n.prev}for(;n&&n.prev&&!n.startOfLine;)n=n.prev;return n?n.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return n=t,e}function tokenString(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var n,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},y=r.allowNested,b=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return d.hasOwnProperty(o)?(a="property","maybeprop"):m.hasOwnProperty(o)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();a="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":p.hasOwnProperty(o)?"property":u.hasOwnProperty(o)?"keyword":d.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":x.hasOwnProperty(o)?"atom":g.hasOwnProperty(o)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var o=s[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),a=r,"comment"!=n&&(t.state=w[t.state](n,e,t)),a},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),n=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(n=Math.max(0,r.indent-i)):n=(r=r.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=keySet(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(x),b=t.concat(o).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",b),e.defineMIME("text/css",{documentTypes:r,mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:n,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var o=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return o?/^\s*(.*?)\s*$/.exec(o[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var o=t[r]||(t[r]=[]),n=e[r],a=n.length-1;a>=0;a--)o.unshift(n[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,o){function html(t,o){var i,s=n.token(t,o.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=o.htmlState.tagName&&o.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))o.inTag=i+" ";else if(o.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(o.inTag);o.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var o=e[r];if(!o[0]||o[1].test(getAttrValue(t,o[0])))return o[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);o.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var o=e.current(),n=o.search(t);return n>-1?e.backUp(o.length-n):o.match(/<\/?$/)&&(e.backUp(o.length),e.match(t,!1)||e.match(o)),r}(e,m,t.localMode.token(e,t.localState))},o.localMode=u,o.localState=e.startState(u,n.indent(o.htmlState,""))}else o.inTag&&(o.inTag+=t.current(),t.eol()&&(o.inTag+=" "));return s}var n=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag}),a={},i=o&&o.tags,s=o&&o.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(n)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(n,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,o){return!t.localMode||/^\s*<\//.test(r)?n.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,o):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||n}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/42.6571825d.js b/build/codemirror/mode/42.4eacd5a9.js similarity index 95% rename from build/codemirror/mode/42.6571825d.js rename to build/codemirror/mode/42.4eacd5a9.js index 3143497..89f81e2 100644 --- a/build/codemirror/mode/42.6571825d.js +++ b/build/codemirror/mode/42.4eacd5a9.js @@ -1 +1 @@ -webpackJsonp([91],{974:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";t.defineMode("http",function(){function failFirstLine(t,e){return t.skipToEnd(),e.cur=header,"error"}function start(t,e){return t.match(/^HTTP\/\d\.\d/)?(e.cur=responseStatusCode,"keyword"):t.match(/^[A-Z]+/)&&/[ \t]/.test(t.peek())?(e.cur=requestPath,"keyword"):failFirstLine(t,e)}function responseStatusCode(t,e){var r=t.match(/^\d+/);if(!r)return failFirstLine(t,e);e.cur=responseStatusText;var n=Number(r[0]);return n>=100&&n<200?"positive informational":n>=200&&n<300?"positive success":n>=300&&n<400?"positive redirect":n>=400&&n<500?"negative client-error":n>=500&&n<600?"negative server-error":"error"}function responseStatusText(t,e){return t.skipToEnd(),e.cur=header,null}function requestPath(t,e){return t.eatWhile(/\S/),e.cur=requestProtocol,"string-2"}function requestProtocol(t,e){return t.match(/^HTTP\/\d\.\d$/)?(e.cur=header,"keyword"):failFirstLine(t,e)}function header(t){return t.sol()&&!t.eat(/[ \t]/)?t.match(/^.*?:/)?"atom":(t.skipToEnd(),"error"):(t.skipToEnd(),"string")}function body(t){return t.skipToEnd(),null}return{token:function(t,e){var r=e.cur;return r!=header&&r!=body&&t.eatSpace()?null:r(t,e)},blankLine:function(t){t.cur=body},startState:function(){return{cur:start}}}}),t.defineMIME("message/http","http")})}}); \ No newline at end of file +webpackJsonp([90],{974:function(t,e,r){!function(t){t(r(907))}(function(t){"use strict";t.defineMode("http",function(){function failFirstLine(t,e){return t.skipToEnd(),e.cur=header,"error"}function start(t,e){return t.match(/^HTTP\/\d\.\d/)?(e.cur=responseStatusCode,"keyword"):t.match(/^[A-Z]+/)&&/[ \t]/.test(t.peek())?(e.cur=requestPath,"keyword"):failFirstLine(t,e)}function responseStatusCode(t,e){var r=t.match(/^\d+/);if(!r)return failFirstLine(t,e);e.cur=responseStatusText;var n=Number(r[0]);return n>=100&&n<200?"positive informational":n>=200&&n<300?"positive success":n>=300&&n<400?"positive redirect":n>=400&&n<500?"negative client-error":n>=500&&n<600?"negative server-error":"error"}function responseStatusText(t,e){return t.skipToEnd(),e.cur=header,null}function requestPath(t,e){return t.eatWhile(/\S/),e.cur=requestProtocol,"string-2"}function requestProtocol(t,e){return t.match(/^HTTP\/\d\.\d$/)?(e.cur=header,"keyword"):failFirstLine(t,e)}function header(t){return t.sol()&&!t.eat(/[ \t]/)?t.match(/^.*?:/)?"atom":(t.skipToEnd(),"error"):(t.skipToEnd(),"string")}function body(t){return t.skipToEnd(),null}return{token:function(t,e){var r=e.cur;return r!=header&&r!=body&&t.eatSpace()?null:r(t,e)},blankLine:function(t){t.cur=body},startState:function(){return{cur:start}}}}),t.defineMIME("message/http","http")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/43.992558a7.js b/build/codemirror/mode/43.9ab47f29.js similarity index 99% rename from build/codemirror/mode/43.992558a7.js rename to build/codemirror/mode/43.9ab47f29.js index 6b6adf3..ba3adfe 100644 --- a/build/codemirror/mode/43.992558a7.js +++ b/build/codemirror/mode/43.9ab47f29.js @@ -1 +1 @@ -webpackJsonp([90],{975:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var t=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extrac","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],r=wordRegexp(t),i=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],a=wordRegexp(i);e.registerHelper("hintWords","idl",t.concat(i));var _=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),o=/[+\-*&=<>\/@#~$]/,l=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");e.defineMode("idl",function(){return{token:function(e){return function tokenBase(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(a)?"keyword":e.match(r)?"builtin":e.match(_)?"variable":e.match(o)||e.match(l)?"operator":(e.next(),null)}(e)}}}),e.defineMIME("text/x-idl","idl")})}}); \ No newline at end of file +webpackJsonp([89],{975:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var t=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extrac","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],r=wordRegexp(t),i=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],a=wordRegexp(i);e.registerHelper("hintWords","idl",t.concat(i));var _=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),o=/[+\-*&=<>\/@#~$]/,l=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");e.defineMode("idl",function(){return{token:function(e){return function tokenBase(e){if(e.eatSpace())return null;if(e.match(";"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(a)?"keyword":e.match(r)?"builtin":e.match(_)?"variable":e.match(o)||e.match(l)?"operator":(e.next(),null)}(e)}}}),e.defineMIME("text/x-idl","idl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/44.cb2a8694.js b/build/codemirror/mode/44.cb2a8694.js new file mode 100644 index 0000000..dbf39c8 --- /dev/null +++ b/build/codemirror/mode/44.cb2a8694.js @@ -0,0 +1 @@ +webpackJsonp([88],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(p&&"@"==t.peek()&&t.match(f))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(u.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(m.propertyIsEnumerable(n)){var o=m[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(i){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,s=r-1;s>=0;--s){var p=e.string.charAt(s),c=x.indexOf(p);if(c>=0&&c<3){if(!o){++s;break}if(0==--o){"("==p&&(a=!0);break}}else if(c>=3&&c<6)++o;else if(l.test(p))a=!0;else{if(/["'\/]/.test(p))return;if(a&&!o){++s;break}}}a&&!o&&(t.fatArrowAt=s)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var r=function(){var r=y.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,y.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||i&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?i&&"declare"==t?(y.marked="keyword",cont(statement)):i&&("module"==t||"enum"==t||"type"==t)&&y.stream.match(/^\s*\w/,!1)?(y.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):i&&"namespace"==t?(y.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(y.state.fatArrowAt==y.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return d.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||i&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&i?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||i&&"!"==t?cont(n):i&&"<"==t&&y.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):i&&"as"==t?(y.marked="keyword",cont(typeexpr,n)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return i&&y.state.fatArrowAt==y.stream.start&&(r=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=p?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):i&&isModifier(t)?(y.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)y.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(i){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(i&&":"==e)return y.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return y.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(y.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(y.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return i&&isModifier(t)?(y.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):i&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):i&&isModifier(t)?(y.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||i&&","==e?("implements"==t&&(y.marked="keyword"),cont(i?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||i&&isModifier(t))&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(i?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),i?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,s=r.statementIndent,p=r.jsonld,c=r.json||p,i=r.typescript,l=r.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),u=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,x="([{}])",d={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():c?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,p=n&&n.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(n))for(var i=t.cc.length-1;i>=0;--i){var l=t.cc[i];if(l==poplex)c=c.prev;else if(l!=maybeelse)break}for(;("stat"==c.type||"form"==c.type)&&("}"==p||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)c=c.prev;s&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var m=c.type,f=p==m;return"vardef"==m?c.indented+("operator"==t.lastType||","==t.lastType?c.info+1:0):"form"==m&&"{"==p?c.indented:"form"==m?c.indented+a:"stat"==m?c.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||u.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?s||a:0):"switch"!=c.info||f||0==r.doubleIndentSwitch?c.align?c.column+(f?0:1):c.indented+(f?0:a):c.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:p,jsonMode:c,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/44.def7f213.js b/build/codemirror/mode/44.def7f213.js deleted file mode 100644 index 7a30ab8..0000000 --- a/build/codemirror/mode/44.def7f213.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([89],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(p&&"@"==t.peek()&&t.match(f))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(u.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(m.propertyIsEnumerable(n)){var o=m[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(i){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,s=r-1;s>=0;--s){var p=e.string.charAt(s),c=x.indexOf(p);if(c>=0&&c<3){if(!o){++s;break}if(0==--o){"("==p&&(a=!0);break}}else if(c>=3&&c<6)++o;else if(l.test(p))a=!0;else{if(/["'\/]/.test(p))return;if(a&&!o){++s;break}}}a&&!o&&(t.fatArrowAt=s)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var r=function(){var r=y.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,y.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?i&&"type"==t?(y.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):i&&"declare"==t?(y.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(y.state.fatArrowAt==y.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return d.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&i?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||i&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):i&&"as"==t?(y.marked="keyword",cont(typeexpr,n)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return i&&y.state.fatArrowAt==y.stream.start&&(r=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=p?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)y.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(i){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):i&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||i&&","==e?cont(i?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(i?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),i?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,s=r.statementIndent,p=r.jsonld,c=r.json||p,i=r.typescript,l=r.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},s={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(i){var p={type:"variable",style:"type"},c={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:p,number:p,boolean:p,any:p};for(var l in c)s[l]=c[l]}return s}(),u=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,x="([{}])",d={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():c?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,p=n&&n.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(n))for(var i=t.cc.length-1;i>=0;--i){var l=t.cc[i];if(l==poplex)c=c.prev;else if(l!=maybeelse)break}for(;("stat"==c.type||"form"==c.type)&&("}"==p||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)c=c.prev;s&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var m=c.type,f=p==m;return"vardef"==m?c.indented+("operator"==t.lastType||","==t.lastType?c.info+1:0):"form"==m&&"{"==p?c.indented:"form"==m?c.indented+a:"stat"==m?c.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||u.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?s||a:0):"switch"!=c.info||f||0==r.doubleIndentSwitch?c.align?c.column+(f?0:1):c.indented+(f?0:a):c.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:p,jsonMode:c,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/45.9908ae38.js b/build/codemirror/mode/45.9f35cebc.js similarity index 96% rename from build/codemirror/mode/45.9908ae38.js rename to build/codemirror/mode/45.9f35cebc.js index fc8baf5..bf3a101 100644 --- a/build/codemirror/mode/45.9908ae38.js +++ b/build/codemirror/mode/45.9f35cebc.js @@ -1 +1 @@ -webpackJsonp([88],{976:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("jinja2",function(){function tokenBase(a,o){var c=a.peek();if(o.incomment)return a.skipTo("#}")?(a.eatWhile(/\#|}/),o.incomment=!1):a.skipToEnd(),"comment";if(o.intag){if(o.operator){if(o.operator=!1,a.match(i))return"atom";if(a.match(r))return"number"}if(o.sign){if(o.sign=!1,a.match(i))return"atom";if(a.match(r))return"number"}if(o.instring)return c==o.instring&&(o.instring=!1),a.next(),"string";if("'"==c||'"'==c)return o.instring=c,a.next(),"string";if(a.match(o.intag+"}")||a.eat("-")&&a.match(o.intag+"}"))return o.intag=!1,"tag";if(a.match(n))return o.operator=!0,"operator";if(a.match(t))o.sign=!0;else if(a.eat(" ")||a.sol()){if(a.match(e))return"keyword";if(a.match(i))return"atom";if(a.match(r))return"number";a.sol()&&a.next()}else a.next();return"variable"}if(a.eat("{")){if(a.eat("#"))return o.incomment=!0,a.skipTo("#}")?(a.eatWhile(/\#|}/),o.incomment=!1):a.skipToEnd(),"comment";if(c=a.eat(/\{|%/))return o.intag=c,"{"==c&&(o.intag="}"),a.eat("-"),"tag"}a.next()}var e=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],n=/^[+\-*&%=<>!?|~^]/,t=/^[:\[\(\{]/,i=["true","false"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return e=new RegExp("(("+e.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,n){return n.tokenize(e,n)}}})})}}); \ No newline at end of file +webpackJsonp([87],{976:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("jinja2",function(){function tokenBase(a,o){var c=a.peek();if(o.incomment)return a.skipTo("#}")?(a.eatWhile(/\#|}/),o.incomment=!1):a.skipToEnd(),"comment";if(o.intag){if(o.operator){if(o.operator=!1,a.match(i))return"atom";if(a.match(r))return"number"}if(o.sign){if(o.sign=!1,a.match(i))return"atom";if(a.match(r))return"number"}if(o.instring)return c==o.instring&&(o.instring=!1),a.next(),"string";if("'"==c||'"'==c)return o.instring=c,a.next(),"string";if(a.match(o.intag+"}")||a.eat("-")&&a.match(o.intag+"}"))return o.intag=!1,"tag";if(a.match(n))return o.operator=!0,"operator";if(a.match(t))o.sign=!0;else if(a.eat(" ")||a.sol()){if(a.match(e))return"keyword";if(a.match(i))return"atom";if(a.match(r))return"number";a.sol()&&a.next()}else a.next();return"variable"}if(a.eat("{")){if(a.eat("#"))return o.incomment=!0,a.skipTo("#}")?(a.eatWhile(/\#|}/),o.incomment=!1):a.skipToEnd(),"comment";if(c=a.eat(/\{|%/))return o.intag=c,"{"==c&&(o.intag="}"),a.eat("-"),"tag"}a.next()}var e=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","plural"],n=/^[+\-*&%=<>!?|~^]/,t=/^[:\[\(\{]/,i=["true","false"],r=/^(\d[+\-\*\/])?\d+(\.\d+)?/;return e=new RegExp("(("+e.join(")|(")+"))\\b"),i=new RegExp("(("+i.join(")|(")+"))\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,n){return n.tokenize(e,n)}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/46.4f1e75d9.js b/build/codemirror/mode/46.4f1e75d9.js new file mode 100644 index 0000000..6821af2 --- /dev/null +++ b/build/codemirror/mode/46.4f1e75d9.js @@ -0,0 +1 @@ +webpackJsonp([15,32,88],{908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(i&&"@"==t.peek()&&t.match(f))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(m.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(l.test(n)){e.eatWhile(l);var r=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(r)){var o=u[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,s=n-1;s>=0;--s){var i=e.string.charAt(s),p=d.indexOf(i);if(p>=0&&p<3){if(!o){++s;break}if(0==--o){"("==i&&(a=!0);break}}else if(p>=3&&p<6)++o;else if(l.test(i))a=!0;else{if(/["'\/]/.test(i))return;if(a&&!o){++s;break}}}a&&!o&&(t.fatArrowAt=s)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var n=function(){var n=y.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,y.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(y.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&y.stream.match(/^\s*\w/,!1)?(y.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(y.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(y.state.fatArrowAt==y.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=n?maybeoperatorNoComma:maybeoperatorComma;return x.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&y.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(y.marked="keyword",cont(typeexpr,r)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&y.state.fatArrowAt==y.stream.start&&(n=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=i?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(y.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)y.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return y.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return y.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(y.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(y.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(y.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(y.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(y.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,s=n.statementIndent,i=n.jsonld,p=n.json||i,c=n.typescript,l=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),m=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,d="([{}])",x={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():p?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,i=r&&r.charAt(0),p=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var l=t.cc[c];if(l==poplex)p=p.prev;else if(l!=maybeelse)break}for(;("stat"==p.type||"form"==p.type)&&("}"==i||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)p=p.prev;s&&")"==p.type&&"stat"==p.prev.type&&(p=p.prev);var u=p.type,f=i==u;return"vardef"==u?p.indented+("operator"==t.lastType||","==t.lastType?p.info+1:0):"form"==u&&"{"==i?p.indented:"form"==u?p.indented+a:"stat"==u?p.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||m.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?s||a:0):"switch"!=p.info||f||0==n.doubleIndentSwitch?p.align?p.column+(f?0:1):p.indented+(f?0:a):p.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:p?null:"/*",blockCommentEnd:p?null:"*/",blockCommentContinue:p?null:" * ",lineComment:p?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:p?"json":"javascript",jsonldMode:i,jsonMode:p,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!s.contextGrabbers.hasOwnProperty(n)||!s.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),l="tag",attrState):s.allowMissingTagName&&"endTag"==e?(l="tag bracket",attrState(e,t,n)):(l="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&s.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===s.matchClosing?(l="tag",closeState):(l="tag error",closeStateErr)}return s.allowMissingTagName&&"endTag"==e?(l="tag bracket",closeState(e,t,n)):(l="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(l="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return l="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return l="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||s.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(s.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return l="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(s.allowMissing||(l="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&s.allowUnquoted?(l="string",attrState):(l="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,s={},i=o.htmlMode?t:n;for(var p in i)s[p]=i[p];for(var p in o)s[p]=o[p];var c,l;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(l=null,t.state=t.state(c||n,e,t),l&&(n="error"==l?n+" error":l)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==s.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(s.multilineTagIndentFactor||1);if(s.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var i=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(i&&i[1])for(;o;){if(o.tagName==i[2]){o=o.prev;break}if(!s.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(i)for(;o;){var p=s.contextGrabbers[o.tagName];if(!p||!p.hasOwnProperty(i[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:s.htmlMode?"html":"xml",helperType:s.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},922:function(e,t,n){!function(e){e(n(907),n(909),n(908))}(function(e){"use strict";function Context(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function copyContext(t){return new Context(e.copyState(t.mode,t.state),t.mode,t.depth,t.prev&&copyContext(t.prev))}e.defineMode("jsx",function(t,n){function flatXMLIndent(e){var t=e.tagName;e.tagName=null;var n=r.indent(e,"");return e.tagName=t,n}function token(n,a){return a.context.mode==r?function xmlToken(n,a,s){if(2==s.depth)return n.match(/^.*?\*\//)?s.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){r.skipAttribute(s.state);var i=flatXMLIndent(s.state),p=s.state.context;if(p&&n.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?i-=t.indentUnit:s.prev.state.lexical&&(i=s.prev.state.lexical.indented)}else 1==s.depth&&(i+=t.indentUnit);return a.context=new Context(e.startState(o,i),o,0,a.context),null}if(1==s.depth){if("<"==n.peek())return r.skipAttribute(s.state),a.context=new Context(e.startState(r,flatXMLIndent(s.state)),r,0,a.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return s.depth=2,token(n,a)}var c,l=r.token(n,s.state),u=n.current();/\btag\b/.test(l)?/>$/.test(u)?s.state.context?s.depth=0:a.context=a.context.prev:/^</.test(u)&&(s.depth=1):!l&&(c=u.indexOf("{"))>-1&&n.backUp(u.length-c);return l}(n,a,a.context):function jsToken(t,n,a){if("<"==t.peek()&&o.expressionAllowed(t,a.state))return o.skipExpression(a.state),n.context=new Context(e.startState(r,o.indent(a.state,"")),r,0,n.context),null;var s=o.token(t,a.state);if(!s&&null!=a.depth){var i=t.current();"{"==i?a.depth++:"}"==i&&0==--a.depth&&(n.context=n.context.prev)}return s}(n,a,a.context)}var r=e.getMode(t,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=e.getMode(t,n&&n.base||"javascript");return{startState:function(){return{context:new Context(e.startState(o),o)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/46.e6daca29.js b/build/codemirror/mode/46.e6daca29.js deleted file mode 100644 index 025d1bc..0000000 --- a/build/codemirror/mode/46.e6daca29.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([15,33,89],{908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(m))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(f.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(l.test(n)){e.eatWhile(l);var r=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(r)){var o=u[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(p){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,i=n-1;i>=0;--i){var s=e.string.charAt(i),c=d.indexOf(s);if(c>=0&&c<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(c>=3&&c<6)++o;else if(l.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var n=function(){var n=y.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,y.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?p&&"type"==t?(y.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):p&&"declare"==t?(y.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(y.state.fatArrowAt==y.stream.start){var n=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var r=t?maybeoperatorNoComma:maybeoperatorComma;return x.hasOwnProperty(e)?cont(r):"function"==e?cont(functiondef,r):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,r):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,r):"{"==e?contCommasep(objprop,"}",null,r):"quasi"==e?pass(quasi,r):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&p?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||p&&"!"==t?cont(r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):p&&"as"==t?(y.marked="keyword",cont(typeexpr,r)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return p&&y.state.fatArrowAt==y.stream.start&&(n=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=s?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)y.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(p){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):p&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||p&&","==e?cont(p?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(p?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),p?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,i=n.statementIndent,s=n.jsonld,c=n.json||s,p=n.typescript,l=n.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n};if(p){var s={type:"variable",style:"type"},c={interface:kw("class"),implements:n,namespace:n,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var l in c)i[l]=c[l]}return i}(),f=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,d="([{}])",x={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():c?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),c=t.lexical;if(!/^\s*else\b/.test(r))for(var p=t.cc.length-1;p>=0;--p){var l=t.cc[p];if(l==poplex)c=c.prev;else if(l!=maybeelse)break}for(;("stat"==c.type||"form"==c.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)c=c.prev;i&&")"==c.type&&"stat"==c.prev.type&&(c=c.prev);var u=c.type,m=s==u;return"vardef"==u?c.indented+("operator"==t.lastType||","==t.lastType?c.info+1:0):"form"==u&&"{"==s?c.indented:"form"==u?c.indented+a:"stat"==u?c.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||f.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?i||a:0):"switch"!=c.info||m||0==n.doubleIndentSwitch?c.align?c.column+(m?0:1):c.indented+(m?0:a):c.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:c?null:"/*",blockCommentEnd:c?null:"*/",blockCommentContinue:c?null:" * ",lineComment:c?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:c?"json":"javascript",jsonldMode:s,jsonMode:c,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(p=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,p=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return p="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),l="tag",attrState):(l="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(l="tag",closeState):(l="tag error",closeStateErr)}return l="error",closeStateErr}function closeState(e,t,n){return"endTag"!=e?(l="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return l="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return l="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return l="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(i.allowMissing||(l="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(l="string",attrState):(l="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,i={},s=o.htmlMode?t:n;for(var c in s)i[c]=s[c];for(var c in o)i[c]=o[c];var p,l;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;p=null;var n=t.tokenize(e,t);return(n||p)&&"comment"!=n&&(l=null,t.state=t.state(p||n,e,t),l&&(n="error"==l?n+" error":l)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var c=i.contextGrabbers[o.tagName];if(!c||!c.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},977:function(e,t,n){!function(e){e(n(907),n(909),n(908))}(function(e){"use strict";function Context(e,t,n,r){this.state=e,this.mode=t,this.depth=n,this.prev=r}function copyContext(t){return new Context(e.copyState(t.mode,t.state),t.mode,t.depth,t.prev&&copyContext(t.prev))}e.defineMode("jsx",function(t,n){function flatXMLIndent(e){var t=e.tagName;e.tagName=null;var n=r.indent(e,"");return e.tagName=t,n}function token(n,a){return a.context.mode==r?function xmlToken(n,a,i){if(2==i.depth)return n.match(/^.*?\*\//)?i.depth=1:n.skipToEnd(),"comment";if("{"==n.peek()){r.skipAttribute(i.state);var s=flatXMLIndent(i.state),c=i.state.context;if(c&&n.match(/^[^>]*>\s*$/,!1)){for(;c.prev&&!c.startOfLine;)c=c.prev;c.startOfLine?s-=t.indentUnit:i.prev.state.lexical&&(s=i.prev.state.lexical.indented)}else 1==i.depth&&(s+=t.indentUnit);return a.context=new Context(e.startState(o,s),o,0,a.context),null}if(1==i.depth){if("<"==n.peek())return r.skipAttribute(i.state),a.context=new Context(e.startState(r,flatXMLIndent(i.state)),r,0,a.context),null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match("/*"))return i.depth=2,token(n,a)}var p,l=r.token(n,i.state),u=n.current();/\btag\b/.test(l)?/>$/.test(u)?i.state.context?i.depth=0:a.context=a.context.prev:/^</.test(u)&&(i.depth=1):!l&&(p=u.indexOf("{"))>-1&&n.backUp(u.length-p);return l}(n,a,a.context):function jsToken(t,n,a){if("<"==t.peek()&&o.expressionAllowed(t,a.state))return o.skipExpression(a.state),n.context=new Context(e.startState(r,o.indent(a.state,"")),r,0,n.context),null;var i=o.token(t,a.state);if(!i&&null!=a.depth){var s=t.current();"{"==s?a.depth++:"}"==s&&0==--a.depth&&(n.context=n.context.prev)}return i}(n,a,a.context)}var r=e.getMode(t,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1}),o=e.getMode(t,n&&n.base||"javascript");return{startState:function(){return{context:new Context(e.startState(o),o)}},copyState:function(e){return{context:copyContext(e.context)}},token:token,indent:function(e,t,n){return e.context.mode.indent(e.context.state,t,n)},innerMode:function(e){return e.context}}},"xml","javascript"),e.defineMIME("text/jsx","jsx"),e.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/47.b46eccbc.js b/build/codemirror/mode/47.975d9a04.js similarity index 98% rename from build/codemirror/mode/47.b46eccbc.js rename to build/codemirror/mode/47.975d9a04.js index 52fd7f1..e565a2d 100644 --- a/build/codemirror/mode/47.b46eccbc.js +++ b/build/codemirror/mode/47.975d9a04.js @@ -1 +1 @@ -webpackJsonp([87],{978:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("julia",function(e,t){function wordRegexp(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t)}function inArray(e){return inGenerator(e,"[")}function inGenerator(e,t){var n=currentScope(e),r=currentScope(e,1);return void 0===t&&(t="("),n===t||r===t&&"for"===n}function currentScope(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function tokenBase(e,t){if(e.match(/^#=/,!1))return t.tokenize=tokenComment,t.tokenize(e,t);var i=t.leavingExpr;if(e.sol()&&(i=!1),t.leavingExpr=!1,i&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var m=e.peek();if("#"===m)return e.skipToEnd(),"comment";"["===m&&t.scopes.push("["),"("===m&&t.scopes.push("(");var h=currentScope(t);if(inArray(t)&&"]"===m&&("for"===h&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),inGenerator(t)&&")"===m&&("for"===h&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),inArray(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number"}var d;if((d=e.match(o,!1))&&t.scopes.push(d[0]),e.match(c,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=tokenAnnotation,t.tokenize(e,t);if(!i&&e.match(f)||e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(n))return"operator";if(e.match(/^\.?\d/,!1)){var k=RegExp(/^im\b/),v=!1;if(e.match(/^\d*\.(?!\.)\d*([Eef][\+\-]?\d+)?/i)&&(v=!0),e.match(/^\d+\.(?!\.)\d*/)&&(v=!0),e.match(/^\.\d+/)&&(v=!0),e.match(/^0x\.[0-9a-f]+p[\+\-]?\d+/i)&&(v=!0),e.match(/^0x[0-9a-f]+/i)&&(v=!0),e.match(/^0b[01]+/i)&&(v=!0),e.match(/^0o[0-7]+/i)&&(v=!0),e.match(/^[1-9]\d*(e[\+\-]?\d+)?/)&&(v=!0),e.match(/^0(?![\dx])/i)&&(v=!0),v)return e.match(k),t.leavingExpr=!0,"number"}if(e.match(/^'/))return t.tokenize=tokenChar,t.tokenize(e,t);if(e.match(p))return t.tokenize=function tokenStringFactory(e){'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"');return function tokenString(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=tokenBase,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}}(e.current()),t.tokenize(e,t);if(e.match(l))return"meta";if(e.match(r))return null;if(e.match(s))return"keyword";if(e.match(u))return"builtin";var g=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(a)?g?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?(t.tokenize=tokenCallOrDef,t.tokenize(e,t)):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function tokenCallOrDef(e,t){var n=e.match(/^(\(\s*)/);if(n&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=n[1].length),"("==currentScope(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var r=e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=tokenBase,r?"def":"builtin"}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;)t.scopes.pop();return t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=tokenBase,"builtin"}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,t.tokenize(e,t)}function tokenAnnotation(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedLevels++:e.match(/^}/)&&t.nestedLevels--,t.nestedLevels>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedLevels&&(t.tokenize=tokenBase),"builtin"}function tokenComment(e,t){return e.match(/^#=/)&&t.nestedLevels++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedLevels--,0==t.nestedLevels&&(t.tokenize=tokenBase)),"comment"}function tokenChar(e,t){var n,r=!1;if(e.match(i))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){((a=parseInt(n[1],16))<=55295||a>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var a;(a=parseInt(n[1],16))<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=tokenBase,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=tokenBase),"error")}var n=t.operators||wordRegexp(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),r=t.delimiters||/^[;,()[\]{}]/,a=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,i=wordRegexp(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),o=wordRegexp(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),c=wordRegexp(["end","else","elseif","catch","finally"]),s=wordRegexp(["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"]),u=wordRegexp(["true","false","nothing","NaN","Inf"]),l=/^@[_A-Za-z][\w]*/,f=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,p=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;return{startState:function(){return{tokenize:tokenBase,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedLevels:0,charsAdvanced:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(t,n){var r=0;return"]"!==n&&")"!==n&&"end"!==n&&"else"!==n&&"catch"!==n&&"elseif"!==n&&"finally"!==n||(r=-1),(t.scopes.length+r)*e.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-julia","julia")})}}); \ No newline at end of file +webpackJsonp([86],{977:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("julia",function(e,t){function wordRegexp(e,t){return void 0===t&&(t="\\b"),new RegExp("^(("+e.join(")|(")+"))"+t)}function inArray(e){return inGenerator(e,"[")}function inGenerator(e,t){var n=currentScope(e),r=currentScope(e,1);return void 0===t&&(t="("),n===t||r===t&&"for"===n}function currentScope(e,t){return void 0===t&&(t=0),e.scopes.length<=t?null:e.scopes[e.scopes.length-(t+1)]}function tokenBase(e,t){if(e.match(/^#=/,!1))return t.tokenize=tokenComment,t.tokenize(e,t);var i=t.leavingExpr;if(e.sol()&&(i=!1),t.leavingExpr=!1,i&&e.match(/^'+/))return"operator";if(e.match(/\.{4,}/))return"error";if(e.match(/\.{1,3}/))return"operator";if(e.eatSpace())return null;var m=e.peek();if("#"===m)return e.skipToEnd(),"comment";"["===m&&t.scopes.push("["),"("===m&&t.scopes.push("(");var h=currentScope(t);if(inArray(t)&&"]"===m&&("for"===h&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),inGenerator(t)&&")"===m&&("for"===h&&t.scopes.pop(),t.scopes.pop(),t.leavingExpr=!0),inArray(t)){if("end"==t.lastToken&&e.match(/^:/))return"operator";if(e.match(/^end/))return"number"}var d;if((d=e.match(o,!1))&&t.scopes.push(d[0]),e.match(c,!1)&&t.scopes.pop(),e.match(/^::(?![:\$])/))return t.tokenize=tokenAnnotation,t.tokenize(e,t);if(!i&&e.match(f)||e.match(/:([<>]:|<<=?|>>>?=?|->|\/\/|\.{2,3}|[\.\\%*+\-<>!\/^|&]=?|[~\?\$])/))return"builtin";if(e.match(n))return"operator";if(e.match(/^\.?\d/,!1)){var k=RegExp(/^im\b/),v=!1;if(e.match(/^\d*\.(?!\.)\d*([Eef][\+\-]?\d+)?/i)&&(v=!0),e.match(/^\d+\.(?!\.)\d*/)&&(v=!0),e.match(/^\.\d+/)&&(v=!0),e.match(/^0x\.[0-9a-f]+p[\+\-]?\d+/i)&&(v=!0),e.match(/^0x[0-9a-f]+/i)&&(v=!0),e.match(/^0b[01]+/i)&&(v=!0),e.match(/^0o[0-7]+/i)&&(v=!0),e.match(/^[1-9]\d*(e[\+\-]?\d+)?/)&&(v=!0),e.match(/^0(?![\dx])/i)&&(v=!0),v)return e.match(k),t.leavingExpr=!0,"number"}if(e.match(/^'/))return t.tokenize=tokenChar,t.tokenize(e,t);if(e.match(p))return t.tokenize=function tokenStringFactory(e){'"""'===e.substr(-3)?e='"""':'"'===e.substr(-1)&&(e='"');return function tokenString(t,n){if(t.eat("\\"))t.next();else{if(t.match(e))return n.tokenize=tokenBase,n.leavingExpr=!0,"string";t.eat(/[`"]/)}return t.eatWhile(/[^\\`"]/),"string"}}(e.current()),t.tokenize(e,t);if(e.match(l))return"meta";if(e.match(r))return null;if(e.match(s))return"keyword";if(e.match(u))return"builtin";var g=t.isDefinition||"function"==t.lastToken||"macro"==t.lastToken||"type"==t.lastToken||"struct"==t.lastToken||"immutable"==t.lastToken;return e.match(a)?g?"."===e.peek()?(t.isDefinition=!0,"variable"):(t.isDefinition=!1,"def"):e.match(/^({[^}]*})*\(/,!1)?(t.tokenize=tokenCallOrDef,t.tokenize(e,t)):(t.leavingExpr=!0,"variable"):(e.next(),"error")}function tokenCallOrDef(e,t){var n=e.match(/^(\(\s*)/);if(n&&(t.firstParenPos<0&&(t.firstParenPos=t.scopes.length),t.scopes.push("("),t.charsAdvanced+=n[1].length),"("==currentScope(t)&&e.match(/^\)/)&&(t.scopes.pop(),t.charsAdvanced+=1,t.scopes.length<=t.firstParenPos)){var r=e.match(/^(\s*where\s+[^\s=]+)*\s*?=(?!=)/,!1);return e.backUp(t.charsAdvanced),t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=tokenBase,r?"def":"builtin"}if(e.match(/^$/g,!1)){for(e.backUp(t.charsAdvanced);t.scopes.length>t.firstParenPos;)t.scopes.pop();return t.firstParenPos=-1,t.charsAdvanced=0,t.tokenize=tokenBase,"builtin"}return t.charsAdvanced+=e.match(/^([^()]*)/)[1].length,t.tokenize(e,t)}function tokenAnnotation(e,t){return e.match(/.*?(?=,|;|{|}|\(|\)|=|$|\s)/),e.match(/^{/)?t.nestedLevels++:e.match(/^}/)&&t.nestedLevels--,t.nestedLevels>0?e.match(/.*?(?={|})/)||e.next():0==t.nestedLevels&&(t.tokenize=tokenBase),"builtin"}function tokenComment(e,t){return e.match(/^#=/)&&t.nestedLevels++,e.match(/.*?(?=(#=|=#))/)||e.skipToEnd(),e.match(/^=#/)&&(t.nestedLevels--,0==t.nestedLevels&&(t.tokenize=tokenBase)),"comment"}function tokenChar(e,t){var n,r=!1;if(e.match(i))r=!0;else if(n=e.match(/\\u([a-f0-9]{1,4})(?=')/i)){((a=parseInt(n[1],16))<=55295||a>=57344)&&(r=!0,e.next())}else if(n=e.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var a;(a=parseInt(n[1],16))<=1114111&&(r=!0,e.next())}return r?(t.leavingExpr=!0,t.tokenize=tokenBase,"string"):(e.match(/^[^']+(?=')/)||e.skipToEnd(),e.match(/^'/)&&(t.tokenize=tokenBase),"error")}var n=t.operators||wordRegexp(["[<>]:","[<>=]=","<<=?",">>>?=?","=>","->","\\/\\/","[\\\\%*+\\-<>!=\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),r=t.delimiters||/^[;,()[\]{}]/,a=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,i=wordRegexp(["\\\\[0-7]{1,3}","\\\\x[A-Fa-f0-9]{1,2}","\\\\[abefnrtv0%?'\"\\\\]","([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])"],"'"),o=wordRegexp(["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"]),c=wordRegexp(["end","else","elseif","catch","finally"]),s=wordRegexp(["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"]),u=wordRegexp(["true","false","nothing","NaN","Inf"]),l=/^@[_A-Za-z][\w]*/,f=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,p=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/;return{startState:function(){return{tokenize:tokenBase,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedLevels:0,charsAdvanced:0,firstParenPos:-1}},token:function(e,t){var n=t.tokenize(e,t),r=e.current();return r&&n&&(t.lastToken=r),n},indent:function(t,n){var r=0;return"]"!==n&&")"!==n&&"end"!==n&&"else"!==n&&"catch"!==n&&"elseif"!==n&&"finally"!==n||(r=-1),(t.scopes.length+r)*e.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-julia","julia")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/48.0765d450.js b/build/codemirror/mode/48.23f61f7f.js similarity index 98% rename from build/codemirror/mode/48.0765d450.js rename to build/codemirror/mode/48.23f61f7f.js index 8f9eee9..7a6ea09 100644 --- a/build/codemirror/mode/48.0765d450.js +++ b/build/codemirror/mode/48.23f61f7f.js @@ -1 +1 @@ -webpackJsonp([86],{979:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("livescript",function(){var e=function(e,t){var n=t.next||"start";if(n){t.next=t.next;var r=g[n];if(r.splice){for(var o=0;o<r.length;++o){var x=r[o];if(x.regex&&e.match(x.regex))return t.next=x.next||t.next,x.token}return e.next(),"error"}if(e.match(x=g[n]))return x.regex&&e.match(x.regex)?(t.next=x.next,x.token):(e.next(),"error")}return e.next(),"error"};return{startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(t,n){for(;t.pos==t.start;)var r=e(t,n);return n.lastToken={style:r,indent:t.indentation(),content:t.current()},r.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(n)&&(t+=2),t}}});var t="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",n=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+t+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",o={token:"string",regex:".+"},g={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:t+"\\s*:(?![:=])"},{token:"variable",regex:t},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:t,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},o],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},o],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},o],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},o],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},o],words:[{token:"string",regex:".*?\\]>",next:"key"},o]};for(var x in g){var a=g[x];if(a.splice)for(var i=0,s=a.length;i<s;++i){var k=a[i];"string"==typeof k.regex&&(g[x][i].regex=new RegExp("^"+k.regex))}else"string"==typeof k.regex&&(g[x].regex=new RegExp("^"+a.regex))}e.defineMIME("text/x-livescript","livescript")})}}); \ No newline at end of file +webpackJsonp([85],{978:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("livescript",function(){var e=function(e,t){var n=t.next||"start";if(n){t.next=t.next;var r=g[n];if(r.splice){for(var o=0;o<r.length;++o){var x=r[o];if(x.regex&&e.match(x.regex))return t.next=x.next||t.next,x.token}return e.next(),"error"}if(e.match(x=g[n]))return x.regex&&e.match(x.regex)?(t.next=x.next,x.token):(e.next(),"error")}return e.next(),"error"};return{startState:function(){return{next:"start",lastToken:{style:null,indent:0,content:""}}},token:function(t,n){for(;t.pos==t.start;)var r=e(t,n);return n.lastToken={style:r,indent:t.indentation(),content:t.current()},r.replace(/\./g," ")},indent:function(e){var t=e.lastToken.indent;return e.lastToken.content.match(n)&&(t+=2),t}}});var t="(?![\\d\\s])[$\\w\\xAA-\\uFFDC](?:(?!\\s)[$\\w\\xAA-\\uFFDC]|-[A-Za-z])*",n=RegExp("(?:[({[=:]|[-~]>|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+t+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",o={token:"string",regex:".+"},g={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:t+"\\s*:(?![:=])"},{token:"variable",regex:t},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:t,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},o],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},o],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},o],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},o],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},o],words:[{token:"string",regex:".*?\\]>",next:"key"},o]};for(var x in g){var a=g[x];if(a.splice)for(var i=0,s=a.length;i<s;++i){var k=a[i];"string"==typeof k.regex&&(g[x][i].regex=new RegExp("^"+k.regex))}else"string"==typeof k.regex&&(g[x].regex=new RegExp("^"+a.regex))}e.defineMIME("text/x-livescript","livescript")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/49.bed4664a.js b/build/codemirror/mode/49.98e4a38c.js similarity index 98% rename from build/codemirror/mode/49.bed4664a.js rename to build/codemirror/mode/49.98e4a38c.js index ffe1bb6..fabbe48 100644 --- a/build/codemirror/mode/49.bed4664a.js +++ b/build/codemirror/mode/49.98e4a38c.js @@ -1 +1 @@ -webpackJsonp([85],{980:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("lua",function(e,t){function wordRE(e){return new RegExp("^(?:"+e.join("|")+")$","i")}function readBracket(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function normal(e,t){var n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=bracketed(readBracket(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=function string(e){return function(t,n){for(var a,r=!1;null!=(a=t.next())&&(a!=e||r);)r=!r&&"\\"==a;return r||(n.cur=normal),"string"}}(n))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=bracketed(readBracket(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function bracketed(e,t){return function(n,a){for(var r,o=null;null!=(r=n.next());)if(null==o)"]"==r&&(o=0);else if("="==r)++o;else{if("]"==r&&o==e){a.cur=normal;break}o=null}return t}}var n=e.indentUnit,a=wordRE(t.specials||[]),r=wordRE(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),o=wordRE(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),i=wordRE(["function","if","repeat","do","\\(","{"]),u=wordRE(["end","until","\\)","}"]),l=function prefixRE(e){return new RegExp("^(?:"+e.join("|")+")","i")}(["end","until","\\)","}","else","elseif"]);return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:normal}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),l=e.current();return"variable"==n&&(o.test(l)?n="keyword":r.test(l)?n="builtin":a.test(l)&&(n="variable-2")),"comment"!=n&&"string"!=n&&(i.test(l)?++t.indentDepth:u.test(l)&&--t.indentDepth),n},indent:function(e,t){var a=l.test(t);return e.basecol+n*(e.indentDepth-(a?1:0))},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),e.defineMIME("text/x-lua","lua")})}}); \ No newline at end of file +webpackJsonp([84],{979:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("lua",function(e,t){function wordRE(e){return new RegExp("^(?:"+e.join("|")+")$","i")}function readBracket(e){for(var t=0;e.eat("=");)++t;return e.eat("["),t}function normal(e,t){var n=e.next();return"-"==n&&e.eat("-")?e.eat("[")&&e.eat("[")?(t.cur=bracketed(readBracket(e),"comment"))(e,t):(e.skipToEnd(),"comment"):'"'==n||"'"==n?(t.cur=function string(e){return function(t,n){for(var a,r=!1;null!=(a=t.next())&&(a!=e||r);)r=!r&&"\\"==a;return r||(n.cur=normal),"string"}}(n))(e,t):"["==n&&/[\[=]/.test(e.peek())?(t.cur=bracketed(readBracket(e),"string"))(e,t):/\d/.test(n)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(n)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function bracketed(e,t){return function(n,a){for(var r,o=null;null!=(r=n.next());)if(null==o)"]"==r&&(o=0);else if("="==r)++o;else{if("]"==r&&o==e){a.cur=normal;break}o=null}return t}}var n=e.indentUnit,a=wordRE(t.specials||[]),r=wordRE(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),o=wordRE(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),i=wordRE(["function","if","repeat","do","\\(","{"]),u=wordRE(["end","until","\\)","}"]),l=function prefixRE(e){return new RegExp("^(?:"+e.join("|")+")","i")}(["end","until","\\)","}","else","elseif"]);return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:normal}},token:function(e,t){if(e.eatSpace())return null;var n=t.cur(e,t),l=e.current();return"variable"==n&&(o.test(l)?n="keyword":r.test(l)?n="builtin":a.test(l)&&(n="variable-2")),"comment"!=n&&"string"!=n&&(i.test(l)?++t.indentDepth:u.test(l)&&--t.indentDepth),n},indent:function(e,t){var a=l.test(t);return e.basecol+n*(e.indentDepth-(a?1:0))},lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),e.defineMIME("text/x-lua","lua")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/5.534f612b.js b/build/codemirror/mode/5.534f612b.js new file mode 100644 index 0000000..db1ff48 --- /dev/null +++ b/build/codemirror/mode/5.534f612b.js @@ -0,0 +1 @@ +webpackJsonp([117],{915:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Context(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=i}function pushContext(e,t,n,r){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new Context(o,t,n,r,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=cppHook;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}"string"==typeof t&&(t=[t]);var r=[];add(n.keywords),add(n.types),add(n.builtin),add(n.atoms),r.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],r));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function tokenTripleString(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function tokenNestedComment(e){return function(t,n){for(var r;r=t.next();){if("*"==r&&t.eat("/")){if(1==e){n.tokenize=null;break}return n.tokenize=tokenNestedComment(e-1),n.tokenize(t,n)}if("/"==r&&t.eat("*"))return n.tokenize=tokenNestedComment(e+1),n.tokenize(t,n)}return"comment"}}function tokenCeylonString(e){return function(t,n){for(var o,i=!1,a=!1;!t.eol();){if(!i&&t.match('"')&&("single"==e||t.match('""'))){a=!0;break}if(!i&&t.match("``")){r=tokenCeylonString(e),a=!0;break}o=t.next(),i="single"==e&&!i&&"\\"==o}return a&&(n.tokenize=null),"string"}}e.defineMode("clike",function(t,n){function tokenBase(e,t){var n=e.next();if(m[n]){var i=m[n](e,t);if(!1!==i)return i}if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"\\"==r}return(i||!o&&!h)&&(n.tokenize=null),"string"}}(n),t.tokenize(e,t);if(k.test(n))return r=n,null;if(x.test(n)){if(e.backUp(1),e.match(b))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(v.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(v););return"operator"}if(e.eatWhile(_),y)for(;e.match(y);)e.eatWhile(_);var a=e.current();return contains(l,a)?(contains(u,a)&&(r="newstatement"),contains(f,a)&&(o=!0),"keyword"):contains(c,a)?"type":contains(d,a)?(contains(u,a)&&(r="newstatement"),"builtin"):contains(p,a)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function maybeEOL(e,t){n.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var r,o,i=t.indentUnit,a=n.statementIndentUnit||i,s=n.dontAlignCalls,l=n.keywords||{},c=n.types||{},d=n.builtin||{},u=n.blockKeywords||{},f=n.defKeywords||{},p=n.atoms||{},m=n.hooks||{},h=n.multiLineStrings,g=!1!==n.indentStatements,w=!1!==n.indentSwitch,y=n.namespaceSeparator,k=n.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=n.numberStart||/[\d\.]/,b=n.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,v=n.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=n.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-i,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var i=t.context;if(e.sol()&&(null==i.align&&(i.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;r=o=null;var a=(t.tokenize||tokenBase)(e,t);if("comment"==a||"meta"==a)return a;if(null==i.align&&(i.align=!0),";"==r||":"==r||","==r&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==r)pushContext(t,e.column(),"}");else if("["==r)pushContext(t,e.column(),"]");else if("("==r)pushContext(t,e.column(),")");else if("}"==r){for(;"statement"==i.type;)i=popContext(t);for("}"==i.type&&(i=popContext(t));"statement"==i.type;)i=popContext(t)}else r==i.type?popContext(t):g&&(("}"==i.type||"top"==i.type)&&";"!=r||"statement"==i.type&&"newstatement"==r)&&pushContext(t,e.column(),"statement",e.current());if("variable"==a&&("def"==t.prevToken||n.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(a="def"),m.token){var s=m.token(e,t,a);void 0!==s&&(a=s)}return"def"==a&&!1===n.styleDefs&&(a="variable"),t.startOfLine=!1,t.prevToken=o?"def":a||r,maybeEOL(e,t),a},indent:function(t,r){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,l=r&&r.charAt(0);if("statement"==o.type&&"}"==l&&(o=o.prev),n.dontIndentStatements)for(;"statement"==o.type&&n.dontIndentStatements.test(o.info);)o=o.prev;if(m.indent){var c=m.indent(t,o,r);if("number"==typeof c)return c}var d=l==o.type,u=o.prev&&"switch"==o.prev.info;if(n.allmanIndentation&&/[{(]/.test(l)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==l?0:a):!o.align||s&&")"==o.type?")"!=o.type||d?o.indented+(d?0:i)+(d||!u||/^(?:case|default)\b/.test(r)?0:i):o.indented+a:o.column+(d?0:1)},electricInput:w?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",n="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(n+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(n+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new Context(n.indented,n.column,n.type,n.info,null,n.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,n){for(var r,o=!1,i=!1;!t.eol();){if(!e&&!o&&t.match('"')){i=!0;break}if(e&&t.match('"""')){i=!0;break}r=t.next(),!o&&"$"==r&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==r&&!e}return!i&&e||(n.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(n),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(n),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(n),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var r=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!r||!e.match("`"))&&(t.tokenize=r,r=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/5.c0305a13.js b/build/codemirror/mode/5.c0305a13.js deleted file mode 100644 index fdf8167..0000000 --- a/build/codemirror/mode/5.c0305a13.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([118],{915:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function Context(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.info=r,this.align=o,this.prev=a}function pushContext(e,t,n,r){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=n&&(o=e.context.indented),e.context=new Context(o,t,n,r,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,n){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var n,r=null;n=e.peek();){if("\\"==n&&e.match(/^.$/)){r=cppHook;break}if("/"==n&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=r,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var n=e.match(/"([^\s\\()]{0,16})\(/);return!!n&&(t.cpp11RawStringDelim=n[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var n;null!=(n=e.next());)if('"'==n&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var n=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+n+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&r.push(t)}"string"==typeof t&&(t=[t]);var r=[];add(n.keywords),add(n.types),add(n.builtin),add(n.atoms),r.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],r));for(var o=0;o<t.length;++o)e.defineMIME(t[o],n)}function tokenTripleString(e,t){for(var n=!1;!e.eol();){if(!n&&e.match('"""')){t.tokenize=null;break}n="\\"==e.next()&&!n}return"string"}function tokenCeylonString(e){return function(t,n){for(var o,a=!1,i=!1;!t.eol();){if(!a&&t.match('"')&&("single"==e||t.match('""'))){i=!0;break}if(!a&&t.match("``")){r=tokenCeylonString(e),i=!0;break}o=t.next(),a="single"==e&&!a&&"\\"==o}return i&&(n.tokenize=null),"string"}}e.defineMode("clike",function(t,n){function tokenBase(e,t){var n=e.next();if(m[n]){var a=m[n](e,t);if(!1!==a)return a}if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return(a||!o&&!h)&&(n.tokenize=null),"string"}}(n),t.tokenize(e,t);if(k.test(n))return r=n,null;if(x.test(n)){if(e.backUp(1),e.match(b))return"number";e.next()}if("/"==n){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(v.test(n)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(v););return"operator"}if(e.eatWhile(_),y)for(;e.match(y);)e.eatWhile(_);var i=e.current();return contains(l,i)?(contains(u,i)&&(r="newstatement"),contains(f,i)&&(o=!0),"keyword"):contains(c,i)?"type":contains(d,i)?(contains(u,i)&&(r="newstatement"),"builtin"):contains(p,i)?"atom":"variable"}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}function maybeEOL(e,t){n.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var r,o,a=t.indentUnit,i=n.statementIndentUnit||a,s=n.dontAlignCalls,l=n.keywords||{},c=n.types||{},d=n.builtin||{},u=n.blockKeywords||{},f=n.defKeywords||{},p=n.atoms||{},m=n.hooks||{},h=n.multiLineStrings,g=!1!==n.indentStatements,w=!1!==n.indentSwitch,y=n.namespaceSeparator,k=n.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=n.numberStart||/[\d\.]/,b=n.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,v=n.isOperatorChar||/[+\-*&%=<>!?|\/]/,_=n.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-a,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;r=o=null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i||"meta"==i)return i;if(null==a.align&&(a.align=!0),";"==r||":"==r||","==r&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==r)pushContext(t,e.column(),"}");else if("["==r)pushContext(t,e.column(),"]");else if("("==r)pushContext(t,e.column(),")");else if("}"==r){for(;"statement"==a.type;)a=popContext(t);for("}"==a.type&&(a=popContext(t));"statement"==a.type;)a=popContext(t)}else r==a.type?popContext(t):g&&(("}"==a.type||"top"==a.type)&&";"!=r||"statement"==a.type&&"newstatement"==r)&&pushContext(t,e.column(),"statement",e.current());if("variable"==i&&("def"==t.prevToken||n.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(i="def"),m.token){var s=m.token(e,t,i);void 0!==s&&(i=s)}return"def"==i&&!1===n.styleDefs&&(i="variable"),t.startOfLine=!1,t.prevToken=o?"def":i||r,maybeEOL(e,t),i},indent:function(t,r){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,l=r&&r.charAt(0);if("statement"==o.type&&"}"==l&&(o=o.prev),n.dontIndentStatements)for(;"statement"==o.type&&n.dontIndentStatements.test(o.info);)o=o.prev;if(m.indent){var c=m.indent(t,o,r);if("number"==typeof c)return c}var d=l==o.type,u=o.prev&&"switch"==o.prev.info;if(n.allmanIndentation&&/[{(]/.test(l)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==l?0:i):!o.align||s&&")"==o.type?")"!=o.type||d?o.indented+(d?0:a)+(d||!u||/^(?:case|default)\b/.test(r)?0:a):o.indented+i:o.column+(d?0:1)},electricInput:w?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",n="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(n+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(n+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,n){if("variable"==n&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var n=t.context;return!("}"!=n.type||!n.align||!e.eat(">"))&&(t.context=new Context(n.indented,n.column,n.type,n.info,null,n.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,n){for(var r,o=!1,a=!1;!t.eol();){if(!e&&!o&&t.match('"')){a=!0;break}if(e&&t.match('"""')){a=!0;break}r=t.next(),!o&&"$"==r&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==r&&!e}return!a&&e||(n.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(n),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(n),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,n){if("statement"==t.type&&/^@\w/.test(n))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(n),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var r=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!r||!e.match("`"))&&(t.tokenize=r,r=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if(("variable"==n||"type"==n)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/50.bd0daf54.js b/build/codemirror/mode/50.bd0daf54.js deleted file mode 100644 index d801c60..0000000 --- a/build/codemirror/mode/50.bd0daf54.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([19,33],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};t.defineMode("xml",function(i,r){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(g=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,g=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return g="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!o.contextGrabbers.hasOwnProperty(n)||!o.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),h="tag",attrState):(h="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&o.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==i||!1===o.matchClosing?(h="tag",closeState):(h="tag error",closeStateErr)}return h="error",closeStateErr}function closeState(t,e,n){return"endTag"!=t?(h="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return h="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return h="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||o.autoSelfClosers.hasOwnProperty(i)?maybePopContext(n,i):(maybePopContext(n,i),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,i,r==n.indented)),baseState}return h="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(o.allowMissing||(h="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&o.allowUnquoted?(h="string",attrState):(h="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var a=i.indentUnit,o={},l=r.htmlMode?e:n;for(var s in l)o[s]=l[s];for(var s in r)o[s]=r[s];var g,h;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;g=null;var n=e.tokenize(t,e);return(n||g)&&"comment"!=n&&(h=null,e.state=e.state(g||n,t,e),h&&(n="error"==h?n+" error":h)),n},indent:function(e,n,i){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+a;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==o.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+a*(o.multilineTagIndentFactor||1);if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;r;){if(r.tagName==l[2]){r=r.prev;break}if(!o.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(l)for(;r;){var s=o.contextGrabbers[r.tagName];if(!s||!s.hasOwnProperty(l[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+a:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:o.htmlMode?"html":"xml",helperType:o.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},925:function(t,e,n){!function(t){t(n(907),n(909),n(917))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function switchInline(t,e,n){return e.f=e.inline=n,n(t,e)}function switchBlock(t,e,n){return e.f=e.block=n,n(t,e)}function blankLine(t){return t.linkTitle=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock&&(t.f=inlineNormal,t.block=blockNormal),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(i,r){var o=i.column()===r.indentation,u=function lineIsEmpty(t){return!t||!/\S/.test(t.string)}(r.prevLine.stream),d=r.indentedCode,k=r.prevLine.hr,p=!1!==r.list,x=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var S=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,p)){for(r.list=null;S<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=S-r.listStack[r.listStack.length-1])}var T=!(u||k||r.prevLine.header||p&&d||r.prevLine.fencedCodeEnd),v=(!1===r.list||k||u)&&r.indentation<=x&&i.match(l),b=null;if(r.indentationDiff>=4&&(d||r.prevLine.fencedCodeEnd||r.prevLine.header||u))return i.skipToEnd(),r.indentedCode=!0,a.code;if(i.eatSpace())return null;if(o&&r.indentation<=x&&(b=i.match(h))&&b[1].length<=6)return r.quote=0,r.header=b[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,getType(r);if(r.indentation<=x&&i.eat(">"))return r.quote=o?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),i.eatSpace(),getType(r);if(!v&&!r.setext&&o&&r.indentation<=x&&(b=i.match(s))){var y=b[1]?"ol":"ul";return r.indentation=S+i.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),n.taskLists&&i.match(g,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+y]),getType(r)}return o&&r.indentation<=x&&(b=i.match(m,!0))?(r.quote=0,r.fencedEndRE=new RegExp(b[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&function getMode(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=t.getMode(e,n);return"null"==r.name?null:r}(b[2]),r.localMode&&(r.localState=t.startState(r.localMode)),r.f=r.block=local,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,getType(r)):r.setext||!(T&&p||r.quote||!1!==r.list||r.code||v||f.test(i.string))&&(b=i.lookAhead(1))&&(b=b.match(c))?(r.setext?(r.header=r.setext,r.setext=0,i.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==b[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,getType(r)):v?(i.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===i.peek()?switchInline(i,r,footnoteLink):switchInline(i,r,r.inline)}function htmlBlock(e,n){var a=i.token(e,n.htmlState);if(!r){var o=t.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return a}function local(t,e){var i=e.listStack[e.listStack.length-1]||0,r=e.indentation<i,o=i+3;if(e.fencedEndRE&&e.indentation<=o&&(r||t.match(e.fencedEndRE))){n.highlightFormatting&&(e.formatting="code-block");var l;return r||(l=getType(e)),e.localMode=e.localState=null,e.block=blockNormal,e.f=inlineNormal,e.fencedEndRE=null,e.code=0,e.thisLine.fencedCodeEnd=!0,r?switchBlock(t,e,e.block):l}return e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),a.code)}function getType(t){var e=[];if(t.formatting){e.push(a.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(a.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(a.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(a.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(a.linkHref,"url"):(t.strong&&e.push(a.strong),t.em&&e.push(a.em),t.strikethrough&&e.push(a.strikethrough),t.emoji&&e.push(a.emoji),t.linkText&&e.push(a.linkText),t.code&&e.push(a.code),t.image&&e.push(a.image),t.imageAltText&&e.push(a.imageAltText,"link"),t.imageMarker&&e.push(a.imageMarker)),t.header&&e.push(a.header,a.header+"-"+t.header),t.quote&&(e.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(a.quote+"-"+t.quote):e.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var r=(t.listStack.length-1)%3;r?1===r?e.push(a.list2):e.push(a.list3):e.push(a.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function handleText(t,e){if(t.match(u,!0))return getType(e)}function inlineNormal(e,r){var o=r.text(e,r);if(void 0!==o)return o;if(r.list)return r.list=null,getType(r);if(r.taskList){return" "===e.match(g,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,getType(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),getType(r);var l=e.next();if(r.linkTitle){r.linkTitle=!1;var s=l;"("===l&&(s=")");var h="^\\s*(?:[^"+(s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(e.match(new RegExp(h),!0))return a.linkHref}if("`"===l){var c=r.formatting;n.highlightFormatting&&(r.formatting="code"),e.eatWhile("`");var u=e.current().length;if(0!=r.code||r.quote&&1!=u){if(u==r.code){var m=getType(r);return r.code=0,m}return r.formatting=c,getType(r)}return r.code=u,getType(r)}if(r.code)return getType(r);if("\\"===l&&(e.next(),n.highlightFormatting)){var f=getType(r),k=a.formatting+"-escape";return f?f+" "+k:k}if("!"===l&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),getType(r);if("["===l&&r.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),getType(r);if("]"===l&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");f=getType(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=linkHref,f}if("["===l&&!r.image)return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),getType(r);if("]"===l&&r.linkText){n.highlightFormatting&&(r.formatting="link");f=getType(r);return r.linkText=!1,r.inline=r.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,f}if("<"===l&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,n.highlightFormatting&&(r.formatting="link");return(f=getType(r))?f+=" ":f="",f+a.linkInline}if("<"===l&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,n.highlightFormatting&&(r.formatting="link");return(f=getType(r))?f+=" ":f="",f+a.linkEmail}if(n.xml&&"<"===l&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var p=e.string.indexOf(">",e.pos);if(-1!=p){var x=e.string.substring(e.start,p);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=t.startState(i),switchBlock(e,r,htmlBlock)}if(n.xml&&"<"===l&&e.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===l||"_"===l){for(var S=1,T=1==e.pos?" ":e.string.charAt(e.pos-2);S<3&&e.eat(l);)S++;var v=e.peek()||" ",b=!/\s/.test(v)&&(!d.test(v)||/\s/.test(T)||d.test(T)),y=!/\s/.test(T)&&(!d.test(T)||/\s/.test(v)||d.test(v)),w=null,L=null;if(S%2&&(r.em||!b||"*"!==l&&y&&!d.test(T)?r.em!=l||!y||"*"!==l&&b&&!d.test(v)||(w=!1):w=!0),S>1&&(r.strong||!b||"*"!==l&&y&&!d.test(T)?r.strong!=l||!y||"*"!==l&&b&&!d.test(v)||(L=!1):L=!0),null!=L||null!=w){n.highlightFormatting&&(r.formatting=null==w?"strong":null==L?"em":"strong em"),!0===w&&(r.em=l),!0===L&&(r.strong=l);m=getType(r);return!1===w&&(r.em=!1),!1===L&&(r.strong=!1),m}}else if(" "===l&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return getType(r);e.backUp(1)}if(n.strikethrough)if("~"===l&&e.eatWhile(l)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");m=getType(r);return r.strikethrough=!1,m}if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),getType(r)}else if(" "===l&&e.match(/^~~/,!0)){if(" "===e.peek())return getType(r);e.backUp(2)}if(n.emoji&&":"===l&&e.match(/^[a-z_\d+-]+:/)){r.emoji=!0,n.highlightFormatting&&(r.formatting="emoji");var N=getType(r);return r.emoji=!1,N}return" "===l&&(e.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),getType(r)}function linkInline(t,e){if(">"===t.next()){e.f=e.inline=inlineNormal,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return i?i+=" ":i="",i+a.linkInline}return t.match(/^[^>]+/,!0),a.linkInline}function linkHref(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=function getLinkHrefInside(t){return function(e,i){var r=e.next();if(r===t){i.f=i.inline=inlineNormal,n.highlightFormatting&&(i.formatting="link-string");var a=getType(i);return i.linkHref=!1,a}return e.match(k[t]),i.linkHref=!0,getType(i)}}("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,getType(e)):"error"}function footnoteLink(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=footnoteLinkInside,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,getType(e)):switchInline(t,e,inlineNormal)}function footnoteLinkInside(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=footnoteUrl,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function footnoteUrl(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=inlineNormal,a.linkHref+" url")}var i=t.getMode(e,"text/html"),r="null"==i.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in a)a.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(a[o]=n.tokenTypeOverrides[o]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,g=/^\[(x| )\](?=\s)/i,h=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,c=/^ *(?:\={1,}|-{1,})\s*$/,u=/^[^#!\[\]*_\\<>` "'(~:]+/,m=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,f=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,d=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},p={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(i,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return blankLine(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=htmlBlock)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==htmlBlock?{state:t.htmlState,mode:i}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:p}},indent:function(e,n,r){return e.block==htmlBlock&&i.indent?i.indent(e.htmlState,n,r):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,n,r):t.Pass},blankLine:blankLine,getType:getType,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return p},"xml"),t.defineMIME("text/x-markdown","markdown")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/50.c4eacba3.js b/build/codemirror/mode/50.c4eacba3.js new file mode 100644 index 0000000..f509a01 --- /dev/null +++ b/build/codemirror/mode/50.c4eacba3.js @@ -0,0 +1 @@ +webpackJsonp([18,32],{909:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";var e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(i,r){function inText(t,e){function chain(n){return e.tokenize=n,n(t,e)}var n=t.next();if("<"==n)return t.eat("!")?t.eat("[")?t.match("CDATA[")?chain(inBlock("atom","]]>")):null:t.match("--")?chain(inBlock("comment","--\x3e")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),e.tokenize=inBlock("meta","?>"),"meta"):(g=t.eat("/")?"closeTag":"openTag",e.tokenize=inTag,"tag bracket");if("&"==n){return(t.eat("#")?t.eat("x")?t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):t.eatWhile(/[\d]/)&&t.eat(";"):t.eatWhile(/[\w\.\-:]/)&&t.eat(";"))?"atom":"error"}return t.eatWhile(/[^&<]/),null}function inTag(t,e){var n=t.next();if(">"==n||"/"==n&&t.eat(">"))return e.tokenize=inText,g=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return g="equals",null;if("<"==n){e.tokenize=inText,e.state=baseState,e.tagName=e.tagStart=null;var i=e.tokenize(t,e);return i?i+" tag error":"tag error"}return/[\'\"]/.test(n)?(e.tokenize=function inAttribute(t){var e=function(e,n){for(;!e.eol();)if(e.next()==t){n.tokenize=inTag;break}return"string"};return e.isInAttribute=!0,e}(n),e.stringStartCol=t.column(),e.tokenize(t,e)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(t,e){return function(n,i){for(;!n.eol();){if(n.match(e)){i.tokenize=inText;break}n.next()}return t}}function doctype(t){return function(e,n){for(var i;null!=(i=e.next());){if("<"==i)return n.tokenize=doctype(t+1),n.tokenize(e,n);if(">"==i){if(1==t){n.tokenize=inText;break}return n.tokenize=doctype(t-1),n.tokenize(e,n)}}return"meta"}}function popContext(t){t.context&&(t.context=t.context.prev)}function maybePopContext(t,e){for(var n;;){if(!t.context)return;if(n=t.context.tagName,!o.contextGrabbers.hasOwnProperty(n)||!o.contextGrabbers[n].hasOwnProperty(e))return;popContext(t)}}function baseState(t,e,n){return"openTag"==t?(n.tagStart=e.column(),tagNameState):"closeTag"==t?closeTagNameState:baseState}function tagNameState(t,e,n){return"word"==t?(n.tagName=e.current(),c="tag",attrState):o.allowMissingTagName&&"endTag"==t?(c="tag bracket",attrState(t,e,n)):(c="error",tagNameState)}function closeTagNameState(t,e,n){if("word"==t){var i=e.current();return n.context&&n.context.tagName!=i&&o.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==i||!1===o.matchClosing?(c="tag",closeState):(c="tag error",closeStateErr)}return o.allowMissingTagName&&"endTag"==t?(c="tag bracket",closeState(t,e,n)):(c="error",closeStateErr)}function closeState(t,e,n){return"endTag"!=t?(c="error",closeState):(popContext(n),baseState)}function closeStateErr(t,e,n){return c="error",closeState(t,0,n)}function attrState(t,e,n){if("word"==t)return c="attribute",attrEqState;if("endTag"==t||"selfcloseTag"==t){var i=n.tagName,r=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==t||o.autoSelfClosers.hasOwnProperty(i)?maybePopContext(n,i):(maybePopContext(n,i),n.context=new function Context(t,e,n){this.prev=t.context,this.tagName=e,this.indent=t.indented,this.startOfLine=n,(o.doNotIndent.hasOwnProperty(e)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}(n,i,r==n.indented)),baseState}return c="error",attrState}function attrEqState(t,e,n){return"equals"==t?attrValueState:(o.allowMissing||(c="error"),attrState(t,0,n))}function attrValueState(t,e,n){return"string"==t?attrContinuedState:"word"==t&&o.allowUnquoted?(c="string",attrState):(c="error",attrState(t,0,n))}function attrContinuedState(t,e,n){return"string"==t?attrContinuedState:attrState(t,0,n)}var a=i.indentUnit,o={},l=r.htmlMode?e:n;for(var s in l)o[s]=l[s];for(var s in r)o[s]=r[s];var g,c;return inText.isInText=!0,{startState:function(t){var e={tokenize:inText,state:baseState,indented:t||0,tagName:null,tagStart:null,context:null};return null!=t&&(e.baseIndent=t),e},token:function(t,e){if(!e.tagName&&t.sol()&&(e.indented=t.indentation()),t.eatSpace())return null;g=null;var n=e.tokenize(t,e);return(n||g)&&"comment"!=n&&(c=null,e.state=e.state(g||n,t,e),c&&(n="error"==c?n+" error":c)),n},indent:function(e,n,i){var r=e.context;if(e.tokenize.isInAttribute)return e.tagStart==e.indented?e.stringStartCol+1:e.indented+a;if(r&&r.noIndent)return t.Pass;if(e.tokenize!=inTag&&e.tokenize!=inText)return i?i.match(/^(\s*)/)[0].length:0;if(e.tagName)return!1!==o.multilineTagIndentPastTag?e.tagStart+e.tagName.length+2:e.tagStart+a*(o.multilineTagIndentFactor||1);if(o.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var l=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(l&&l[1])for(;r;){if(r.tagName==l[2]){r=r.prev;break}if(!o.implicitlyClosed.hasOwnProperty(r.tagName))break;r=r.prev}else if(l)for(;r;){var s=o.contextGrabbers[r.tagName];if(!s||!s.hasOwnProperty(l[2]))break;r=r.prev}for(;r&&r.prev&&!r.startOfLine;)r=r.prev;return r?r.indent+a:e.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:o.htmlMode?"html":"xml",helperType:o.htmlMode?"html":"xml",skipAttribute:function(t){t.state==attrValueState&&(t.state=attrState)}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})},923:function(t,e,n){!function(t){t(n(907),n(909),n(917))}(function(t){"use strict";t.defineMode("markdown",function(e,n){function switchInline(t,e,n){return e.f=e.inline=n,n(t,e)}function switchBlock(t,e,n){return e.f=e.block=n,n(t,e)}function blankLine(t){return t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==htmlBlock&&(t.f=inlineNormal,t.block=blockNormal),t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function blockNormal(i,r){var o=i.column()===r.indentation,u=function lineIsEmpty(t){return!t||!/\S/.test(t.string)}(r.prevLine.stream),d=r.indentedCode,k=r.prevLine.hr,p=!1!==r.list,x=(r.listStack[r.listStack.length-1]||0)+3;r.indentedCode=!1;var S=r.indentation;if(null===r.indentationDiff&&(r.indentationDiff=r.indentation,p)){for(r.em=!1,r.strong=!1,r.code=!1,r.strikethrough=!1,r.list=null;S<r.listStack[r.listStack.length-1];)r.listStack.pop(),r.listStack.length?r.indentation=r.listStack[r.listStack.length-1]:r.list=!1;!1!==r.list&&(r.indentationDiff=S-r.listStack[r.listStack.length-1])}var T=!(u||k||r.prevLine.header||p&&d||r.prevLine.fencedCodeEnd),v=(!1===r.list||k||u)&&r.indentation<=x&&i.match(l),b=null;if(r.indentationDiff>=4&&(d||r.prevLine.fencedCodeEnd||r.prevLine.header||u))return i.skipToEnd(),r.indentedCode=!0,a.code;if(i.eatSpace())return null;if(o&&r.indentation<=x&&(b=i.match(c))&&b[1].length<=6)return r.quote=0,r.header=b[1].length,r.thisLine.header=!0,n.highlightFormatting&&(r.formatting="header"),r.f=r.inline,getType(r);if(r.indentation<=x&&i.eat(">"))return r.quote=o?1:r.quote+1,n.highlightFormatting&&(r.formatting="quote"),i.eatSpace(),getType(r);if(!v&&!r.setext&&o&&r.indentation<=x&&(b=i.match(s))){var y=b[1]?"ol":"ul";return r.indentation=S+i.current().length,r.list=!0,r.quote=0,r.listStack.push(r.indentation),n.taskLists&&i.match(g,!1)&&(r.taskList=!0),r.f=r.inline,n.highlightFormatting&&(r.formatting=["list","list-"+y]),getType(r)}return o&&r.indentation<=x&&(b=i.match(m,!0))?(r.quote=0,r.fencedEndRE=new RegExp(b[1]+"+ *$"),r.localMode=n.fencedCodeBlockHighlighting&&function getMode(n){if(t.findModeByName){var i=t.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var r=t.getMode(e,n);return"null"==r.name?null:r}(b[2]),r.localMode&&(r.localState=t.startState(r.localMode)),r.f=r.block=local,n.highlightFormatting&&(r.formatting="code-block"),r.code=-1,getType(r)):r.setext||!(T&&p||r.quote||!1!==r.list||r.code||v||f.test(i.string))&&(b=i.lookAhead(1))&&(b=b.match(h))?(r.setext?(r.header=r.setext,r.setext=0,i.skipToEnd(),n.highlightFormatting&&(r.formatting="header")):(r.header="="==b[0].charAt(0)?1:2,r.setext=r.header),r.thisLine.header=!0,r.f=r.inline,getType(r)):v?(i.skipToEnd(),r.hr=!0,r.thisLine.hr=!0,a.hr):"["===i.peek()?switchInline(i,r,footnoteLink):switchInline(i,r,r.inline)}function htmlBlock(e,n){var a=i.token(e,n.htmlState);if(!r){var o=t.innerMode(i,n.htmlState);("xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText||n.md_inside&&e.current().indexOf(">")>-1)&&(n.f=inlineNormal,n.block=blockNormal,n.htmlState=null)}return a}function local(t,e){var i=e.listStack[e.listStack.length-1]||0,r=e.indentation<i,o=i+3;if(e.fencedEndRE&&e.indentation<=o&&(r||t.match(e.fencedEndRE))){n.highlightFormatting&&(e.formatting="code-block");var l;return r||(l=getType(e)),e.localMode=e.localState=null,e.block=blockNormal,e.f=inlineNormal,e.fencedEndRE=null,e.code=0,e.thisLine.fencedCodeEnd=!0,r?switchBlock(t,e,e.block):l}return e.localMode?e.localMode.token(t,e.localState):(t.skipToEnd(),a.code)}function getType(t){var e=[];if(t.formatting){e.push(a.formatting),"string"==typeof t.formatting&&(t.formatting=[t.formatting]);for(var i=0;i<t.formatting.length;i++)e.push(a.formatting+"-"+t.formatting[i]),"header"===t.formatting[i]&&e.push(a.formatting+"-"+t.formatting[i]+"-"+t.header),"quote"===t.formatting[i]&&(!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(a.formatting+"-"+t.formatting[i]+"-"+t.quote):e.push("error"))}if(t.taskOpen)return e.push("meta"),e.length?e.join(" "):null;if(t.taskClosed)return e.push("property"),e.length?e.join(" "):null;if(t.linkHref?e.push(a.linkHref,"url"):(t.strong&&e.push(a.strong),t.em&&e.push(a.em),t.strikethrough&&e.push(a.strikethrough),t.emoji&&e.push(a.emoji),t.linkText&&e.push(a.linkText),t.code&&e.push(a.code),t.image&&e.push(a.image),t.imageAltText&&e.push(a.imageAltText,"link"),t.imageMarker&&e.push(a.imageMarker)),t.header&&e.push(a.header,a.header+"-"+t.header),t.quote&&(e.push(a.quote),!n.maxBlockquoteDepth||n.maxBlockquoteDepth>=t.quote?e.push(a.quote+"-"+t.quote):e.push(a.quote+"-"+n.maxBlockquoteDepth)),!1!==t.list){var r=(t.listStack.length-1)%3;r?1===r?e.push(a.list2):e.push(a.list3):e.push(a.list1)}return t.trailingSpaceNewLine?e.push("trailing-space-new-line"):t.trailingSpace&&e.push("trailing-space-"+(t.trailingSpace%2?"a":"b")),e.length?e.join(" "):null}function handleText(t,e){if(t.match(u,!0))return getType(e)}function inlineNormal(e,r){var o=r.text(e,r);if(void 0!==o)return o;if(r.list)return r.list=null,getType(r);if(r.taskList){return" "===e.match(g,!0)[1]?r.taskOpen=!0:r.taskClosed=!0,n.highlightFormatting&&(r.formatting="task"),r.taskList=!1,getType(r)}if(r.taskOpen=!1,r.taskClosed=!1,r.header&&e.match(/^#+$/,!0))return n.highlightFormatting&&(r.formatting="header"),getType(r);var l=e.next();if(r.linkTitle){r.linkTitle=!1;var s=l;"("===l&&(s=")");var c="^\\s*(?:[^"+(s=(s+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+s;if(e.match(new RegExp(c),!0))return a.linkHref}if("`"===l){var h=r.formatting;n.highlightFormatting&&(r.formatting="code"),e.eatWhile("`");var u=e.current().length;if(0!=r.code||r.quote&&1!=u){if(u==r.code){var m=getType(r);return r.code=0,m}return r.formatting=h,getType(r)}return r.code=u,getType(r)}if(r.code)return getType(r);if("\\"===l&&(e.next(),n.highlightFormatting)){var f=getType(r),k=a.formatting+"-escape";return f?f+" "+k:k}if("!"===l&&e.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return r.imageMarker=!0,r.image=!0,n.highlightFormatting&&(r.formatting="image"),getType(r);if("["===l&&r.imageMarker&&e.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return r.imageMarker=!1,r.imageAltText=!0,n.highlightFormatting&&(r.formatting="image"),getType(r);if("]"===l&&r.imageAltText){n.highlightFormatting&&(r.formatting="image");f=getType(r);return r.imageAltText=!1,r.image=!1,r.inline=r.f=linkHref,f}if("["===l&&!r.image)return r.linkText=!0,n.highlightFormatting&&(r.formatting="link"),getType(r);if("]"===l&&r.linkText){n.highlightFormatting&&(r.formatting="link");f=getType(r);return r.linkText=!1,r.inline=r.f=e.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,f}if("<"===l&&e.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,n.highlightFormatting&&(r.formatting="link");return(f=getType(r))?f+=" ":f="",f+a.linkInline}if("<"===l&&e.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){r.f=r.inline=linkInline,n.highlightFormatting&&(r.formatting="link");return(f=getType(r))?f+=" ":f="",f+a.linkEmail}if(n.xml&&"<"===l&&e.match(/^(!--|[a-z]+(?:\s+[a-z_:.\-]+(?:\s*=\s*[^ >]+)?)*\s*>)/i,!1)){var p=e.string.indexOf(">",e.pos);if(-1!=p){var x=e.string.substring(e.start,p);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(r.md_inside=!0)}return e.backUp(1),r.htmlState=t.startState(i),switchBlock(e,r,htmlBlock)}if(n.xml&&"<"===l&&e.match(/^\/\w*?>/))return r.md_inside=!1,"tag";if("*"===l||"_"===l){for(var S=1,T=1==e.pos?" ":e.string.charAt(e.pos-2);S<3&&e.eat(l);)S++;var v=e.peek()||" ",b=!/\s/.test(v)&&(!d.test(v)||/\s/.test(T)||d.test(T)),y=!/\s/.test(T)&&(!d.test(T)||/\s/.test(v)||d.test(v)),w=null,N=null;if(S%2&&(r.em||!b||"*"!==l&&y&&!d.test(T)?r.em!=l||!y||"*"!==l&&b&&!d.test(v)||(w=!1):w=!0),S>1&&(r.strong||!b||"*"!==l&&y&&!d.test(T)?r.strong!=l||!y||"*"!==l&&b&&!d.test(v)||(N=!1):N=!0),null!=N||null!=w){n.highlightFormatting&&(r.formatting=null==w?"strong":null==N?"em":"strong em"),!0===w&&(r.em=l),!0===N&&(r.strong=l);m=getType(r);return!1===w&&(r.em=!1),!1===N&&(r.strong=!1),m}}else if(" "===l&&(e.eat("*")||e.eat("_"))){if(" "===e.peek())return getType(r);e.backUp(1)}if(n.strikethrough)if("~"===l&&e.eatWhile(l)){if(r.strikethrough){n.highlightFormatting&&(r.formatting="strikethrough");m=getType(r);return r.strikethrough=!1,m}if(e.match(/^[^\s]/,!1))return r.strikethrough=!0,n.highlightFormatting&&(r.formatting="strikethrough"),getType(r)}else if(" "===l&&e.match(/^~~/,!0)){if(" "===e.peek())return getType(r);e.backUp(2)}if(n.emoji&&":"===l&&e.match(/^[a-z_\d+-]+:/)){r.emoji=!0,n.highlightFormatting&&(r.formatting="emoji");var L=getType(r);return r.emoji=!1,L}return" "===l&&(e.match(/ +$/,!1)?r.trailingSpace++:r.trailingSpace&&(r.trailingSpaceNewLine=!0)),getType(r)}function linkInline(t,e){if(">"===t.next()){e.f=e.inline=inlineNormal,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return i?i+=" ":i="",i+a.linkInline}return t.match(/^[^>]+/,!0),a.linkInline}function linkHref(t,e){if(t.eatSpace())return null;var i=t.next();return"("===i||"["===i?(e.f=e.inline=function getLinkHrefInside(t){return function(e,i){var r=e.next();if(r===t){i.f=i.inline=inlineNormal,n.highlightFormatting&&(i.formatting="link-string");var a=getType(i);return i.linkHref=!1,a}return e.match(k[t]),i.linkHref=!0,getType(i)}}("("===i?")":"]"),n.highlightFormatting&&(e.formatting="link-string"),e.linkHref=!0,getType(e)):"error"}function footnoteLink(t,e){return t.match(/^([^\]\\]|\\.)*\]:/,!1)?(e.f=footnoteLinkInside,t.next(),n.highlightFormatting&&(e.formatting="link"),e.linkText=!0,getType(e)):switchInline(t,e,inlineNormal)}function footnoteLinkInside(t,e){if(t.match(/^\]:/,!0)){e.f=e.inline=footnoteUrl,n.highlightFormatting&&(e.formatting="link");var i=getType(e);return e.linkText=!1,i}return t.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function footnoteUrl(t,e){return t.eatSpace()?null:(t.match(/^[^\s]+/,!0),void 0===t.peek()?e.linkTitle=!0:t.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),e.f=e.inline=inlineNormal,a.linkHref+" url")}var i=t.getMode(e,"text/html"),r="null"==i.name;void 0===n.highlightFormatting&&(n.highlightFormatting=!1),void 0===n.maxBlockquoteDepth&&(n.maxBlockquoteDepth=0),void 0===n.taskLists&&(n.taskLists=!1),void 0===n.strikethrough&&(n.strikethrough=!1),void 0===n.emoji&&(n.emoji=!1),void 0===n.fencedCodeBlockHighlighting&&(n.fencedCodeBlockHighlighting=!0),void 0===n.xml&&(n.xml=!0),void 0===n.tokenTypeOverrides&&(n.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var o in a)a.hasOwnProperty(o)&&n.tokenTypeOverrides[o]&&(a[o]=n.tokenTypeOverrides[o]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,s=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,g=/^\[(x| )\](?=\s)/i,c=n.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ *(?:\={1,}|-{1,})\s*$/,u=/^[^#!\[\]*_\\<>` "'(~:]+/,m=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,f=/^\s*\[[^\]]+?\]:\s*\S+(\s*\S*\s*)?$/,d=/[!\"#$%&\'()*+,\-\.\/:;<=>?@\[\\\]^_`{|}~—]/,k={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/},p={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(e){return{f:e.f,prevLine:e.prevLine,thisLine:e.thisLine,block:e.block,htmlState:e.htmlState&&t.copyState(i,e.htmlState),indentation:e.indentation,localMode:e.localMode,localState:e.localMode?t.copyState(e.localMode,e.localState):null,inline:e.inline,text:e.text,formatting:!1,linkText:e.linkText,linkTitle:e.linkTitle,linkHref:e.linkHref,code:e.code,em:e.em,strong:e.strong,strikethrough:e.strikethrough,emoji:e.emoji,header:e.header,setext:e.setext,hr:e.hr,taskList:e.taskList,list:e.list,listStack:e.listStack.slice(0),quote:e.quote,indentedCode:e.indentedCode,trailingSpace:e.trailingSpace,trailingSpaceNewLine:e.trailingSpaceNewLine,md_inside:e.md_inside,fencedEndRE:e.fencedEndRE}},token:function(t,e){if(e.formatting=!1,t!=e.thisLine.stream){if(e.header=0,e.hr=!1,t.match(/^\s*$/,!0))return blankLine(e),null;if(e.prevLine=e.thisLine,e.thisLine={stream:t},e.taskList=!1,e.trailingSpace=0,e.trailingSpaceNewLine=!1,!e.localState&&(e.f=e.block,e.f!=htmlBlock)){var n=t.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(e.indentation=n,e.indentationDiff=null,n>0)return null}}return e.f(t,e)},innerMode:function(t){return t.block==htmlBlock?{state:t.htmlState,mode:i}:t.localState?{state:t.localState,mode:t.localMode}:{state:t,mode:p}},indent:function(e,n,r){return e.block==htmlBlock&&i.indent?i.indent(e.htmlState,n,r):e.localState&&e.localMode.indent?e.localMode.indent(e.localState,n,r):t.Pass},blankLine:blankLine,getType:getType,closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return p},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/51.e2deb7fc.js b/build/codemirror/mode/51.099d6eb5.js similarity index 96% rename from build/codemirror/mode/51.e2deb7fc.js rename to build/codemirror/mode/51.099d6eb5.js index b07109b..6186fb3 100644 --- a/build/codemirror/mode/51.e2deb7fc.js +++ b/build/codemirror/mode/51.099d6eb5.js @@ -1 +1 @@ -webpackJsonp([84],{981:function(e,t,a){!function(e){e(a(907))}(function(e){"use strict";e.defineMode("mathematica",function(e,t){function tokenBase(e,t){var a;return'"'===(a=e.next())?(t.tokenize=tokenString,t.tokenize(e,t)):"("===a&&e.eat("*")?(t.commentLevel++,t.tokenize=tokenComment,t.tokenize(e,t)):(e.backUp(1),e.match(m,!0,!1)?"number":e.match(r,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$]+(?:`?[a-zA-Z0-9\$])*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$]+(?:`?[a-zA-Z0-9\$])*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)?"variable-2":e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(c,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function tokenString(e,t){for(var a,n=!1,o=!1;null!=(a=e.next());){if('"'===a&&!o){n=!0;break}o=!o&&"\\"===a}return n&&!o&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var a,n;t.commentLevel>0&&null!=(n=e.next());)"("===a&&"*"===n&&t.commentLevel++,"*"===a&&")"===n&&t.commentLevel--,a=n;return t.commentLevel<=0&&(t.tokenize=tokenBase),"comment"}var a="[a-zA-Z\\$][a-zA-Z0-9\\$]*",n="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",o="(?:`(?:`?"+n+")?)",m=new RegExp("(?:(?:\\d+)(?:\\^\\^(?:\\.\\w+|\\w+\\.\\w*|\\w+)"+o+"?(?:\\*\\^[+-]?\\d+)?))"),r=new RegExp("(?:"+n+o+"?(?:\\*\\^[+-]?\\d+)?)"),c=new RegExp("(?:`?)(?:"+a+")(?:`(?:"+a+"))*(?:`?)");return{startState:function(){return{tokenize:tokenBase,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),e.defineMIME("text/x-mathematica",{name:"mathematica"})})}}); \ No newline at end of file +webpackJsonp([83],{980:function(e,t,a){!function(e){e(a(907))}(function(e){"use strict";e.defineMode("mathematica",function(e,t){function tokenBase(e,t){var a;return'"'===(a=e.next())?(t.tokenize=tokenString,t.tokenize(e,t)):"("===a&&e.eat("*")?(t.commentLevel++,t.tokenize=tokenComment,t.tokenize(e,t)):(e.backUp(1),e.match(m,!0,!1)?"number":e.match(r,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$]+(?:`?[a-zA-Z0-9\$])*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$]+(?:`?[a-zA-Z0-9\$])*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)?"variable-2":e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(c,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function tokenString(e,t){for(var a,n=!1,o=!1;null!=(a=e.next());){if('"'===a&&!o){n=!0;break}o=!o&&"\\"===a}return n&&!o&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var a,n;t.commentLevel>0&&null!=(n=e.next());)"("===a&&"*"===n&&t.commentLevel++,"*"===a&&")"===n&&t.commentLevel--,a=n;return t.commentLevel<=0&&(t.tokenize=tokenBase),"comment"}var a="[a-zA-Z\\$][a-zA-Z0-9\\$]*",n="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",o="(?:`(?:`?"+n+")?)",m=new RegExp("(?:(?:\\d+)(?:\\^\\^(?:\\.\\w+|\\w+\\.\\w*|\\w+)"+o+"?(?:\\*\\^[+-]?\\d+)?))"),r=new RegExp("(?:"+n+o+"?(?:\\*\\^[+-]?\\d+)?)"),c=new RegExp("(?:`?)(?:"+a+")(?:`(?:"+a+"))*(?:`?)");return{startState:function(){return{tokenize:tokenBase,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),e.defineMIME("text/x-mathematica",{name:"mathematica"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/52.80b4c01f.js b/build/codemirror/mode/52.b819e740.js similarity index 95% rename from build/codemirror/mode/52.80b4c01f.js rename to build/codemirror/mode/52.b819e740.js index c032937..7421a4d 100644 --- a/build/codemirror/mode/52.80b4c01f.js +++ b/build/codemirror/mode/52.b819e740.js @@ -1 +1 @@ -webpackJsonp([83],{982:function(e,n,r){!function(e){e(r(907))}(function(e){"use strict";function readToken(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(t))return null;if(n.inHeader=!1,n.header=null,e.match(a))return n.inHeaders=!0,n.inSeparator=!0,"atom";var r,l=!1;return(r=e.match(o))||(l=!0)&&(r=e.match(i))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=l,n.header=r[1],"atom"):n.inHeaders&&(r=e.match(d))?(n.inHeader=!0,n.emailPermitted=!0,n.header=r[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(s)?"link":e.match(c)?"atom":(e.skipToEnd(),"atom");if(n.inHeader){var f=function styleForHeader(e){return"Subject"===e?"header":"string"}(n.header);if(n.emailPermitted){if(e.match(m))return f+" link";if(e.match(u))return f}return e.skipToEnd(),f}return e.skipToEnd(),null}var n=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],r=["Date","Subject","Comments","Keywords","Resent-Date"];e.registerHelper("hintWords","mbox",n.concat(r));var t=/^[ \t]/,a=/^From /,i=new RegExp("^("+n.join("|")+"): "),o=new RegExp("^("+r.join("|")+"): "),d=/^[^:]+:/,s=/^[^ ]+@[^ ]+/,c=/^.*?(?=[^ ]+?@[^ ]+)/,m=/^<.*?>/,u=/^.*?(?=<.*>)/;e.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:readToken,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),e.defineMIME("application/mbox","mbox")})}}); \ No newline at end of file +webpackJsonp([82],{981:function(e,n,r){!function(e){e(r(907))}(function(e){"use strict";function readToken(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(t))return null;if(n.inHeader=!1,n.header=null,e.match(a))return n.inHeaders=!0,n.inSeparator=!0,"atom";var r,l=!1;return(r=e.match(o))||(l=!0)&&(r=e.match(i))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=l,n.header=r[1],"atom"):n.inHeaders&&(r=e.match(d))?(n.inHeader=!0,n.emailPermitted=!0,n.header=r[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(s)?"link":e.match(c)?"atom":(e.skipToEnd(),"atom");if(n.inHeader){var f=function styleForHeader(e){return"Subject"===e?"header":"string"}(n.header);if(n.emailPermitted){if(e.match(m))return f+" link";if(e.match(u))return f}return e.skipToEnd(),f}return e.skipToEnd(),null}var n=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],r=["Date","Subject","Comments","Keywords","Resent-Date"];e.registerHelper("hintWords","mbox",n.concat(r));var t=/^[ \t]/,a=/^From /,i=new RegExp("^("+n.join("|")+"): "),o=new RegExp("^("+r.join("|")+"): "),d=/^[^:]+:/,s=/^[^ ]+@[^ ]+/,c=/^.*?(?=[^ ]+?@[^ ]+)/,m=/^<.*?>/,u=/^.*?(?=<.*>)/;e.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:readToken,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),e.defineMIME("application/mbox","mbox")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/54.acccc963.js b/build/codemirror/mode/54.a9002ce3.js similarity index 98% rename from build/codemirror/mode/54.acccc963.js rename to build/codemirror/mode/54.a9002ce3.js index ed69f4a..6d6331c 100644 --- a/build/codemirror/mode/54.acccc963.js +++ b/build/codemirror/mode/54.a9002ce3.js @@ -1 +1 @@ -webpackJsonp([82],{983:function(e,i,$){!function(e){e($(907))}(function(e){"use strict";e.defineMIME("text/mirc","mirc"),e.defineMode("mirc",function(){function parseWords(e){for(var i={},$=e.split(" "),r=0;r<$.length;++r)i[$[r]]=!0;return i}function chain(e,i,$){return i.tokenize=$,$(e,i)}function tokenBase(t,n){var o=n.beforeParams;n.beforeParams=!1;var a=t.next();if(/[\[\]{}\(\),\.]/.test(a))return"("==a&&o?n.inParams=!0:")"==a&&(n.inParams=!1),null;if(/\d/.test(a))return t.eatWhile(/[\w\.]/),"number";if("\\"==a)return t.eat("\\"),t.eat(/./),"number";if("/"==a&&t.eat("*"))return chain(t,n,tokenComment);if(";"==a&&t.match(/ *\( *\(/))return chain(t,n,tokenUnparsed);if(";"!=a||n.inParams){if('"'==a)return t.eat(/"/),"keyword";if("$"==a)return t.eatWhile(/[$_a-z0-9A-Z\.:]/),e&&e.propertyIsEnumerable(t.current().toLowerCase())?"keyword":(n.beforeParams=!0,"builtin");if("%"==a)return t.eatWhile(/[^,\s()]/),n.beforeParams=!0,"string";if(r.test(a))return t.eatWhile(r),"operator";t.eatWhile(/[\w\$_{}]/);var s=t.current().toLowerCase();return i&&i.propertyIsEnumerable(s)?"keyword":$&&$.propertyIsEnumerable(s)?(n.beforeParams=!0,"keyword"):null}return t.skipToEnd(),"comment"}function tokenComment(e,i){for(var $,r=!1;$=e.next();){if("/"==$&&r){i.tokenize=tokenBase;break}r="*"==$}return"comment"}function tokenUnparsed(e,i){for(var $,r=0;$=e.next();){if(";"==$&&2==r){i.tokenize=tokenBase;break}")"==$?r++:" "!=$&&(r=0)}return"meta"}var e=parseWords("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),i=parseWords("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),$=parseWords("if elseif else and not or eq ne in ni for foreach while switch"),r=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)}}})})}}); \ No newline at end of file +webpackJsonp([81],{982:function(e,i,$){!function(e){e($(907))}(function(e){"use strict";e.defineMIME("text/mirc","mirc"),e.defineMode("mirc",function(){function parseWords(e){for(var i={},$=e.split(" "),r=0;r<$.length;++r)i[$[r]]=!0;return i}function chain(e,i,$){return i.tokenize=$,$(e,i)}function tokenBase(t,n){var o=n.beforeParams;n.beforeParams=!1;var a=t.next();if(/[\[\]{}\(\),\.]/.test(a))return"("==a&&o?n.inParams=!0:")"==a&&(n.inParams=!1),null;if(/\d/.test(a))return t.eatWhile(/[\w\.]/),"number";if("\\"==a)return t.eat("\\"),t.eat(/./),"number";if("/"==a&&t.eat("*"))return chain(t,n,tokenComment);if(";"==a&&t.match(/ *\( *\(/))return chain(t,n,tokenUnparsed);if(";"!=a||n.inParams){if('"'==a)return t.eat(/"/),"keyword";if("$"==a)return t.eatWhile(/[$_a-z0-9A-Z\.:]/),e&&e.propertyIsEnumerable(t.current().toLowerCase())?"keyword":(n.beforeParams=!0,"builtin");if("%"==a)return t.eatWhile(/[^,\s()]/),n.beforeParams=!0,"string";if(r.test(a))return t.eatWhile(r),"operator";t.eatWhile(/[\w\$_{}]/);var s=t.current().toLowerCase();return i&&i.propertyIsEnumerable(s)?"keyword":$&&$.propertyIsEnumerable(s)?(n.beforeParams=!0,"keyword"):null}return t.skipToEnd(),"comment"}function tokenComment(e,i){for(var $,r=!1;$=e.next();){if("/"==$&&r){i.tokenize=tokenBase;break}r="*"==$}return"comment"}function tokenUnparsed(e,i){for(var $,r=0;$=e.next();){if(";"==$&&2==r){i.tokenize=tokenBase;break}")"==$?r++:" "!=$&&(r=0)}return"meta"}var e=parseWords("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),i=parseWords("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),$=parseWords("if elseif else and not or eq ne in ni for foreach while switch"),r=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,i){return e.eatSpace()?null:i.tokenize(e,i)}}})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/55.5bdf3e9a.js b/build/codemirror/mode/55.5bdf3e9a.js new file mode 100644 index 0000000..00400c0 --- /dev/null +++ b/build/codemirror/mode/55.5bdf3e9a.js @@ -0,0 +1 @@ +webpackJsonp([80],{983:function(e,r,o){!function(e){e(o(907))}(function(e){"use strict";e.defineMode("mllike",function(e,r){function tokenBase(e,t){var n=e.next();if('"'===n)return t.tokenize=tokenString,t.tokenize(e,t);if("{"===n&&e.eat("|"))return t.longString=!0,t.tokenize=tokenLongString,t.tokenize(e,t);if("("===n&&e.eat("*"))return t.commentLevel++,t.tokenize=tokenComment,t.tokenize(e,t);if("~"===n||"?"===n)return e.eatWhile(/\w/),"variable-2";if("`"===n)return e.eatWhile(/\w/),"quote";if("/"===n&&r.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(n))return"0"===n&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),"0"===n&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),"0"===n&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(n))return"operator";if(/[\w\xa1-\uffff]/.test(n)){e.eatWhile(/[\w\xa1-\uffff]/);var i=e.current();return o.hasOwnProperty(i)?o[i]:"variable"}return null}function tokenString(e,r){for(var o,t=!1,n=!1;null!=(o=e.next());){if('"'===o&&!n){t=!0;break}n=!n&&"\\"===o}return t&&!n&&(r.tokenize=tokenBase),"string"}function tokenComment(e,r){for(var o,t;r.commentLevel>0&&null!=(t=e.next());)"("===o&&"*"===t&&r.commentLevel++,"*"===o&&")"===t&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=tokenBase),"comment"}function tokenLongString(e,r){for(var o,t;r.longString&&null!=(t=e.next());)"|"===o&&"}"===t&&(r.longString=!1),o=t;return r.longString||(r.tokenize=tokenBase),"string"}var o={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},t=r.extraWords||{};for(var n in t)t.hasOwnProperty(n)&&(o[n]=r.extraWords[n]);return{startState:function(){return{tokenize:tokenBase,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:r.slashComments?"//":null}}),e.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),e.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),e.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/55.816dd08a.js b/build/codemirror/mode/55.816dd08a.js deleted file mode 100644 index e62a1d2..0000000 --- a/build/codemirror/mode/55.816dd08a.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([81],{984:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("mllike",function(e,t){function tokenBase(e,n){var o=e.next();if('"'===o)return n.tokenize=tokenString,n.tokenize(e,n);if("("===o&&e.eat("*"))return n.commentLevel++,n.tokenize=tokenComment,n.tokenize(e,n);if("~"===o)return e.eatWhile(/\w/),"variable-2";if("`"===o)return e.eatWhile(/\w/),"quote";if("/"===o&&t.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return e.eatWhile(/[\d]/),e.eat(".")&&e.eatWhile(/[\d]/),"number";if(/[+\-*&%=<>!?|]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var i=e.current();return r.hasOwnProperty(i)?r[i]:"variable"}return null}function tokenString(e,t){for(var r,n=!1,o=!1;null!=(r=e.next());){if('"'===r&&!o){n=!0;break}o=!o&&"\\"===r}return n&&!o&&(t.tokenize=tokenBase),"string"}function tokenComment(e,t){for(var r,n;t.commentLevel>0&&null!=(n=e.next());)"("===r&&"*"===n&&t.commentLevel++,"*"===r&&")"===n&&t.commentLevel--,r=n;return t.commentLevel<=0&&(t.tokenize=tokenBase),"comment"}var r={let:"keyword",rec:"keyword",in:"keyword",of:"keyword",and:"keyword",if:"keyword",then:"keyword",else:"keyword",for:"keyword",to:"keyword",while:"keyword",do:"keyword",done:"keyword",fun:"keyword",function:"keyword",val:"keyword",type:"keyword",mutable:"keyword",match:"keyword",with:"keyword",try:"keyword",open:"builtin",ignore:"builtin",begin:"keyword",end:"keyword"},n=t.extraWords||{};for(var o in n)n.hasOwnProperty(o)&&(r[o]=t.extraWords[o]);return{startState:function(){return{tokenize:tokenBase,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:t.slashComments?"//":null}}),e.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{succ:"keyword",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",true:"atom",false:"atom",raise:"keyword"}}),e.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",as:"keyword",assert:"keyword",base:"keyword",class:"keyword",default:"keyword",delegate:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",exception:"keyword",extern:"keyword",finally:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",member:"keyword",module:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword",return:"keyword","return!":"keyword",select:"keyword",static:"keyword",struct:"keyword",upcast:"keyword",use:"keyword","use!":"keyword",val:"keyword",when:"keyword",yield:"keyword","yield!":"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",int:"builtin",string:"builtin",raise:"builtin",failwith:"builtin",not:"builtin",true:"builtin",false:"builtin"},slashComments:!0})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/56.96da3117.js b/build/codemirror/mode/56.285415aa.js similarity index 98% rename from build/codemirror/mode/56.96da3117.js rename to build/codemirror/mode/56.285415aa.js index 263c9a1..36e3dc1 100644 --- a/build/codemirror/mode/56.96da3117.js +++ b/build/codemirror/mode/56.285415aa.js @@ -1 +1 @@ -webpackJsonp([80],{985:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(" "),o=0;o<n.length;++o)t[n[o]]=!0;return t}e.defineMode("modelica",function(t,n){function tokenLineComment(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function tokenBlockComment(e,t){for(var n,o=!1;n=e.next();){if(o&&"/"==n){t.tokenize=null;break}o="*"==n}return"comment"}function tokenString(e,t){for(var n,o=!1;null!=(n=e.next());){if('"'==n&&!o){t.tokenize=null,t.sol=!1;break}o=!o&&"\\"==n}return"string"}function tokenIdent(e,t){for(e.eatWhile(u);e.eat(u)||e.eat(c););var n=e.current();return!t.sol||"package"!=n&&"model"!=n&&"when"!=n&&"connector"!=n?t.sol&&"end"==n&&t.level>0&&t.level--:t.level++,t.tokenize=null,t.sol=!1,r.propertyIsEnumerable(n)?"keyword":i.propertyIsEnumerable(n)?"builtin":a.propertyIsEnumerable(n)?"atom":"variable"}function tokenQIdent(e,t){for(;e.eat(/[^']/););return t.tokenize=null,t.sol=!1,e.eat("'")?"variable":"error"}function tokenUnsignedNuber(e,t){return e.eatWhile(u),e.eat(".")&&e.eatWhile(u),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(u)),t.tokenize=null,t.sol=!1,"number"}var o=t.indentUnit,r=n.keywords||{},i=n.builtin||{},a=n.atoms||{},l=/[;=\(:\),{}.*<>+\-\/^\[\]]/,s=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,u=/[0-9]/,c=/[_a-zA-Z]/;return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=tokenLineComment;else if("/"==n&&e.eat("*"))t.tokenize=tokenBlockComment;else{if(s.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";if(l.test(n))return t.tokenize=null,"operator";if(c.test(n))t.tokenize=tokenIdent;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=tokenQIdent;else if('"'==n)t.tokenize=tokenString;else{if(!u.test(n))return t.tokenize=null,"error";t.tokenize=tokenUnsignedNuber}}return t.tokenize(e,t)},indent:function(t,n){if(null!=t.tokenize)return e.Pass;var r=t.level;return/(algorithm)/.test(n)&&r--,/(equation)/.test(n)&&r--,/(initial algorithm)/.test(n)&&r--,/(initial equation)/.test(n)&&r--,/(end)/.test(n)&&r--,r>0?o*r:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});!function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&o.push(t)}"string"==typeof t&&(t=[t]);var o=[];add(n.keywords),add(n.builtin),add(n.atoms),o.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],o));for(var r=0;r<t.length;++r)e.defineMIME(t[r],n)}(["text/x-modelica"],{name:"modelica",keywords:words("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"),builtin:words("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"),atoms:words("Real Boolean Integer String")})})}}); \ No newline at end of file +webpackJsonp([79],{984:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function words(e){for(var t={},n=e.split(" "),o=0;o<n.length;++o)t[n[o]]=!0;return t}e.defineMode("modelica",function(t,n){function tokenLineComment(e,t){return e.skipToEnd(),t.tokenize=null,"comment"}function tokenBlockComment(e,t){for(var n,o=!1;n=e.next();){if(o&&"/"==n){t.tokenize=null;break}o="*"==n}return"comment"}function tokenString(e,t){for(var n,o=!1;null!=(n=e.next());){if('"'==n&&!o){t.tokenize=null,t.sol=!1;break}o=!o&&"\\"==n}return"string"}function tokenIdent(e,t){for(e.eatWhile(u);e.eat(u)||e.eat(c););var n=e.current();return!t.sol||"package"!=n&&"model"!=n&&"when"!=n&&"connector"!=n?t.sol&&"end"==n&&t.level>0&&t.level--:t.level++,t.tokenize=null,t.sol=!1,r.propertyIsEnumerable(n)?"keyword":i.propertyIsEnumerable(n)?"builtin":a.propertyIsEnumerable(n)?"atom":"variable"}function tokenQIdent(e,t){for(;e.eat(/[^']/););return t.tokenize=null,t.sol=!1,e.eat("'")?"variable":"error"}function tokenUnsignedNuber(e,t){return e.eatWhile(u),e.eat(".")&&e.eatWhile(u),(e.eat("e")||e.eat("E"))&&(e.eat("-")||e.eat("+"),e.eatWhile(u)),t.tokenize=null,t.sol=!1,"number"}var o=t.indentUnit,r=n.keywords||{},i=n.builtin||{},a=n.atoms||{},l=/[;=\(:\),{}.*<>+\-\/^\[\]]/,s=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,u=/[0-9]/,c=/[_a-zA-Z]/;return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(e,t){if(null!=t.tokenize)return t.tokenize(e,t);if(e.sol()&&(t.sol=!0),e.eatSpace())return t.tokenize=null,null;var n=e.next();if("/"==n&&e.eat("/"))t.tokenize=tokenLineComment;else if("/"==n&&e.eat("*"))t.tokenize=tokenBlockComment;else{if(s.test(n+e.peek()))return e.next(),t.tokenize=null,"operator";if(l.test(n))return t.tokenize=null,"operator";if(c.test(n))t.tokenize=tokenIdent;else if("'"==n&&e.peek()&&"'"!=e.peek())t.tokenize=tokenQIdent;else if('"'==n)t.tokenize=tokenString;else{if(!u.test(n))return t.tokenize=null,"error";t.tokenize=tokenUnsignedNuber}}return t.tokenize(e,t)},indent:function(t,n){if(null!=t.tokenize)return e.Pass;var r=t.level;return/(algorithm)/.test(n)&&r--,/(equation)/.test(n)&&r--,/(initial algorithm)/.test(n)&&r--,/(initial equation)/.test(n)&&r--,/(end)/.test(n)&&r--,r>0?o*r:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});!function def(t,n){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&o.push(t)}"string"==typeof t&&(t=[t]);var o=[];add(n.keywords),add(n.builtin),add(n.atoms),o.length&&(n.helperType=t[0],e.registerHelper("hintWords",t[0],o));for(var r=0;r<t.length;++r)e.defineMIME(t[r],n)}(["text/x-modelica"],{name:"modelica",keywords:words("algorithm and annotation assert block break class connect connector constant constrainedby der discrete each else elseif elsewhen encapsulated end enumeration equation expandable extends external false final flow for function if import impure in initial inner input loop model not operator or outer output package parameter partial protected public pure record redeclare replaceable return stream then true type when while within"),builtin:words("abs acos actualStream asin atan atan2 cardinality ceil cos cosh delay div edge exp floor getInstanceName homotopy inStream integer log log10 mod pre reinit rem semiLinear sign sin sinh spatialDistribution sqrt tan tanh"),atoms:words("Real Boolean Integer String")})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/57.1b11bbde.js b/build/codemirror/mode/57.ab352850.js similarity index 98% rename from build/codemirror/mode/57.1b11bbde.js rename to build/codemirror/mode/57.ab352850.js index a390c09..247765f 100644 --- a/build/codemirror/mode/57.1b11bbde.js +++ b/build/codemirror/mode/57.ab352850.js @@ -1 +1 @@ -webpackJsonp([79],{986:function(t,r,e){!function(t){t(e(907))}(function(t){"use strict";function wordRegexpBoundary(t){return new RegExp("\\b("+t.join("|")+")\\b","i")}function wordRegexp(t){return new RegExp("("+t.join("|")+")","i")}function startStateFn(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function copyStateFn(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}var r={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};t.defineMode("mscgen",function(t,e){return{startState:startStateFn,copyState:copyStateFn,token:function produceTokenFunction(t){return function(r,e){if(r.match(wordRegexp(t.brackets),!0,!0))return"bracket";if(!e.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(r.match(wordRegexp(t.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(e.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:r.skipToEnd(),"comment";if(!e.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return r.match(/[^\"]*\"/,!0,!0)?e.inString=!1:r.skipToEnd(),"string";if(t.keywords&&r.match(wordRegexpBoundary(t.keywords),!0,!0))return"keyword";if(r.match(wordRegexpBoundary(t.options),!0,!0))return"keyword";if(r.match(wordRegexpBoundary(t.arcsWords),!0,!0))return"keyword";if(r.match(wordRegexp(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&r.match(wordRegexp(t.operators),!0,!0))return"operator";if(t.constants&&r.match(wordRegexp(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&r.match(/\[/,!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(null!==t.attributes&&r.match(wordRegexpBoundary(t.attributes),!0,!0))return"attribute";if(r.match(/]/,!0,!0))return t.inAttributeList=!1,"bracket"}return r.next(),"base"}}(r[e&&e.language||"mscgen"]),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),t.defineMIME("text/x-mscgen","mscgen"),t.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),t.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"})})}}); \ No newline at end of file +webpackJsonp([78],{985:function(t,r,e){!function(t){t(e(907))}(function(t){"use strict";function wordRegexpBoundary(t){return new RegExp("\\b("+t.join("|")+")\\b","i")}function wordRegexp(t){return new RegExp("("+t.join("|")+")","i")}function startStateFn(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function copyStateFn(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}var r={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};t.defineMode("mscgen",function(t,e){return{startState:startStateFn,copyState:copyStateFn,token:function produceTokenFunction(t){return function(r,e){if(r.match(wordRegexp(t.brackets),!0,!0))return"bracket";if(!e.inComment){if(r.match(/\/\*[^\*\/]*/,!0,!0))return e.inComment=!0,"comment";if(r.match(wordRegexp(t.singlecomment),!0,!0))return r.skipToEnd(),"comment"}if(e.inComment)return r.match(/[^\*\/]*\*\//,!0,!0)?e.inComment=!1:r.skipToEnd(),"comment";if(!e.inString&&r.match(/\"(\\\"|[^\"])*/,!0,!0))return e.inString=!0,"string";if(e.inString)return r.match(/[^\"]*\"/,!0,!0)?e.inString=!1:r.skipToEnd(),"string";if(t.keywords&&r.match(wordRegexpBoundary(t.keywords),!0,!0))return"keyword";if(r.match(wordRegexpBoundary(t.options),!0,!0))return"keyword";if(r.match(wordRegexpBoundary(t.arcsWords),!0,!0))return"keyword";if(r.match(wordRegexp(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&r.match(wordRegexp(t.operators),!0,!0))return"operator";if(t.constants&&r.match(wordRegexp(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&r.match(/\[/,!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(null!==t.attributes&&r.match(wordRegexpBoundary(t.attributes),!0,!0))return"attribute";if(r.match(/]/,!0,!0))return t.inAttributeList=!1,"bracket"}return r.next(),"base"}}(r[e&&e.language||"mscgen"]),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),t.defineMIME("text/x-mscgen","mscgen"),t.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),t.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/58.6174768c.js b/build/codemirror/mode/58.38fd96a1.js similarity index 97% rename from build/codemirror/mode/58.6174768c.js rename to build/codemirror/mode/58.38fd96a1.js index be2e002..64fe73f 100644 --- a/build/codemirror/mode/58.6174768c.js +++ b/build/codemirror/mode/58.38fd96a1.js @@ -1 +1 @@ -webpackJsonp([78],{987:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("mumps",function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var e=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),t=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),n=new RegExp("^[\\.,:]"),o=new RegExp("[()]"),$=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),a=wordRegexp(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),r=wordRegexp(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);return{startState:function(){return{label:!1,commandMode:0}},token:function(c,i){var m=function tokenBase(c,i){c.sol()&&(i.label=!0,i.commandMode=0);var m=c.peek();return" "==m||"\t"==m?(i.label=!1,0==i.commandMode?i.commandMode=1:(i.commandMode<0||2==i.commandMode)&&(i.commandMode=0)):"."!=m&&i.commandMode>0&&(i.commandMode=":"==m?-1:2),"("!==m&&"\t"!==m||(i.label=!1),";"===m?(c.skipToEnd(),"comment"):c.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==m?c.skipTo('"')?(c.next(),"string"):(c.skipToEnd(),"error"):c.match(t)||c.match(e)?"operator":c.match(n)?null:o.test(m)?(c.next(),"bracket"):i.commandMode>0&&c.match(r)?"variable-2":c.match(a)?"builtin":c.match($)?"variable":"$"===m||"^"===m?(c.next(),"builtin"):"@"===m?(c.next(),"string-2"):/[\w%]/.test(m)?(c.eatWhile(/[\w%]/),"variable"):(c.next(),"error")}(c,i);return i.label?"tag":m}}}),e.defineMIME("text/x-mumps","mumps")})}}); \ No newline at end of file +webpackJsonp([77],{986:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("mumps",function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var e=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),t=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),n=new RegExp("^[\\.,:]"),o=new RegExp("[()]"),$=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),a=wordRegexp(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),r=wordRegexp(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);return{startState:function(){return{label:!1,commandMode:0}},token:function(c,i){var m=function tokenBase(c,i){c.sol()&&(i.label=!0,i.commandMode=0);var m=c.peek();return" "==m||"\t"==m?(i.label=!1,0==i.commandMode?i.commandMode=1:(i.commandMode<0||2==i.commandMode)&&(i.commandMode=0)):"."!=m&&i.commandMode>0&&(i.commandMode=":"==m?-1:2),"("!==m&&"\t"!==m||(i.label=!1),";"===m?(c.skipToEnd(),"comment"):c.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==m?c.skipTo('"')?(c.next(),"string"):(c.skipToEnd(),"error"):c.match(t)||c.match(e)?"operator":c.match(n)?null:o.test(m)?(c.next(),"bracket"):i.commandMode>0&&c.match(r)?"variable-2":c.match(a)?"builtin":c.match($)?"variable":"$"===m||"^"===m?(c.next(),"builtin"):"@"===m?(c.next(),"string-2"):/[\w%]/.test(m)?(c.eatWhile(/[\w%]/),"variable"):(c.next(),"error")}(c,i);return i.label?"tag":m}}}),e.defineMIME("text/x-mumps","mumps")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/59.10fb445b.js b/build/codemirror/mode/59.1ce8993e.js similarity index 99% rename from build/codemirror/mode/59.10fb445b.js rename to build/codemirror/mode/59.1ce8993e.js index 597189c..819016c 100644 --- a/build/codemirror/mode/59.10fb445b.js +++ b/build/codemirror/mode/59.1ce8993e.js @@ -1 +1 @@ -webpackJsonp([77],{988:function(e,_,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("nginx",function(e){function words(e){for(var _={},t=e.split(" "),r=0;r<t.length;++r)_[t[r]]=!0;return _}function ret(e,t){return _=t,e}function tokenBase(e,_){e.eatWhile(/[\w\$_]/);var s=e.current();if(t.propertyIsEnumerable(s))return"keyword";if(r.propertyIsEnumerable(s))return"variable-2";if(i.propertyIsEnumerable(s))return"string-2";var a=e.next();return"@"==a?(e.eatWhile(/[\w\\\-]/),ret("meta",e.current())):"/"==a&&e.eat("*")?(_.tokenize=tokenCComment,tokenCComment(e,_)):"<"==a&&e.eat("!")?(_.tokenize=tokenSGMLComment,tokenSGMLComment(e,_)):"="!=a?"~"!=a&&"|"!=a||!e.eat("=")?'"'==a||"'"==a?(_.tokenize=function tokenString(e){return function(_,t){for(var r,i=!1;null!=(r=_.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(t.tokenize=tokenBase),ret("string","string")}}(a),_.tokenize(e,_)):"#"==a?(e.skipToEnd(),ret("comment","comment")):"!"==a?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(a)?(e.eatWhile(/[\w.%]/),ret("number","unit")):/[,.+>*\/]/.test(a)?ret(null,"select-op"):/[;{}:\[\]]/.test(a)?ret(null,a):(e.eatWhile(/[\w\\\-]/),ret("variable","variable")):ret(null,"compare"):void ret(null,"compare")}function tokenCComment(e,_){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){_.tokenize=tokenBase;break}r="*"==t}return ret("comment","comment")}function tokenSGMLComment(e,_){for(var t,r=0;null!=(t=e.next());){if(r>=2&&">"==t){_.tokenize=tokenBase;break}r="-"==t?r+1:0}return ret("comment","comment")}var _,t=words("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),r=words("http mail events server types location upstream charset_map limit_except if geo map"),i=words("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),s=e.indentUnit;return{startState:function(e){return{tokenize:tokenBase,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;_=null;var r=t.tokenize(e,t),i=t.stack[t.stack.length-1];return"hash"==_&&"rule"==i?r="atom":"variable"==r&&("rule"==i?r="number":i&&"@media{"!=i||(r="tag")),"rule"==i&&/^[\{\};]$/.test(_)&&t.stack.pop(),"{"==_?"@media"==i?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==_?t.stack.pop():"@media"==_?t.stack.push("@media"):"{"==i&&"comment"!=_&&t.stack.push("rule"),r},indent:function(e,_){var t=e.stack.length;return/^\}/.test(_)&&(t-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+t*s},electricChars:"}"}}),e.defineMIME("text/x-nginx-conf","nginx")})}}); \ No newline at end of file +webpackJsonp([76],{987:function(e,_,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("nginx",function(e){function words(e){for(var _={},t=e.split(" "),r=0;r<t.length;++r)_[t[r]]=!0;return _}function ret(e,t){return _=t,e}function tokenBase(e,_){e.eatWhile(/[\w\$_]/);var s=e.current();if(t.propertyIsEnumerable(s))return"keyword";if(r.propertyIsEnumerable(s))return"variable-2";if(i.propertyIsEnumerable(s))return"string-2";var a=e.next();return"@"==a?(e.eatWhile(/[\w\\\-]/),ret("meta",e.current())):"/"==a&&e.eat("*")?(_.tokenize=tokenCComment,tokenCComment(e,_)):"<"==a&&e.eat("!")?(_.tokenize=tokenSGMLComment,tokenSGMLComment(e,_)):"="!=a?"~"!=a&&"|"!=a||!e.eat("=")?'"'==a||"'"==a?(_.tokenize=function tokenString(e){return function(_,t){for(var r,i=!1;null!=(r=_.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(t.tokenize=tokenBase),ret("string","string")}}(a),_.tokenize(e,_)):"#"==a?(e.skipToEnd(),ret("comment","comment")):"!"==a?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(a)?(e.eatWhile(/[\w.%]/),ret("number","unit")):/[,.+>*\/]/.test(a)?ret(null,"select-op"):/[;{}:\[\]]/.test(a)?ret(null,a):(e.eatWhile(/[\w\\\-]/),ret("variable","variable")):ret(null,"compare"):void ret(null,"compare")}function tokenCComment(e,_){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){_.tokenize=tokenBase;break}r="*"==t}return ret("comment","comment")}function tokenSGMLComment(e,_){for(var t,r=0;null!=(t=e.next());){if(r>=2&&">"==t){_.tokenize=tokenBase;break}r="-"==t?r+1:0}return ret("comment","comment")}var _,t=words("break return rewrite set accept_mutex accept_mutex_delay access_log add_after_body add_before_body add_header addition_types aio alias allow ancient_browser ancient_browser_value auth_basic auth_basic_user_file auth_http auth_http_header auth_http_timeout autoindex autoindex_exact_size autoindex_localtime charset charset_types client_body_buffer_size client_body_in_file_only client_body_in_single_buffer client_body_temp_path client_body_timeout client_header_buffer_size client_header_timeout client_max_body_size connection_pool_size create_full_put_path daemon dav_access dav_methods debug_connection debug_points default_type degradation degrade deny devpoll_changes devpoll_events directio directio_alignment empty_gif env epoll_events error_log eventport_events expires fastcgi_bind fastcgi_buffer_size fastcgi_buffers fastcgi_busy_buffers_size fastcgi_cache fastcgi_cache_key fastcgi_cache_methods fastcgi_cache_min_uses fastcgi_cache_path fastcgi_cache_use_stale fastcgi_cache_valid fastcgi_catch_stderr fastcgi_connect_timeout fastcgi_hide_header fastcgi_ignore_client_abort fastcgi_ignore_headers fastcgi_index fastcgi_intercept_errors fastcgi_max_temp_file_size fastcgi_next_upstream fastcgi_param fastcgi_pass_header fastcgi_pass_request_body fastcgi_pass_request_headers fastcgi_read_timeout fastcgi_send_lowat fastcgi_send_timeout fastcgi_split_path_info fastcgi_store fastcgi_store_access fastcgi_temp_file_write_size fastcgi_temp_path fastcgi_upstream_fail_timeout fastcgi_upstream_max_fails flv geoip_city geoip_country google_perftools_profiles gzip gzip_buffers gzip_comp_level gzip_disable gzip_hash gzip_http_version gzip_min_length gzip_no_buffer gzip_proxied gzip_static gzip_types gzip_vary gzip_window if_modified_since ignore_invalid_headers image_filter image_filter_buffer image_filter_jpeg_quality image_filter_transparency imap_auth imap_capabilities imap_client_buffer index ip_hash keepalive_requests keepalive_timeout kqueue_changes kqueue_events large_client_header_buffers limit_conn limit_conn_log_level limit_rate limit_rate_after limit_req limit_req_log_level limit_req_zone limit_zone lingering_time lingering_timeout lock_file log_format log_not_found log_subrequest map_hash_bucket_size map_hash_max_size master_process memcached_bind memcached_buffer_size memcached_connect_timeout memcached_next_upstream memcached_read_timeout memcached_send_timeout memcached_upstream_fail_timeout memcached_upstream_max_fails merge_slashes min_delete_depth modern_browser modern_browser_value msie_padding msie_refresh multi_accept open_file_cache open_file_cache_errors open_file_cache_events open_file_cache_min_uses open_file_cache_valid open_log_file_cache output_buffers override_charset perl perl_modules perl_require perl_set pid pop3_auth pop3_capabilities port_in_redirect postpone_gzipping postpone_output protocol proxy proxy_bind proxy_buffer proxy_buffer_size proxy_buffering proxy_buffers proxy_busy_buffers_size proxy_cache proxy_cache_key proxy_cache_methods proxy_cache_min_uses proxy_cache_path proxy_cache_use_stale proxy_cache_valid proxy_connect_timeout proxy_headers_hash_bucket_size proxy_headers_hash_max_size proxy_hide_header proxy_ignore_client_abort proxy_ignore_headers proxy_intercept_errors proxy_max_temp_file_size proxy_method proxy_next_upstream proxy_pass_error_message proxy_pass_header proxy_pass_request_body proxy_pass_request_headers proxy_read_timeout proxy_redirect proxy_send_lowat proxy_send_timeout proxy_set_body proxy_set_header proxy_ssl_session_reuse proxy_store proxy_store_access proxy_temp_file_write_size proxy_temp_path proxy_timeout proxy_upstream_fail_timeout proxy_upstream_max_fails random_index read_ahead real_ip_header recursive_error_pages request_pool_size reset_timedout_connection resolver resolver_timeout rewrite_log rtsig_overflow_events rtsig_overflow_test rtsig_overflow_threshold rtsig_signo satisfy secure_link_secret send_lowat send_timeout sendfile sendfile_max_chunk server_name_in_redirect server_names_hash_bucket_size server_names_hash_max_size server_tokens set_real_ip_from smtp_auth smtp_capabilities smtp_client_buffer smtp_greeting_delay so_keepalive source_charset ssi ssi_ignore_recycled_buffers ssi_min_file_chunk ssi_silent_errors ssi_types ssi_value_length ssl ssl_certificate ssl_certificate_key ssl_ciphers ssl_client_certificate ssl_crl ssl_dhparam ssl_engine ssl_prefer_server_ciphers ssl_protocols ssl_session_cache ssl_session_timeout ssl_verify_client ssl_verify_depth starttls stub_status sub_filter sub_filter_once sub_filter_types tcp_nodelay tcp_nopush thread_stack_size timeout timer_resolution types_hash_bucket_size types_hash_max_size underscores_in_headers uninitialized_variable_warn use user userid userid_domain userid_expires userid_mark userid_name userid_p3p userid_path userid_service valid_referers variables_hash_bucket_size variables_hash_max_size worker_connections worker_cpu_affinity worker_priority worker_processes worker_rlimit_core worker_rlimit_nofile worker_rlimit_sigpending worker_threads working_directory xclient xml_entities xslt_stylesheet xslt_typesdrew@li229-23"),r=words("http mail events server types location upstream charset_map limit_except if geo map"),i=words("include root server server_name listen internal proxy_pass memcached_pass fastcgi_pass try_files"),s=e.indentUnit;return{startState:function(e){return{tokenize:tokenBase,baseIndent:e||0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;_=null;var r=t.tokenize(e,t),i=t.stack[t.stack.length-1];return"hash"==_&&"rule"==i?r="atom":"variable"==r&&("rule"==i?r="number":i&&"@media{"!=i||(r="tag")),"rule"==i&&/^[\{\};]$/.test(_)&&t.stack.pop(),"{"==_?"@media"==i?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):"}"==_?t.stack.pop():"@media"==_?t.stack.push("@media"):"{"==i&&"comment"!=_&&t.stack.push("rule"),r},indent:function(e,_){var t=e.stack.length;return/^\}/.test(_)&&(t-="rule"==e.stack[e.stack.length-1]?2:1),e.baseIndent+t*s},electricChars:"}"}}),e.defineMIME("text/x-nginx-conf","nginx")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/6.e89f8f3b.js b/build/codemirror/mode/6.b31d8e76.js similarity index 99% rename from build/codemirror/mode/6.e89f8f3b.js rename to build/codemirror/mode/6.b31d8e76.js index d27fb2e..3e99d81 100644 --- a/build/codemirror/mode/6.e89f8f3b.js +++ b/build/codemirror/mode/6.b31d8e76.js @@ -1 +1 @@ -webpackJsonp([117],{943:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("clojure",function(e){function makeKeywords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function pushStack(e,t,n){e.indentStack=new function stateStack(e,t,n){this.indent=e,this.type=t,this.prev=n}(t,n,e.indentStack)}var t=e.indentUnit||2,n=e.indentUnit||2,r=makeKeywords("true false nil"),a=makeKeywords("defn defn- def def- defonce defmulti defmethod defmacro defstruct deftype defprotocol defrecord defproject deftest slice defalias defhinted defmacro- defn-memo defnk defnk defonce- defunbound defunbound- defvar defvar- let letfn do case cond condp for loop recur when when-not when-let when-first if if-let if-not . .. -> ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle"),o=makeKeywords("* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cat cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement completing concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare dedupe default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while eduction empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth random-sample range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transduce transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? volatile! volatile? vreset! vswap! when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>"),i=makeKeywords("ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch let letfn binding loop for doseq dotimes when-let if-let defstruct struct-map assoc testing deftest handler-case handle dotrace deftrace"),s={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+!\-\._?:<>\/\xa1-\uffff]/,block_indent:/^(?:def|with)[^\/]+$|\/(?:def|with)/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,d){if(null==d.indentStack&&e.sol()&&(d.indentation=e.indentation()),"string"!=d.mode&&e.eatSpace())return null;var c=null;switch(d.mode){case"string":for(var l,u=!1;null!=(l=e.next());){if('"'==l&&!u){d.mode=!1;break}u=!u&&"\\"==l}c="string";break;default:var p=e.next();if('"'==p)d.mode="string",c="string";else if("\\"==p)!function eatCharacter(e){var t=e.next();t&&t.match(/[a-z]/)&&e.match(/[a-z]+/,!0)||"u"===t&&e.match(/[0-9a-z]{4}/i,!0)}(e),c="string-2";else if("'"!=p||s.digit_or_colon.test(e.peek()))if(";"==p)e.skipToEnd(),c="comment";else if(function isNumber(e,t){return"0"===e&&t.eat(/x/i)?(t.eatWhile(s.hex),!0):("+"!=e&&"-"!=e||!s.digit.test(t.peek())||(t.eat(s.sign),e=t.next()),!!s.digit.test(e)&&(t.eat(e),t.eatWhile(s.digit),"."==t.peek()?(t.eat("."),t.eatWhile(s.digit)):"/"==t.peek()&&(t.eat("/"),t.eatWhile(s.digit)),t.eat(s.exponent)&&(t.eat(s.sign),t.eatWhile(s.digit)),!0))}(p,e))c="number";else if("("==p||"["==p||"{"==p){var f,h="",m=e.column();if("("==p)for(;null!=(f=e.eat(s.keyword_char));)h+=f;h.length>0&&(i.propertyIsEnumerable(h)||s.block_indent.test(h))?pushStack(d,m+t,p):(e.eatSpace(),e.eol()||";"==e.peek()?pushStack(d,m+n,p):pushStack(d,m+e.current().length,p)),e.backUp(e.current().length-1),c="bracket"}else if(")"==p||"]"==p||"}"==p)c="bracket",null!=d.indentStack&&d.indentStack.type==(")"==p?"(":"]"==p?"[":"{")&&function popStack(e){e.indentStack=e.indentStack.prev}(d);else{if(":"==p)return e.eatWhile(s.symbol),"atom";e.eatWhile(s.symbol),c=a&&a.propertyIsEnumerable(e.current())?"keyword":o&&o.propertyIsEnumerable(e.current())?"builtin":r&&r.propertyIsEnumerable(e.current())?"atom":"variable"}else c="atom"}return c},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-clojure","clojure"),e.defineMIME("text/x-clojurescript","clojure"),e.defineMIME("application/edn","clojure")})}}); \ No newline at end of file +webpackJsonp([116],{943:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("clojure",function(e){function makeKeywords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function pushStack(e,t,n){e.indentStack=new function stateStack(e,t,n){this.indent=e,this.type=t,this.prev=n}(t,n,e.indentStack)}var t=e.indentUnit||2,n=e.indentUnit||2,r=makeKeywords("true false nil"),a=makeKeywords("defn defn- def def- defonce defmulti defmethod defmacro defstruct deftype defprotocol defrecord defproject deftest slice defalias defhinted defmacro- defn-memo defnk defnk defonce- defunbound defunbound- defvar defvar- let letfn do case cond condp for loop recur when when-not when-let when-first if if-let if-not . .. -> ->> doto and or dosync doseq dotimes dorun doall load import unimport ns in-ns refer try catch finally throw with-open with-local-vars binding gen-class gen-and-load-class gen-and-save-class handler-case handle"),o=makeKeywords("* *' *1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *compiler-options* *data-readers* *e *err* *file* *flush-on-newline* *fn-loader* *in* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *source-path* *unchecked-math* *use-context-classloader* *verbose-defrecords* *warn-on-reflection* + +' - -' -> ->> ->ArrayChunk ->Vec ->VecNode ->VecSeq -cache-protocol-fn -reset-methods .. / < <= = == > >= EMPTY-NODE accessor aclone add-classpath add-watch agent agent-error agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and apply areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assoc assoc! assoc-in associative? atom await await-for await1 bases bean bigdec bigint biginteger binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* bound? butlast byte byte-array bytes case cat cast char char-array char-escape-string char-name-string char? chars chunk chunk-append chunk-buffer chunk-cons chunk-first chunk-next chunk-rest chunked-seq? class class? clear-agent-errors clojure-version coll? comment commute comp comparator compare compare-and-set! compile complement completing concat cond condp conj conj! cons constantly construct-proxy contains? count counted? create-ns create-struct cycle dec dec' decimal? declare dedupe default-data-readers definline definterface defmacro defmethod defmulti defn defn- defonce defprotocol defrecord defstruct deftype delay delay? deliver denominator deref derive descendants destructure disj disj! dissoc dissoc! distinct distinct? doall dorun doseq dosync dotimes doto double double-array doubles drop drop-last drop-while eduction empty empty? ensure enumeration-seq error-handler error-mode eval even? every-pred every? ex-data ex-info extend extend-protocol extend-type extenders extends? false? ffirst file-seq filter filterv find find-keyword find-ns find-protocol-impl find-protocol-method find-var first flatten float float-array float? floats flush fn fn? fnext fnil for force format frequencies future future-call future-cancel future-cancelled? future-done? future? gen-class gen-interface gensym get get-in get-method get-proxy-class get-thread-bindings get-validator group-by hash hash-combine hash-map hash-set identical? identity if-let if-not ifn? import in-ns inc inc' init-proxy instance? int int-array integer? interleave intern interpose into into-array ints io! isa? iterate iterator-seq juxt keep keep-indexed key keys keyword keyword? last lazy-cat lazy-seq let letfn line-seq list list* list? load load-file load-reader load-string loaded-libs locking long long-array longs loop macroexpand macroexpand-1 make-array make-hierarchy map map-indexed map? mapcat mapv max max-key memfn memoize merge merge-with meta method-sig methods min min-key mod munge name namespace namespace-munge neg? newline next nfirst nil? nnext not not-any? not-empty not-every? not= ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext nthrest num number? numerator object-array odd? or parents partial partition partition-all partition-by pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? pr pr-str prefer-method prefers primitives-classnames print print-ctor print-dup print-method print-simple print-str printf println println-str prn prn-str promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super push-thread-bindings pvalues quot rand rand-int rand-nth random-sample range ratio? rational? rationalize re-find re-groups re-matcher re-matches re-pattern re-seq read read-line read-string realized? reduce reduce-kv reductions ref ref-history-count ref-max-history ref-min-history ref-set refer refer-clojure reify release-pending-sends rem remove remove-all-methods remove-method remove-ns remove-watch repeat repeatedly replace replicate require reset! reset-meta! resolve rest restart-agent resultset-seq reverse reversible? rseq rsubseq satisfies? second select-keys send send-off seq seq? seque sequence sequential? set set-error-handler! set-error-mode! set-validator! set? short short-array shorts shuffle shutdown-agents slurp some some-fn sort sort-by sorted-map sorted-map-by sorted-set sorted-set-by sorted? special-symbol? spit split-at split-with str string? struct struct-map subs subseq subvec supers swap! symbol symbol? sync take take-last take-nth take-while test the-ns thread-bound? time to-array to-array-2d trampoline transduce transient tree-seq true? type unchecked-add unchecked-add-int unchecked-byte unchecked-char unchecked-dec unchecked-dec-int unchecked-divide-int unchecked-double unchecked-float unchecked-inc unchecked-inc-int unchecked-int unchecked-long unchecked-multiply unchecked-multiply-int unchecked-negate unchecked-negate-int unchecked-remainder-int unchecked-short unchecked-subtract unchecked-subtract-int underive unquote unquote-splicing update update-in update-proxy use val vals var-get var-set var? vary-meta vec vector vector-of vector? volatile! volatile? vreset! vswap! when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-redefs with-redefs-fn xml-seq zero? zipmap *default-data-reader-fn* as-> cond-> cond->> reduced reduced? send-via set-agent-send-executor! set-agent-send-off-executor! some-> some->>"),i=makeKeywords("ns fn def defn defmethod bound-fn if if-not case condp when while when-not when-first do future comment doto locking proxy with-open with-precision reify deftype defrecord defprotocol extend extend-protocol extend-type try catch let letfn binding loop for doseq dotimes when-let if-let defstruct struct-map assoc testing deftest handler-case handle dotrace deftrace"),s={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+!\-\._?:<>\/\xa1-\uffff]/,block_indent:/^(?:def|with)[^\/]+$|\/(?:def|with)/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(e,d){if(null==d.indentStack&&e.sol()&&(d.indentation=e.indentation()),"string"!=d.mode&&e.eatSpace())return null;var c=null;switch(d.mode){case"string":for(var l,u=!1;null!=(l=e.next());){if('"'==l&&!u){d.mode=!1;break}u=!u&&"\\"==l}c="string";break;default:var p=e.next();if('"'==p)d.mode="string",c="string";else if("\\"==p)!function eatCharacter(e){var t=e.next();t&&t.match(/[a-z]/)&&e.match(/[a-z]+/,!0)||"u"===t&&e.match(/[0-9a-z]{4}/i,!0)}(e),c="string-2";else if("'"!=p||s.digit_or_colon.test(e.peek()))if(";"==p)e.skipToEnd(),c="comment";else if(function isNumber(e,t){return"0"===e&&t.eat(/x/i)?(t.eatWhile(s.hex),!0):("+"!=e&&"-"!=e||!s.digit.test(t.peek())||(t.eat(s.sign),e=t.next()),!!s.digit.test(e)&&(t.eat(e),t.eatWhile(s.digit),"."==t.peek()?(t.eat("."),t.eatWhile(s.digit)):"/"==t.peek()&&(t.eat("/"),t.eatWhile(s.digit)),t.eat(s.exponent)&&(t.eat(s.sign),t.eatWhile(s.digit)),!0))}(p,e))c="number";else if("("==p||"["==p||"{"==p){var f,h="",m=e.column();if("("==p)for(;null!=(f=e.eat(s.keyword_char));)h+=f;h.length>0&&(i.propertyIsEnumerable(h)||s.block_indent.test(h))?pushStack(d,m+t,p):(e.eatSpace(),e.eol()||";"==e.peek()?pushStack(d,m+n,p):pushStack(d,m+e.current().length,p)),e.backUp(e.current().length-1),c="bracket"}else if(")"==p||"]"==p||"}"==p)c="bracket",null!=d.indentStack&&d.indentStack.type==(")"==p?"(":"]"==p?"[":"{")&&function popStack(e){e.indentStack=e.indentStack.prev}(d);else{if(":"==p)return e.eatWhile(s.symbol),"atom";e.eatWhile(s.symbol),c=a&&a.propertyIsEnumerable(e.current())?"keyword":o&&o.propertyIsEnumerable(e.current())?"builtin":r&&r.propertyIsEnumerable(e.current())?"atom":"variable"}else c="atom"}return c},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-clojure","clojure"),e.defineMIME("text/x-clojurescript","clojure"),e.defineMIME("application/edn","clojure")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/60.021e0fd8.js b/build/codemirror/mode/60.e18f6a82.js similarity index 98% rename from build/codemirror/mode/60.021e0fd8.js rename to build/codemirror/mode/60.e18f6a82.js index c514b5c..d0e8d40 100644 --- a/build/codemirror/mode/60.021e0fd8.js +++ b/build/codemirror/mode/60.e18f6a82.js @@ -1 +1 @@ -webpackJsonp([25],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(i,o){if(o.pending){var r=o.pending.shift();return 0==o.pending.length&&(o.pending=null),i.pos+=r.text.length,r.token}if(o.local){if(o.local.end&&i.match(o.local.end)){var a=o.local.endToken||null;return o.local=o.localState=null,a}var l;a=o.local.mode.token(i,o.localState);return o.local.endScan&&(l=o.local.endScan.exec(i.current()))&&(i.pos=i.start+l.index),a}for(var s=t[o.state],d=0;d<s.length;d++){var c=s[d],S=(!c.data.sol||i.sol())&&i.match(c.regex);if(S){c.data.next?o.state=c.data.next:c.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=c.data.push):c.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),c.data.mode&&function enterLocalMode(t,n,i,o){var r;if(i.persistent)for(var a=n.persistentStates;a&&!r;a=a.next)(i.spec?cmp(i.spec,a.spec):i.mode==a.mode)&&(r=a);var l=r?r.mode:i.mode||e.getMode(t,i.spec),s=r?r.state:e.startState(l);i.persistent&&!r&&(n.persistentStates={mode:l,spec:i.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:i.end&&toRegex(i.end),endScan:i.end&&!1!==i.forceEnd&&toRegex(i.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,c.data.mode,c.token),c.data.indent&&o.indent.push(i.indentation()+n.indentUnit),c.data.dedent&&o.indent.pop();var u=c.token;if(u&&u.apply&&(u=u(S)),S.length>2&&c.token&&"string"!=typeof c.token){o.pending=[];for(var p=2;p<S.length;p++)S[p]&&o.pending.push({text:S[p],token:c.token[p-1]});return i.backUp(S[0].length-(S[1]?S[1].length:0)),u[0]}return u&&u.join?u[0]:u}}return i.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var i in e)if(e.hasOwnProperty(i)){if(!t.hasOwnProperty(i)||!cmp(e[i],t[i]))return!1;n++}for(var i in t)t.hasOwnProperty(i)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var i={},o=n.meta||{},r=!1;for(var a in n)if(a!=o&&n.hasOwnProperty(a))for(var l=i[a]=[],s=n[a],d=0;d<s.length;d++){var c=s[d];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(c,n)),(c.indent||c.dedent)&&(r=!0)}var S={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:r?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var i=t.persistentStates;i;i=i.next)n.persistentStates={mode:i.mode,spec:i.spec,state:i.state==t.localState?n.localState:e.copyState(i.mode,i.state),next:n.persistentStates};return n},token:tokenFunction(i,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(i,o,r){if(i.local&&i.local.mode.indent)return i.local.mode.indent(i.localState,o,r);if(null==i.indent||i.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(i.state,n.dontIndentStates)>-1)return e.Pass;var a=i.indent.length-1,l=t[i.state];e:for(;;){for(var s=0;s<l.length;s++){var d=l[s];if(d.data.dedent&&!1!==d.data.dedentIfLineStart){var c=d.regex.exec(o);if(c&&c[0]){a--,(d.next||d.push)&&(l=t[d.next||d.push]),o=o.slice(c[0].length);continue e}}}break}return a<0?0:i.indent[a]}}(i,o)};if(o)for(var u in o)o.hasOwnProperty(u)&&(S[u]=o[u]);return S}})},989:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|pragma|finalize|getdllversion|system|tempfile|warning|verbose|define|undef|insertmacro|makensis|searchparse|searchreplace))\b/,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|IntCmp|IntCmpU|IntFmt|IntOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,token:"atom"},{regex:/\b(?:admin|all|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|zlib)\b/,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w+/,token:"variable"},{regex:/\${[\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})}}); \ No newline at end of file +webpackJsonp([24],{912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(i,o){if(o.pending){var r=o.pending.shift();return 0==o.pending.length&&(o.pending=null),i.pos+=r.text.length,r.token}if(o.local){if(o.local.end&&i.match(o.local.end)){var a=o.local.endToken||null;return o.local=o.localState=null,a}var l;a=o.local.mode.token(i,o.localState);return o.local.endScan&&(l=o.local.endScan.exec(i.current()))&&(i.pos=i.start+l.index),a}for(var s=t[o.state],d=0;d<s.length;d++){var c=s[d],S=(!c.data.sol||i.sol())&&i.match(c.regex);if(S){c.data.next?o.state=c.data.next:c.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=c.data.push):c.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),c.data.mode&&function enterLocalMode(t,n,i,o){var r;if(i.persistent)for(var a=n.persistentStates;a&&!r;a=a.next)(i.spec?cmp(i.spec,a.spec):i.mode==a.mode)&&(r=a);var l=r?r.mode:i.mode||e.getMode(t,i.spec),s=r?r.state:e.startState(l);i.persistent&&!r&&(n.persistentStates={mode:l,spec:i.spec,state:s,next:n.persistentStates});n.localState=s,n.local={mode:l,end:i.end&&toRegex(i.end),endScan:i.end&&!1!==i.forceEnd&&toRegex(i.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,c.data.mode,c.token),c.data.indent&&o.indent.push(i.indentation()+n.indentUnit),c.data.dedent&&o.indent.pop();var u=c.token;if(u&&u.apply&&(u=u(S)),S.length>2&&c.token&&"string"!=typeof c.token){o.pending=[];for(var p=2;p<S.length;p++)S[p]&&o.pending.push({text:S[p],token:c.token[p-1]});return i.backUp(S[0].length-(S[1]?S[1].length:0)),u[0]}return u&&u.join?u[0]:u}}return i.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var i in e)if(e.hasOwnProperty(i)){if(!t.hasOwnProperty(i)||!cmp(e[i],t[i]))return!1;n++}for(var i in t)t.hasOwnProperty(i)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var i={},o=n.meta||{},r=!1;for(var a in n)if(a!=o&&n.hasOwnProperty(a))for(var l=i[a]=[],s=n[a],d=0;d<s.length;d++){var c=s[d];l.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(c,n)),(c.indent||c.dedent)&&(r=!0)}var S={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:r?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var i=t.persistentStates;i;i=i.next)n.persistentStates={mode:i.mode,spec:i.spec,state:i.state==t.localState?n.localState:e.copyState(i.mode,i.state),next:n.persistentStates};return n},token:tokenFunction(i,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(i,o,r){if(i.local&&i.local.mode.indent)return i.local.mode.indent(i.localState,o,r);if(null==i.indent||i.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(i.state,n.dontIndentStates)>-1)return e.Pass;var a=i.indent.length-1,l=t[i.state];e:for(;;){for(var s=0;s<l.length;s++){var d=l[s];if(d.data.dedent&&!1!==d.data.dedentIfLineStart){var c=d.regex.exec(o);if(c&&c[0]){a--,(d.next||d.push)&&(l=t[d.next||d.push]),o=o.slice(c[0].length);continue e}}}break}return a<0?0:i.indent[a]}}(i,o)};if(o)for(var u in o)o.hasOwnProperty(u)&&(S[u]=o[u]);return S}})},988:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|pragma|finalize|getdllversion|system|tempfile|warning|verbose|define|undef|insertmacro|makensis|searchparse|searchreplace))\b/,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|IntCmp|IntCmpU|IntFmt|IntOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,token:"atom"},{regex:/\b(?:admin|all|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|zlib)\b/,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w+/,token:"variable"},{regex:/\${[\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/61.d94cb4c3.js b/build/codemirror/mode/61.0633ad66.js similarity index 97% rename from build/codemirror/mode/61.d94cb4c3.js rename to build/codemirror/mode/61.0633ad66.js index 430a7c1..187fdfa 100644 --- a/build/codemirror/mode/61.d94cb4c3.js +++ b/build/codemirror/mode/61.0633ad66.js @@ -1 +1 @@ -webpackJsonp([76],{990:function(t,n,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("ntriples",function(){function transitState(n,e){var _,I=n.location;_=I==t.PRE_SUBJECT&&"<"==e?t.WRITING_SUB_URI:I==t.PRE_SUBJECT&&"_"==e?t.WRITING_BNODE_URI:I==t.PRE_PRED&&"<"==e?t.WRITING_PRED_URI:I==t.PRE_OBJ&&"<"==e?t.WRITING_OBJ_URI:I==t.PRE_OBJ&&"_"==e?t.WRITING_OBJ_BNODE:I==t.PRE_OBJ&&'"'==e?t.WRITING_OBJ_LITERAL:I==t.WRITING_SUB_URI&&">"==e?t.PRE_PRED:I==t.WRITING_BNODE_URI&&" "==e?t.PRE_PRED:I==t.WRITING_PRED_URI&&">"==e?t.PRE_OBJ:I==t.WRITING_OBJ_URI&&">"==e?t.POST_OBJ:I==t.WRITING_OBJ_BNODE&&" "==e?t.POST_OBJ:I==t.WRITING_OBJ_LITERAL&&'"'==e?t.POST_OBJ:I==t.WRITING_LIT_LANG&&" "==e?t.POST_OBJ:I==t.WRITING_LIT_TYPE&&">"==e?t.POST_OBJ:I==t.WRITING_OBJ_LITERAL&&"@"==e?t.WRITING_LIT_LANG:I==t.WRITING_OBJ_LITERAL&&"^"==e?t.WRITING_LIT_TYPE:" "!=e||I!=t.PRE_SUBJECT&&I!=t.PRE_PRED&&I!=t.PRE_OBJ&&I!=t.POST_OBJ?I==t.POST_OBJ&&"."==e?t.PRE_SUBJECT:t.ERROR:I,n.location=_}var t={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};return{startState:function(){return{location:t.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(t,n){var e=t.next();if("<"==e){transitState(n,e);var _="";return t.eatWhile(function(t){return"#"!=t&&">"!=t&&(_+=t,!0)}),n.uris.push(_),t.match("#",!1)?"variable":(t.next(),transitState(n,">"),"variable")}if("#"==e){var I="";return t.eatWhile(function(t){return">"!=t&&" "!=t&&(I+=t,!0)}),n.anchors.push(I),"variable-2"}if(">"==e)return transitState(n,">"),"variable";if("_"==e){transitState(n,e);var R="";return t.eatWhile(function(t){return" "!=t&&(R+=t,!0)}),n.bnodes.push(R),t.next(),transitState(n," "),"builtin"}if('"'==e)return transitState(n,e),t.eatWhile(function(t){return'"'!=t}),t.next(),"@"!=t.peek()&&"^"!=t.peek()&&transitState(n,'"'),"string";if("@"==e){transitState(n,"@");var r="";return t.eatWhile(function(t){return" "!=t&&(r+=t,!0)}),n.langs.push(r),t.next(),transitState(n," "),"string-2"}if("^"==e){t.next(),transitState(n,"^");var i="";return t.eatWhile(function(t){return">"!=t&&(i+=t,!0)}),n.types.push(i),t.next(),transitState(n,">"),"variable"}" "==e&&transitState(n,e),"."==e&&transitState(n,e)}}}),t.defineMIME("application/n-triples","ntriples"),t.defineMIME("application/n-quads","ntriples"),t.defineMIME("text/n-triples","ntriples")})}}); \ No newline at end of file +webpackJsonp([75],{989:function(t,n,e){!function(t){t(e(907))}(function(t){"use strict";t.defineMode("ntriples",function(){function transitState(n,e){var _,I=n.location;_=I==t.PRE_SUBJECT&&"<"==e?t.WRITING_SUB_URI:I==t.PRE_SUBJECT&&"_"==e?t.WRITING_BNODE_URI:I==t.PRE_PRED&&"<"==e?t.WRITING_PRED_URI:I==t.PRE_OBJ&&"<"==e?t.WRITING_OBJ_URI:I==t.PRE_OBJ&&"_"==e?t.WRITING_OBJ_BNODE:I==t.PRE_OBJ&&'"'==e?t.WRITING_OBJ_LITERAL:I==t.WRITING_SUB_URI&&">"==e?t.PRE_PRED:I==t.WRITING_BNODE_URI&&" "==e?t.PRE_PRED:I==t.WRITING_PRED_URI&&">"==e?t.PRE_OBJ:I==t.WRITING_OBJ_URI&&">"==e?t.POST_OBJ:I==t.WRITING_OBJ_BNODE&&" "==e?t.POST_OBJ:I==t.WRITING_OBJ_LITERAL&&'"'==e?t.POST_OBJ:I==t.WRITING_LIT_LANG&&" "==e?t.POST_OBJ:I==t.WRITING_LIT_TYPE&&">"==e?t.POST_OBJ:I==t.WRITING_OBJ_LITERAL&&"@"==e?t.WRITING_LIT_LANG:I==t.WRITING_OBJ_LITERAL&&"^"==e?t.WRITING_LIT_TYPE:" "!=e||I!=t.PRE_SUBJECT&&I!=t.PRE_PRED&&I!=t.PRE_OBJ&&I!=t.POST_OBJ?I==t.POST_OBJ&&"."==e?t.PRE_SUBJECT:t.ERROR:I,n.location=_}var t={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};return{startState:function(){return{location:t.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(t,n){var e=t.next();if("<"==e){transitState(n,e);var _="";return t.eatWhile(function(t){return"#"!=t&&">"!=t&&(_+=t,!0)}),n.uris.push(_),t.match("#",!1)?"variable":(t.next(),transitState(n,">"),"variable")}if("#"==e){var I="";return t.eatWhile(function(t){return">"!=t&&" "!=t&&(I+=t,!0)}),n.anchors.push(I),"variable-2"}if(">"==e)return transitState(n,">"),"variable";if("_"==e){transitState(n,e);var R="";return t.eatWhile(function(t){return" "!=t&&(R+=t,!0)}),n.bnodes.push(R),t.next(),transitState(n," "),"builtin"}if('"'==e)return transitState(n,e),t.eatWhile(function(t){return'"'!=t}),t.next(),"@"!=t.peek()&&"^"!=t.peek()&&transitState(n,'"'),"string";if("@"==e){transitState(n,"@");var r="";return t.eatWhile(function(t){return" "!=t&&(r+=t,!0)}),n.langs.push(r),t.next(),transitState(n," "),"string-2"}if("^"==e){t.next(),transitState(n,"^");var i="";return t.eatWhile(function(t){return">"!=t&&(i+=t,!0)}),n.types.push(i),t.next(),transitState(n,">"),"variable"}" "==e&&transitState(n,e),"."==e&&transitState(n,e)}}}),t.defineMIME("application/n-triples","ntriples"),t.defineMIME("application/n-quads","ntriples"),t.defineMIME("text/n-triples","ntriples")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/62.4b7ef017.js b/build/codemirror/mode/62.2f6751d0.js similarity index 97% rename from build/codemirror/mode/62.4b7ef017.js rename to build/codemirror/mode/62.2f6751d0.js index 6f36ce6..0c3878b 100644 --- a/build/codemirror/mode/62.4b7ef017.js +++ b/build/codemirror/mode/62.2f6751d0.js @@ -1 +1 @@ -webpackJsonp([75],{991:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("octave",function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenTranspose(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=tokenBase,tokenBase(e,n)):(e.next(),n.tokenize=tokenBase,"operator")}function tokenComment(e,n){return e.match(/^.*%}/)?(n.tokenize=tokenBase,"comment"):(e.skipToEnd(),"comment")}function tokenBase(m,u){if(m.eatSpace())return null;if(m.match("%{"))return u.tokenize=tokenComment,m.skipToEnd(),"comment";if(m.match(/^[%#]/))return m.skipToEnd(),"comment";if(m.match(/^[0-9\.+-]/,!1)){if(m.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return m.tokenize=tokenBase,"number";if(m.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(m.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(m.match(wordRegexp(["nan","NaN","inf","Inf"])))return"number";var f=m.match(/^"(?:[^"]|"")*("|$)/)||m.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":m.match(c)?"keyword":m.match(s)?"builtin":m.match(a)?"variable":m.match(e)||m.match(t)?"operator":m.match(n)||m.match(r)||m.match(o)?null:m.match(i)?(u.tokenize=tokenTranspose,null):(m.next(),"error")}var e=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),n=new RegExp("^[\\(\\[\\{\\},:=;]"),t=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),r=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),o=new RegExp("^((>>=)|(<<=))"),i=new RegExp("^[\\]\\)]"),a=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),s=wordRegexp(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),c=wordRegexp(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);return{startState:function(){return{tokenize:tokenBase}},token:function(e,n){var t=n.tokenize(e,n);return"number"!==t&&"variable"!==t||(n.tokenize=tokenTranspose),t},lineComment:"%",fold:"indent"}}),e.defineMIME("text/x-octave","octave")})}}); \ No newline at end of file +webpackJsonp([74],{990:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("octave",function(){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenTranspose(e,n){return e.sol()||"'"!==e.peek()?(n.tokenize=tokenBase,tokenBase(e,n)):(e.next(),n.tokenize=tokenBase,"operator")}function tokenComment(e,n){return e.match(/^.*%}/)?(n.tokenize=tokenBase,"comment"):(e.skipToEnd(),"comment")}function tokenBase(m,u){if(m.eatSpace())return null;if(m.match("%{"))return u.tokenize=tokenComment,m.skipToEnd(),"comment";if(m.match(/^[%#]/))return m.skipToEnd(),"comment";if(m.match(/^[0-9\.+-]/,!1)){if(m.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return m.tokenize=tokenBase,"number";if(m.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/))return"number";if(m.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(m.match(wordRegexp(["nan","NaN","inf","Inf"])))return"number";var f=m.match(/^"(?:[^"]|"")*("|$)/)||m.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":m.match(c)?"keyword":m.match(s)?"builtin":m.match(a)?"variable":m.match(e)||m.match(t)?"operator":m.match(n)||m.match(r)||m.match(o)?null:m.match(i)?(u.tokenize=tokenTranspose,null):(m.next(),"error")}var e=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),n=new RegExp("^[\\(\\[\\{\\},:=;]"),t=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),r=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),o=new RegExp("^((>>=)|(<<=))"),i=new RegExp("^[\\]\\)]"),a=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),s=wordRegexp(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),c=wordRegexp(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);return{startState:function(){return{tokenize:tokenBase}},token:function(e,n){var t=n.tokenize(e,n);return"number"!==t&&"variable"!==t||(n.tokenize=tokenTranspose),t},lineComment:"%",fold:"indent"}}),e.defineMIME("text/x-octave","octave")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/63.d534388d.js b/build/codemirror/mode/63.3a4f0385.js similarity index 98% rename from build/codemirror/mode/63.d534388d.js rename to build/codemirror/mode/63.3a4f0385.js index 52d66fc..1402901 100644 --- a/build/codemirror/mode/63.d534388d.js +++ b/build/codemirror/mode/63.3a4f0385.js @@ -1 +1 @@ -webpackJsonp([74],{992:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("oz",function(e){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,o){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match(/(\[])/))return"keyword";if(e.match(r)||e.match(n))return"operator";if(e.match(i))return"atom";var a=e.match(u);if(a)return o.doInCurrentLine?o.doInCurrentLine=!1:o.currentIndent++,"proc"==a[0]||"fun"==a[0]?o.tokenize=tokenFunProc:"class"==a[0]?o.tokenize=tokenClass:"meth"==a[0]&&(o.tokenize=tokenMeth),"keyword";if(e.match(s)||e.match(c))return"keyword";if(e.match(f))return o.currentIndent--,"keyword";var d=e.next();if('"'==d||"'"==d)return o.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(n.tokenize=tokenBase),"string"}}(d),o.tokenize(e,o);if(/[~\d]/.test(d)){if("~"==d){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==d&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==d?(e.skipToEnd(),"comment"):"/"==d&&e.eat("*")?(o.tokenize=tokenComment,tokenComment(e,o)):t.test(d)?"operator":(e.eatWhile(/\w/),"variable")}function tokenClass(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"variable-3")}function tokenMeth(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"def")}function tokenFunProc(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=tokenBase,"def"):(t.tokenize=tokenBase,null)}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}var t=/[\^@!\|<>#~\.\*\-\+\\/,=]/,n=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,r=/(:::)|(\.\.\.)|(=<:)|(>=:)/,o=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],a=["end"],i=wordRegexp(["true","false","nil","unit"]),c=wordRegexp(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),u=wordRegexp(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),s=wordRegexp(o),f=wordRegexp(a);return{startState:function(){return{tokenize:tokenBase,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(f)||r.match(s)||r.match(/(\[])/)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit},fold:"indent",electricInput:function buildElectricInputRegEx(){var e=o.concat(a);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-oz","oz")})}}); \ No newline at end of file +webpackJsonp([73],{991:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("oz",function(e){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,o){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match(/(\[])/))return"keyword";if(e.match(r)||e.match(n))return"operator";if(e.match(i))return"atom";var a=e.match(u);if(a)return o.doInCurrentLine?o.doInCurrentLine=!1:o.currentIndent++,"proc"==a[0]||"fun"==a[0]?o.tokenize=tokenFunProc:"class"==a[0]?o.tokenize=tokenClass:"meth"==a[0]&&(o.tokenize=tokenMeth),"keyword";if(e.match(s)||e.match(c))return"keyword";if(e.match(f))return o.currentIndent--,"keyword";var d=e.next();if('"'==d||"'"==d)return o.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,a=!1;null!=(r=t.next());){if(r==e&&!o){a=!0;break}o=!o&&"\\"==r}return!a&&o||(n.tokenize=tokenBase),"string"}}(d),o.tokenize(e,o);if(/[~\d]/.test(d)){if("~"==d){if(!/^[0-9]/.test(e.peek()))return null;if("0"==e.next()&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}return"0"==d&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return"%"==d?(e.skipToEnd(),"comment"):"/"==d&&e.eat("*")?(o.tokenize=tokenComment,tokenComment(e,o)):t.test(d)?"operator":(e.eatWhile(/\w/),"variable")}function tokenClass(e,t){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"variable-3")}function tokenMeth(e,t){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),t.tokenize=tokenBase,"def")}function tokenFunProc(e,t){return e.eatSpace()?null:!t.hasPassedFirstStage&&e.eat("{")?(t.hasPassedFirstStage=!0,"bracket"):t.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),t.hasPassedFirstStage=!1,t.tokenize=tokenBase,"def"):(t.tokenize=tokenBase,null)}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return"comment"}var t=/[\^@!\|<>#~\.\*\-\+\\/,=]/,n=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,r=/(:::)|(\.\.\.)|(=<:)|(>=:)/,o=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],a=["end"],i=wordRegexp(["true","false","nil","unit"]),c=wordRegexp(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),u=wordRegexp(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),s=wordRegexp(o),f=wordRegexp(a);return{startState:function(){return{tokenize:tokenBase,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,t){return e.sol()&&(t.doInCurrentLine=0),t.tokenize(e,t)},indent:function(t,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(f)||r.match(s)||r.match(/(\[])/)?e.indentUnit*(t.currentIndent-1):t.currentIndent<0?0:t.currentIndent*e.indentUnit},fold:"indent",electricInput:function buildElectricInputRegEx(){var e=o.concat(a);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-oz","oz")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/64.8db15856.js b/build/codemirror/mode/64.42dc3045.js similarity index 95% rename from build/codemirror/mode/64.8db15856.js rename to build/codemirror/mode/64.42dc3045.js index ea961da..cc3e283 100644 --- a/build/codemirror/mode/64.8db15856.js +++ b/build/codemirror/mode/64.42dc3045.js @@ -1 +1 @@ -webpackJsonp([73],{993:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("pascal",function(){function tokenComment(e,t){for(var n,r=!1;n=e.next();){if(")"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}var e=function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}("and array begin case const div do downto else end file for forward integer boolean char function goto if in label mod nil not of or packed procedure program record repeat set string then to type until var while with"),t={null:!0},n=/[+\-*&%=<>!?|\/]/;return{startState:function(){return{tokenize:null}},token:function(r,o){if(r.eatSpace())return null;var i=(o.tokenize||function tokenBase(r,o){var i=r.next();if("#"==i&&o.startOfLine)return r.skipToEnd(),"meta";if('"'==i||"'"==i)return o.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"\\"==r}return!i&&o||(n.tokenize=null),"string"}}(i),o.tokenize(r,o);if("("==i&&r.eat("*"))return o.tokenize=tokenComment,tokenComment(r,o);if(/[\[\]{}\(\),;\:\.]/.test(i))return null;if(/\d/.test(i))return r.eatWhile(/[\w\.]/),"number";if("/"==i&&r.eat("/"))return r.skipToEnd(),"comment";if(n.test(i))return r.eatWhile(n),"operator";r.eatWhile(/[\w\$_]/);var a=r.current();return e.propertyIsEnumerable(a)?"keyword":t.propertyIsEnumerable(a)?"atom":"variable"})(r,o);return i},electricChars:"{}"}}),e.defineMIME("text/x-pascal","pascal")})}}); \ No newline at end of file +webpackJsonp([72],{992:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("pascal",function(){function tokenComment(e,t){for(var n,r=!1;n=e.next();){if(")"==n&&r){t.tokenize=null;break}r="*"==n}return"comment"}var e=function words(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}("and array begin case const div do downto else end file for forward integer boolean char function goto if in label mod nil not of or packed procedure program record repeat set string then to type until var while with"),t={null:!0},n=/[+\-*&%=<>!?|\/]/;return{startState:function(){return{tokenize:null}},token:function(r,o){if(r.eatSpace())return null;var i=(o.tokenize||function tokenBase(r,o){var i=r.next();if("#"==i&&o.startOfLine)return r.skipToEnd(),"meta";if('"'==i||"'"==i)return o.tokenize=function tokenString(e){return function(t,n){for(var r,o=!1,i=!1;null!=(r=t.next());){if(r==e&&!o){i=!0;break}o=!o&&"\\"==r}return!i&&o||(n.tokenize=null),"string"}}(i),o.tokenize(r,o);if("("==i&&r.eat("*"))return o.tokenize=tokenComment,tokenComment(r,o);if(/[\[\]{}\(\),;\:\.]/.test(i))return null;if(/\d/.test(i))return r.eatWhile(/[\w\.]/),"number";if("/"==i&&r.eat("/"))return r.skipToEnd(),"comment";if(n.test(i))return r.eatWhile(n),"operator";r.eatWhile(/[\w\$_]/);var a=r.current();return e.propertyIsEnumerable(a)?"keyword":t.propertyIsEnumerable(a)?"atom":"variable"})(r,o);return i},electricChars:"{}"}}),e.defineMIME("text/x-pascal","pascal")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/65.849ddeff.js b/build/codemirror/mode/65.849ddeff.js deleted file mode 100644 index a262e0a..0000000 --- a/build/codemirror/mode/65.849ddeff.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([20,89],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(p&&"@"==t.peek()&&t.match(f))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(u.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(m.propertyIsEnumerable(n)){var o=m[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,s=r-1;s>=0;--s){var p=e.string.charAt(s),i=x.indexOf(p);if(i>=0&&i<3){if(!o){++s;break}if(0==--o){"("==p&&(a=!0);break}}else if(i>=3&&i<6)++o;else if(l.test(p))a=!0;else{if(/["'\/]/.test(p))return;if(a&&!o){++s;break}}}a&&!o&&(t.fatArrowAt=s)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var r=function(){var r=y.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,y.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(y.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(y.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(y.state.fatArrowAt==y.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return d.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(y.marked="keyword",cont(typeexpr,n)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&y.state.fatArrowAt==y.stream.start&&(r=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=p?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)y.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,s=r.statementIndent,p=r.jsonld,i=r.json||p,c=r.typescript,l=r.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},s={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var p={type:"variable",style:"type"},i={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:p,number:p,boolean:p,any:p};for(var l in i)s[l]=i[l]}return s}(),u=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,x="([{}])",d={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():i?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,p=n&&n.charAt(0),i=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var l=t.cc[c];if(l==poplex)i=i.prev;else if(l!=maybeelse)break}for(;("stat"==i.type||"form"==i.type)&&("}"==p||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)i=i.prev;s&&")"==i.type&&"stat"==i.prev.type&&(i=i.prev);var m=i.type,f=p==m;return"vardef"==m?i.indented+("operator"==t.lastType||","==t.lastType?i.info+1:0):"form"==m&&"{"==p?i.indented:"form"==m?i.indented+a:"stat"==m?i.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||u.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?s||a:0):"switch"!=i.info||f||0==r.doubleIndentSwitch?i.align?i.column+(f?0:1):i.indented+(f?0:a):i.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:i?null:"/*",blockCommentEnd:i?null:"*/",blockCommentContinue:i?null:" * ",lineComment:i?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:i?"json":"javascript",jsonldMode:p,jsonMode:i,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},994:function(e,t,r){!function(e){e(r(907),r(908))}(function(e){"use strict";e.defineMode("pegjs",function(t){var r=e.getMode(t,"javascript");return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(t,n){if(t&&(n.inString||n.inComment||'"'!=t.peek()&&"'"!=t.peek()||(n.stringType=t.peek(),t.next(),n.inString=!0)),n.inString||n.inComment||!t.match(/^\/\*/)||(n.inComment=!0),n.inString){for(;n.inString&&!t.eol();)t.peek()===n.stringType?(t.next(),n.inString=!1):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}if(n.inComment){for(;n.inComment&&!t.eol();)t.match(/\*\//)?n.inComment=!1:t.match(/^.[^\*]*/);return"comment"}if(n.inCharacterClass)for(;n.inCharacterClass&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(/^\\./)||(n.inCharacterClass=!1);else{if("["===t.peek())return t.next(),n.inCharacterClass=!0,"bracket";if(t.match(/^\/\//))return t.skipToEnd(),"comment";if(n.braced||"{"===t.peek()){null===n.localState&&(n.localState=e.startState(r));var o=r.token(t,n.localState),a=t.current();if(!o)for(var s=0;s<a.length;s++)"{"===a[s]?n.braced++:"}"===a[s]&&n.braced--;return o}if(function identifier(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}(t))return":"===t.peek()?"variable":"variable-2";if(-1!=["[","]","(",")"].indexOf(t.peek()))return t.next(),"bracket";t.eatSpace()||t.next()}return null}}},"javascript")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/65.dacd5913.js b/build/codemirror/mode/65.dacd5913.js new file mode 100644 index 0000000..00ed003 --- /dev/null +++ b/build/codemirror/mode/65.dacd5913.js @@ -0,0 +1 @@ +webpackJsonp([19,88],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(p&&"@"==t.peek()&&t.match(f))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(u.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(l.test(r)){e.eatWhile(l);var n=e.current();if("."!=t.lastType){if(m.propertyIsEnumerable(n)){var o=m[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,s=r-1;s>=0;--s){var p=e.string.charAt(s),i=x.indexOf(p);if(i>=0&&i<3){if(!o){++s;break}if(0==--o){"("==p&&(a=!0);break}}else if(i>=3&&i<6)++o;else if(l.test(p))a=!0;else{if(/["'\/]/.test(p))return;if(a&&!o){++s;break}}}a&&!o&&(t.fatArrowAt=s)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)y.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=y.state;if(y.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){y.state.context={prev:y.state.context,vars:y.state.localVars},y.state.localVars=k}function popcontext(){y.state.localVars=y.state.context.vars,y.state.context=y.state.context.prev}function pushlex(e,t){var r=function(){var r=y.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,y.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=y.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?y.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==y.state.lexical.info&&y.state.cc[y.state.cc.length-1]==poplex&&y.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(y.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&y.stream.match(/^\s*\w/,!1)?(y.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(y.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(y.state.fatArrowAt==y.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return d.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(y.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&y.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(y.marked="keyword",cont(typeexpr,n)):"regexp"==e?(y.state.lastType=y.marked="operator",y.stream.backUp(y.stream.pos-y.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return y.marked="string-2",y.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(y.stream,y.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return y.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return y.marked="property",cont()}function objprop(e,t){if("async"==e)return y.marked="property",cont(objprop);if("variable"==e||"keyword"==y.style){if(y.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&y.state.fatArrowAt==y.stream.start&&(r=y.stream.match(/^\s*:\s*/,!1))&&(y.state.fatArrowAt=y.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(y.marked=p?"property":y.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(y.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(y.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(y.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=y.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)y.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return y.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return y.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(y.marked="keyword",cont(typeexpr)):(y.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==y.style?(y.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(y.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(y.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(y.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||y.stream.match(/^\s*:/,!1)?("variable"==e&&(y.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(y.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(y.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(y.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(y.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(y.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&y.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(y.marked="keyword",cont(classBody)):"variable"==e||"keyword"==y.style?(y.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(y.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(y.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(y.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(y.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(y.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return y.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return y.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,s=r.statementIndent,p=r.jsonld,i=r.json||p,c=r.typescript,l=r.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),u=/[+\-*&%=<>!?|~^@]/,f=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,x="([{}])",d={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},y={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(y.state=e,y.stream=o,y.marked=null,y.cc=a,y.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():i?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return y.marked?y.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,p=n&&n.charAt(0),i=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var l=t.cc[c];if(l==poplex)i=i.prev;else if(l!=maybeelse)break}for(;("stat"==i.type||"form"==i.type)&&("}"==p||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)i=i.prev;s&&")"==i.type&&"stat"==i.prev.type&&(i=i.prev);var m=i.type,f=p==m;return"vardef"==m?i.indented+("operator"==t.lastType||","==t.lastType?i.info+1:0):"form"==m&&"{"==p?i.indented:"form"==m?i.indented+a:"stat"==m?i.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||u.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?s||a:0):"switch"!=i.info||f||0==r.doubleIndentSwitch?i.align?i.column+(f?0:1):i.indented+(f?0:a):i.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:i?null:"/*",blockCommentEnd:i?null:"*/",blockCommentContinue:i?null:" * ",lineComment:i?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:i?"json":"javascript",jsonldMode:p,jsonMode:i,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},993:function(e,t,r){!function(e){e(r(907),r(908))}(function(e){"use strict";e.defineMode("pegjs",function(t){var r=e.getMode(t,"javascript");return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(t,n){if(t&&(n.inString||n.inComment||'"'!=t.peek()&&"'"!=t.peek()||(n.stringType=t.peek(),t.next(),n.inString=!0)),n.inString||n.inComment||!t.match(/^\/\*/)||(n.inComment=!0),n.inString){for(;n.inString&&!t.eol();)t.peek()===n.stringType?(t.next(),n.inString=!1):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}if(n.inComment){for(;n.inComment&&!t.eol();)t.match(/\*\//)?n.inComment=!1:t.match(/^.[^\*]*/);return"comment"}if(n.inCharacterClass)for(;n.inCharacterClass&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(/^\\./)||(n.inCharacterClass=!1);else{if("["===t.peek())return t.next(),n.inCharacterClass=!0,"bracket";if(t.match(/^\/\//))return t.skipToEnd(),"comment";if(n.braced||"{"===t.peek()){null===n.localState&&(n.localState=e.startState(r));var o=r.token(t,n.localState),a=t.current();if(!o)for(var s=0;s<a.length;s++)"{"===a[s]?n.braced++:"}"===a[s]&&n.braced--;return o}if(function identifier(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}(t))return":"===t.peek()?"variable":"variable-2";if(-1!=["[","]","(",")"].indexOf(t.peek()))return t.next(),"bracket";t.eatSpace()||t.next()}return null}}},"javascript")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/66.ef08b5b7.js b/build/codemirror/mode/66.d659ab48.js similarity index 99% rename from build/codemirror/mode/66.ef08b5b7.js rename to build/codemirror/mode/66.d659ab48.js index 44ca660..4cda9ed 100644 --- a/build/codemirror/mode/66.ef08b5b7.js +++ b/build/codemirror/mode/66.d659ab48.js @@ -1 +1 @@ -webpackJsonp([72],{995:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function look(e,t){return e.string.charAt(e.pos+(t||0))}function prefix(e,t){if(t){var n=e.pos-t;return e.string.substr(n>=0?n:0,t)}return e.string.substr(0,e.pos-1)}function suffix(e,t){var n=e.string.length,r=n-e.pos+1;return e.string.substr(e.pos,t&&t<n?t:r)}function eatSuffix(e,t){var n,r=e.pos+t;r<=0?e.pos=0:r>=(n=e.string.length-1)?e.pos=n:e.pos=r}e.defineMode("perl",function(){function tokenChain(e,t,n,r,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,a=!1,s=0;o=e.next();){if(o===n[s]&&!a)return void 0!==n[++s]?(t.chain=n[s],t.style=r,t.tail=i):i&&e.eatWhile(i),t.tokenize=tokenPerl,r;a=!a&&"\\"==o}return r},t.tokenize(e,t)}function tokenSOMETHING(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=tokenPerl),e.skipToEnd(),"string"},t.tokenize(e,t)}function tokenPerl(r,i){if(r.eatSpace())return null;if(i.chain)return tokenChain(r,i,i.chain,i.style,i.tail);if(r.match(/^\-?[\d\.]/,!1)&&r.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(r.match(/^<<(?=\w)/))return r.eatWhile(/\w/),tokenSOMETHING(r,i,r.current().substr(2));if(r.sol()&&r.match(/^\=item(?!\w)/))return tokenSOMETHING(r,i,"=cut");var o=r.next();if('"'==o||"'"==o){if(prefix(r,3)=="<<"+o){var a=r.pos;r.eatWhile(/\w/);var s=r.current().substr(1);if(s&&r.eat(o))return tokenSOMETHING(r,i,s);r.pos=a}return tokenChain(r,i,[o],"string")}if("q"==o){if(!(f=look(r,-2))||!/\w/.test(f))if("x"==(f=look(r,0))){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],t,n);if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],t,n);if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],t,n);if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],t,n);if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],t,n)}else if("q"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],"string");if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],"string");if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],"string");if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],"string");if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],"string")}else if("w"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],"bracket");if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],"bracket");if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],"bracket");if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],"bracket");if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],"bracket")}else if("r"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],t,n);if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],t,n);if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],t,n);if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],t,n);if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],t,n)}else if(/[\^'"!~\/(\[{<]/.test(f)){if("("==f)return eatSuffix(r,1),tokenChain(r,i,[")"],"string");if("["==f)return eatSuffix(r,1),tokenChain(r,i,["]"],"string");if("{"==f)return eatSuffix(r,1),tokenChain(r,i,["}"],"string");if("<"==f)return eatSuffix(r,1),tokenChain(r,i,[">"],"string");if(/[\^'"!~\/]/.test(f))return tokenChain(r,i,[r.eat(f)],"string")}}if("m"==o){if((!(f=look(r,-2))||!/\w/.test(f))&&(f=r.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(f))return tokenChain(r,i,[f],t,n);if("("==f)return tokenChain(r,i,[")"],t,n);if("["==f)return tokenChain(r,i,["]"],t,n);if("{"==f)return tokenChain(r,i,["}"],t,n);if("<"==f)return tokenChain(r,i,[">"],t,n)}}if("s"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("y"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("t"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat("r"))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("`"==o)return tokenChain(r,i,[o],"variable-2");if("/"==o)return/~\s*$/.test(prefix(r))?tokenChain(r,i,[o],t,n):"operator";if("$"==o){a=r.pos;if(r.eatWhile(/\d/)||r.eat("{")&&r.eatWhile(/\d/)&&r.eat("}"))return"variable-2";r.pos=a}if(/[$@%]/.test(o)){a=r.pos;if(r.eat("^")&&r.eat(/[A-Z]/)||!/[@$%&]/.test(look(r,-2))&&r.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var f=r.current();if(e[f])return"variable-2"}r.pos=a}if(/[$@%&]/.test(o)&&(r.eatWhile(/[\w$\[\]]/)||r.eat("{")&&r.eatWhile(/[\w$\[\]]/)&&r.eat("}"))){f=r.current();return e[f]?"variable-2":"variable"}if("#"==o&&"$"!=look(r,-2))return r.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(o)){a=r.pos;if(r.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[r.current()])return"operator";r.pos=a}if("_"==o&&1==r.pos){if("_END__"==suffix(r,6))return tokenChain(r,i,["\0"],"comment");if("_DATA__"==suffix(r,7))return tokenChain(r,i,["\0"],"variable-2");if("_C__"==suffix(r,7))return tokenChain(r,i,["\0"],"string")}if(/\w/.test(o)){a=r.pos;if("{"==look(r,-2)&&("}"==look(r,0)||r.eatWhile(/\w/)&&"}"==look(r,0)))return"string";r.pos=a}if(/[A-Z]/.test(o)){var u=look(r,-2);a=r.pos;if(r.eatWhile(/[A-Z_]/),!/[\da-z]/.test(look(r,0))){return(f=e[r.current()])?(f[1]&&(f=f[0]),":"!=u?1==f?"keyword":2==f?"def":3==f?"atom":4==f?"operator":5==f?"variable-2":"meta":"meta"):"meta"}r.pos=a}if(/[a-zA-Z_]/.test(o)){u=look(r,-2);r.eatWhile(/\w/);return(f=e[r.current()])?(f[1]&&(f=f[0]),":"!=u?1==f?"keyword":2==f?"def":3==f?"atom":4==f?"operator":5==f?"variable-2":"meta":"meta"):"meta"}return null}var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},t="string-2",n=/[goseximacplud]/;return{startState:function(){return{tokenize:tokenPerl,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||tokenPerl)(e,t)},lineComment:"#"}}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl")})}}); \ No newline at end of file +webpackJsonp([71],{994:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function look(e,t){return e.string.charAt(e.pos+(t||0))}function prefix(e,t){if(t){var n=e.pos-t;return e.string.substr(n>=0?n:0,t)}return e.string.substr(0,e.pos-1)}function suffix(e,t){var n=e.string.length,r=n-e.pos+1;return e.string.substr(e.pos,t&&t<n?t:r)}function eatSuffix(e,t){var n,r=e.pos+t;r<=0?e.pos=0:r>=(n=e.string.length-1)?e.pos=n:e.pos=r}e.defineMode("perl",function(){function tokenChain(e,t,n,r,i){return t.chain=null,t.style=null,t.tail=null,t.tokenize=function(e,t){for(var o,a=!1,s=0;o=e.next();){if(o===n[s]&&!a)return void 0!==n[++s]?(t.chain=n[s],t.style=r,t.tail=i):i&&e.eatWhile(i),t.tokenize=tokenPerl,r;a=!a&&"\\"==o}return r},t.tokenize(e,t)}function tokenSOMETHING(e,t,n){return t.tokenize=function(e,t){return e.string==n&&(t.tokenize=tokenPerl),e.skipToEnd(),"string"},t.tokenize(e,t)}function tokenPerl(r,i){if(r.eatSpace())return null;if(i.chain)return tokenChain(r,i,i.chain,i.style,i.tail);if(r.match(/^\-?[\d\.]/,!1)&&r.match(/^(\-?(\d*\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F]+|0b[01]+|\d+(e[+-]?\d+)?)/))return"number";if(r.match(/^<<(?=\w)/))return r.eatWhile(/\w/),tokenSOMETHING(r,i,r.current().substr(2));if(r.sol()&&r.match(/^\=item(?!\w)/))return tokenSOMETHING(r,i,"=cut");var o=r.next();if('"'==o||"'"==o){if(prefix(r,3)=="<<"+o){var a=r.pos;r.eatWhile(/\w/);var s=r.current().substr(1);if(s&&r.eat(o))return tokenSOMETHING(r,i,s);r.pos=a}return tokenChain(r,i,[o],"string")}if("q"==o){if(!(f=look(r,-2))||!/\w/.test(f))if("x"==(f=look(r,0))){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],t,n);if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],t,n);if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],t,n);if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],t,n);if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],t,n)}else if("q"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],"string");if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],"string");if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],"string");if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],"string");if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],"string")}else if("w"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],"bracket");if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],"bracket");if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],"bracket");if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],"bracket");if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],"bracket")}else if("r"==f){if("("==(f=look(r,1)))return eatSuffix(r,2),tokenChain(r,i,[")"],t,n);if("["==f)return eatSuffix(r,2),tokenChain(r,i,["]"],t,n);if("{"==f)return eatSuffix(r,2),tokenChain(r,i,["}"],t,n);if("<"==f)return eatSuffix(r,2),tokenChain(r,i,[">"],t,n);if(/[\^'"!~\/]/.test(f))return eatSuffix(r,1),tokenChain(r,i,[r.eat(f)],t,n)}else if(/[\^'"!~\/(\[{<]/.test(f)){if("("==f)return eatSuffix(r,1),tokenChain(r,i,[")"],"string");if("["==f)return eatSuffix(r,1),tokenChain(r,i,["]"],"string");if("{"==f)return eatSuffix(r,1),tokenChain(r,i,["}"],"string");if("<"==f)return eatSuffix(r,1),tokenChain(r,i,[">"],"string");if(/[\^'"!~\/]/.test(f))return tokenChain(r,i,[r.eat(f)],"string")}}if("m"==o){if((!(f=look(r,-2))||!/\w/.test(f))&&(f=r.eat(/[(\[{<\^'"!~\/]/))){if(/[\^'"!~\/]/.test(f))return tokenChain(r,i,[f],t,n);if("("==f)return tokenChain(r,i,[")"],t,n);if("["==f)return tokenChain(r,i,["]"],t,n);if("{"==f)return tokenChain(r,i,["}"],t,n);if("<"==f)return tokenChain(r,i,[">"],t,n)}}if("s"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("y"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("t"==o){if(!(f=/[\/>\]})\w]/.test(look(r,-2)))&&(f=r.eat("r"))&&(f=r.eat(/[(\[{<\^'"!~\/]/)))return tokenChain(r,i,"["==f?["]","]"]:"{"==f?["}","}"]:"<"==f?[">",">"]:"("==f?[")",")"]:[f,f],t,n)}if("`"==o)return tokenChain(r,i,[o],"variable-2");if("/"==o)return/~\s*$/.test(prefix(r))?tokenChain(r,i,[o],t,n):"operator";if("$"==o){a=r.pos;if(r.eatWhile(/\d/)||r.eat("{")&&r.eatWhile(/\d/)&&r.eat("}"))return"variable-2";r.pos=a}if(/[$@%]/.test(o)){a=r.pos;if(r.eat("^")&&r.eat(/[A-Z]/)||!/[@$%&]/.test(look(r,-2))&&r.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var f=r.current();if(e[f])return"variable-2"}r.pos=a}if(/[$@%&]/.test(o)&&(r.eatWhile(/[\w$\[\]]/)||r.eat("{")&&r.eatWhile(/[\w$\[\]]/)&&r.eat("}"))){f=r.current();return e[f]?"variable-2":"variable"}if("#"==o&&"$"!=look(r,-2))return r.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(o)){a=r.pos;if(r.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),e[r.current()])return"operator";r.pos=a}if("_"==o&&1==r.pos){if("_END__"==suffix(r,6))return tokenChain(r,i,["\0"],"comment");if("_DATA__"==suffix(r,7))return tokenChain(r,i,["\0"],"variable-2");if("_C__"==suffix(r,7))return tokenChain(r,i,["\0"],"string")}if(/\w/.test(o)){a=r.pos;if("{"==look(r,-2)&&("}"==look(r,0)||r.eatWhile(/\w/)&&"}"==look(r,0)))return"string";r.pos=a}if(/[A-Z]/.test(o)){var u=look(r,-2);a=r.pos;if(r.eatWhile(/[A-Z_]/),!/[\da-z]/.test(look(r,0))){return(f=e[r.current()])?(f[1]&&(f=f[0]),":"!=u?1==f?"keyword":2==f?"def":3==f?"atom":4==f?"operator":5==f?"variable-2":"meta":"meta"):"meta"}r.pos=a}if(/[a-zA-Z_]/.test(o)){u=look(r,-2);r.eatWhile(/\w/);return(f=e[r.current()])?(f[1]&&(f=f[0]),":"!=u?1==f?"keyword":2==f?"def":3==f?"atom":4==f?"operator":5==f?"variable-2":"meta":"meta"):"meta"}return null}var e={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},t="string-2",n=/[goseximacplud]/;return{startState:function(){return{tokenize:tokenPerl,chain:null,style:null,tail:null}},token:function(e,t){return(t.tokenize||tokenPerl)(e,t)},lineComment:"#"}}),e.registerHelper("wordChars","perl",/[\w$]/),e.defineMIME("text/x-perl","perl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/67.0c9acc47.js b/build/codemirror/mode/67.0c9acc47.js deleted file mode 100644 index 5368464..0000000 --- a/build/codemirror/mode/67.0c9acc47.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([6,12,33,89,111,118],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)h.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=h.state;if(h.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){h.state.context={prev:h.state.context,vars:h.state.localVars},h.state.localVars=_}function popcontext(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}function pushlex(e,t){var r=function(){var r=h.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,h.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=h.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?h.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==h.state.lexical.info&&h.state.cc[h.state.cc.length-1]==poplex&&h.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(h.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(h.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(h.state.fatArrowAt==h.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(h.marked="keyword",cont(typeexpr,n)):"regexp"==e?(h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return h.marked="string-2",h.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return h.marked="property",cont()}function objprop(e,t){if("async"==e)return h.marked="property",cont(objprop);if("variable"==e||"keyword"==h.style){if(h.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&h.state.fatArrowAt==h.stream.start&&(r=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(h.marked=s?"property":h.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(h.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(h.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=h.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)h.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(h.marked="keyword",cont(typeexpr)):(h.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==h.style?(h.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||h.stream.match(/^\s*:/,!1)?("variable"==e&&(h.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(h.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(h.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(h.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(h.marked="keyword",cont(classBody)):"variable"==e||"keyword"==h.style?(h.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(h.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(h.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(h.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(h.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(h.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return h.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return h.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},h={state:null,column:null,marked:null,cc:null},_={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(h.state=e,h.stream=o,h.marked=null,h.cc=a,h.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return h.marked?h.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return k[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=_.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},g=r.counterDescriptors||{},h=r.colorKeywords||{},_=r.valueKeywords||{},y=r.allowNested,b=r.lineComment,x=!0===r.supportsAtComponent,k={};return k.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(x&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(y&&"("==e)return pushContext(r,t,"parens")}return r.context.type},k.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):y?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":y||"hash"!=e&&"qualifier"!=e?k.top(e,t,r):(a="error","block")},k.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},k.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&y)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},k.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},k.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},k.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},k.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):k.atBlock(e,t,r)},k.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,y?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":_.hasOwnProperty(n)?"atom":h.hasOwnProperty(n)?"keyword":"error"}return r.context.type},k.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,y?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},k.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):k.atBlock(e,t,r)},k.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},k.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},k.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},k.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},k.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=k[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],h=keySet(g),_=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=keySet(_),b=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(g).concat(_);e.registerHelper("hintWords","css",b),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:y,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},915:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function Context(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.info=n,this.align=o,this.prev=a}function pushContext(e,t,r,n){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(o=e.context.indented),e.context=new Context(o,t,r,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,r){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,r))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var r,n=null;r=e.peek();){if("\\"==r&&e.match(/^.$/)){n=cppHook;break}if("/"==r&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=n,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var r=e.match(/"([^\s\\()]{0,16})\(/);return!!r&&(t.cpp11RawStringDelim=r[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var r;null!=(r=e.next());)if('"'==r&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var r=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+r+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,r){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&n.push(t)}"string"==typeof t&&(t=[t]);var n=[];add(r.keywords),add(r.types),add(r.builtin),add(r.atoms),n.length&&(r.helperType=t[0],e.registerHelper("hintWords",t[0],n));for(var o=0;o<t.length;++o)e.defineMIME(t[o],r)}function tokenTripleString(e,t){for(var r=!1;!e.eol();){if(!r&&e.match('"""')){t.tokenize=null;break}r="\\"==e.next()&&!r}return"string"}function tokenCeylonString(e){return function(t,r){for(var o,a=!1,i=!1;!t.eol();){if(!a&&t.match('"')&&("single"==e||t.match('""'))){i=!0;break}if(!a&&t.match("``")){n=tokenCeylonString(e),i=!0;break}o=t.next(),a="single"==e&&!a&&"\\"==o}return i&&(r.tokenize=null),"string"}}e.defineMode("clike",function(t,r){function tokenBase(e,t){var r=e.next();if(f[r]){var a=f[r](e,t);if(!1!==a)return a}if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){for(var n,o=!1,a=!1;null!=(n=t.next());){if(n==e&&!o){a=!0;break}o=!o&&"\\"==n}return(a||!o&&!g)&&(r.tokenize=null),"string"}}(r),t.tokenize(e,t);if(b.test(r))return n=r,null;if(x.test(r)){if(e.backUp(1),e.match(k))return"number";e.next()}if("/"==r){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(w.test(r)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(w););return"operator"}if(e.eatWhile(v),y)for(;e.match(y);)e.eatWhile(v);var i=e.current();return contains(l,i)?(contains(u,i)&&(n="newstatement"),contains(d,i)&&(o=!0),"keyword"):contains(c,i)?"type":contains(p,i)?(contains(u,i)&&(n="newstatement"),"builtin"):contains(m,i)?"atom":"variable"}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function maybeEOL(e,t){r.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var n,o,a=t.indentUnit,i=r.statementIndentUnit||a,s=r.dontAlignCalls,l=r.keywords||{},c=r.types||{},p=r.builtin||{},u=r.blockKeywords||{},d=r.defKeywords||{},m=r.atoms||{},f=r.hooks||{},g=r.multiLineStrings,h=!1!==r.indentStatements,_=!1!==r.indentSwitch,y=r.namespaceSeparator,b=r.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,x=r.numberStart||/[\d\.]/,k=r.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,w=r.isOperatorChar||/[+\-*&%=<>!?|\/]/,v=r.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-a,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;n=o=null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i||"meta"==i)return i;if(null==a.align&&(a.align=!0),";"==n||":"==n||","==n&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==a.type;)a=popContext(t);for("}"==a.type&&(a=popContext(t));"statement"==a.type;)a=popContext(t)}else n==a.type?popContext(t):h&&(("}"==a.type||"top"==a.type)&&";"!=n||"statement"==a.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement",e.current());if("variable"==i&&("def"==t.prevToken||r.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(i="def"),f.token){var s=f.token(e,t,i);void 0!==s&&(i=s)}return"def"==i&&!1===r.styleDefs&&(i="variable"),t.startOfLine=!1,t.prevToken=o?"def":i||n,maybeEOL(e,t),i},indent:function(t,n){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,l=n&&n.charAt(0);if("statement"==o.type&&"}"==l&&(o=o.prev),r.dontIndentStatements)for(;"statement"==o.type&&r.dontIndentStatements.test(o.info);)o=o.prev;if(f.indent){var c=f.indent(t,o,n);if("number"==typeof c)return c}var p=l==o.type,u=o.prev&&"switch"==o.prev.info;if(r.allmanIndentation&&/[{(]/.test(l)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==l?0:i):!o.align||s&&")"==o.type?")"!=o.type||p?o.indented+(p?0:a)+(p||!u||/^(?:case|default)\b/.test(n)?0:a):o.indented+i:o.column+(p?0:1)},electricInput:_?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",r="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(r+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(r+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface package enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var r=t.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(t.context=new Context(r.indented,r.column,r.type,r.info,null,r.prev),"operator")}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,r){for(var n,o=!1,a=!1;!t.eol();){if(!e&&!o&&t.match('"')){a=!0;break}if(e&&t.match('"""')){a=!0;break}n=t.next(),!o&&"$"==n&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==n&&!e}return!a&&e||(r.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(r),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(r),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,r){if("statement"==t.type&&/^@\w/.test(r))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(r),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var n=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!n||!e.match("`"))&&(t.tokenize=n,n=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,r){if(("variable"==r||"type"==r)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},996:function(e,t,r){!function(e){e(r(907),r(911),r(915))}(function(e){"use strict";function keywords(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function matchSequence(e,t,r){return 0==e.length?phpString(t):function(n,o){for(var a=e[0],i=0;i<a.length;i++)if(n.match(a[i][0]))return o.tokenize=matchSequence(e.slice(1),t),a[i][1];return o.tokenize=phpString(t,r),"string"}}function phpString(e,t){return function(r,n){return function phpString_(e,t,r,n){if(!1!==n&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==n&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=matchSequence([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,n)),e.match(/\-\>\w/,!1)&&(t.tokenize=matchSequence([[["->",null]],[[/[\w]+/,"variable"]]],r,n)),"variable-2";var o=!1;for(;!e.eol()&&(o||!1===n||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}o="\\"==e.next()&&!o}return"string"}(r,n,e,t)}}var t="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",r="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",n="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[t,r,n].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var o={name:"clike",helperType:"php",keywords:keywords(t),blockKeywords:keywords("catch do else elseif for foreach if switch try while finally"),defKeywords:keywords("class function interface namespace trait"),atoms:keywords(r),builtin:keywords(n),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var r;if(r=e.match(/<<\s*/)){var n=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(r[0].length+(n?2:1));if(n&&e.eat(n),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=phpString(o,"'"!=n),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=phpString('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=phpString(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,r){var n=e.getMode(t,r&&r.htmlMode||"text/html"),a=e.getMode(t,o);return{startState:function(){var t=e.startState(n),o=r.startOpen?e.startState(a):null;return{html:t,php:o,curMode:r.startOpen?a:n,curState:r.startOpen?o:t,pending:null}},copyState:function(t){var r,o=t.html,i=e.copyState(n,o),s=t.php,l=s&&e.copyState(a,s);return r=t.curMode==n?i:l,{html:i,php:l,curMode:t.curMode,curState:r,pending:t.pending}},token:function dispatch(t,r){var o=r.curMode==a;if(t.sol()&&r.pending&&'"'!=r.pending&&"'"!=r.pending&&(r.pending=null),o)return o&&null==r.php.tokenize&&t.match("?>")?(r.curMode=n,r.curState=r.html,r.php.context.prev||(r.php=null),"meta"):a.token(t,r.curState);if(t.match(/^<\?\w*/))return r.curMode=a,r.php||(r.php=e.startState(a,n.indent(r.html,""))),r.curState=r.php,"meta";if('"'==r.pending||"'"==r.pending){for(;!t.eol()&&t.next()!=r.pending;);var i="string"}else r.pending&&t.pos<r.pending.end?(t.pos=r.pending.end,i=r.pending.style):i=n.token(t,r.curState);r.pending&&(r.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==i&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?r.pending=s[0]:r.pending={end:t.pos,style:i},t.backUp(l.length-c)),i},indent:function(e,t){return e.curMode!=a&&/^\s*<\//.test(t)||e.curMode==a&&/^\?>/.test(t)?n.indent(e.html,t):e.curMode.indent(e.curState,t)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",o)})}}); \ No newline at end of file diff --git a/build/codemirror/mode/67.8263eaf6.js b/build/codemirror/mode/67.8263eaf6.js new file mode 100644 index 0000000..3216ca6 --- /dev/null +++ b/build/codemirror/mode/67.8263eaf6.js @@ -0,0 +1 @@ +webpackJsonp([6,12,32,88,110,117],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)h.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=h.state;if(h.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){h.state.context={prev:h.state.context,vars:h.state.localVars},h.state.localVars=y}function popcontext(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}function pushlex(e,t){var r=function(){var r=h.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,h.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=h.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?h.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==h.state.lexical.info&&h.state.cc[h.state.cc.length-1]==poplex&&h.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(h.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(h.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&h.stream.match(/^\s*\w/,!1)?(h.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(h.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(h.state.fatArrowAt==h.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return g.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(h.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&h.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(h.marked="keyword",cont(typeexpr,n)):"regexp"==e?(h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return h.marked="string-2",h.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return h.marked="property",cont()}function objprop(e,t){if("async"==e)return h.marked="property",cont(objprop);if("variable"==e||"keyword"==h.style){if(h.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&h.state.fatArrowAt==h.stream.start&&(r=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(h.marked=s?"property":h.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(h.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(h.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(h.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=h.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)h.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return h.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return h.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(h.marked="keyword",cont(typeexpr)):(h.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==h.style?(h.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(h.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(h.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(h.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||h.stream.match(/^\s*:/,!1)?("variable"==e&&(h.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(h.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(h.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(h.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(h.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(h.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(h.marked="keyword",cont(classBody)):"variable"==e||"keyword"==h.style?(h.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(h.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(h.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(h.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(h.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(h.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return h.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return h.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",g={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},h={state:null,column:null,marked:null,cc:null},y={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(h.state=e,h.stream=o,h.marked=null,h.cc=a,h.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return h.marked?h.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return k[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=y.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},g=r.counterDescriptors||{},h=r.colorKeywords||{},y=r.valueKeywords||{},_=r.allowNested,x=r.lineComment,b=!0===r.supportsAtComponent,k={};return k.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(b&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(_&&"("==e)return pushContext(r,t,"parens")}return r.context.type},k.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):_?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":_||"hash"!=e&&"qualifier"!=e?k.top(e,t,r):(a="error","block")},k.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},k.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&_)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},k.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},k.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},k.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},k.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):k.atBlock(e,t,r)},k.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,_?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":y.hasOwnProperty(n)?"atom":h.hasOwnProperty(n)?"keyword":"error"}return r.context.type},k.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,_?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},k.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):k.atBlock(e,t,r)},k.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},k.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},k.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},k.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},k.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=k[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:x,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),g=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],h=keySet(g),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],_=keySet(y),x=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(g).concat(y);e.registerHelper("hintWords","css",x),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:_,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:_,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:_,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:_,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},915:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function Context(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.info=n,this.align=o,this.prev=a}function pushContext(e,t,r,n){var o=e.indented;return e.context&&"statement"==e.context.type&&"statement"!=r&&(o=e.context.indented),e.context=new Context(o,t,r,n,null,e.context)}function popContext(e){var t=e.context.type;return")"!=t&&"]"!=t&&"}"!=t||(e.indented=e.context.indented),e.context=e.context.prev}function typeBefore(e,t,r){return"variable"==t.prevToken||"type"==t.prevToken||(!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,r))||(!(!t.typeAtEndOfLine||e.column()!=e.indentation())||void 0))}function isTopScope(e){for(;;){if(!e||"top"==e.type)return!0;if("}"==e.type&&"namespace"!=e.prev.info)return!1;e=e.prev}}function words(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function contains(e,t){return"function"==typeof e?e(t):e.propertyIsEnumerable(t)}function cppHook(e,t){if(!t.startOfLine)return!1;for(var r,n=null;r=e.peek();){if("\\"==r&&e.match(/^.$/)){n=cppHook;break}if("/"==r&&e.match(/^\/[\/\*]/,!1))break;e.next()}return t.tokenize=n,"meta"}function pointerHook(e,t){return"type"==t.prevToken&&"type"}function cpp14Literal(e){return e.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(e,t){if(e.backUp(1),e.match(/(R|u8R|uR|UR|LR)/)){var r=e.match(/"([^\s\\()]{0,16})\(/);return!!r&&(t.cpp11RawStringDelim=r[1],t.tokenize=tokenRawString,tokenRawString(e,t))}return e.match(/(u8|u|U|L)/)?!!e.match(/["']/,!1)&&"string":(e.next(),!1)}function tokenAtString(e,t){for(var r;null!=(r=e.next());)if('"'==r&&!e.eat('"')){t.tokenize=null;break}return"string"}function tokenRawString(e,t){var r=t.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return e.match(new RegExp(".*?\\)"+r+'"'))?t.tokenize=null:e.skipToEnd(),"string"}function def(t,r){function add(e){if(e)for(var t in e)e.hasOwnProperty(t)&&n.push(t)}"string"==typeof t&&(t=[t]);var n=[];add(r.keywords),add(r.types),add(r.builtin),add(r.atoms),n.length&&(r.helperType=t[0],e.registerHelper("hintWords",t[0],n));for(var o=0;o<t.length;++o)e.defineMIME(t[o],r)}function tokenTripleString(e,t){for(var r=!1;!e.eol();){if(!r&&e.match('"""')){t.tokenize=null;break}r="\\"==e.next()&&!r}return"string"}function tokenNestedComment(e){return function(t,r){for(var n;n=t.next();){if("*"==n&&t.eat("/")){if(1==e){r.tokenize=null;break}return r.tokenize=tokenNestedComment(e-1),r.tokenize(t,r)}if("/"==n&&t.eat("*"))return r.tokenize=tokenNestedComment(e+1),r.tokenize(t,r)}return"comment"}}function tokenCeylonString(e){return function(t,r){for(var o,a=!1,i=!1;!t.eol();){if(!a&&t.match('"')&&("single"==e||t.match('""'))){i=!0;break}if(!a&&t.match("``")){n=tokenCeylonString(e),i=!0;break}o=t.next(),a="single"==e&&!a&&"\\"==o}return i&&(r.tokenize=null),"string"}}e.defineMode("clike",function(t,r){function tokenBase(e,t){var r=e.next();if(f[r]){var a=f[r](e,t);if(!1!==a)return a}if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){for(var n,o=!1,a=!1;null!=(n=t.next());){if(n==e&&!o){a=!0;break}o=!o&&"\\"==n}return(a||!o&&!g)&&(r.tokenize=null),"string"}}(r),t.tokenize(e,t);if(x.test(r))return n=r,null;if(b.test(r)){if(e.backUp(1),e.match(k))return"number";e.next()}if("/"==r){if(e.eat("*"))return t.tokenize=tokenComment,tokenComment(e,t);if(e.eat("/"))return e.skipToEnd(),"comment"}if(w.test(r)){for(;!e.match(/^\/[\/*]/,!1)&&e.eat(w););return"operator"}if(e.eatWhile(v),_)for(;e.match(_);)e.eatWhile(v);var i=e.current();return contains(l,i)?(contains(u,i)&&(n="newstatement"),contains(d,i)&&(o=!0),"keyword"):contains(c,i)?"type":contains(p,i)?(contains(u,i)&&(n="newstatement"),"builtin"):contains(m,i)?"atom":"variable"}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=null;break}n="*"==r}return"comment"}function maybeEOL(e,t){r.typeFirstDefinitions&&e.eol()&&isTopScope(t.context)&&(t.typeAtEndOfLine=typeBefore(e,t,e.pos))}var n,o,a=t.indentUnit,i=r.statementIndentUnit||a,s=r.dontAlignCalls,l=r.keywords||{},c=r.types||{},p=r.builtin||{},u=r.blockKeywords||{},d=r.defKeywords||{},m=r.atoms||{},f=r.hooks||{},g=r.multiLineStrings,h=!1!==r.indentStatements,y=!1!==r.indentSwitch,_=r.namespaceSeparator,x=r.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,b=r.numberStart||/[\d\.]/,k=r.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,w=r.isOperatorChar||/[+\-*&%=<>!?|\/]/,v=r.isIdentifierChar||/[\w\$_\xa1-\uffff]/;return{startState:function(e){return{tokenize:null,context:new Context((e||0)-a,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(e,t){var a=t.context;if(e.sol()&&(null==a.align&&(a.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return maybeEOL(e,t),null;n=o=null;var i=(t.tokenize||tokenBase)(e,t);if("comment"==i||"meta"==i)return i;if(null==a.align&&(a.align=!0),";"==n||":"==n||","==n&&e.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==t.context.type;)popContext(t);else if("{"==n)pushContext(t,e.column(),"}");else if("["==n)pushContext(t,e.column(),"]");else if("("==n)pushContext(t,e.column(),")");else if("}"==n){for(;"statement"==a.type;)a=popContext(t);for("}"==a.type&&(a=popContext(t));"statement"==a.type;)a=popContext(t)}else n==a.type?popContext(t):h&&(("}"==a.type||"top"==a.type)&&";"!=n||"statement"==a.type&&"newstatement"==n)&&pushContext(t,e.column(),"statement",e.current());if("variable"==i&&("def"==t.prevToken||r.typeFirstDefinitions&&typeBefore(e,t,e.start)&&isTopScope(t.context)&&e.match(/^\s*\(/,!1))&&(i="def"),f.token){var s=f.token(e,t,i);void 0!==s&&(i=s)}return"def"==i&&!1===r.styleDefs&&(i="variable"),t.startOfLine=!1,t.prevToken=o?"def":i||n,maybeEOL(e,t),i},indent:function(t,n){if(t.tokenize!=tokenBase&&null!=t.tokenize||t.typeAtEndOfLine)return e.Pass;var o=t.context,l=n&&n.charAt(0);if("statement"==o.type&&"}"==l&&(o=o.prev),r.dontIndentStatements)for(;"statement"==o.type&&r.dontIndentStatements.test(o.info);)o=o.prev;if(f.indent){var c=f.indent(t,o,n);if("number"==typeof c)return c}var p=l==o.type,u=o.prev&&"switch"==o.prev.info;if(r.allmanIndentation&&/[{(]/.test(l)){for(;"top"!=o.type&&"}"!=o.type;)o=o.prev;return o.indented}return"statement"==o.type?o.indented+("{"==l?0:i):!o.align||s&&")"==o.type?")"!=o.type||p?o.indented+(p?0:a)+(p||!u||/^(?:case|default)\b/.test(n)?0:a):o.indented+i:o.column+(p?0:1)},electricInput:y?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});var t="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile",r="int long char short double float unsigned signed void size_t ptrdiff_t";def(["text/x-csrc","text/x-c","text/x-chdr"],{name:"clike",keywords:words(t),types:words(r+" bool _Complex _Bool float_t double_t intptr_t intmax_t int8_t int16_t int32_t int64_t uintptr_t uintmax_t uint8_t uint16_t uint32_t uint64_t"),blockKeywords:words("case do else for if switch while struct"),defKeywords:words("struct"),typeFirstDefinitions:!0,atoms:words("null true false"),hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def(["text/x-c++src","text/x-c++hdr"],{name:"clike",keywords:words(t+" asm dynamic_cast namespace reinterpret_cast try explicit new static_cast typeid catch operator template typename class friend private this using const_cast inline public throw virtual delete mutable protected alignas alignof constexpr decltype nullptr noexcept thread_local final static_assert override"),types:words(r+" bool wchar_t"),blockKeywords:words("catch class do else finally for if struct switch try while"),defKeywords:words("class namespace struct enum union"),typeFirstDefinitions:!0,atoms:words("true false null"),dontIndentStatements:/^template$/,isIdentifierChar:/[\w\$_~\xa1-\uffff]/,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(e,t,r){if("variable"==r&&"("==e.peek()&&(";"==t.prevToken||null==t.prevToken||"}"==t.prevToken)&&function cppLooksLikeConstructor(e){var t=/(\w+)::~?(\w+)$/.exec(e);return t&&t[1]==t[2]}(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-java",{name:"clike",keywords:words("abstract assert break case catch class const continue default do else enum extends final finally float for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while @interface"),types:words("byte short int long float double boolean char void Boolean Byte Character Double Float Integer Long Number Object Short String StringBuffer StringBuilder Void"),blockKeywords:words("catch class do else finally for if switch try while"),defKeywords:words("class interface enum @interface"),typeFirstDefinitions:!0,atoms:words("true false null"),number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+\.?\d*|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,hooks:{"@":function(e){return!e.match("interface",!1)&&(e.eatWhile(/[\w\$_]/),"meta")}},modeProps:{fold:["brace","import"]}}),def("text/x-csharp",{name:"clike",keywords:words("abstract as async await base break case catch checked class const continue default delegate do else enum event explicit extern finally fixed for foreach goto if implicit in interface internal is lock namespace new operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw try typeof unchecked unsafe using virtual void volatile while add alias ascending descending dynamic from get global group into join let orderby partial remove select set value var yield"),types:words("Action Boolean Byte Char DateTime DateTimeOffset Decimal Double Func Guid Int16 Int32 Int64 Object SByte Single String Task TimeSpan UInt16 UInt32 UInt64 bool byte char decimal double short int long object sbyte float string ushort uint ulong"),blockKeywords:words("catch class do else finally for foreach if struct switch try while"),defKeywords:words("class interface namespace struct var"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"@":function(e,t){return e.eat('"')?(t.tokenize=tokenAtString,tokenAtString(e,t)):(e.eatWhile(/[\w\$_]/),"meta")}}}),def("text/x-scala",{name:"clike",keywords:words("abstract case catch class def do else extends final finally for forSome if implicit import lazy match new null object override package private protected return sealed super this throw trait try type val var while with yield _ assert assume require print println printf readLine readBoolean readByte readShort readChar readInt readLong readFloat readDouble"),types:words("AnyVal App Application Array BufferedIterator BigDecimal BigInt Char Console Either Enumeration Equiv Error Exception Fractional Function IndexedSeq Int Integral Iterable Iterator List Map Numeric Nil NotNull Option Ordered Ordering PartialFunction PartialOrdering Product Proxy Range Responder Seq Serializable Set Specializable Stream StringBuilder StringContext Symbol Throwable Traversable TraversableOnce Tuple Unit Vector Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),multiLineStrings:!0,blockKeywords:words("catch class enum do else finally for forSome if match switch try while"),defKeywords:words("class enum def object package trait type val var"),atoms:words("true false null"),indentStatements:!1,indentSwitch:!1,isOperatorChar:/[+\-*&%=<>!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return!!e.match('""')&&(t.tokenize=tokenTripleString,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(e,t){var r=t.context;return!("}"!=r.type||!r.align||!e.eat(">"))&&(t.context=new Context(r.indented,r.column,r.type,r.info,null,r.prev),"operator")},"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenNestedComment(1),t.tokenize(e,t))}},modeProps:{closeBrackets:{triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val var fun for is in This throw return break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{'"':function(e,t){return t.tokenize=function tokenKotlinString(e){return function(t,r){for(var n,o=!1,a=!1;!t.eol();){if(!e&&!o&&t.match('"')){a=!0;break}if(e&&t.match('"""')){a=!0;break}n=t.next(),!o&&"$"==n&&t.match("{")&&t.skipTo("}"),o=!o&&"\\"==n&&!e}return!a&&e||(r.tokenize=null),"string"}}(e.match('""')),t.tokenize(e,t)}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(t+"as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:words(r),blockKeywords:words("case do else for if switch while struct"),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(t+"inline restrict _Bool _Complex _Imaginary BOOL Class bycopy byref id IMP in inout nil oneway out Protocol SEL self super atomic nonatomic retain copy readwrite readonly"),types:words(r),atoms:words("YES NO NULL NILL ON OFF true false"),hooks:{"@":function(e){return e.eatWhile(/[\w\$]/),"keyword"},"#":cppHook,indent:function(e,t,r){if("statement"==t.type&&/^@\w/.test(r))return t.indented}},modeProps:{fold:"brace"}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:words(r),blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var n=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=tokenCeylonString(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!(!n||!e.match("`"))&&(t.tokenize=n,n=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,r){if(("variable"==r||"type"==r)&&"."==t.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})},995:function(e,t,r){!function(e){e(r(907),r(911),r(915))}(function(e){"use strict";function keywords(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function matchSequence(e,t,r){return 0==e.length?phpString(t):function(n,o){for(var a=e[0],i=0;i<a.length;i++)if(n.match(a[i][0]))return o.tokenize=matchSequence(e.slice(1),t),a[i][1];return o.tokenize=phpString(t,r),"string"}}function phpString(e,t){return function(r,n){return function phpString_(e,t,r,n){if(!1!==n&&e.match("${",!1)||e.match("{$",!1))return t.tokenize=null,"string";if(!1!==n&&e.match(/^\$[a-zA-Z_][a-zA-Z0-9_]*/))return e.match("[",!1)&&(t.tokenize=matchSequence([[["[",null]],[[/\d[\w\.]*/,"number"],[/\$[a-zA-Z_][a-zA-Z0-9_]*/,"variable-2"],[/[\w\$]+/,"variable"]],[["]",null]]],r,n)),e.match(/\-\>\w/,!1)&&(t.tokenize=matchSequence([[["->",null]],[[/[\w]+/,"variable"]]],r,n)),"variable-2";var o=!1;for(;!e.eol()&&(o||!1===n||!e.match("{$",!1)&&!e.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!o&&e.match(r)){t.tokenize=null,t.tokStack.pop(),t.tokStack.pop();break}o="\\"==e.next()&&!o}return"string"}(r,n,e,t)}}var t="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",r="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",n="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";e.registerHelper("hintWords","php",[t,r,n].join(" ").split(" ")),e.registerHelper("wordChars","php",/[\w$]/);var o={name:"clike",helperType:"php",keywords:keywords(t),blockKeywords:keywords("catch do else elseif for foreach if switch try while finally"),defKeywords:keywords("class function interface namespace trait"),atoms:keywords(r),builtin:keywords(n),multiLineStrings:!0,hooks:{$:function(e){return e.eatWhile(/[\w\$_]/),"variable-2"},"<":function(e,t){var r;if(r=e.match(/<<\s*/)){var n=e.eat(/['"]/);e.eatWhile(/[\w\.]/);var o=e.current().slice(r[0].length+(n?2:1));if(n&&e.eat(n),o)return(t.tokStack||(t.tokStack=[])).push(o,0),t.tokenize=phpString(o,"'"!=n),"string"}return!1},"#":function(e){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"},"/":function(e){if(e.eat("/")){for(;!e.eol()&&!e.match("?>",!1);)e.next();return"comment"}return!1},'"':function(e,t){return(t.tokStack||(t.tokStack=[])).push('"',0),t.tokenize=phpString('"'),"string"},"{":function(e,t){return t.tokStack&&t.tokStack.length&&t.tokStack[t.tokStack.length-1]++,!1},"}":function(e,t){return t.tokStack&&t.tokStack.length>0&&!--t.tokStack[t.tokStack.length-1]&&(t.tokenize=phpString(t.tokStack[t.tokStack.length-2])),!1}}};e.defineMode("php",function(t,r){var n=e.getMode(t,r&&r.htmlMode||"text/html"),a=e.getMode(t,o);return{startState:function(){var t=e.startState(n),o=r.startOpen?e.startState(a):null;return{html:t,php:o,curMode:r.startOpen?a:n,curState:r.startOpen?o:t,pending:null}},copyState:function(t){var r,o=t.html,i=e.copyState(n,o),s=t.php,l=s&&e.copyState(a,s);return r=t.curMode==n?i:l,{html:i,php:l,curMode:t.curMode,curState:r,pending:t.pending}},token:function dispatch(t,r){var o=r.curMode==a;if(t.sol()&&r.pending&&'"'!=r.pending&&"'"!=r.pending&&(r.pending=null),o)return o&&null==r.php.tokenize&&t.match("?>")?(r.curMode=n,r.curState=r.html,r.php.context.prev||(r.php=null),"meta"):a.token(t,r.curState);if(t.match(/^<\?\w*/))return r.curMode=a,r.php||(r.php=e.startState(a,n.indent(r.html,""))),r.curState=r.php,"meta";if('"'==r.pending||"'"==r.pending){for(;!t.eol()&&t.next()!=r.pending;);var i="string"}else r.pending&&t.pos<r.pending.end?(t.pos=r.pending.end,i=r.pending.style):i=n.token(t,r.curState);r.pending&&(r.pending=null);var s,l=t.current(),c=l.search(/<\?/);return-1!=c&&("string"==i&&(s=l.match(/[\'\"]$/))&&!/\?>/.test(l)?r.pending=s[0]:r.pending={end:t.pos,style:i},t.backUp(l.length-c)),i},indent:function(e,t){return e.curMode!=a&&/^\s*<\//.test(t)||e.curMode==a&&/^\?>/.test(t)?n.indent(e.html,t):e.curMode.indent(e.curState,t)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(e){return{state:e.curState,mode:e.curMode}}}},"htmlmixed","clike"),e.defineMIME("application/x-httpd-php","php"),e.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),e.defineMIME("text/x-php",o)})}}); \ No newline at end of file diff --git a/build/codemirror/mode/68.4d8779c2.js b/build/codemirror/mode/68.c38cda68.js similarity index 97% rename from build/codemirror/mode/68.4d8779c2.js rename to build/codemirror/mode/68.c38cda68.js index 02064b7..4e07f1f 100644 --- a/build/codemirror/mode/68.4d8779c2.js +++ b/build/codemirror/mode/68.c38cda68.js @@ -1 +1 @@ -webpackJsonp([71],{997:function(e,O,T){!function(e){e(T(907))}(function(e){"use strict";e.defineMode("pig",function(e,O){function chain(e,O,T){return O.tokenize=T,T(e,O)}function tokenComment(e,O){for(var T,E=!1;T=e.next();){if("/"==T&&E){O.tokenize=tokenBase;break}E="*"==T}return"comment"}function tokenBase(e,O){var A=e.next();return'"'==A||"'"==A?chain(e,O,function tokenString(e){return function(O,T){for(var E,t=!1,N=!1;null!=(E=O.next());){if(E==e&&!t){N=!0;break}t=!t&&"\\"==E}return(N||!t&&!I)&&(T.tokenize=tokenBase),"error"}}(A)):/[\[\]{}\(\),;\.]/.test(A)?null:/\d/.test(A)?(e.eatWhile(/[\w\.]/),"number"):"/"==A?e.eat("*")?chain(e,O,tokenComment):(e.eatWhile(N),"operator"):"-"==A?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(N),"operator"):N.test(A)?(e.eatWhile(N),"operator"):(e.eatWhile(/[\w\$_]/),T&&T.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":E&&E.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":t&&t.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}var T=O.keywords,E=O.builtins,t=O.types,I=O.multiLineStrings,N=/[*+\-%<>=&?:\/!|]/;return{startState:function(){return{tokenize:tokenBase,startOfLine:!0}},token:function(e,O){if(e.eatSpace())return null;return O.tokenize(e,O)}}}),function(){function keywords(e){for(var O={},T=e.split(" "),E=0;E<T.length;++E)O[T[E]]=!0;return O}var O="ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER ",T="VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP",E="BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP ";e.defineMIME("text/x-pig",{name:"pig",builtins:keywords(O),keywords:keywords(T),types:keywords(E)}),e.registerHelper("hintWords","pig",(O+E+T).split(" "))}()})}}); \ No newline at end of file +webpackJsonp([70],{996:function(e,O,T){!function(e){e(T(907))}(function(e){"use strict";e.defineMode("pig",function(e,O){function chain(e,O,T){return O.tokenize=T,T(e,O)}function tokenComment(e,O){for(var T,E=!1;T=e.next();){if("/"==T&&E){O.tokenize=tokenBase;break}E="*"==T}return"comment"}function tokenBase(e,O){var A=e.next();return'"'==A||"'"==A?chain(e,O,function tokenString(e){return function(O,T){for(var E,t=!1,N=!1;null!=(E=O.next());){if(E==e&&!t){N=!0;break}t=!t&&"\\"==E}return(N||!t&&!I)&&(T.tokenize=tokenBase),"error"}}(A)):/[\[\]{}\(\),;\.]/.test(A)?null:/\d/.test(A)?(e.eatWhile(/[\w\.]/),"number"):"/"==A?e.eat("*")?chain(e,O,tokenComment):(e.eatWhile(N),"operator"):"-"==A?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(N),"operator"):N.test(A)?(e.eatWhile(N),"operator"):(e.eatWhile(/[\w\$_]/),T&&T.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":E&&E.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":t&&t.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}var T=O.keywords,E=O.builtins,t=O.types,I=O.multiLineStrings,N=/[*+\-%<>=&?:\/!|]/;return{startState:function(){return{tokenize:tokenBase,startOfLine:!0}},token:function(e,O){if(e.eatSpace())return null;return O.tokenize(e,O)}}}),function(){function keywords(e){for(var O={},T=e.split(" "),E=0;E<T.length;++E)O[T[E]]=!0;return O}var O="ABS ACOS ARITY ASIN ATAN AVG BAGSIZE BINSTORAGE BLOOM BUILDBLOOM CBRT CEIL CONCAT COR COS COSH COUNT COUNT_STAR COV CONSTANTSIZE CUBEDIMENSIONS DIFF DISTINCT DOUBLEABS DOUBLEAVG DOUBLEBASE DOUBLEMAX DOUBLEMIN DOUBLEROUND DOUBLESUM EXP FLOOR FLOATABS FLOATAVG FLOATMAX FLOATMIN FLOATROUND FLOATSUM GENERICINVOKER INDEXOF INTABS INTAVG INTMAX INTMIN INTSUM INVOKEFORDOUBLE INVOKEFORFLOAT INVOKEFORINT INVOKEFORLONG INVOKEFORSTRING INVOKER ISEMPTY JSONLOADER JSONMETADATA JSONSTORAGE LAST_INDEX_OF LCFIRST LOG LOG10 LOWER LONGABS LONGAVG LONGMAX LONGMIN LONGSUM MAX MIN MAPSIZE MONITOREDUDF NONDETERMINISTIC OUTPUTSCHEMA PIGSTORAGE PIGSTREAMING RANDOM REGEX_EXTRACT REGEX_EXTRACT_ALL REPLACE ROUND SIN SINH SIZE SQRT STRSPLIT SUBSTRING SUM STRINGCONCAT STRINGMAX STRINGMIN STRINGSIZE TAN TANH TOBAG TOKENIZE TOMAP TOP TOTUPLE TRIM TEXTLOADER TUPLESIZE UCFIRST UPPER UTF8STORAGECONVERTER ",T="VOID IMPORT RETURNS DEFINE LOAD FILTER FOREACH ORDER CUBE DISTINCT COGROUP JOIN CROSS UNION SPLIT INTO IF OTHERWISE ALL AS BY USING INNER OUTER ONSCHEMA PARALLEL PARTITION GROUP AND OR NOT GENERATE FLATTEN ASC DESC IS STREAM THROUGH STORE MAPREDUCE SHIP CACHE INPUT OUTPUT STDERROR STDIN STDOUT LIMIT SAMPLE LEFT RIGHT FULL EQ GT LT GTE LTE NEQ MATCHES TRUE FALSE DUMP",E="BOOLEAN INT LONG FLOAT DOUBLE CHARARRAY BYTEARRAY BAG TUPLE MAP ";e.defineMIME("text/x-pig",{name:"pig",builtins:keywords(O),keywords:keywords(T),types:keywords(E)}),e.registerHelper("hintWords","pig",(O+E+T).split(" "))}()})}}); \ No newline at end of file diff --git a/build/codemirror/mode/69.1d3ff129.js b/build/codemirror/mode/69.b870b37c.js similarity index 99% rename from build/codemirror/mode/69.1d3ff129.js rename to build/codemirror/mode/69.b870b37c.js index 5bc2bd6..02c60eb 100644 --- a/build/codemirror/mode/69.1d3ff129.js +++ b/build/codemirror/mode/69.b870b37c.js @@ -1 +1 @@ -webpackJsonp([70],{998:function(e,t,n){!function(e){"use strict";e(n(907))}(function(e){"use strict";e.defineMode("powershell",function(){function buildRegexp(e,t){for(var n=void 0!==(t=t||{}).prefix?t.prefix:"^",r=void 0!==t.suffix?t.suffix:"\\b",o=0;o<e.length;o++)e[o]instanceof RegExp?e[o]=e[o].source:e[o]=e[o].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+r,"i")}function tokenBase(e,r){var o=r.returnStack[r.returnStack.length-1];if(o&&o.shouldReturnFrom(r))return r.tokenize=o.tokenize,r.returnStack.pop(),r.tokenize(e,r);if(e.eatSpace())return null;if(e.eat("("))return r.bracketNesting+=1,"punctuation";if(e.eat(")"))return r.bracketNesting-=1,"punctuation";for(var i in n)if(e.match(n[i]))return i;var a=e.next();if("'"===a)return function tokenSingleQuoteString(e,t){var n;for(;null!=(n=e.peek());)if(e.next(),"'"===n&&!e.eat("'"))return t.tokenize=tokenBase,"string";return"error"}(e,r);if("$"===a)return tokenVariable(e,r);if('"'===a)return tokenDoubleQuoteString(e,r);if("<"===a&&e.eat("#"))return r.tokenize=tokenComment,tokenComment(e,r);if("#"===a)return e.skipToEnd(),"comment";if("@"===a){var s=e.eat(/["']/);if(s&&e.eol())return r.tokenize=tokenMultiString,r.startQuote=s[0],tokenMultiString(e,r);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(t))return tokenVariable(e,r)}return"error"}function tokenDoubleQuoteString(e,t){for(var n;null!=(n=e.peek());){if("$"===n)return t.tokenize=tokenStringInterpolation,"string";if(e.next(),"`"!==n){if('"'===n&&!e.eat('"'))return t.tokenize=tokenBase,"string"}else e.next()}return"error"}function tokenStringInterpolation(e,t){return tokenInterpolation(e,t,tokenDoubleQuoteString)}function tokenMultiStringReturn(e,t){return t.tokenize=tokenMultiString,t.startQuote='"',tokenMultiString(e,t)}function tokenHereStringInterpolation(e,t){return tokenInterpolation(e,t,tokenMultiStringReturn)}function tokenInterpolation(e,t,n){if(e.match("$(")){var r=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===r},tokenize:n}),t.tokenize=tokenBase,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),t.tokenize=tokenVariable,t.tokenize(e,t)}function tokenComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&">"==n){t.tokenize=tokenBase;break}r="#"===n}return"comment"}function tokenVariable(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=tokenVariableWithBraces,tokenVariableWithBraces(e,n)):void 0!=r&&r.match(t)?(e.eatWhile(t),n.tokenize=tokenBase,"variable-2"):(n.tokenize=tokenBase,"error")}function tokenVariableWithBraces(e,t){for(var n;null!=(n=e.next());)if("}"===n){t.tokenize=tokenBase;break}return"variable-2"}function tokenMultiString(e,t){var n=t.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))t.tokenize=tokenBase;else if('"'===n)for(;!e.eol();){var r=e.peek();if("$"===r)return t.tokenize=tokenHereStringInterpolation,"string";e.next(),"`"===r&&e.next()}else e.skipToEnd();return"string"}var e="(?=[^A-Za-z\\d\\-_]|$)",t=/[\w\-:]/,n={keyword:buildRegexp([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:e}),number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:buildRegexp([buildRegexp(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),builtin:buildRegexp([/[A-Z]:|%|\?/i,buildRegexp([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),buildRegexp([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""})],{suffix:e}),punctuation:/[\[\]{},;`\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"}}),e.defineMIME("application/x-powershell","powershell")})}}); \ No newline at end of file +webpackJsonp([69],{997:function(e,t,n){!function(e){"use strict";e(n(907))}(function(e){"use strict";e.defineMode("powershell",function(){function buildRegexp(e,t){for(var n=void 0!==(t=t||{}).prefix?t.prefix:"^",r=void 0!==t.suffix?t.suffix:"\\b",o=0;o<e.length;o++)e[o]instanceof RegExp?e[o]=e[o].source:e[o]=e[o].replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return new RegExp(n+"("+e.join("|")+")"+r,"i")}function tokenBase(e,r){var o=r.returnStack[r.returnStack.length-1];if(o&&o.shouldReturnFrom(r))return r.tokenize=o.tokenize,r.returnStack.pop(),r.tokenize(e,r);if(e.eatSpace())return null;if(e.eat("("))return r.bracketNesting+=1,"punctuation";if(e.eat(")"))return r.bracketNesting-=1,"punctuation";for(var i in n)if(e.match(n[i]))return i;var a=e.next();if("'"===a)return function tokenSingleQuoteString(e,t){var n;for(;null!=(n=e.peek());)if(e.next(),"'"===n&&!e.eat("'"))return t.tokenize=tokenBase,"string";return"error"}(e,r);if("$"===a)return tokenVariable(e,r);if('"'===a)return tokenDoubleQuoteString(e,r);if("<"===a&&e.eat("#"))return r.tokenize=tokenComment,tokenComment(e,r);if("#"===a)return e.skipToEnd(),"comment";if("@"===a){var s=e.eat(/["']/);if(s&&e.eol())return r.tokenize=tokenMultiString,r.startQuote=s[0],tokenMultiString(e,r);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(t))return tokenVariable(e,r)}return"error"}function tokenDoubleQuoteString(e,t){for(var n;null!=(n=e.peek());){if("$"===n)return t.tokenize=tokenStringInterpolation,"string";if(e.next(),"`"!==n){if('"'===n&&!e.eat('"'))return t.tokenize=tokenBase,"string"}else e.next()}return"error"}function tokenStringInterpolation(e,t){return tokenInterpolation(e,t,tokenDoubleQuoteString)}function tokenMultiStringReturn(e,t){return t.tokenize=tokenMultiString,t.startQuote='"',tokenMultiString(e,t)}function tokenHereStringInterpolation(e,t){return tokenInterpolation(e,t,tokenMultiStringReturn)}function tokenInterpolation(e,t,n){if(e.match("$(")){var r=t.bracketNesting;return t.returnStack.push({shouldReturnFrom:function(e){return e.bracketNesting===r},tokenize:n}),t.tokenize=tokenBase,t.bracketNesting+=1,"punctuation"}return e.next(),t.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),t.tokenize=tokenVariable,t.tokenize(e,t)}function tokenComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&">"==n){t.tokenize=tokenBase;break}r="#"===n}return"comment"}function tokenVariable(e,n){var r=e.peek();return e.eat("{")?(n.tokenize=tokenVariableWithBraces,tokenVariableWithBraces(e,n)):void 0!=r&&r.match(t)?(e.eatWhile(t),n.tokenize=tokenBase,"variable-2"):(n.tokenize=tokenBase,"error")}function tokenVariableWithBraces(e,t){for(var n;null!=(n=e.next());)if("}"===n){t.tokenize=tokenBase;break}return"variable-2"}function tokenMultiString(e,t){var n=t.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))t.tokenize=tokenBase;else if('"'===n)for(;!e.eol();){var r=e.peek();if("$"===r)return t.tokenize=tokenHereStringInterpolation,"string";e.next(),"`"===r&&e.next()}else e.skipToEnd();return"string"}var e="(?=[^A-Za-z\\d\\-_]|$)",t=/[\w\-:]/,n={keyword:buildRegexp([/begin|break|catch|continue|data|default|do|dynamicparam/,/else|elseif|end|exit|filter|finally|for|foreach|from|function|if|in/,/param|process|return|switch|throw|trap|try|until|where|while/],{suffix:e}),number:/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,operator:buildRegexp([buildRegexp(["f",/b?not/,/[ic]?split/,"join",/is(not)?/,"as",/[ic]?(eq|ne|[gl][te])/,/[ic]?(not)?(like|match|contains)/,/[ic]?replace/,/b?(and|or|xor)/],{prefix:"-"}),/[+\-*\/%]=|\+\+|--|\.\.|[+\-*&^%:=!|\/]|<(?!#)|(?!#)>/],{suffix:""}),builtin:buildRegexp([/[A-Z]:|%|\?/i,buildRegexp([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),buildRegexp([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""})],{suffix:e}),punctuation:/[\[\]{},;`\.]|@[({]/,identifier:/^[A-Za-z\_][A-Za-z\-\_\d]*\b/};return{startState:function(){return{returnStack:[],bracketNesting:0,tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"}}),e.defineMIME("application/x-powershell","powershell")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/7.4ba28b15.js b/build/codemirror/mode/7.d1561ec7.js similarity index 93% rename from build/codemirror/mode/7.4ba28b15.js rename to build/codemirror/mode/7.d1561ec7.js index b6e62f7..3b21740 100644 --- a/build/codemirror/mode/7.4ba28b15.js +++ b/build/codemirror/mode/7.d1561ec7.js @@ -1 +1 @@ -webpackJsonp([116],{944:function(n,t,e){!function(n){n(e(907))}(function(n){"use strict";n.defineMode("cmake",function(){function tokenString(n,t){for(var e,i,r=!1;!n.eol()&&(e=n.next())!=t.pending;){if("$"===e&&"\\"!=i&&'"'==t.pending){r=!0;break}i=e}return r&&n.backUp(1),e==t.pending?t.continueString=!1:t.continueString=!0,"string"}var n=/({)?[a-zA-Z0-9_]+(})?/;return{startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(t,e){return t.eatSpace()?null:function tokenize(t,e){var i=t.next();return"$"===i?t.match(n)?"variable-2":"variable":e.continueString?(t.backUp(1),tokenString(t,e)):t.match(/(\s+)?\w+\(/)||t.match(/(\s+)?\w+\ \(/)?(t.backUp(1),"def"):"#"==i?(t.skipToEnd(),"comment"):"'"==i||'"'==i?(e.pending=i,tokenString(t,e)):"("==i||")"==i?"bracket":i.match(/[0-9]/)?"number":(t.eatWhile(/[\w-]/),null)}(t,e)}}}),n.defineMIME("text/x-cmake","cmake")})}}); \ No newline at end of file +webpackJsonp([115],{944:function(n,t,e){!function(n){n(e(907))}(function(n){"use strict";n.defineMode("cmake",function(){function tokenString(n,t){for(var e,i,r=!1;!n.eol()&&(e=n.next())!=t.pending;){if("$"===e&&"\\"!=i&&'"'==t.pending){r=!0;break}i=e}return r&&n.backUp(1),e==t.pending?t.continueString=!1:t.continueString=!0,"string"}var n=/({)?[a-zA-Z0-9_]+(})?/;return{startState:function(){var n={};return n.inDefinition=!1,n.inInclude=!1,n.continueString=!1,n.pending=!1,n},token:function(t,e){return t.eatSpace()?null:function tokenize(t,e){var i=t.next();return"$"===i?t.match(n)?"variable-2":"variable":e.continueString?(t.backUp(1),tokenString(t,e)):t.match(/(\s+)?\w+\(/)||t.match(/(\s+)?\w+\ \(/)?(t.backUp(1),"def"):"#"==i?(t.skipToEnd(),"comment"):"'"==i||'"'==i?(e.pending=i,tokenString(t,e)):"("==i||")"==i?"bracket":i.match(/[0-9]/)?"number":(t.eatWhile(/[\w-]/),null)}(t,e)}}}),n.defineMIME("text/x-cmake","cmake")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/70.249f8367.js b/build/codemirror/mode/70.4b74882b.js similarity index 92% rename from build/codemirror/mode/70.249f8367.js rename to build/codemirror/mode/70.4b74882b.js index 4741f9c..68b460f 100644 --- a/build/codemirror/mode/70.249f8367.js +++ b/build/codemirror/mode/70.4b74882b.js @@ -1 +1 @@ -webpackJsonp([69],{999:function(e,t,i){!function(e){e(i(907))}(function(e){"use strict";e.defineMode("properties",function(){return{token:function(e,t){var i=e.sol()||t.afterSection,n=e.eol();if(t.afterSection=!1,i&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),n&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),i)for(;e.eatSpace(););var o=e.next();return!i||"#"!==o&&"!"!==o&&";"!==o?i&&"["===o?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===o||":"===o?(t.position="quote",null):("\\"===o&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),e.defineMIME("text/x-properties","properties"),e.defineMIME("text/x-ini","properties")})}}); \ No newline at end of file +webpackJsonp([68],{998:function(e,t,i){!function(e){e(i(907))}(function(e){"use strict";e.defineMode("properties",function(){return{token:function(e,t){var i=e.sol()||t.afterSection,n=e.eol();if(t.afterSection=!1,i&&(t.nextMultiline?(t.inMultiline=!0,t.nextMultiline=!1):t.position="def"),n&&!t.nextMultiline&&(t.inMultiline=!1,t.position="def"),i)for(;e.eatSpace(););var o=e.next();return!i||"#"!==o&&"!"!==o&&";"!==o?i&&"["===o?(t.afterSection=!0,e.skipTo("]"),e.eat("]"),"header"):"="===o||":"===o?(t.position="quote",null):("\\"===o&&"quote"===t.position&&e.eol()&&(t.nextMultiline=!0),t.position):(t.position="comment",e.skipToEnd(),"comment")},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),e.defineMIME("text/x-properties","properties"),e.defineMIME("text/x-ini","properties")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/71.5132dbcd.js b/build/codemirror/mode/71.6298f007.js similarity index 94% rename from build/codemirror/mode/71.5132dbcd.js rename to build/codemirror/mode/71.6298f007.js index ea4f557..0478638 100644 --- a/build/codemirror/mode/71.5132dbcd.js +++ b/build/codemirror/mode/71.6298f007.js @@ -1 +1 @@ -webpackJsonp([68],{1e3:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function tokenBase(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(r)?"variable":(e.next(),null)}var t=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],n=function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}(t);e.registerHelper("hintWords","protobuf",t);var r=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");e.defineMode("protobuf",function(){return{token:tokenBase}}),e.defineMIME("text/x-protobuf","protobuf")})}}); \ No newline at end of file +webpackJsonp([67],{999:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function tokenBase(e){if(e.eatSpace())return null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return e.match(/^"([^"]|(""))*"/)?"string":e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(r)?"variable":(e.next(),null)}var t=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],n=function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}(t);e.registerHelper("hintWords","protobuf",t);var r=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");e.defineMode("protobuf",function(){return{token:tokenBase}}),e.defineMIME("text/x-protobuf","protobuf")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/72.22fc981e.js b/build/codemirror/mode/72.22fc981e.js new file mode 100644 index 0000000..9321b7b --- /dev/null +++ b/build/codemirror/mode/72.22fc981e.js @@ -0,0 +1 @@ +webpackJsonp([11,12,32,88,110],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return v[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,v={};return v.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},v.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?v.top(e,t,r):(a="error","block")},v.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},v.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},v.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},v.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},v.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},v.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):v.atBlock(e,t,r)},v.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},v.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},v.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):v.atBlock(e,t,r)},v.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},v.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},v.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},v.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},v.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=v[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},924:function(e,t,r){!function(e){e(r(907),r(908),r(910),r(911))}(function(e){"use strict";e.defineMode("pug",function(t){function State(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=e.startState(s),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}function interpolation(e,t){if(e.match("#{"))return t.isInterpolating=!0,t.interpolationNesting=0,"punctuation"}function filter(r,n){if(r.match(/^:([\w\-]+)/)){var o;return t&&t.innerModes&&(o=t.innerModes(r.current().substring(1))),o||(o=r.current().substring(1)),"string"==typeof o&&(o=e.getMode(t,o)),setInnerMode(r,n,o),"atom"}}function attrsContinued(t,r){if(r.isAttrs){if(i[t.peek()]&&r.attrsNest.push(i[t.peek()]),r.attrsNest[r.attrsNest.length-1]===t.peek())r.attrsNest.pop();else if(t.eat(")"))return r.isAttrs=!1,"punctuation";if(r.inAttributeName&&t.match(/^[^=,\)!]+/))return"="!==t.peek()&&"!"!==t.peek()||(r.inAttributeName=!1,r.jsState=e.startState(s),"script"===r.lastTag&&"type"===t.current().trim().toLowerCase()?r.attributeIsType=!0:r.attributeIsType=!1),"attribute";var n=s.token(t,r.jsState);if(r.attributeIsType&&"string"===n&&(r.scriptType=t.current().toString()),0===r.attrsNest.length&&("string"===n||"variable"===n||"keyword"===n))try{return Function("","var x "+r.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),r.inAttributeName=!0,r.attrValue="",t.backUp(t.current().length),attrsContinued(t,r)}catch(e){}return r.attrValue+=t.current(),n||!0}}function setInnerMode(r,n,o){o=e.mimeModes[o]||o,o=t.innerModes?t.innerModes(o)||o:o,o=e.mimeModes[o]||o,o=e.getMode(t,o),n.indentOf=r.indentation(),o&&"null"!==o.name?n.innerMode=o:n.indentToken="string"}function innerMode(t,r,n){if(t.indentation()>r.indentOf||r.innerModeForLine&&!t.sol()||n)return r.innerMode?(r.innerState||(r.innerState=r.innerMode.startState?e.startState(r.innerMode,t.indentation()):{}),t.hideFirstChars(r.indentOf+2,function(){return r.innerMode.token(t,r.innerState)||!0})):(t.skipToEnd(),r.indentToken);t.sol()&&(r.indentOf=1/0,r.indentToken=null,r.innerMode=null,r.innerState=null)}var r="keyword",n="meta",o="builtin",a="qualifier",i={"{":"}","(":")","[":"]"},s=e.getMode(t,"javascript");return State.prototype.copy=function(){var t=new State;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:function startState(){return new State},copyState:function copyState(e){return e.copy()},token:function nextToken(e,t){var i=innerMode(e,t)||function restOfLine(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var r=t.restOfLine;return t.restOfLine="",r}}(e,t)||function interpolationContinued(e,t){if(t.isInterpolating){if("}"===e.peek()){if(t.interpolationNesting--,t.interpolationNesting<0)return e.next(),t.isInterpolating=!1,"punctuation"}else"{"===e.peek()&&t.interpolationNesting++;return s.token(e,t.jsState)||!0}}(e,t)||function includeFilteredContinued(e,t){if(t.isIncludeFiltered){var r=filter(e,t);return t.isIncludeFiltered=!1,t.restOfLine="string",r}}(e,t)||function eachContinued(e,t){if(t.isEach){if(e.match(/^ in\b/))return t.javaScriptLine=!0,t.isEach=!1,r;if(e.sol()||e.eol())t.isEach=!1;else if(e.next()){for(;!e.match(/^ in\b/,!1)&&e.next(););return"variable"}}}(e,t)||attrsContinued(e,t)||function javaScript(e,t){if(e.sol()&&(t.javaScriptLine=!1,t.javaScriptLineExcludesColon=!1),t.javaScriptLine){if(t.javaScriptLineExcludesColon&&":"===e.peek())return t.javaScriptLine=!1,void(t.javaScriptLineExcludesColon=!1);var r=s.token(e,t.jsState);return e.eol()&&(t.javaScriptLine=!1),r||!0}}(e,t)||function javaScriptArguments(e,t){if(t.javaScriptArguments)return 0===t.javaScriptArgumentsDepth&&"("!==e.peek()?void(t.javaScriptArguments=!1):("("===e.peek()?t.javaScriptArgumentsDepth++:")"===e.peek()&&t.javaScriptArgumentsDepth--,0===t.javaScriptArgumentsDepth?void(t.javaScriptArguments=!1):s.token(e,t.jsState)||!0)}(e,t)||function callArguments(e,t){if(t.mixinCallAfter)return t.mixinCallAfter=!1,e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),!0}(e,t)||function yieldStatement(e){if(e.match(/^yield\b/))return"keyword"}(e)||function doctype(e){if(e.match(/^(?:doctype) *([^\n]+)?/))return n}(e)||interpolation(e,t)||function caseStatement(e,t){if(e.match(/^case\b/))return t.javaScriptLine=!0,r}(e,t)||function when(e,t){if(e.match(/^when\b/))return t.javaScriptLine=!0,t.javaScriptLineExcludesColon=!0,r}(e,t)||function defaultStatement(e){if(e.match(/^default\b/))return r}(e)||function extendsStatement(e,t){if(e.match(/^extends?\b/))return t.restOfLine="string",r}(e,t)||function append(e,t){if(e.match(/^append\b/))return t.restOfLine="variable",r}(e,t)||function prepend(e,t){if(e.match(/^prepend\b/))return t.restOfLine="variable",r}(e,t)||function block(e,t){if(e.match(/^block\b *(?:(prepend|append)\b)?/))return t.restOfLine="variable",r}(e,t)||function include(e,t){if(e.match(/^include\b/))return t.restOfLine="string",r}(e,t)||function includeFiltered(e,t){if(e.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&e.match("include"))return t.isIncludeFiltered=!0,r}(e,t)||function mixin(e,t){if(e.match(/^mixin\b/))return t.javaScriptLine=!0,r}(e,t)||function call(e,t){return e.match(/^\+([-\w]+)/)?(e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),"variable"):e.match(/^\+#{/,!1)?(e.next(),t.mixinCallAfter=!0,interpolation(e,t)):void 0}(e,t)||function conditional(e,t){if(e.match(/^(if|unless|else if|else)\b/))return t.javaScriptLine=!0,r}(e,t)||function each(e,t){if(e.match(/^(- *)?(each|for)\b/))return t.isEach=!0,r}(e,t)||function whileStatement(e,t){if(e.match(/^while\b/))return t.javaScriptLine=!0,r}(e,t)||function tag(e,t){var r;if(r=e.match(/^(\w(?:[-:\w]*\w)?)\/?/))return t.lastTag=r[1].toLowerCase(),"script"===t.lastTag&&(t.scriptType="application/javascript"),"tag"}(e,t)||filter(e,t)||function code(e,t){if(e.match(/^(!?=|-)/))return t.javaScriptLine=!0,"punctuation"}(e,t)||function id(e){if(e.match(/^#([\w-]+)/))return o}(e)||function className(e){if(e.match(/^\.([\w-]+)/))return a}(e)||function attrs(e,t){if("("==e.peek())return e.next(),t.isAttrs=!0,t.attrsNest=[],t.inAttributeName=!0,t.attrValue="",t.attributeIsType=!1,"punctuation"}(e,t)||function attributesBlock(e,t){if(e.match(/^&attributes\b/))return t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0,"keyword"}(e,t)||function indent(e){if(e.sol()&&e.eatSpace())return"indent"}(e)||function text(e,t){return e.match(/^(?:\| ?| )([^\n]+)/)?"string":e.match(/^(<[^\n]*)/,!1)?(setInnerMode(e,t,"htmlmixed"),t.innerModeForLine=!0,innerMode(e,t,!0)):void 0}(e,t)||function comment(e,t){if(e.match(/^ *\/\/(-)?([^\n]*)/))return t.indentOf=e.indentation(),t.indentToken="comment","comment"}(e,t)||function colon(e){if(e.match(/^: */))return"colon"}(e)||function dot(e,t){if(e.eat(".")){var r=null;return"script"===t.lastTag&&-1!=t.scriptType.toLowerCase().indexOf("javascript")?r=t.scriptType.toLowerCase().replace(/"|'/g,""):"style"===t.lastTag&&(r="css"),setInnerMode(e,t,r),"dot"}}(e,t)||function fail(e){return e.next(),null}(e);return!0===i?null:i}}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/72.f008318d.js b/build/codemirror/mode/72.f008318d.js deleted file mode 100644 index 7777184..0000000 --- a/build/codemirror/mode/72.f008318d.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([11,12,33,89,111],{908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return v[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,v={};return v.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},v.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?v.top(e,t,r):(a="error","block")},v.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},v.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},v.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},v.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},v.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},v.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):v.atBlock(e,t,r)},v.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},v.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},v.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):v.atBlock(e,t,r)},v.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},v.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},v.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},v.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},v.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=v[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},926:function(e,t,r){!function(e){e(r(907),r(908),r(910),r(911))}(function(e){"use strict";e.defineMode("pug",function(t){function State(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=e.startState(s),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}function interpolation(e,t){if(e.match("#{"))return t.isInterpolating=!0,t.interpolationNesting=0,"punctuation"}function filter(r,n){if(r.match(/^:([\w\-]+)/)){var o;return t&&t.innerModes&&(o=t.innerModes(r.current().substring(1))),o||(o=r.current().substring(1)),"string"==typeof o&&(o=e.getMode(t,o)),setInnerMode(r,n,o),"atom"}}function attrsContinued(t,r){if(r.isAttrs){if(i[t.peek()]&&r.attrsNest.push(i[t.peek()]),r.attrsNest[r.attrsNest.length-1]===t.peek())r.attrsNest.pop();else if(t.eat(")"))return r.isAttrs=!1,"punctuation";if(r.inAttributeName&&t.match(/^[^=,\)!]+/))return"="!==t.peek()&&"!"!==t.peek()||(r.inAttributeName=!1,r.jsState=e.startState(s),"script"===r.lastTag&&"type"===t.current().trim().toLowerCase()?r.attributeIsType=!0:r.attributeIsType=!1),"attribute";var n=s.token(t,r.jsState);if(r.attributeIsType&&"string"===n&&(r.scriptType=t.current().toString()),0===r.attrsNest.length&&("string"===n||"variable"===n||"keyword"===n))try{return Function("","var x "+r.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),r.inAttributeName=!0,r.attrValue="",t.backUp(t.current().length),attrsContinued(t,r)}catch(e){}return r.attrValue+=t.current(),n||!0}}function setInnerMode(r,n,o){o=e.mimeModes[o]||o,o=t.innerModes?t.innerModes(o)||o:o,o=e.mimeModes[o]||o,o=e.getMode(t,o),n.indentOf=r.indentation(),o&&"null"!==o.name?n.innerMode=o:n.indentToken="string"}function innerMode(t,r,n){if(t.indentation()>r.indentOf||r.innerModeForLine&&!t.sol()||n)return r.innerMode?(r.innerState||(r.innerState=r.innerMode.startState?e.startState(r.innerMode,t.indentation()):{}),t.hideFirstChars(r.indentOf+2,function(){return r.innerMode.token(t,r.innerState)||!0})):(t.skipToEnd(),r.indentToken);t.sol()&&(r.indentOf=1/0,r.indentToken=null,r.innerMode=null,r.innerState=null)}var r="keyword",n="meta",o="builtin",a="qualifier",i={"{":"}","(":")","[":"]"},s=e.getMode(t,"javascript");return State.prototype.copy=function(){var t=new State;return t.javaScriptLine=this.javaScriptLine,t.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,t.javaScriptArguments=this.javaScriptArguments,t.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,t.isInterpolating=this.isInterpolating,t.interpolationNesting=this.interpolationNesting,t.jsState=e.copyState(s,this.jsState),t.innerMode=this.innerMode,this.innerMode&&this.innerState&&(t.innerState=e.copyState(this.innerMode,this.innerState)),t.restOfLine=this.restOfLine,t.isIncludeFiltered=this.isIncludeFiltered,t.isEach=this.isEach,t.lastTag=this.lastTag,t.scriptType=this.scriptType,t.isAttrs=this.isAttrs,t.attrsNest=this.attrsNest.slice(),t.inAttributeName=this.inAttributeName,t.attributeIsType=this.attributeIsType,t.attrValue=this.attrValue,t.indentOf=this.indentOf,t.indentToken=this.indentToken,t.innerModeForLine=this.innerModeForLine,t},{startState:function startState(){return new State},copyState:function copyState(e){return e.copy()},token:function nextToken(e,t){var i=innerMode(e,t)||function restOfLine(e,t){if(e.sol()&&(t.restOfLine=""),t.restOfLine){e.skipToEnd();var r=t.restOfLine;return t.restOfLine="",r}}(e,t)||function interpolationContinued(e,t){if(t.isInterpolating){if("}"===e.peek()){if(t.interpolationNesting--,t.interpolationNesting<0)return e.next(),t.isInterpolating=!1,"punctuation"}else"{"===e.peek()&&t.interpolationNesting++;return s.token(e,t.jsState)||!0}}(e,t)||function includeFilteredContinued(e,t){if(t.isIncludeFiltered){var r=filter(e,t);return t.isIncludeFiltered=!1,t.restOfLine="string",r}}(e,t)||function eachContinued(e,t){if(t.isEach){if(e.match(/^ in\b/))return t.javaScriptLine=!0,t.isEach=!1,r;if(e.sol()||e.eol())t.isEach=!1;else if(e.next()){for(;!e.match(/^ in\b/,!1)&&e.next(););return"variable"}}}(e,t)||attrsContinued(e,t)||function javaScript(e,t){if(e.sol()&&(t.javaScriptLine=!1,t.javaScriptLineExcludesColon=!1),t.javaScriptLine){if(t.javaScriptLineExcludesColon&&":"===e.peek())return t.javaScriptLine=!1,void(t.javaScriptLineExcludesColon=!1);var r=s.token(e,t.jsState);return e.eol()&&(t.javaScriptLine=!1),r||!0}}(e,t)||function javaScriptArguments(e,t){if(t.javaScriptArguments)return 0===t.javaScriptArgumentsDepth&&"("!==e.peek()?void(t.javaScriptArguments=!1):("("===e.peek()?t.javaScriptArgumentsDepth++:")"===e.peek()&&t.javaScriptArgumentsDepth--,0===t.javaScriptArgumentsDepth?void(t.javaScriptArguments=!1):s.token(e,t.jsState)||!0)}(e,t)||function callArguments(e,t){if(t.mixinCallAfter)return t.mixinCallAfter=!1,e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),!0}(e,t)||function yieldStatement(e){if(e.match(/^yield\b/))return"keyword"}(e)||function doctype(e){if(e.match(/^(?:doctype) *([^\n]+)?/))return n}(e)||interpolation(e,t)||function caseStatement(e,t){if(e.match(/^case\b/))return t.javaScriptLine=!0,r}(e,t)||function when(e,t){if(e.match(/^when\b/))return t.javaScriptLine=!0,t.javaScriptLineExcludesColon=!0,r}(e,t)||function defaultStatement(e){if(e.match(/^default\b/))return r}(e)||function extendsStatement(e,t){if(e.match(/^extends?\b/))return t.restOfLine="string",r}(e,t)||function append(e,t){if(e.match(/^append\b/))return t.restOfLine="variable",r}(e,t)||function prepend(e,t){if(e.match(/^prepend\b/))return t.restOfLine="variable",r}(e,t)||function block(e,t){if(e.match(/^block\b *(?:(prepend|append)\b)?/))return t.restOfLine="variable",r}(e,t)||function include(e,t){if(e.match(/^include\b/))return t.restOfLine="string",r}(e,t)||function includeFiltered(e,t){if(e.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&e.match("include"))return t.isIncludeFiltered=!0,r}(e,t)||function mixin(e,t){if(e.match(/^mixin\b/))return t.javaScriptLine=!0,r}(e,t)||function call(e,t){return e.match(/^\+([-\w]+)/)?(e.match(/^\( *[-\w]+ *=/,!1)||(t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0),"variable"):e.match(/^\+#{/,!1)?(e.next(),t.mixinCallAfter=!0,interpolation(e,t)):void 0}(e,t)||function conditional(e,t){if(e.match(/^(if|unless|else if|else)\b/))return t.javaScriptLine=!0,r}(e,t)||function each(e,t){if(e.match(/^(- *)?(each|for)\b/))return t.isEach=!0,r}(e,t)||function whileStatement(e,t){if(e.match(/^while\b/))return t.javaScriptLine=!0,r}(e,t)||function tag(e,t){var r;if(r=e.match(/^(\w(?:[-:\w]*\w)?)\/?/))return t.lastTag=r[1].toLowerCase(),"script"===t.lastTag&&(t.scriptType="application/javascript"),"tag"}(e,t)||filter(e,t)||function code(e,t){if(e.match(/^(!?=|-)/))return t.javaScriptLine=!0,"punctuation"}(e,t)||function id(e){if(e.match(/^#([\w-]+)/))return o}(e)||function className(e){if(e.match(/^\.([\w-]+)/))return a}(e)||function attrs(e,t){if("("==e.peek())return e.next(),t.isAttrs=!0,t.attrsNest=[],t.inAttributeName=!0,t.attrValue="",t.attributeIsType=!1,"punctuation"}(e,t)||function attributesBlock(e,t){if(e.match(/^&attributes\b/))return t.javaScriptArguments=!0,t.javaScriptArgumentsDepth=0,"keyword"}(e,t)||function indent(e){if(e.sol()&&e.eatSpace())return"indent"}(e)||function text(e,t){return e.match(/^(?:\| ?| )([^\n]+)/)?"string":e.match(/^(<[^\n]*)/,!1)?(setInnerMode(e,t,"htmlmixed"),t.innerModeForLine=!0,innerMode(e,t,!0)):void 0}(e,t)||function comment(e,t){if(e.match(/^ *\/\/(-)?([^\n]*)/))return t.indentOf=e.indentation(),t.indentToken="comment","comment"}(e,t)||function colon(e){if(e.match(/^: */))return"colon"}(e)||function dot(e,t){if(e.eat(".")){var r=null;return"script"===t.lastTag&&-1!=t.scriptType.toLowerCase().indexOf("javascript")?r=t.scriptType.toLowerCase().replace(/"|'/g,""):"style"===t.lastTag&&(r="css"),setInnerMode(e,t,r),"dot"}}(e,t)||function fail(e){return e.next(),null}(e);return!0===i?null:i}}},"javascript","css","htmlmixed"),e.defineMIME("text/x-pug","pug"),e.defineMIME("text/x-jade","pug")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/73.483ced06.js b/build/codemirror/mode/73.483ced06.js new file mode 100644 index 0000000..26daedc --- /dev/null +++ b/build/codemirror/mode/73.483ced06.js @@ -0,0 +1 @@ +webpackJsonp([66],{1e3:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("puppet",function(){function define(n,t){for(var i=t.split(" "),o=0;o<i.length;o++)e[i[o]]=n}function tokenString(e,n){for(var t,i,o=!1;!e.eol()&&(t=e.next())!=n.pending;){if("$"===t&&"\\"!=i&&'"'==n.pending){o=!0;break}i=t}return o&&e.backUp(1),t==n.pending?n.continueString=!1:n.continueString=!0,"string"}var e={},n=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;return define("keyword","class define site node include import inherits"),define("keyword","case if else in and elsif default or"),define("atom","false true running present absent file directory undef"),define("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool"),{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(t,i){return t.eatSpace()?null:function tokenize(t,i){var o=t.match(/[\w]+/,!1),a=t.match(/(\s+)?\w+\s+=>.*/,!1),s=t.match(/(\s+)?[\w:_]+(\s+)?{/,!1),r=t.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),c=t.next();if("$"===c)return t.match(n)?i.continueString?"variable-2":"variable":"error";if(i.continueString)return t.backUp(1),tokenString(t,i);if(i.inDefinition){if(t.match(/(\s+)?[\w:_]+(\s+)?/))return"def";t.match(/\s+{/),i.inDefinition=!1}return i.inInclude?(t.match(/(\s+)?\S+(\s+)?/),i.inInclude=!1,"def"):t.match(/(\s+)?\w+\(/)?(t.backUp(1),"def"):a?(t.match(/(\s+)?\w+/),"tag"):o&&e.hasOwnProperty(o)?(t.backUp(1),t.match(/[\w]+/),t.match(/\s+\S+\s+{/,!1)&&(i.inDefinition=!0),"include"==o&&(i.inInclude=!0),e[o]):/(^|\s+)[A-Z][\w:_]+/.test(o)?(t.backUp(1),t.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(t.match(/(\s+)?[\w:_]+/),"def"):r?(t.match(/(\s+)?[@]{1,2}/),"special"):"#"==c?(t.skipToEnd(),"comment"):"'"==c||'"'==c?(i.pending=c,tokenString(t,i)):"{"==c||"}"==c?"bracket":"/"==c?(t.match(/.*?\//),"variable-3"):c.match(/[0-9]/)?(t.eatWhile(/[0-9]+/),"number"):"="==c?(">"==t.peek()&&t.next(),"operator"):(t.eatWhile(/[\w-]/),null)}(t,i)}}}),e.defineMIME("text/x-puppet","puppet")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/73.b839e3f7.js b/build/codemirror/mode/73.b839e3f7.js deleted file mode 100644 index e2173fa..0000000 --- a/build/codemirror/mode/73.b839e3f7.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([67],{1001:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("puppet",function(){function define(n,t){for(var i=t.split(" "),o=0;o<i.length;o++)e[i[o]]=n}function tokenString(e,n){for(var t,i,o=!1;!e.eol()&&(t=e.next())!=n.pending;){if("$"===t&&"\\"!=i&&'"'==n.pending){o=!0;break}i=t}return o&&e.backUp(1),t==n.pending?n.continueString=!1:n.continueString=!0,"string"}var e={},n=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;return define("keyword","class define site node include import inherits"),define("keyword","case if else in and elsif default or"),define("atom","false true running present absent file directory undef"),define("builtin","action augeas burst chain computer cron destination dport exec file filebucket group host icmp iniface interface jump k5login limit log_level log_prefix macauthorization mailalias maillist mcx mount nagios_command nagios_contact nagios_contactgroup nagios_host nagios_hostdependency nagios_hostescalation nagios_hostextinfo nagios_hostgroup nagios_service nagios_servicedependency nagios_serviceescalation nagios_serviceextinfo nagios_servicegroup nagios_timeperiod name notify outiface package proto reject resources router schedule scheduled_task selboolean selmodule service source sport ssh_authorized_key sshkey stage state table tidy todest toports tosource user vlan yumrepo zfs zone zpool"),{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(t,i){return t.eatSpace()?null:function tokenize(t,i){var o=t.match(/[\w]+/,!1),a=t.match(/(\s+)?\w+\s+=>.*/,!1),s=t.match(/(\s+)?[\w:_]+(\s+)?{/,!1),r=t.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),c=t.next();if("$"===c)return t.match(n)?i.continueString?"variable-2":"variable":"error";if(i.continueString)return t.backUp(1),tokenString(t,i);if(i.inDefinition){if(t.match(/(\s+)?[\w:_]+(\s+)?/))return"def";t.match(/\s+{/),i.inDefinition=!1}return i.inInclude?(t.match(/(\s+)?\S+(\s+)?/),i.inInclude=!1,"def"):t.match(/(\s+)?\w+\(/)?(t.backUp(1),"def"):a?(t.match(/(\s+)?\w+/),"tag"):o&&e.hasOwnProperty(o)?(t.backUp(1),t.match(/[\w]+/),t.match(/\s+\S+\s+{/,!1)&&(i.inDefinition=!0),"include"==o&&(i.inInclude=!0),e[o]):/(^|\s+)[A-Z][\w:_]+/.test(o)?(t.backUp(1),t.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(t.match(/(\s+)?[\w:_]+/),"def"):r?(t.match(/(\s+)?[@]{1,2}/),"special"):"#"==c?(t.skipToEnd(),"comment"):"'"==c||'"'==c?(i.pending=c,tokenString(t,i)):"{"==c||"}"==c?"bracket":"/"==c?(t.match(/.*?\//),"variable-3"):c.match(/[0-9]/)?(t.eatWhile(/[0-9]+/),"number"):"="==c?(">"==t.peek()&&t.next(),"operator"):(t.eatWhile(/[\w-]/),null)}(t,i)}}}),e.defineMIME("text/x-puppet","puppet")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/74.5c6f633a.js b/build/codemirror/mode/74.fddeafad.js similarity index 98% rename from build/codemirror/mode/74.5c6f633a.js rename to build/codemirror/mode/74.fddeafad.js index 4c9f4b2..9c2eeff 100644 --- a/build/codemirror/mode/74.5c6f633a.js +++ b/build/codemirror/mode/74.fddeafad.js @@ -1 +1 @@ -webpackJsonp([66],{927:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function top(e){return e.scopes[e.scopes.length-1]}var t=wordRegexp(["and","or","not","is"]),n=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],r=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",n.concat(r)),e.defineMode("python",function(o,i){function tokenBase(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==top(t).type){var n=top(t).offset;if(e.eatSpace()){var r=e.indentation();return r>n?pushPyScope(t):r<n&&dedent(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=tokenBaseInner(e,t);return n>0&&dedent(e,t)&&(o+=" "+a),o}return tokenBaseInner(e,t)}function tokenBaseInner(e,n){if(e.eatSpace())return null;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var r=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(r=!0),e.match(/^[\d_]+\.\d*/)&&(r=!0),e.match(/^\.\d+/)&&(r=!0),r)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}if(e.match(h))return n.tokenize=function tokenStringFactory(e){function tokenString(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return o.tokenize=tokenBase,n;r.eat(/['"]/)}if(t){if(i.singleLineStringErrors)return a;o.tokenize=tokenBase}return n}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var t=1==e.length,n="string";return tokenString.isString=!0,tokenString}(e.current()),n.tokenize(e,n);for(var c=0;c<l.length;c++)if(e.match(l[c]))return"operator";return e.match(s)?"punctuation":"."==n.lastToken&&e.match(m)?"property":e.match(g)||e.match(t)?"keyword":e.match(y)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(m)?"def"==n.lastToken||"class"==n.lastToken?"def":"variable":(e.next(),a)}function pushPyScope(e){for(;"py"!=top(e).type;)e.scopes.pop();e.scopes.push({offset:top(e).offset+o.indentUnit,type:"py",align:null})}function dedent(e,t){for(var n=e.indentation();t.scopes.length>1&&top(t).offset>n;){if("py"!=top(t).type)return!0;t.scopes.pop()}return top(t).offset!=n}function tokenLexer(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),r=e.current();if(t.beginningOfLine&&"@"==r)return e.match(m,!1)?"meta":d?"operator":a;/\S/.test(r)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=r&&"return"!=r||(t.dedent+=1),"lambda"==r&&(t.lambda=!0),":"!=r||t.lambda||"py"!=top(t).type||pushPyScope(t);var o=1==r.length?"[({".indexOf(r):-1;if(-1!=o&&function pushBracketScope(e,t,n){var r=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:r})}(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(r))){if(top(t).type!=r)return a;t.indent=t.scopes.pop().offset-p}return t.dedent>0&&e.eol()&&"py"==top(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}for(var a="error",s=i.delimiters||i.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,l=[i.singleOperators,i.doubleOperators,i.doubleDelimiters,i.tripleDelimiters,i.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],c=0;c<l.length;c++)l[c]||l.splice(c--,1);var p=i.hangingIndent||o.indentUnit,u=n,f=r;void 0!=i.extra_keywords&&(u=u.concat(i.extra_keywords)),void 0!=i.extra_builtins&&(f=f.concat(i.extra_builtins));var d=!(i.version&&Number(i.version)<3);if(d){var m=i.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;u=u.concat(["nonlocal","False","True","None","async","await"]),f=f.concat(["ascii","bytes","exec","print"]);var h=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{m=i.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;u=u.concat(["exec","print"]),f=f.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);h=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var g=wordRegexp(u),y=wordRegexp(f);return{startState:function(e){return{tokenize:tokenBase,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=tokenLexer(e,t);return r&&"comment"!=r&&(t.lastToken="keyword"==r||"punctuation"==r?e.current():r),"punctuation"==r&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?r+" "+a:r},indent:function(t,n){if(t.tokenize!=tokenBase)return t.tokenize.isString?e.Pass:0;var r=top(t),o=r.type==n.charAt(0);return null!=r.align?r.align-(o?1:0):r.offset-(o?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})}}); \ No newline at end of file +webpackJsonp([65],{925:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function top(e){return e.scopes[e.scopes.length-1]}var t=wordRegexp(["and","or","not","is"]),n=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],r=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",n.concat(r)),e.defineMode("python",function(o,i){function tokenBase(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==top(t).type){var n=top(t).offset;if(e.eatSpace()){var r=e.indentation();return r>n?pushPyScope(t):r<n&&dedent(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=tokenBaseInner(e,t);return n>0&&dedent(e,t)&&(o+=" "+a),o}return tokenBaseInner(e,t)}function tokenBaseInner(e,n){if(e.eatSpace())return null;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var r=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(r=!0),e.match(/^[\d_]+\.\d*/)&&(r=!0),e.match(/^\.\d+/)&&(r=!0),r)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}if(e.match(h))return n.tokenize=function tokenStringFactory(e){function tokenString(r,o){for(;!r.eol();)if(r.eatWhile(/[^'"\\]/),r.eat("\\")){if(r.next(),t&&r.eol())return n}else{if(r.match(e))return o.tokenize=tokenBase,n;r.eat(/['"]/)}if(t){if(i.singleLineStringErrors)return a;o.tokenize=tokenBase}return n}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var t=1==e.length,n="string";return tokenString.isString=!0,tokenString}(e.current()),n.tokenize(e,n);for(var c=0;c<l.length;c++)if(e.match(l[c]))return"operator";return e.match(s)?"punctuation":"."==n.lastToken&&e.match(m)?"property":e.match(g)||e.match(t)?"keyword":e.match(y)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(m)?"def"==n.lastToken||"class"==n.lastToken?"def":"variable":(e.next(),a)}function pushPyScope(e){for(;"py"!=top(e).type;)e.scopes.pop();e.scopes.push({offset:top(e).offset+o.indentUnit,type:"py",align:null})}function dedent(e,t){for(var n=e.indentation();t.scopes.length>1&&top(t).offset>n;){if("py"!=top(t).type)return!0;t.scopes.pop()}return top(t).offset!=n}function tokenLexer(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),r=e.current();if(t.beginningOfLine&&"@"==r)return e.match(m,!1)?"meta":d?"operator":a;/\S/.test(r)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=r&&"return"!=r||(t.dedent+=1),"lambda"==r&&(t.lambda=!0),":"!=r||t.lambda||"py"!=top(t).type||pushPyScope(t);var o=1==r.length?"[({".indexOf(r):-1;if(-1!=o&&function pushBracketScope(e,t,n){var r=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+p,type:n,align:r})}(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(r))){if(top(t).type!=r)return a;t.indent=t.scopes.pop().offset-p}return t.dedent>0&&e.eol()&&"py"==top(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}for(var a="error",s=i.delimiters||i.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,l=[i.singleOperators,i.doubleOperators,i.doubleDelimiters,i.tripleDelimiters,i.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],c=0;c<l.length;c++)l[c]||l.splice(c--,1);var p=i.hangingIndent||o.indentUnit,u=n,f=r;void 0!=i.extra_keywords&&(u=u.concat(i.extra_keywords)),void 0!=i.extra_builtins&&(f=f.concat(i.extra_builtins));var d=!(i.version&&Number(i.version)<3);if(d){var m=i.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;u=u.concat(["nonlocal","False","True","None","async","await"]),f=f.concat(["ascii","bytes","exec","print"]);var h=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{m=i.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;u=u.concat(["exec","print"]),f=f.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);h=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var g=wordRegexp(u),y=wordRegexp(f);return{startState:function(e){return{tokenize:tokenBase,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var r=tokenLexer(e,t);return r&&"comment"!=r&&(t.lastToken="keyword"==r||"punctuation"==r?e.current():r),"punctuation"==r&&(r=null),e.eol()&&t.lambda&&(t.lambda=!1),n?r+" "+a:r},indent:function(t,n){if(t.tokenize!=tokenBase)return t.tokenize.isString?e.Pass:0;var r=top(t),o=r.type==n.charAt(0);return null!=r.align?r.align-(o?1:0):r.offset-(o?p:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/75.318a53d2.js b/build/codemirror/mode/75.604c0213.js similarity index 98% rename from build/codemirror/mode/75.318a53d2.js rename to build/codemirror/mode/75.604c0213.js index 594dedf..fcc440a 100644 --- a/build/codemirror/mode/75.318a53d2.js +++ b/build/codemirror/mode/75.604c0213.js @@ -1 +1 @@ -webpackJsonp([65],{1002:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("q",function(t){function tokenBase(t,n){var i=t.sol(),s=t.next();if(e=null,i){if("/"==s)return(n.tokenize=tokenLineComment)(t,n);if("\\"==s)return t.eol()||/\s/.test(t.peek())?(t.skipToEnd(),/^\\\s*$/.test(t.current())?(n.tokenize=tokenCommentToEOF)(t):n.tokenize=tokenBase,"comment"):(n.tokenize=tokenBase,"builtin")}if(/\s/.test(s))return"/"==t.peek()?(t.skipToEnd(),"comment"):"whitespace";if('"'==s)return(n.tokenize=tokenString)(t,n);if("`"==s)return t.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if("."==s&&/\d/.test(t.peek())||/\d/.test(s)){var c=null;return t.backUp(1),t.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||t.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||t.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||t.match(/^\d+[ptuv]{1}/)?c="temporal":(t.match(/^0[NwW]{1}/)||t.match(/^0x[\da-fA-F]*/)||t.match(/^[01]+[b]{1}/)||t.match(/^\d+[chijn]{1}/)||t.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(c="number"),!c||(s=t.peek())&&!r.test(s)?(t.next(),"error"):c}return/[A-Za-z]|\./.test(s)?(t.eatWhile(/[A-Za-z._\d]/),o.test(t.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(s)?null:/[{}\(\[\]\)]/.test(s)?null:"error"}function tokenLineComment(t,e){return t.skipToEnd(),/\/\s*$/.test(t.current())?(e.tokenize=tokenBlockComment)(t,e):e.tokenize=tokenBase,"comment"}function tokenBlockComment(t,e){var n=t.sol()&&"\\"==t.peek();return t.skipToEnd(),n&&/^\\\s*$/.test(t.current())&&(e.tokenize=tokenBase),"comment"}function tokenCommentToEOF(t){return t.skipToEnd(),"comment"}function tokenString(t,e){for(var n,o=!1,r=!1;n=t.next();){if('"'==n&&!o){r=!0;break}o=!o&&"\\"==n}return r&&(e.tokenize=tokenBase),"string"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=function buildRE(t){return new RegExp("^("+t.join("|")+")$")}(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),r=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation());var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&popContext(n)}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0}}}),t.defineMIME("text/x-q","q")})}}); \ No newline at end of file +webpackJsonp([64],{1001:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("q",function(t){function tokenBase(t,n){var i=t.sol(),s=t.next();if(e=null,i){if("/"==s)return(n.tokenize=tokenLineComment)(t,n);if("\\"==s)return t.eol()||/\s/.test(t.peek())?(t.skipToEnd(),/^\\\s*$/.test(t.current())?(n.tokenize=tokenCommentToEOF)(t):n.tokenize=tokenBase,"comment"):(n.tokenize=tokenBase,"builtin")}if(/\s/.test(s))return"/"==t.peek()?(t.skipToEnd(),"comment"):"whitespace";if('"'==s)return(n.tokenize=tokenString)(t,n);if("`"==s)return t.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if("."==s&&/\d/.test(t.peek())||/\d/.test(s)){var c=null;return t.backUp(1),t.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||t.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||t.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||t.match(/^\d+[ptuv]{1}/)?c="temporal":(t.match(/^0[NwW]{1}/)||t.match(/^0x[\da-fA-F]*/)||t.match(/^[01]+[b]{1}/)||t.match(/^\d+[chijn]{1}/)||t.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(c="number"),!c||(s=t.peek())&&!r.test(s)?(t.next(),"error"):c}return/[A-Za-z]|\./.test(s)?(t.eatWhile(/[A-Za-z._\d]/),o.test(t.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(s)?null:/[{}\(\[\]\)]/.test(s)?null:"error"}function tokenLineComment(t,e){return t.skipToEnd(),/\/\s*$/.test(t.current())?(e.tokenize=tokenBlockComment)(t,e):e.tokenize=tokenBase,"comment"}function tokenBlockComment(t,e){var n=t.sol()&&"\\"==t.peek();return t.skipToEnd(),n&&/^\\\s*$/.test(t.current())&&(e.tokenize=tokenBase),"comment"}function tokenCommentToEOF(t){return t.skipToEnd(),"comment"}function tokenString(t,e){for(var n,o=!1,r=!1;n=t.next();){if('"'==n&&!o){r=!0;break}o=!o&&"\\"==n}return r&&(e.tokenize=tokenBase),"string"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=function buildRE(t){return new RegExp("^("+t.join("|")+")$")}(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),r=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation());var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&popContext(n)}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0}}}),t.defineMIME("text/x-q","q")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/76.118330e1.js b/build/codemirror/mode/76.07dc8648.js similarity index 97% rename from build/codemirror/mode/76.118330e1.js rename to build/codemirror/mode/76.07dc8648.js index e740a3b..b1dca57 100644 --- a/build/codemirror/mode/76.118330e1.js +++ b/build/codemirror/mode/76.07dc8648.js @@ -1 +1 @@ -webpackJsonp([64],{1003:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.registerHelper("wordChars","r",/[\w.]/),t.defineMode("r",function(t){function wordObj(t){for(var e=t.split(" "),n={},r=0;r<e.length;++r)n[e[r]]=!0;return n}function tokenBase(t,c){e=null;var u=t.next();if("#"==u)return t.skipToEnd(),"comment";if("0"==u&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if("."==u&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(u))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==u||'"'==u)return c.tokenize=function tokenString(t){return function(e,n){if(e.eat("\\")){var r=e.next();return"x"==r?e.match(/^[a-f0-9]{2}/i):("u"==r||"U"==r)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==r?e.match(/^[a-f0-9]{4}/i):"U"==r?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(r)&&e.match(/^[0-7]{1,2}/),"string-2"}for(var a;null!=(a=e.next());){if(a==t){n.tokenize=tokenBase;break}if("\\"==a){e.backUp(1);break}}return"string"}}(u),"string";if("`"==u)return t.match(/[^`]+`/),"variable-3";if("."==u&&t.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(u)&&"_"!=u){t.eatWhile(/[\w\.]/);var l=t.current();return n.propertyIsEnumerable(l)?"atom":a.propertyIsEnumerable(l)?(i.propertyIsEnumerable(l)&&!t.match(/\s*if(\s+|$)/,!1)&&(e="block"),"keyword"):r.propertyIsEnumerable(l)?"builtin":"variable"}return"%"==u?(t.skipTo("%")&&t.next(),"operator variable-2"):"<"==u&&t.eat("-")||"<"==u&&t.match("<-")||"-"==u&&t.match(/>>?/)?"operator arrow":"="==u&&c.ctx.argList?"arg-is":o.test(u)?"$"==u?"operator dollar":(t.eatWhile(o),"operator"):/[\(\){}\[\];]/.test(u)?(e=u,";"==u?"semi":null):null}function push(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function setFlag(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function pop(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}var e,n=wordObj("NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_"),r=wordObj("list quote bquote eval return call parse deparse"),a=wordObj("if else repeat while function for in next break"),i=wordObj("if else repeat while function for"),o=/[+\-*\/^<>=!&|~$:]/;return{startState:function(){return{tokenize:tokenBase,ctx:{type:"top",indent:-t.indentUnit,flags:2},indent:0,afterIdent:!1}},token:function(t,n){if(t.sol()&&(0==(3&n.ctx.flags)&&(n.ctx.flags|=2),4&n.ctx.flags&&pop(n),n.indent=t.indentation()),t.eatSpace())return null;var r=n.tokenize(t,n);return"comment"!=r&&0==(2&n.ctx.flags)&&setFlag(n,1),";"!=e&&"{"!=e&&"}"!=e||"block"!=n.ctx.type||pop(n),"{"==e?push(n,"}",t):"("==e?(push(n,")",t),n.afterIdent&&(n.ctx.argList=!0)):"["==e?push(n,"]",t):"block"==e?push(n,"block",t):e==n.ctx.type?pop(n):"block"==n.ctx.type&&"comment"!=r&&setFlag(n,4),n.afterIdent="variable"==r||"keyword"==r,r},indent:function(e,n){if(e.tokenize!=tokenBase)return 0;var r=n&&n.charAt(0),a=e.ctx,i=r==a.type;return 4&a.flags&&(a=a.prev),"block"==a.type?a.indent+("{"==r?0:t.indentUnit):1&a.flags?a.column+(i?0:1):a.indent+(i?0:t.indentUnit)},lineComment:"#"}}),t.defineMIME("text/x-rsrc","r")})}}); \ No newline at end of file +webpackJsonp([63],{1002:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.registerHelper("wordChars","r",/[\w.]/),t.defineMode("r",function(t){function wordObj(t){for(var e=t.split(" "),n={},r=0;r<e.length;++r)n[e[r]]=!0;return n}function tokenBase(t,c){e=null;var u=t.next();if("#"==u)return t.skipToEnd(),"comment";if("0"==u&&t.eat("x"))return t.eatWhile(/[\da-f]/i),"number";if("."==u&&t.eat(/\d/))return t.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(u))return t.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if("'"==u||'"'==u)return c.tokenize=function tokenString(t){return function(e,n){if(e.eat("\\")){var r=e.next();return"x"==r?e.match(/^[a-f0-9]{2}/i):("u"==r||"U"==r)&&e.eat("{")&&e.skipTo("}")?e.next():"u"==r?e.match(/^[a-f0-9]{4}/i):"U"==r?e.match(/^[a-f0-9]{8}/i):/[0-7]/.test(r)&&e.match(/^[0-7]{1,2}/),"string-2"}for(var a;null!=(a=e.next());){if(a==t){n.tokenize=tokenBase;break}if("\\"==a){e.backUp(1);break}}return"string"}}(u),"string";if("`"==u)return t.match(/[^`]+`/),"variable-3";if("."==u&&t.match(/.[.\d]+/))return"keyword";if(/[\w\.]/.test(u)&&"_"!=u){t.eatWhile(/[\w\.]/);var l=t.current();return n.propertyIsEnumerable(l)?"atom":a.propertyIsEnumerable(l)?(i.propertyIsEnumerable(l)&&!t.match(/\s*if(\s+|$)/,!1)&&(e="block"),"keyword"):r.propertyIsEnumerable(l)?"builtin":"variable"}return"%"==u?(t.skipTo("%")&&t.next(),"operator variable-2"):"<"==u&&t.eat("-")||"<"==u&&t.match("<-")||"-"==u&&t.match(/>>?/)?"operator arrow":"="==u&&c.ctx.argList?"arg-is":o.test(u)?"$"==u?"operator dollar":(t.eatWhile(o),"operator"):/[\(\){}\[\];]/.test(u)?(e=u,";"==u?"semi":null):null}function push(t,e,n){t.ctx={type:e,indent:t.indent,flags:0,column:n.column(),prev:t.ctx}}function setFlag(t,e){var n=t.ctx;t.ctx={type:n.type,indent:n.indent,flags:n.flags|e,column:n.column,prev:n.prev}}function pop(t){t.indent=t.ctx.indent,t.ctx=t.ctx.prev}var e,n=wordObj("NULL NA Inf NaN NA_integer_ NA_real_ NA_complex_ NA_character_"),r=wordObj("list quote bquote eval return call parse deparse"),a=wordObj("if else repeat while function for in next break"),i=wordObj("if else repeat while function for"),o=/[+\-*\/^<>=!&|~$:]/;return{startState:function(){return{tokenize:tokenBase,ctx:{type:"top",indent:-t.indentUnit,flags:2},indent:0,afterIdent:!1}},token:function(t,n){if(t.sol()&&(0==(3&n.ctx.flags)&&(n.ctx.flags|=2),4&n.ctx.flags&&pop(n),n.indent=t.indentation()),t.eatSpace())return null;var r=n.tokenize(t,n);return"comment"!=r&&0==(2&n.ctx.flags)&&setFlag(n,1),";"!=e&&"{"!=e&&"}"!=e||"block"!=n.ctx.type||pop(n),"{"==e?push(n,"}",t):"("==e?(push(n,")",t),n.afterIdent&&(n.ctx.argList=!0)):"["==e?push(n,"]",t):"block"==e?push(n,"block",t):e==n.ctx.type?pop(n):"block"==n.ctx.type&&"comment"!=r&&setFlag(n,4),n.afterIdent="variable"==r||"keyword"==r,r},indent:function(e,n){if(e.tokenize!=tokenBase)return 0;var r=n&&n.charAt(0),a=e.ctx,i=r==a.type;return 4&a.flags&&(a=a.prev),"block"==a.type?a.indent+("{"==r?0:t.indentUnit):1&a.flags?a.column+(i?0:1):a.indent+(i?0:t.indentUnit)},lineComment:"#"}}),t.defineMIME("text/x-rsrc","r")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/77.9b3a9a55.js b/build/codemirror/mode/77.d8e00efc.js similarity index 96% rename from build/codemirror/mode/77.9b3a9a55.js rename to build/codemirror/mode/77.d8e00efc.js index f2e22f3..fe96181 100644 --- a/build/codemirror/mode/77.9b3a9a55.js +++ b/build/codemirror/mode/77.d8e00efc.js @@ -1 +1 @@ -webpackJsonp([63],{1004:function(r,e,t){!function(r){r(t(907))}(function(r){"use strict";r.defineMode("rpm-changes",function(){var r=/^-+$/,e=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,t=/^[\w+.-]+@[\w.-]+/;return{token:function(n){if(n.sol()){if(n.match(r))return"tag";if(n.match(e))return"tag"}return n.match(t)?"string":(n.next(),null)}}}),r.defineMIME("text/x-rpm-changes","rpm-changes"),r.defineMode("rpm-spec",function(){var r=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,e=/^[a-zA-Z0-9()]+:/,t=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,n=/^%(ifnarch|ifarch|if)/,a=/^%(else|endif)/,c=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(i,o){if("#"==i.peek())return i.skipToEnd(),"comment";if(i.sol()){if(i.match(e))return"header";if(i.match(t))return"atom"}if(i.match(/^\$\w+/))return"def";if(i.match(/^\$\{\w+\}/))return"def";if(i.match(a))return"keyword";if(i.match(n))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(i.match(c))return"operator";if(i.match(/^(\d+)/))return"number";i.eol()&&(o.controlFlow=!1)}if(i.match(r))return i.eol()&&(o.controlFlow=!1),"number";if(i.match(/^%[\w]+/))return i.match(/^\(/)&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(i.match(/^\d+/))return"number";if(i.match(/^\)/))return o.macroParameters=!1,"keyword"}return i.match(/^%\{\??[\w \-\:\!]+\}/)?(i.eol()&&(o.controlFlow=!1),"def"):(i.next(),null)}}}),r.defineMIME("text/x-rpm-spec","rpm-spec")})}}); \ No newline at end of file +webpackJsonp([62],{1003:function(r,e,t){!function(r){r(t(907))}(function(r){"use strict";r.defineMode("rpm-changes",function(){var r=/^-+$/,e=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,t=/^[\w+.-]+@[\w.-]+/;return{token:function(n){if(n.sol()){if(n.match(r))return"tag";if(n.match(e))return"tag"}return n.match(t)?"string":(n.next(),null)}}}),r.defineMIME("text/x-rpm-changes","rpm-changes"),r.defineMode("rpm-spec",function(){var r=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,e=/^[a-zA-Z0-9()]+:/,t=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,n=/^%(ifnarch|ifarch|if)/,a=/^%(else|endif)/,c=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(i,o){if("#"==i.peek())return i.skipToEnd(),"comment";if(i.sol()){if(i.match(e))return"header";if(i.match(t))return"atom"}if(i.match(/^\$\w+/))return"def";if(i.match(/^\$\{\w+\}/))return"def";if(i.match(a))return"keyword";if(i.match(n))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(i.match(c))return"operator";if(i.match(/^(\d+)/))return"number";i.eol()&&(o.controlFlow=!1)}if(i.match(r))return i.eol()&&(o.controlFlow=!1),"number";if(i.match(/^%[\w]+/))return i.match(/^\(/)&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(i.match(/^\d+/))return"number";if(i.match(/^\)/))return o.macroParameters=!1,"keyword"}return i.match(/^%\{\??[\w \-\:\!]+\}/)?(i.eol()&&(o.controlFlow=!1),"def"):(i.next(),null)}}}),r.defineMIME("text/x-rpm-spec","rpm-spec")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/78.880e46a4.js b/build/codemirror/mode/78.3da868b9.js similarity index 98% rename from build/codemirror/mode/78.880e46a4.js rename to build/codemirror/mode/78.3da868b9.js index 31d8f07..61b491d 100644 --- a/build/codemirror/mode/78.880e46a4.js +++ b/build/codemirror/mode/78.3da868b9.js @@ -1 +1 @@ -webpackJsonp([13,51,66],{1005:function(e,t,n){!function(e){e(n(907),n(927),n(929),n(913))}(function(e){"use strict";e.defineMode("rst",function(t,n){var a=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,o=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,r=/^``[^`\s](?:[^`]*[^`\s])``/,c=/^(?:[\d]+(?:[\.,]\d+)*)/,i=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,s=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,l=new RegExp("^[Hh][Tt][Tt][Pp][Ss]?://(?:[\\d\\w.-]+)\\.(?:\\w{2,6})(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*"),m={token:function(e){if(e.match(a)&&e.match(/\W+|$/,!1))return"strong";if(e.match(o)&&e.match(/\W+|$/,!1))return"em";if(e.match(r)&&e.match(/\W+|$/,!1))return"string-2";if(e.match(c))return"number";if(e.match(i))return"positive";if(e.match(s))return"negative";if(e.match(l))return"link";for(;!(null==e.next()||e.match(a,!1)||e.match(o,!1)||e.match(r,!1)||e.match(c,!1)||e.match(i,!1)||e.match(s,!1)||e.match(l,!1)););return null}},u=e.getMode(t,n.backdrop||"rst-base");return e.overlayMode(u,m,!0)},"python","stex"),e.defineMode("rst-base",function(t){function format(e){var t=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return void 0!==t[n]?t[n]:e})}function to_normal(t,o){var c=null;if(t.sol()&&t.match(B,!1))change(o,to_mode,{mode:n,local:e.startState(n)});else if(t.sol()&&t.match(p))change(o,to_explicit),c="meta";else if(t.sol()&&t.match(h))change(o,to_normal),c="header";else if(phase(o)==S||t.match(S,!1))switch(stage(o)){case 0:change(o,to_normal,context(S,1)),t.match(/^:/),c="meta";break;case 1:change(o,to_normal,context(S,2)),t.match(i),c="keyword",t.current().match(/^(?:math|latex)/)&&(o.tmp_stex=!0);break;case 2:change(o,to_normal,context(S,3)),t.match(/^:`/),c="meta";break;case 3:if(o.tmp_stex&&(o.tmp_stex=void 0,o.tmp={mode:a,local:e.startState(a)}),o.tmp){if("`"==t.peek()){change(o,to_normal,context(S,4)),o.tmp=void 0;break}c=o.tmp.mode.token(t,o.tmp.local);break}change(o,to_normal,context(S,4)),t.match(u),c="string";break;case 4:change(o,to_normal,context(S,5)),t.match(/^`/),c="meta";break;case 5:change(o,to_normal,context(S,6)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==E||t.match(E,!1))switch(stage(o)){case 0:change(o,to_normal,context(E,1)),t.match(/^`/),c="meta";break;case 1:change(o,to_normal,context(E,2)),t.match(u),c="string";break;case 2:change(o,to_normal,context(E,3)),t.match(/^`:/),c="meta";break;case 3:change(o,to_normal,context(E,4)),t.match(i),c="keyword";break;case 4:change(o,to_normal,context(E,5)),t.match(/^:/),c="meta";break;case 5:change(o,to_normal,context(E,6)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==P||t.match(P,!1))switch(stage(o)){case 0:change(o,to_normal,context(P,1)),t.match(/^:/),c="meta";break;case 1:change(o,to_normal,context(P,2)),t.match(i),c="keyword";break;case 2:change(o,to_normal,context(P,3)),t.match(/^:/),c="meta";break;case 3:change(o,to_normal,context(P,4)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==b||t.match(b,!1))switch(stage(o)){case 0:change(o,to_normal,context(b,1)),t.match(T),c="variable-2";break;case 1:change(o,to_normal,context(b,2)),t.match(/^_?_?/)&&(c="link");break;default:change(o,to_normal)}else if(t.match(_))change(o,to_normal),c="quote";else if(t.match(y))change(o,to_normal),c="quote";else if(t.match(v))change(o,to_normal),t.peek()&&!t.peek().match(/^\W$/)||(c="link");else if(phase(o)==w||t.match(w,!1))switch(stage(o)){case 0:!t.peek()||t.peek().match(/^\W$/)?change(o,to_normal,context(w,1)):t.match(w);break;case 1:change(o,to_normal,context(w,2)),t.match(/^`/),c="link";break;case 2:change(o,to_normal,context(w,3)),t.match(u);break;case 3:change(o,to_normal,context(w,4)),t.match(/^`_/),c="link";break;default:change(o,to_normal)}else t.match(A)?change(o,to_verbatim):t.next()&&change(o,to_normal);return c}function to_explicit(t,o){var r=null;if(phase(o)==g||t.match(g,!1))switch(stage(o)){case 0:change(o,to_explicit,context(g,1)),t.match(T),r="variable-2";break;case 1:change(o,to_explicit,context(g,2)),t.match(C);break;case 2:change(o,to_explicit,context(g,3)),t.match($),r="keyword";break;case 3:change(o,to_explicit,context(g,4)),t.match(L),r="meta";break;default:change(o,to_normal)}else if(phase(o)==d||t.match(d,!1))switch(stage(o)){case 0:change(o,to_explicit,context(d,1)),t.match(R),r="keyword",t.current().match(/^(?:math|latex)/)?o.tmp_stex=!0:t.current().match(/^python/)&&(o.tmp_py=!0);break;case 1:change(o,to_explicit,context(d,2)),t.match(M),r="meta",(t.match(/^latex\s*$/)||o.tmp_stex)&&(o.tmp_stex=void 0,change(o,to_mode,{mode:a,local:e.startState(a)}));break;case 2:change(o,to_explicit,context(d,3)),(t.match(/^python\s*$/)||o.tmp_py)&&(o.tmp_py=void 0,change(o,to_mode,{mode:n,local:e.startState(n)}));break;default:change(o,to_normal)}else if(phase(o)==f||t.match(f,!1))switch(stage(o)){case 0:change(o,to_explicit,context(f,1)),t.match(F),t.match(I),r="link";break;case 1:change(o,to_explicit,context(f,2)),t.match(z),r="meta";break;default:change(o,to_normal)}else t.match(x)?(change(o,to_normal),r="quote"):t.match(k)?(change(o,to_normal),r="quote"):(t.eatSpace(),t.eol()?change(o,to_normal):(t.skipToEnd(),change(o,to_comment),r="comment"));return r}function to_comment(e,t){return as_block(e,t,"comment")}function to_verbatim(e,t){return as_block(e,t,"meta")}function as_block(e,t,n){return e.eol()||e.eatSpace()?(e.skipToEnd(),n):(change(t,to_normal),null)}function to_mode(e,t){return t.ctx.mode&&t.ctx.local?e.sol()?(e.eatSpace()||change(t,to_normal),null):t.ctx.mode.token(e,t.ctx.local):(change(t,to_normal),null)}function context(e,t,n,a){return{phase:e,stage:t,mode:n,local:a}}function change(e,t,n){e.tok=t,e.ctx=n||{}}function stage(e){return e.ctx.stage||0}function phase(e){return e.ctx.phase}var n=e.getMode(t,"python"),a=e.getMode(t,"stex"),o="(?:\\s*|\\W|$)",r=new RegExp(format("^{0}",o)),c="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",i=new RegExp(format("^{0}",c)),s=format("(?:{0}|`{1}`)",c,"(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)"),l="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",m="(?:[^\\`]+)",u=new RegExp(format("^{0}",m)),h=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),p=new RegExp(format("^\\.\\.{0}","\\s+")),f=new RegExp(format("^_{0}:{1}|^__:{1}",s,o)),d=new RegExp(format("^{0}::{1}",s,o)),g=new RegExp(format("^\\|{0}\\|{1}{2}::{3}",l,"\\s+",s,o)),x=new RegExp(format("^\\[(?:\\d+|#{0}?|\\*)]{1}",s,o)),k=new RegExp(format("^\\[{0}\\]{1}",s,o)),b=new RegExp(format("^\\|{0}\\|",l)),_=new RegExp(format("^\\[(?:\\d+|#{0}?|\\*)]_",s)),y=new RegExp(format("^\\[{0}\\]_",s)),v=new RegExp(format("^{0}__?",s)),w=new RegExp(format("^`{0}`_",m)),S=new RegExp(format("^:{0}:`{1}`{2}",c,m,o)),E=new RegExp(format("^`{1}`:{0}:{2}",c,m,o)),P=new RegExp(format("^:{0}:{1}",c,o)),R=new RegExp(format("^{0}",s)),M=new RegExp(format("^::{0}",o)),T=new RegExp(format("^\\|{0}\\|",l)),C=new RegExp(format("^{0}","\\s+")),$=new RegExp(format("^{0}",s)),L=new RegExp(format("^::{0}",o)),F=new RegExp("^_"),I=new RegExp(format("^{0}|_",s)),z=new RegExp(format("^:{0}",o)),A=new RegExp("^::\\s*$"),B=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");return{startState:function(){return{tok:to_normal,ctx:context(void 0,0)}},copyState:function(t){var n=t.ctx,a=t.tmp;return n.local&&(n={mode:n.mode,local:e.copyState(n.mode,n.local)}),a&&(a={mode:a.mode,local:e.copyState(a.mode,a.local)}),{tok:t.tok,ctx:n,tmp:a}},innerMode:function(e){return e.tmp?{state:e.tmp.local,mode:e.tmp.mode}:e.ctx.mode?{state:e.ctx.local,mode:e.ctx.mode}:null},token:function(e,t){return t.tok(e,t)}}},"python","stex"),e.defineMIME("text/x-rst","rst")})},913:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.overlayMode=function(t,n,a){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(a){return{base:e.copyState(t,a.base),overlay:e.copyState(n,a.overlay),basePos:a.basePos,baseCur:null,overlayPos:a.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=n.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||a&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,n){return t.indent(e.base,n)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,r;return t.blankLine&&(o=t.blankLine(e.base)),n.blankLine&&(r=n.blankLine(e.overlay)),null==r?o:a&&null!=o?o+" "+r:r}}}})},927:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function top(e){return e.scopes[e.scopes.length-1]}var t=wordRegexp(["and","or","not","is"]),n=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],a=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",n.concat(a)),e.defineMode("python",function(o,r){function tokenBase(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==top(t).type){var n=top(t).offset;if(e.eatSpace()){var a=e.indentation();return a>n?pushPyScope(t):a<n&&dedent(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=tokenBaseInner(e,t);return n>0&&dedent(e,t)&&(o+=" "+c),o}return tokenBaseInner(e,t)}function tokenBaseInner(e,n){if(e.eatSpace())return null;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var a=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(a=!0),e.match(/^[\d_]+\.\d*/)&&(a=!0),e.match(/^\.\d+/)&&(a=!0),a)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}if(e.match(d))return n.tokenize=function tokenStringFactory(e){function tokenString(a,o){for(;!a.eol();)if(a.eatWhile(/[^'"\\]/),a.eat("\\")){if(a.next(),t&&a.eol())return n}else{if(a.match(e))return o.tokenize=tokenBase,n;a.eat(/['"]/)}if(t){if(r.singleLineStringErrors)return c;o.tokenize=tokenBase}return n}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var t=1==e.length,n="string";return tokenString.isString=!0,tokenString}(e.current()),n.tokenize(e,n);for(var l=0;l<s.length;l++)if(e.match(s[l]))return"operator";return e.match(i)?"punctuation":"."==n.lastToken&&e.match(f)?"property":e.match(g)||e.match(t)?"keyword":e.match(x)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(f)?"def"==n.lastToken||"class"==n.lastToken?"def":"variable":(e.next(),c)}function pushPyScope(e){for(;"py"!=top(e).type;)e.scopes.pop();e.scopes.push({offset:top(e).offset+o.indentUnit,type:"py",align:null})}function dedent(e,t){for(var n=e.indentation();t.scopes.length>1&&top(t).offset>n;){if("py"!=top(t).type)return!0;t.scopes.pop()}return top(t).offset!=n}function tokenLexer(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),a=e.current();if(t.beginningOfLine&&"@"==a)return e.match(f,!1)?"meta":p?"operator":c;/\S/.test(a)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=a&&"return"!=a||(t.dedent+=1),"lambda"==a&&(t.lambda=!0),":"!=a||t.lambda||"py"!=top(t).type||pushPyScope(t);var o=1==a.length?"[({".indexOf(a):-1;if(-1!=o&&function pushBracketScope(e,t,n){var a=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+m,type:n,align:a})}(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(a))){if(top(t).type!=a)return c;t.indent=t.scopes.pop().offset-m}return t.dedent>0&&e.eol()&&"py"==top(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}for(var c="error",i=r.delimiters||r.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,s=[r.singleOperators,r.doubleOperators,r.doubleDelimiters,r.tripleDelimiters,r.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],l=0;l<s.length;l++)s[l]||s.splice(l--,1);var m=r.hangingIndent||o.indentUnit,u=n,h=a;void 0!=r.extra_keywords&&(u=u.concat(r.extra_keywords)),void 0!=r.extra_builtins&&(h=h.concat(r.extra_builtins));var p=!(r.version&&Number(r.version)<3);if(p){var f=r.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;u=u.concat(["nonlocal","False","True","None","async","await"]),h=h.concat(["ascii","bytes","exec","print"]);var d=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{f=r.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;u=u.concat(["exec","print"]),h=h.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);d=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var g=wordRegexp(u),x=wordRegexp(h);return{startState:function(e){return{tokenize:tokenBase,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var a=tokenLexer(e,t);return a&&"comment"!=a&&(t.lastToken="keyword"==a||"punctuation"==a?e.current():a),"punctuation"==a&&(a=null),e.eol()&&t.lambda&&(t.lambda=!1),n?a+" "+c:a},indent:function(t,n){if(t.tokenize!=tokenBase)return t.tokenize.isString?e.Pass:0;var a=top(t),o=a.type==n.charAt(0);return null!=a.align?a.align-(o?1:0):a.offset-(o?m:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},929:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("stex",function(){function pushCommand(e,t){e.cmdState.push(t)}function peekCommand(e){return e.cmdState.length>0?e.cmdState[e.cmdState.length-1]:null}function addPluginPattern(e,t,n){return function(){this.name=e,this.bracketNo=0,this.style=t,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}function setState(e,t){e.f=t}function normal(t,n){var a;if(t.match(/^\\[a-zA-Z@]+/)){var o=t.current().slice(1);return a=e[o]||e.DEFAULT,a=new a,pushCommand(n,a),setState(n,beginParams),a.style}if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return setState(n,function(e,t){return inMathMode(e,t,"\\]")}),"keyword";if(t.match("$$"))return setState(n,function(e,t){return inMathMode(e,t,"$$")}),"keyword";if(t.match("$"))return setState(n,function(e,t){return inMathMode(e,t,"$")}),"keyword";var r=t.next();return"%"==r?(t.skipToEnd(),"comment"):"}"==r||"]"==r?(a=peekCommand(n))?(a.closeBracket(r),setState(n,beginParams),"bracket"):"error":"{"==r||"["==r?(a=e.DEFAULT,a=new a,pushCommand(n,a),"bracket"):/\d/.test(r)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),"begin"==(a=function getMostPowerful(e){for(var t=e.cmdState,n=t.length-1;n>=0;n--){var a=t[n];if("DEFAULT"!=a.name)return a}return{styleIdentifier:function(){return null}}}(n)).name&&(a.argument=t.current()),a.styleIdentifier())}function inMathMode(e,t,n){if(e.eatSpace())return null;if(e.match(n))return setState(t,normal),"keyword";if(e.match(/^\\[a-zA-Z@]+/))return"tag";if(e.match(/^[a-zA-Z]+/))return"variable-2";if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/]/))return"tag";if(e.match(/^[\^_&]/))return"tag";if(e.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(e.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=e.next();return"{"==a||"}"==a||"["==a||"]"==a||"("==a||")"==a?"bracket":"%"==a?(e.skipToEnd(),"comment"):"error"}function beginParams(e,t){var n=e.peek();return"{"==n||"["==n?(peekCommand(t).openBracket(n),e.eat(n),setState(t,normal),"bracket"):/[ \t\r]/.test(n)?(e.eat(n),null):(setState(t,normal),function popCommand(e){var t=e.cmdState.pop();t&&t.closeBracket()}(t),normal(e,t))}var e={};return e.importmodule=addPluginPattern("importmodule","tag",["string","builtin"]),e.documentclass=addPluginPattern("documentclass","tag",["","atom"]),e.usepackage=addPluginPattern("usepackage","tag",["atom"]),e.begin=addPluginPattern("begin","tag",["atom"]),e.end=addPluginPattern("end","tag",["atom"]),e.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:normal}},copyState:function(e){return{cmdState:e.cmdState.slice(),f:e.f}},token:function(e,t){return t.f(e,t)},blankLine:function(e){e.f=normal,e.cmdState.length=0},lineComment:"%"}}),e.defineMIME("text/x-stex","stex"),e.defineMIME("text/x-latex","stex")})}}); \ No newline at end of file +webpackJsonp([13,50,65],{1004:function(e,t,n){!function(e){e(n(907),n(925),n(927),n(913))}(function(e){"use strict";e.defineMode("rst",function(t,n){var a=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,o=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,r=/^``[^`\s](?:[^`]*[^`\s])``/,c=/^(?:[\d]+(?:[\.,]\d+)*)/,i=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,s=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,l=new RegExp("^[Hh][Tt][Tt][Pp][Ss]?://(?:[\\d\\w.-]+)\\.(?:\\w{2,6})(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*"),m={token:function(e){if(e.match(a)&&e.match(/\W+|$/,!1))return"strong";if(e.match(o)&&e.match(/\W+|$/,!1))return"em";if(e.match(r)&&e.match(/\W+|$/,!1))return"string-2";if(e.match(c))return"number";if(e.match(i))return"positive";if(e.match(s))return"negative";if(e.match(l))return"link";for(;!(null==e.next()||e.match(a,!1)||e.match(o,!1)||e.match(r,!1)||e.match(c,!1)||e.match(i,!1)||e.match(s,!1)||e.match(l,!1)););return null}},u=e.getMode(t,n.backdrop||"rst-base");return e.overlayMode(u,m,!0)},"python","stex"),e.defineMode("rst-base",function(t){function format(e){var t=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,n){return void 0!==t[n]?t[n]:e})}function to_normal(t,o){var c=null;if(t.sol()&&t.match(B,!1))change(o,to_mode,{mode:n,local:e.startState(n)});else if(t.sol()&&t.match(p))change(o,to_explicit),c="meta";else if(t.sol()&&t.match(h))change(o,to_normal),c="header";else if(phase(o)==S||t.match(S,!1))switch(stage(o)){case 0:change(o,to_normal,context(S,1)),t.match(/^:/),c="meta";break;case 1:change(o,to_normal,context(S,2)),t.match(i),c="keyword",t.current().match(/^(?:math|latex)/)&&(o.tmp_stex=!0);break;case 2:change(o,to_normal,context(S,3)),t.match(/^:`/),c="meta";break;case 3:if(o.tmp_stex&&(o.tmp_stex=void 0,o.tmp={mode:a,local:e.startState(a)}),o.tmp){if("`"==t.peek()){change(o,to_normal,context(S,4)),o.tmp=void 0;break}c=o.tmp.mode.token(t,o.tmp.local);break}change(o,to_normal,context(S,4)),t.match(u),c="string";break;case 4:change(o,to_normal,context(S,5)),t.match(/^`/),c="meta";break;case 5:change(o,to_normal,context(S,6)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==E||t.match(E,!1))switch(stage(o)){case 0:change(o,to_normal,context(E,1)),t.match(/^`/),c="meta";break;case 1:change(o,to_normal,context(E,2)),t.match(u),c="string";break;case 2:change(o,to_normal,context(E,3)),t.match(/^`:/),c="meta";break;case 3:change(o,to_normal,context(E,4)),t.match(i),c="keyword";break;case 4:change(o,to_normal,context(E,5)),t.match(/^:/),c="meta";break;case 5:change(o,to_normal,context(E,6)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==P||t.match(P,!1))switch(stage(o)){case 0:change(o,to_normal,context(P,1)),t.match(/^:/),c="meta";break;case 1:change(o,to_normal,context(P,2)),t.match(i),c="keyword";break;case 2:change(o,to_normal,context(P,3)),t.match(/^:/),c="meta";break;case 3:change(o,to_normal,context(P,4)),t.match(r);break;default:change(o,to_normal)}else if(phase(o)==b||t.match(b,!1))switch(stage(o)){case 0:change(o,to_normal,context(b,1)),t.match(T),c="variable-2";break;case 1:change(o,to_normal,context(b,2)),t.match(/^_?_?/)&&(c="link");break;default:change(o,to_normal)}else if(t.match(_))change(o,to_normal),c="quote";else if(t.match(y))change(o,to_normal),c="quote";else if(t.match(v))change(o,to_normal),t.peek()&&!t.peek().match(/^\W$/)||(c="link");else if(phase(o)==w||t.match(w,!1))switch(stage(o)){case 0:!t.peek()||t.peek().match(/^\W$/)?change(o,to_normal,context(w,1)):t.match(w);break;case 1:change(o,to_normal,context(w,2)),t.match(/^`/),c="link";break;case 2:change(o,to_normal,context(w,3)),t.match(u);break;case 3:change(o,to_normal,context(w,4)),t.match(/^`_/),c="link";break;default:change(o,to_normal)}else t.match(A)?change(o,to_verbatim):t.next()&&change(o,to_normal);return c}function to_explicit(t,o){var r=null;if(phase(o)==g||t.match(g,!1))switch(stage(o)){case 0:change(o,to_explicit,context(g,1)),t.match(T),r="variable-2";break;case 1:change(o,to_explicit,context(g,2)),t.match(C);break;case 2:change(o,to_explicit,context(g,3)),t.match($),r="keyword";break;case 3:change(o,to_explicit,context(g,4)),t.match(L),r="meta";break;default:change(o,to_normal)}else if(phase(o)==d||t.match(d,!1))switch(stage(o)){case 0:change(o,to_explicit,context(d,1)),t.match(R),r="keyword",t.current().match(/^(?:math|latex)/)?o.tmp_stex=!0:t.current().match(/^python/)&&(o.tmp_py=!0);break;case 1:change(o,to_explicit,context(d,2)),t.match(M),r="meta",(t.match(/^latex\s*$/)||o.tmp_stex)&&(o.tmp_stex=void 0,change(o,to_mode,{mode:a,local:e.startState(a)}));break;case 2:change(o,to_explicit,context(d,3)),(t.match(/^python\s*$/)||o.tmp_py)&&(o.tmp_py=void 0,change(o,to_mode,{mode:n,local:e.startState(n)}));break;default:change(o,to_normal)}else if(phase(o)==f||t.match(f,!1))switch(stage(o)){case 0:change(o,to_explicit,context(f,1)),t.match(F),t.match(I),r="link";break;case 1:change(o,to_explicit,context(f,2)),t.match(z),r="meta";break;default:change(o,to_normal)}else t.match(x)?(change(o,to_normal),r="quote"):t.match(k)?(change(o,to_normal),r="quote"):(t.eatSpace(),t.eol()?change(o,to_normal):(t.skipToEnd(),change(o,to_comment),r="comment"));return r}function to_comment(e,t){return as_block(e,t,"comment")}function to_verbatim(e,t){return as_block(e,t,"meta")}function as_block(e,t,n){return e.eol()||e.eatSpace()?(e.skipToEnd(),n):(change(t,to_normal),null)}function to_mode(e,t){return t.ctx.mode&&t.ctx.local?e.sol()?(e.eatSpace()||change(t,to_normal),null):t.ctx.mode.token(e,t.ctx.local):(change(t,to_normal),null)}function context(e,t,n,a){return{phase:e,stage:t,mode:n,local:a}}function change(e,t,n){e.tok=t,e.ctx=n||{}}function stage(e){return e.ctx.stage||0}function phase(e){return e.ctx.phase}var n=e.getMode(t,"python"),a=e.getMode(t,"stex"),o="(?:\\s*|\\W|$)",r=new RegExp(format("^{0}",o)),c="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",i=new RegExp(format("^{0}",c)),s=format("(?:{0}|`{1}`)",c,"(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)"),l="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",m="(?:[^\\`]+)",u=new RegExp(format("^{0}",m)),h=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),p=new RegExp(format("^\\.\\.{0}","\\s+")),f=new RegExp(format("^_{0}:{1}|^__:{1}",s,o)),d=new RegExp(format("^{0}::{1}",s,o)),g=new RegExp(format("^\\|{0}\\|{1}{2}::{3}",l,"\\s+",s,o)),x=new RegExp(format("^\\[(?:\\d+|#{0}?|\\*)]{1}",s,o)),k=new RegExp(format("^\\[{0}\\]{1}",s,o)),b=new RegExp(format("^\\|{0}\\|",l)),_=new RegExp(format("^\\[(?:\\d+|#{0}?|\\*)]_",s)),y=new RegExp(format("^\\[{0}\\]_",s)),v=new RegExp(format("^{0}__?",s)),w=new RegExp(format("^`{0}`_",m)),S=new RegExp(format("^:{0}:`{1}`{2}",c,m,o)),E=new RegExp(format("^`{1}`:{0}:{2}",c,m,o)),P=new RegExp(format("^:{0}:{1}",c,o)),R=new RegExp(format("^{0}",s)),M=new RegExp(format("^::{0}",o)),T=new RegExp(format("^\\|{0}\\|",l)),C=new RegExp(format("^{0}","\\s+")),$=new RegExp(format("^{0}",s)),L=new RegExp(format("^::{0}",o)),F=new RegExp("^_"),I=new RegExp(format("^{0}|_",s)),z=new RegExp(format("^:{0}",o)),A=new RegExp("^::\\s*$"),B=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");return{startState:function(){return{tok:to_normal,ctx:context(void 0,0)}},copyState:function(t){var n=t.ctx,a=t.tmp;return n.local&&(n={mode:n.mode,local:e.copyState(n.mode,n.local)}),a&&(a={mode:a.mode,local:e.copyState(a.mode,a.local)}),{tok:t.tok,ctx:n,tmp:a}},innerMode:function(e){return e.tmp?{state:e.tmp.local,mode:e.tmp.mode}:e.ctx.mode?{state:e.ctx.local,mode:e.ctx.mode}:null},token:function(e,t){return t.tok(e,t)}}},"python","stex"),e.defineMIME("text/x-rst","rst")})},913:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.overlayMode=function(t,n,a){return{startState:function(){return{base:e.startState(t),overlay:e.startState(n),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(a){return{base:e.copyState(t,a.base),overlay:e.copyState(n,a.overlay),basePos:a.basePos,baseCur:null,overlayPos:a.overlayPos,overlayCur:null}},token:function(e,o){return(e!=o.streamSeen||Math.min(o.basePos,o.overlayPos)<e.start)&&(o.streamSeen=e,o.basePos=o.overlayPos=e.start),e.start==o.basePos&&(o.baseCur=t.token(e,o.base),o.basePos=e.pos),e.start==o.overlayPos&&(e.pos=e.start,o.overlayCur=n.token(e,o.overlay),o.overlayPos=e.pos),e.pos=Math.min(o.basePos,o.overlayPos),null==o.overlayCur?o.baseCur:null!=o.baseCur&&o.overlay.combineTokens||a&&null==o.overlay.combineTokens?o.baseCur+" "+o.overlayCur:o.overlayCur},indent:t.indent&&function(e,n){return t.indent(e.base,n)},electricChars:t.electricChars,innerMode:function(e){return{state:e.base,mode:t}},blankLine:function(e){var o,r;return t.blankLine&&(o=t.blankLine(e.base)),n.blankLine&&(r=n.blankLine(e.overlay)),null==r?o:a&&null!=o?o+" "+r:r}}}})},925:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function top(e){return e.scopes[e.scopes.length-1]}var t=wordRegexp(["and","or","not","is"]),n=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],a=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];e.registerHelper("hintWords","python",n.concat(a)),e.defineMode("python",function(o,r){function tokenBase(e,t){if(e.sol()&&(t.indent=e.indentation()),e.sol()&&"py"==top(t).type){var n=top(t).offset;if(e.eatSpace()){var a=e.indentation();return a>n?pushPyScope(t):a<n&&dedent(e,t)&&"#"!=e.peek()&&(t.errorToken=!0),null}var o=tokenBaseInner(e,t);return n>0&&dedent(e,t)&&(o+=" "+c),o}return tokenBaseInner(e,t)}function tokenBaseInner(e,n){if(e.eatSpace())return null;if("#"==e.peek())return e.skipToEnd(),"comment";if(e.match(/^[0-9\.]/,!1)){var a=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(a=!0),e.match(/^[\d_]+\.\d*/)&&(a=!0),e.match(/^\.\d+/)&&(a=!0),a)return e.eat(/J/i),"number";var o=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(o=!0),e.match(/^0b[01_]+/i)&&(o=!0),e.match(/^0o[0-7_]+/i)&&(o=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),o=!0),e.match(/^0(?![\dx])/i)&&(o=!0),o)return e.eat(/L/i),"number"}if(e.match(d))return n.tokenize=function tokenStringFactory(e){function tokenString(a,o){for(;!a.eol();)if(a.eatWhile(/[^'"\\]/),a.eat("\\")){if(a.next(),t&&a.eol())return n}else{if(a.match(e))return o.tokenize=tokenBase,n;a.eat(/['"]/)}if(t){if(r.singleLineStringErrors)return c;o.tokenize=tokenBase}return n}for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var t=1==e.length,n="string";return tokenString.isString=!0,tokenString}(e.current()),n.tokenize(e,n);for(var l=0;l<s.length;l++)if(e.match(s[l]))return"operator";return e.match(i)?"punctuation":"."==n.lastToken&&e.match(f)?"property":e.match(g)||e.match(t)?"keyword":e.match(x)?"builtin":e.match(/^(self|cls)\b/)?"variable-2":e.match(f)?"def"==n.lastToken||"class"==n.lastToken?"def":"variable":(e.next(),c)}function pushPyScope(e){for(;"py"!=top(e).type;)e.scopes.pop();e.scopes.push({offset:top(e).offset+o.indentUnit,type:"py",align:null})}function dedent(e,t){for(var n=e.indentation();t.scopes.length>1&&top(t).offset>n;){if("py"!=top(t).type)return!0;t.scopes.pop()}return top(t).offset!=n}function tokenLexer(e,t){e.sol()&&(t.beginningOfLine=!0);var n=t.tokenize(e,t),a=e.current();if(t.beginningOfLine&&"@"==a)return e.match(f,!1)?"meta":p?"operator":c;/\S/.test(a)&&(t.beginningOfLine=!1),"variable"!=n&&"builtin"!=n||"meta"!=t.lastToken||(n="meta"),"pass"!=a&&"return"!=a||(t.dedent+=1),"lambda"==a&&(t.lambda=!0),":"!=a||t.lambda||"py"!=top(t).type||pushPyScope(t);var o=1==a.length?"[({".indexOf(a):-1;if(-1!=o&&function pushBracketScope(e,t,n){var a=e.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+m,type:n,align:a})}(e,t,"])}".slice(o,o+1)),-1!=(o="])}".indexOf(a))){if(top(t).type!=a)return c;t.indent=t.scopes.pop().offset-m}return t.dedent>0&&e.eol()&&"py"==top(t).type&&(t.scopes.length>1&&t.scopes.pop(),t.dedent-=1),n}for(var c="error",i=r.delimiters||r.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.]/,s=[r.singleOperators,r.doubleOperators,r.doubleDelimiters,r.tripleDelimiters,r.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@])/],l=0;l<s.length;l++)s[l]||s.splice(l--,1);var m=r.hangingIndent||o.indentUnit,u=n,h=a;void 0!=r.extra_keywords&&(u=u.concat(r.extra_keywords)),void 0!=r.extra_builtins&&(h=h.concat(r.extra_builtins));var p=!(r.version&&Number(r.version)<3);if(p){var f=r.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;u=u.concat(["nonlocal","False","True","None","async","await"]),h=h.concat(["ascii","bytes","exec","print"]);var d=new RegExp("^(([rbuf]|(br))?('{3}|\"{3}|['\"]))","i")}else{f=r.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;u=u.concat(["exec","print"]),h=h.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","False","True","None"]);d=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var g=wordRegexp(u),x=wordRegexp(h);return{startState:function(e){return{tokenize:tokenBase,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,t){var n=t.errorToken;n&&(t.errorToken=!1);var a=tokenLexer(e,t);return a&&"comment"!=a&&(t.lastToken="keyword"==a||"punctuation"==a?e.current():a),"punctuation"==a&&(a=null),e.eol()&&t.lambda&&(t.lambda=!1),n?a+" "+c:a},indent:function(t,n){if(t.tokenize!=tokenBase)return t.tokenize.isString?e.Pass:0;var a=top(t),o=a.type==n.charAt(0);return null!=a.align?a.align-(o?1:0):a.offset-(o?m:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-python","python");e.defineMIME("text/x-cython",{name:"python",extra_keywords:function(e){return e.split(" ")}("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})},927:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("stex",function(){function pushCommand(e,t){e.cmdState.push(t)}function peekCommand(e){return e.cmdState.length>0?e.cmdState[e.cmdState.length-1]:null}function addPluginPattern(e,t,n){return function(){this.name=e,this.bracketNo=0,this.style=t,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}function setState(e,t){e.f=t}function normal(t,n){var a;if(t.match(/^\\[a-zA-Z@]+/)){var o=t.current().slice(1);return a=e[o]||e.DEFAULT,a=new a,pushCommand(n,a),setState(n,beginParams),a.style}if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return setState(n,function(e,t){return inMathMode(e,t,"\\]")}),"keyword";if(t.match("$$"))return setState(n,function(e,t){return inMathMode(e,t,"$$")}),"keyword";if(t.match("$"))return setState(n,function(e,t){return inMathMode(e,t,"$")}),"keyword";var r=t.next();return"%"==r?(t.skipToEnd(),"comment"):"}"==r||"]"==r?(a=peekCommand(n))?(a.closeBracket(r),setState(n,beginParams),"bracket"):"error":"{"==r||"["==r?(a=e.DEFAULT,a=new a,pushCommand(n,a),"bracket"):/\d/.test(r)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),"begin"==(a=function getMostPowerful(e){for(var t=e.cmdState,n=t.length-1;n>=0;n--){var a=t[n];if("DEFAULT"!=a.name)return a}return{styleIdentifier:function(){return null}}}(n)).name&&(a.argument=t.current()),a.styleIdentifier())}function inMathMode(e,t,n){if(e.eatSpace())return null;if(e.match(n))return setState(t,normal),"keyword";if(e.match(/^\\[a-zA-Z@]+/))return"tag";if(e.match(/^[a-zA-Z]+/))return"variable-2";if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/]/))return"tag";if(e.match(/^[\^_&]/))return"tag";if(e.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(e.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=e.next();return"{"==a||"}"==a||"["==a||"]"==a||"("==a||")"==a?"bracket":"%"==a?(e.skipToEnd(),"comment"):"error"}function beginParams(e,t){var n=e.peek();return"{"==n||"["==n?(peekCommand(t).openBracket(n),e.eat(n),setState(t,normal),"bracket"):/[ \t\r]/.test(n)?(e.eat(n),null):(setState(t,normal),function popCommand(e){var t=e.cmdState.pop();t&&t.closeBracket()}(t),normal(e,t))}var e={};return e.importmodule=addPluginPattern("importmodule","tag",["string","builtin"]),e.documentclass=addPluginPattern("documentclass","tag",["","atom"]),e.usepackage=addPluginPattern("usepackage","tag",["atom"]),e.begin=addPluginPattern("begin","tag",["atom"]),e.end=addPluginPattern("end","tag",["atom"]),e.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:normal}},copyState:function(e){return{cmdState:e.cmdState.slice(),f:e.f}},token:function(e,t){return t.f(e,t)},blankLine:function(e){e.f=normal,e.cmdState.length=0},lineComment:"%"}}),e.defineMIME("text/x-stex","stex"),e.defineMIME("text/x-latex","stex")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/79.10030e89.js b/build/codemirror/mode/79.9eefbc8f.js similarity index 98% rename from build/codemirror/mode/79.10030e89.js rename to build/codemirror/mode/79.9eefbc8f.js index 4fac0b9..aa7135a 100644 --- a/build/codemirror/mode/79.10030e89.js +++ b/build/codemirror/mode/79.9eefbc8f.js @@ -1 +1 @@ -webpackJsonp([62],{916:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,n){if(e.sol()&&e.match("=begin")&&e.eol())return n.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var r,i=e.next();if("`"==i||"'"==i||'"'==i)return chain(readQuoted(i,"string",'"'==i||"`"==i),e,n);if("/"==i)return function regexpAhead(e){var t,n=e.pos,r=0,i=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}a="\\"==t}return e.backUp(e.pos-n),i}(e)?chain(readQuoted(i,"string-2",!0),e,n):"operator";if("%"==i){var o="string",u=!0;e.eat("s")?o="atom":e.eat(/[WQ]/)?o="string":e.eat(/[r]/)?o="string-2":e.eat(/[wxq]/)&&(o="string",u=!1);var d=e.eat(/[^\w\s=]/);return d?(a.propertyIsEnumerable(d)&&(d=a[d]),chain(readQuoted(d,o,u,!0),e,n)):"operator"}if("#"==i)return e.skipToEnd(),"comment";if("<"==i&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}(r[1]),e,n);if("0"==i)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(i))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==i){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==i)return e.eat("'")?chain(readQuoted("'","atom",!1),e,n):e.eat('"')?chain(readQuoted('"',"atom",!0),e,n):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==i&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==i)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(i))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=i||!n.varList&&"{"!=n.lastTok&&"do"!=n.lastTok){if(/[\(\)\[\]{}\\;]/.test(i))return t=i,null;if("-"==i&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(i)){var l=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=i||l||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,n)}}function tokenBaseOnce(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,tokenBase(t,n))}}function readQuoted(e,t,n,r){return function(i,a){var o,u=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,i.eat("}"));null!=(o=i.next());){if(o==e&&(r||!u)){a.tokenize.pop();break}if(n&&"#"==o&&!u){if(i.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(i.peek())){a.tokenize.push(tokenBaseOnce());break}}u=!u&&"\\"==o}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,n=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),r=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),i=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var o,u=a.tokenize[a.tokenize.length-1](e,a),d=t;if("ident"==u){var l=e.current();"keyword"==(u="."==a.lastTok?"property":n.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(l)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(d=l,r.propertyIsEnumerable(l)?o="indent":i.propertyIsEnumerable(l)?o="dedent":"if"!=l&&"unless"!=l||e.column()!=e.indentation()?"do"==l&&a.context.indented<a.indented&&(o="indent"):o="indent")}return(t||u&&"comment"!=u)&&(a.lastTok=d),"|"==t&&(a.varList=!a.varList),"indent"==o||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||u,indented:a.indented}:("dedent"==o||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==u),u},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var r=n&&n.charAt(0),i=t.context,o=i.type==a[r]||"keyword"==i.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return i.indented+(o?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})}}); \ No newline at end of file +webpackJsonp([61],{916:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,n){if(e.sol()&&e.match("=begin")&&e.eol())return n.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var r,i=e.next();if("`"==i||"'"==i||'"'==i)return chain(readQuoted(i,"string",'"'==i||"`"==i),e,n);if("/"==i)return function regexpAhead(e){var t,n=e.pos,r=0,i=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){i=!0;break}a="\\"==t}return e.backUp(e.pos-n),i}(e)?chain(readQuoted(i,"string-2",!0),e,n):"operator";if("%"==i){var o="string",u=!0;e.eat("s")?o="atom":e.eat(/[WQ]/)?o="string":e.eat(/[r]/)?o="string-2":e.eat(/[wxq]/)&&(o="string",u=!1);var d=e.eat(/[^\w\s=]/);return d?(a.propertyIsEnumerable(d)&&(d=a[d]),chain(readQuoted(d,o,u,!0),e,n)):"operator"}if("#"==i)return e.skipToEnd(),"comment";if("<"==i&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}(r[1]),e,n);if("0"==i)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(i))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==i){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==i)return e.eat("'")?chain(readQuoted("'","atom",!1),e,n):e.eat('"')?chain(readQuoted('"',"atom",!0),e,n):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==i&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==i)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(i))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=i||!n.varList&&"{"!=n.lastTok&&"do"!=n.lastTok){if(/[\(\)\[\]{}\\;]/.test(i))return t=i,null;if("-"==i&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(i)){var l=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=i||l||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,n)}}function tokenBaseOnce(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,tokenBase(t,n))}}function readQuoted(e,t,n,r){return function(i,a){var o,u=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,i.eat("}"));null!=(o=i.next());){if(o==e&&(r||!u)){a.tokenize.pop();break}if(n&&"#"==o&&!u){if(i.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(i.peek())){a.tokenize.push(tokenBaseOnce());break}}u=!u&&"\\"==o}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,n=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),r=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),i=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var o,u=a.tokenize[a.tokenize.length-1](e,a),d=t;if("ident"==u){var l=e.current();"keyword"==(u="."==a.lastTok?"property":n.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(l)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(d=l,r.propertyIsEnumerable(l)?o="indent":i.propertyIsEnumerable(l)?o="dedent":"if"!=l&&"unless"!=l||e.column()!=e.indentation()?"do"==l&&a.context.indented<a.indented&&(o="indent"):o="indent")}return(t||u&&"comment"!=u)&&(a.lastTok=d),"|"==t&&(a.varList=!a.varList),"indent"==o||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||u,indented:a.indented}:("dedent"==o||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==u),u},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var r=n&&n.charAt(0),i=t.context,o=i.type==a[r]||"keyword"==i.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return i.indented+(o?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/8.27af5ef2.js b/build/codemirror/mode/8.29bae0a6.js similarity index 98% rename from build/codemirror/mode/8.27af5ef2.js rename to build/codemirror/mode/8.29bae0a6.js index 60e93dd..287d6c4 100644 --- a/build/codemirror/mode/8.27af5ef2.js +++ b/build/codemirror/mode/8.29bae0a6.js @@ -1 +1 @@ -webpackJsonp([115],{945:function(E,T,I){!function(E){E(I(907))}(function(E){"use strict";E.defineMode("cobol",function(){function makeKeywords(E){for(var T={},I=E.split(" "),N=0;N<I.length;++N)T[I[N]]=!0;return T}var E=makeKeywords("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),T=makeKeywords("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),I=makeKeywords("- * ** / + < <= = > >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(R,A){if(null==A.indentStack&&R.sol()&&(A.indentation=6),R.eatSpace())return null;var O=null;switch(A.mode){case"string":for(var C=!1;null!=(C=R.next());)if('"'==C||"'"==C){A.mode=!1;break}O="string";break;default:var L=R.next(),D=R.column();if(D>=0&&D<=5)O="def";else if(D>=72&&D<=79)R.skipToEnd(),O="header";else if("*"==L&&6==D)R.skipToEnd(),O="comment";else if('"'==L||"'"==L)A.mode="string",O="string";else if("'"!=L||N.digit_or_colon.test(R.peek()))if("."==L)O="link";else if(function isNumber(E,T){return"0"===E&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):("+"!=E&&"-"!=E||!N.digit.test(T.peek())||(T.eat(N.sign),E=T.next()),!!N.digit.test(E)&&(T.eat(E),T.eatWhile(N.digit),"."==T.peek()&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0))}(L,R))O="number";else{if(R.current().match(N.symbol))for(;D<71&&void 0!==R.eat(N.symbol);)D++;O=T&&T.propertyIsEnumerable(R.current().toUpperCase())?"keyword":I&&I.propertyIsEnumerable(R.current().toUpperCase())?"builtin":E&&E.propertyIsEnumerable(R.current().toUpperCase())?"atom":null}else O="atom"}return O},indent:function(E){return null==E.indentStack?E.indentation:E.indentStack.indent}}}),E.defineMIME("text/x-cobol","cobol")})}}); \ No newline at end of file +webpackJsonp([114],{945:function(E,T,I){!function(E){E(I(907))}(function(E){"use strict";E.defineMode("cobol",function(){function makeKeywords(E){for(var T={},I=E.split(" "),N=0;N<I.length;++N)T[I[N]]=!0;return T}var E=makeKeywords("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES "),T=makeKeywords("ACCEPT ACCESS ACQUIRE ADD ADDRESS ADVANCING AFTER ALIAS ALL ALPHABET ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED ALSO ALTER ALTERNATE AND ANY ARE AREA AREAS ARITHMETIC ASCENDING ASSIGN AT ATTRIBUTE AUTHOR AUTO AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP BEFORE BELL BINARY BIT BITS BLANK BLINK BLOCK BOOLEAN BOTTOM BY CALL CANCEL CD CF CH CHARACTER CHARACTERS CLASS CLOCK-UNITS CLOSE COBOL CODE CODE-SET COL COLLATING COLUMN COMMA COMMIT COMMITMENT COMMON COMMUNICATION COMP COMP-0 COMP-1 COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS CONVERTING COPY CORR CORRESPONDING COUNT CRT CRT-UNDER CURRENCY CURRENT CURSOR DATA DATE DATE-COMPILED DATE-WRITTEN DAY DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION DOWN DROP DUPLICATE DUPLICATES DYNAMIC EBCDIC EGI EJECT ELSE EMI EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT END-UNSTRING END-WRITE END-XML ENTER ENTRY ENVIRONMENT EOP EQUAL EQUALS ERASE ERROR ESI EVALUATE EVERY EXCEEDS EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL FILE-STREAM FILES FILLER FINAL FIND FINISH FIRST FOOTING FOR FOREGROUND-COLOR FOREGROUND-COLOUR FORMAT FREE FROM FULL FUNCTION GENERATE GET GIVING GLOBAL GO GOBACK GREATER GROUP HEADING HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL ID IDENTIFICATION IF IN INDEX INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED INDIC INDICATE INDICATOR INDICATORS INITIAL INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT INSTALLATION INTO INVALID INVOKE IS JUST JUSTIFIED KANJI KEEP KEY LABEL LAST LD LEADING LEFT LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE LOCALE LOCALLY LOCK MEMBER MEMORY MERGE MESSAGE METACLASS MODE MODIFIED MODIFY MODULES MOVE MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE NEXT NO NO-ECHO NONE NOT NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS OF OFF OMITTED ON ONLY OPEN OPTIONAL OR ORDER ORGANIZATION OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL PADDING PAGE PAGE-COUNTER PARSE PERFORM PF PH PIC PICTURE PLUS POINTER POSITION POSITIVE PREFIX PRESENT PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID PROMPT PROTECTED PURGE QUEUE QUOTE QUOTES RANDOM RD READ READY REALM RECEIVE RECONNECT RECORD RECORD-NAME RECORDS RECURSIVE REDEFINES REEL REFERENCE REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE REMAINDER REMOVAL RENAMES REPEATED REPLACE REPLACING REPORT REPORTING REPORTS REPOSITORY REQUIRED RERUN RESERVE RESET RETAINING RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO REVERSED REWIND REWRITE RF RH RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED RUN SAME SCREEN SD SEARCH SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT SELECT SEND SENTENCE SEPARATE SEQUENCE SEQUENTIAL SET SHARED SIGN SIZE SKIP1 SKIP2 SKIP3 SORT SORT-MERGE SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 START STARTING STATUS STOP STORE STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT TABLE TALLYING TAPE TENANT TERMINAL TERMINATE TEST TEXT THAN THEN THROUGH THRU TIME TIMES TITLE TO TOP TRAILING TRAILING-SIGN TRANSACTION TYPE TYPEDEF UNDERLINE UNEQUAL UNIT UNSTRING UNTIL UP UPDATE UPON USAGE USAGE-MODE USE USING VALID VALIDATE VALUE VALUES VARYING VLR WAIT WHEN WHEN-COMPILED WITH WITHIN WORDS WORKING-STORAGE WRITE XML XML-CODE XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL "),I=makeKeywords("- * ** / + < <= = > >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(R,A){if(null==A.indentStack&&R.sol()&&(A.indentation=6),R.eatSpace())return null;var O=null;switch(A.mode){case"string":for(var C=!1;null!=(C=R.next());)if('"'==C||"'"==C){A.mode=!1;break}O="string";break;default:var L=R.next(),D=R.column();if(D>=0&&D<=5)O="def";else if(D>=72&&D<=79)R.skipToEnd(),O="header";else if("*"==L&&6==D)R.skipToEnd(),O="comment";else if('"'==L||"'"==L)A.mode="string",O="string";else if("'"!=L||N.digit_or_colon.test(R.peek()))if("."==L)O="link";else if(function isNumber(E,T){return"0"===E&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):("+"!=E&&"-"!=E||!N.digit.test(T.peek())||(T.eat(N.sign),E=T.next()),!!N.digit.test(E)&&(T.eat(E),T.eatWhile(N.digit),"."==T.peek()&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0))}(L,R))O="number";else{if(R.current().match(N.symbol))for(;D<71&&void 0!==R.eat(N.symbol);)D++;O=T&&T.propertyIsEnumerable(R.current().toUpperCase())?"keyword":I&&I.propertyIsEnumerable(R.current().toUpperCase())?"builtin":E&&E.propertyIsEnumerable(R.current().toUpperCase())?"atom":null}else O="atom"}return O},indent:function(E){return null==E.indentStack?E.indentation:E.indentStack.indent}}}),E.defineMIME("text/x-cobol","cobol")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/80.cd4dd9c6.js b/build/codemirror/mode/80.3bf9e37f.js similarity index 98% rename from build/codemirror/mode/80.cd4dd9c6.js rename to build/codemirror/mode/80.3bf9e37f.js index 716af36..278fe1f 100644 --- a/build/codemirror/mode/80.cd4dd9c6.js +++ b/build/codemirror/mode/80.3bf9e37f.js @@ -1 +1 @@ -webpackJsonp([24],{1006:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|box|break|continue|const|crate|do|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust")})},912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var i=o.local.endToken||null;return o.local=o.localState=null,i}var s;i=o.local.mode.token(r,o.localState);return o.local.endScan&&(s=o.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),i}for(var l=t[o.state],c=0;c<l.length;c++){var d=l[c],u=(!d.data.sol||r.sol())&&r.match(d.regex);if(u){d.data.next?o.state=d.data.next:d.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=d.data.push):d.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),d.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var i=n.persistentStates;i&&!a;i=i.next)(r.spec?cmp(r.spec,i.spec):r.mode==i.mode)&&(a=i);var s=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(s);r.persistent&&!a&&(n.persistentStates={mode:s,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:s,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,d.data.mode,d.token),d.data.indent&&o.indent.push(r.indentation()+n.indentUnit),d.data.dedent&&o.indent.pop();var f=d.token;if(f&&f.apply&&(f=f(u)),u.length>2&&d.token&&"string"!=typeof d.token){o.pending=[];for(var p=2;p<u.length;p++)u[p]&&o.pending.push({text:u[p],token:d.token[p-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),f[0]}return f&&f.join?f[0]:f}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var i in n)if(i!=o&&n.hasOwnProperty(i))for(var s=r[i]=[],l=n[i],c=0;c<l.length;c++){var d=l[c];s.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var i=r.indent.length-1,s=t[r.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(o);if(d&&d[0]){i--,(c.next||c.push)&&(s=t[c.next||c.push]),o=o.slice(d[0].length);continue e}}}break}return i<0?0:r.indent[i]}}(r,o)};if(o)for(var f in o)o.hasOwnProperty(f)&&(u[f]=o[f]);return u}})}}); \ No newline at end of file +webpackJsonp([23],{1005:function(e,t,n){!function(e){e(n(907),n(912))}(function(e){"use strict";e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|box|break|continue|const|crate|do|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust")})},912:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function ensureState(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function toRegex(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function tokenFunction(t,n){return function(r,o){if(o.pending){var a=o.pending.shift();return 0==o.pending.length&&(o.pending=null),r.pos+=a.text.length,a.token}if(o.local){if(o.local.end&&r.match(o.local.end)){var i=o.local.endToken||null;return o.local=o.localState=null,i}var s;i=o.local.mode.token(r,o.localState);return o.local.endScan&&(s=o.local.endScan.exec(r.current()))&&(r.pos=r.start+s.index),i}for(var l=t[o.state],c=0;c<l.length;c++){var d=l[c],u=(!d.data.sol||r.sol())&&r.match(d.regex);if(u){d.data.next?o.state=d.data.next:d.data.push?((o.stack||(o.stack=[])).push(o.state),o.state=d.data.push):d.data.pop&&o.stack&&o.stack.length&&(o.state=o.stack.pop()),d.data.mode&&function enterLocalMode(t,n,r,o){var a;if(r.persistent)for(var i=n.persistentStates;i&&!a;i=i.next)(r.spec?cmp(r.spec,i.spec):r.mode==i.mode)&&(a=i);var s=a?a.mode:r.mode||e.getMode(t,r.spec),l=a?a.state:e.startState(s);r.persistent&&!a&&(n.persistentStates={mode:s,spec:r.spec,state:l,next:n.persistentStates});n.localState=l,n.local={mode:s,end:r.end&&toRegex(r.end),endScan:r.end&&!1!==r.forceEnd&&toRegex(r.end,!1),endToken:o&&o.join?o[o.length-1]:o}}(n,o,d.data.mode,d.token),d.data.indent&&o.indent.push(r.indentation()+n.indentUnit),d.data.dedent&&o.indent.pop();var f=d.token;if(f&&f.apply&&(f=f(u)),u.length>2&&d.token&&"string"!=typeof d.token){o.pending=[];for(var p=2;p<u.length;p++)u[p]&&o.pending.push({text:u[p],token:d.token[p-1]});return r.backUp(u[0].length-(u[1]?u[1].length:0)),f[0]}return f&&f.join?f[0]:f}}return r.next(),null}}function cmp(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!cmp(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(t,n){ensureState(n,"start");var r={},o=n.meta||{},a=!1;for(var i in n)if(i!=o&&n.hasOwnProperty(i))for(var s=r[i]=[],l=n[i],c=0;c<l.length;c++){var d=l[c];s.push(new function Rule(e,t){(e.next||e.push)&&ensureState(t,e.next||e.push),this.regex=toRegex(e.regex),this.token=function asToken(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}(d,n)),(d.indent||d.dedent)&&(a=!0)}var u={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:a?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:tokenFunction(r,t),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function indentFunction(t,n){return function(r,o,a){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,a);if(null==r.indent||r.local||n.dontIndentStates&&function indexOf(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var i=r.indent.length-1,s=t[r.state];e:for(;;){for(var l=0;l<s.length;l++){var c=s[l];if(c.data.dedent&&!1!==c.data.dedentIfLineStart){var d=c.regex.exec(o);if(d&&d[0]){i--,(c.next||c.push)&&(s=t[c.next||c.push]),o=o.slice(d[0].length);continue e}}}break}return i<0?0:r.indent[i]}}(r,o)};if(o)for(var f in o)o.hasOwnProperty(f)&&(u[f]=o[f]);return u}})}}); \ No newline at end of file diff --git a/build/codemirror/mode/81.54a4db2a.js b/build/codemirror/mode/81.4c010307.js similarity index 99% rename from build/codemirror/mode/81.54a4db2a.js rename to build/codemirror/mode/81.4c010307.js index 0d6106a..5ed5dd7 100644 --- a/build/codemirror/mode/81.54a4db2a.js +++ b/build/codemirror/mode/81.4c010307.js @@ -1 +1 @@ -webpackJsonp([61],{1007:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("sas",function(){function define(t,n,r){if(r)for(var s=n.split(" "),o=0;o<s.length;o++)e[s[o]]={style:t,state:r}}var e={},t={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},n=/(<=|>=|!=|<>)/,r=/[=\(:\),{}.*<>+\-\/^\[\]]/;return define("def","stack pgm view source debug nesting nolist",["inDataStep"]),define("def","if while until for do do; end end; then else cancel",["inDataStep"]),define("def","label format _n_ _error_",["inDataStep"]),define("def","ALTER BUFNO BUFSIZE CNTLLEV COMPRESS DLDMGACTION ENCRYPT ENCRYPTKEY EXTENDOBSCOUNTER GENMAX GENNUM INDEX LABEL OBSBUF OUTREP PW PWREQ READ REPEMPTY REPLACE REUSE ROLE SORTEDBY SPILL TOBSNO TYPE WRITE FILECLOSE FIRSTOBS IN OBS POINTOBS WHERE WHEREUP IDXNAME IDXWHERE DROP KEEP RENAME",["inDataStep"]),define("def","filevar finfo finv fipname fipnamel fipstate first firstobs floor",["inDataStep"]),define("def","varfmt varinfmt varlabel varlen varname varnum varray varrayx vartype verify vformat vformatd vformatdx vformatn vformatnx vformatw vformatwx vformatx vinarray vinarrayx vinformat vinformatd vinformatdx vinformatn vinformatnx vinformatw vinformatwx vinformatx vlabel vlabelx vlength vlengthx vname vnamex vnferr vtype vtypex weekday",["inDataStep"]),define("def","zipfips zipname zipnamel zipstate",["inDataStep"]),define("def","put putc putn",["inDataStep"]),define("builtin","data run",["inDataStep"]),define("def","data",["inProc"]),define("def","%if %end %end; %else %else; %do %do; %then",["inMacro"]),define("builtin","proc run; quit; libname filename %macro %mend option options",["ALL"]),define("def","footnote title libname ods",["ALL"]),define("def","%let %put %global %sysfunc %eval ",["ALL"]),define("variable","&sysbuffr &syscc &syscharwidth &syscmd &sysdate &sysdate9 &sysday &sysdevic &sysdmg &sysdsn &sysencoding &sysenv &syserr &syserrortext &sysfilrc &syshostname &sysindex &sysinfo &sysjobid &syslast &syslckrc &syslibrc &syslogapplname &sysmacroname &sysmenv &sysmsg &sysncpu &sysodspath &sysparm &syspbuff &sysprocessid &sysprocessname &sysprocname &sysrc &sysscp &sysscpl &sysscpl &syssite &sysstartid &sysstartname &systcpiphostname &systime &sysuserid &sysver &sysvlong &sysvlong4 &syswarningtext",["ALL"]),define("def","source2 nosource2 page pageno pagesize",["ALL"]),define("def","_all_ _character_ _cmd_ _freq_ _i_ _infile_ _last_ _msg_ _null_ _numeric_ _temporary_ _type_ abort abs addr adjrsq airy alpha alter altlog altprint and arcos array arsin as atan attrc attrib attrn authserver autoexec awscontrol awsdef awsmenu awsmenumerge awstitle backward band base betainv between blocksize blshift bnot bor brshift bufno bufsize bxor by byerr byline byte calculated call cards cards4 catcache cbufno cdf ceil center cexist change chisq cinv class cleanup close cnonct cntllev coalesce codegen col collate collin column comamid comaux1 comaux2 comdef compbl compound compress config continue convert cos cosh cpuid create cross crosstab css curobs cv daccdb daccdbsl daccsl daccsyd dacctab dairy datalines datalines4 datejul datepart datetime day dbcslang dbcstype dclose ddm delete delimiter depdb depdbsl depsl depsyd deptab dequote descending descript design= device dflang dhms dif digamma dim dinfo display distinct dkricond dkrocond dlm dnum do dopen doptname doptnum dread drop dropnote dsname dsnferr echo else emaildlg emailid emailpw emailserver emailsys encrypt end endsas engine eof eov erf erfc error errorcheck errors exist exp fappend fclose fcol fdelete feedback fetch fetchobs fexist fget file fileclose fileexist filefmt filename fileref fmterr fmtsearch fnonct fnote font fontalias fopen foptname foptnum force formatted formchar formdelim formdlim forward fpoint fpos fput fread frewind frlen from fsep fuzz fwrite gaminv gamma getoption getvarc getvarn go goto group gwindow hbar hbound helpenv helploc hms honorappearance hosthelp hostprint hour hpct html hvar ibessel ibr id if index indexc indexw initcmd initstmt inner input inputc inputn inr insert int intck intnx into intrr invaliddata irr is jbessel join juldate keep kentb kurtosis label lag last lbound leave left length levels lgamma lib library libref line linesize link list log log10 log2 logpdf logpmf logsdf lostcard lowcase lrecl ls macro macrogen maps mautosource max maxdec maxr mdy mean measures median memtype merge merror min minute missing missover mlogic mod mode model modify month mopen mort mprint mrecall msglevel msymtabmax mvarsize myy n nest netpv new news nmiss no nobatch nobs nocaps nocardimage nocenter nocharcode nocmdmac nocol nocum nodate nodbcs nodetails nodmr nodms nodmsbatch nodup nodupkey noduplicates noechoauto noequals noerrorabend noexitwindows nofullstimer noicon noimplmac noint nolist noloadlist nomiss nomlogic nomprint nomrecall nomsgcase nomstored nomultenvappl nonotes nonumber noobs noovp nopad nopercent noprint noprintinit normal norow norsasuser nosetinit nosplash nosymbolgen note notes notitle notitles notsorted noverbose noxsync noxwait npv null number numkeys nummousekeys nway obs on open order ordinal otherwise out outer outp= output over ovp p(1 5 10 25 50 75 90 95 99) pad pad2 paired parm parmcards path pathdll pathname pdf peek peekc pfkey pmf point poisson poke position printer probbeta probbnml probchi probf probgam probhypr probit probnegb probnorm probsig probt procleave prt ps pw pwreq qtr quote r ranbin rancau ranexp rangam range ranks rannor ranpoi rantbl rantri ranuni read recfm register regr remote remove rename repeat replace resolve retain return reuse reverse rewind right round rsquare rtf rtrace rtraceloc s s2 samploc sasautos sascontrol sasfrscr sasmsg sasmstore sasscript sasuser saving scan sdf second select selection separated seq serror set setcomm setot sign simple sin sinh siteinfo skewness skip sle sls sortedby sortpgm sortseq sortsize soundex spedis splashlocation split spool sqrt start std stderr stdin stfips stimer stname stnamel stop stopover subgroup subpopn substr sum sumwgt symbol symbolgen symget symput sysget sysin sysleave sysmsg sysparm sysprint sysprintfont sysprod sysrc system t table tables tan tanh tapeclose tbufsize terminal test then timepart tinv tnonct to today tol tooldef totper transformout translate trantab tranwrd trigamma trim trimn trunc truncover type unformatted uniform union until upcase update user usericon uss validate value var weight when where while wincharset window work workinit workterm write wsum xsync xwait yearcutoff yes yyq min max",["inDataStep","inProc"]),define("operator","and not ",["inDataStep","inProc"]),{startState:function(){return{inDataStep:!1,inProc:!1,inMacro:!1,nextword:!1,continueString:null,continueComment:!1}},token:function(s,o){return s.eatSpace()?null:function tokenize(s,o){var a=s.next();if("/"===a&&s.eat("*"))return o.continueComment=!0,"comment";if(!0===o.continueComment)return"*"===a&&"/"===s.peek()?(s.next(),o.continueComment=!1):s.skipTo("*")?(s.skipTo("*"),s.next(),s.eat("/")&&(o.continueComment=!1)):s.skipToEnd(),"comment";if("*"==a&&s.column()==s.indentation())return s.skipToEnd(),"comment";var i=a+s.peek();if(!('"'!==a&&"'"!==a||o.continueString))return o.continueString=a,"string";if(o.continueString)return o.continueString==a?o.continueString=null:s.skipTo(o.continueString)?(s.next(),o.continueString=null):s.skipToEnd(),"string";if(null!==o.continueString&&s.eol())return s.skipTo(o.continueString)||s.skipToEnd(),"string";if(/[\d\.]/.test(a))return"."===a?s.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"===a?s.match(/^[xX][0-9a-fA-F]+/)||s.match(/^0[0-7]+/):s.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(n.test(a+s.peek()))return s.next(),"operator";if(t.hasOwnProperty(i)){if(s.next()," "===s.peek())return t[i.toLowerCase()]}else if(r.test(a))return"operator";var l;if(null!=s.match(/[%&;\w]+/,!1)){if(l=a+s.match(/[%&;\w]+/,!0),/&/.test(l))return"variable"}else l=a;if(o.nextword)return s.match(/[\w]+/),"."===s.peek()&&s.skipTo(" "),o.nextword=!1,"variable-2";if(l=l.toLowerCase(),o.inDataStep){if("run;"===l||s.match(/run\s;/))return o.inDataStep=!1,"builtin";if(l&&"."===s.next())return/\w/.test(s.peek())?"variable-2":"variable";if(l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inDataStep")||-1!==e[l].state.indexOf("ALL"))){s.start<s.pos&&s.backUp(s.pos-s.start);for(var c=0;c<l.length;++c)s.next();return e[l].style}}if(o.inProc){if("run;"===l||"quit;"===l)return o.inProc=!1,"builtin";if(l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inProc")||-1!==e[l].state.indexOf("ALL")))return s.match(/[\w]+/),e[l].style}return o.inMacro?"%mend"===l?(";"===s.peek()&&s.next(),o.inMacro=!1,"builtin"):l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inMacro")||-1!==e[l].state.indexOf("ALL"))?(s.match(/[\w]+/),e[l].style):"atom":l&&e.hasOwnProperty(l)?(s.backUp(1),s.match(/[\w]+/),"data"===l&&!1===/=/.test(s.peek())?(o.inDataStep=!0,o.nextword=!0,"builtin"):"proc"===l?(o.inProc=!0,o.nextword=!0,"builtin"):"%macro"===l?(o.inMacro=!0,o.nextword=!0,"builtin"):/title[1-9]/.test(l)?"def":"footnote"===l?(s.eat(/[1-9]/),"def"):!0===o.inDataStep&&-1!==e[l].state.indexOf("inDataStep")?e[l].style:!0===o.inProc&&-1!==e[l].state.indexOf("inProc")?e[l].style:!0===o.inMacro&&-1!==e[l].state.indexOf("inMacro")?e[l].style:-1!==e[l].state.indexOf("ALL")?e[l].style:null):null}(s,o)},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-sas","sas")})}}); \ No newline at end of file +webpackJsonp([60],{1006:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("sas",function(){function define(t,n,r){if(r)for(var s=n.split(" "),o=0;o<s.length;o++)e[s[o]]={style:t,state:r}}var e={},t={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},n=/(<=|>=|!=|<>)/,r=/[=\(:\),{}.*<>+\-\/^\[\]]/;return define("def","stack pgm view source debug nesting nolist",["inDataStep"]),define("def","if while until for do do; end end; then else cancel",["inDataStep"]),define("def","label format _n_ _error_",["inDataStep"]),define("def","ALTER BUFNO BUFSIZE CNTLLEV COMPRESS DLDMGACTION ENCRYPT ENCRYPTKEY EXTENDOBSCOUNTER GENMAX GENNUM INDEX LABEL OBSBUF OUTREP PW PWREQ READ REPEMPTY REPLACE REUSE ROLE SORTEDBY SPILL TOBSNO TYPE WRITE FILECLOSE FIRSTOBS IN OBS POINTOBS WHERE WHEREUP IDXNAME IDXWHERE DROP KEEP RENAME",["inDataStep"]),define("def","filevar finfo finv fipname fipnamel fipstate first firstobs floor",["inDataStep"]),define("def","varfmt varinfmt varlabel varlen varname varnum varray varrayx vartype verify vformat vformatd vformatdx vformatn vformatnx vformatw vformatwx vformatx vinarray vinarrayx vinformat vinformatd vinformatdx vinformatn vinformatnx vinformatw vinformatwx vinformatx vlabel vlabelx vlength vlengthx vname vnamex vnferr vtype vtypex weekday",["inDataStep"]),define("def","zipfips zipname zipnamel zipstate",["inDataStep"]),define("def","put putc putn",["inDataStep"]),define("builtin","data run",["inDataStep"]),define("def","data",["inProc"]),define("def","%if %end %end; %else %else; %do %do; %then",["inMacro"]),define("builtin","proc run; quit; libname filename %macro %mend option options",["ALL"]),define("def","footnote title libname ods",["ALL"]),define("def","%let %put %global %sysfunc %eval ",["ALL"]),define("variable","&sysbuffr &syscc &syscharwidth &syscmd &sysdate &sysdate9 &sysday &sysdevic &sysdmg &sysdsn &sysencoding &sysenv &syserr &syserrortext &sysfilrc &syshostname &sysindex &sysinfo &sysjobid &syslast &syslckrc &syslibrc &syslogapplname &sysmacroname &sysmenv &sysmsg &sysncpu &sysodspath &sysparm &syspbuff &sysprocessid &sysprocessname &sysprocname &sysrc &sysscp &sysscpl &sysscpl &syssite &sysstartid &sysstartname &systcpiphostname &systime &sysuserid &sysver &sysvlong &sysvlong4 &syswarningtext",["ALL"]),define("def","source2 nosource2 page pageno pagesize",["ALL"]),define("def","_all_ _character_ _cmd_ _freq_ _i_ _infile_ _last_ _msg_ _null_ _numeric_ _temporary_ _type_ abort abs addr adjrsq airy alpha alter altlog altprint and arcos array arsin as atan attrc attrib attrn authserver autoexec awscontrol awsdef awsmenu awsmenumerge awstitle backward band base betainv between blocksize blshift bnot bor brshift bufno bufsize bxor by byerr byline byte calculated call cards cards4 catcache cbufno cdf ceil center cexist change chisq cinv class cleanup close cnonct cntllev coalesce codegen col collate collin column comamid comaux1 comaux2 comdef compbl compound compress config continue convert cos cosh cpuid create cross crosstab css curobs cv daccdb daccdbsl daccsl daccsyd dacctab dairy datalines datalines4 datejul datepart datetime day dbcslang dbcstype dclose ddm delete delimiter depdb depdbsl depsl depsyd deptab dequote descending descript design= device dflang dhms dif digamma dim dinfo display distinct dkricond dkrocond dlm dnum do dopen doptname doptnum dread drop dropnote dsname dsnferr echo else emaildlg emailid emailpw emailserver emailsys encrypt end endsas engine eof eov erf erfc error errorcheck errors exist exp fappend fclose fcol fdelete feedback fetch fetchobs fexist fget file fileclose fileexist filefmt filename fileref fmterr fmtsearch fnonct fnote font fontalias fopen foptname foptnum force formatted formchar formdelim formdlim forward fpoint fpos fput fread frewind frlen from fsep fuzz fwrite gaminv gamma getoption getvarc getvarn go goto group gwindow hbar hbound helpenv helploc hms honorappearance hosthelp hostprint hour hpct html hvar ibessel ibr id if index indexc indexw initcmd initstmt inner input inputc inputn inr insert int intck intnx into intrr invaliddata irr is jbessel join juldate keep kentb kurtosis label lag last lbound leave left length levels lgamma lib library libref line linesize link list log log10 log2 logpdf logpmf logsdf lostcard lowcase lrecl ls macro macrogen maps mautosource max maxdec maxr mdy mean measures median memtype merge merror min minute missing missover mlogic mod mode model modify month mopen mort mprint mrecall msglevel msymtabmax mvarsize myy n nest netpv new news nmiss no nobatch nobs nocaps nocardimage nocenter nocharcode nocmdmac nocol nocum nodate nodbcs nodetails nodmr nodms nodmsbatch nodup nodupkey noduplicates noechoauto noequals noerrorabend noexitwindows nofullstimer noicon noimplmac noint nolist noloadlist nomiss nomlogic nomprint nomrecall nomsgcase nomstored nomultenvappl nonotes nonumber noobs noovp nopad nopercent noprint noprintinit normal norow norsasuser nosetinit nosplash nosymbolgen note notes notitle notitles notsorted noverbose noxsync noxwait npv null number numkeys nummousekeys nway obs on open order ordinal otherwise out outer outp= output over ovp p(1 5 10 25 50 75 90 95 99) pad pad2 paired parm parmcards path pathdll pathname pdf peek peekc pfkey pmf point poisson poke position printer probbeta probbnml probchi probf probgam probhypr probit probnegb probnorm probsig probt procleave prt ps pw pwreq qtr quote r ranbin rancau ranexp rangam range ranks rannor ranpoi rantbl rantri ranuni read recfm register regr remote remove rename repeat replace resolve retain return reuse reverse rewind right round rsquare rtf rtrace rtraceloc s s2 samploc sasautos sascontrol sasfrscr sasmsg sasmstore sasscript sasuser saving scan sdf second select selection separated seq serror set setcomm setot sign simple sin sinh siteinfo skewness skip sle sls sortedby sortpgm sortseq sortsize soundex spedis splashlocation split spool sqrt start std stderr stdin stfips stimer stname stnamel stop stopover subgroup subpopn substr sum sumwgt symbol symbolgen symget symput sysget sysin sysleave sysmsg sysparm sysprint sysprintfont sysprod sysrc system t table tables tan tanh tapeclose tbufsize terminal test then timepart tinv tnonct to today tol tooldef totper transformout translate trantab tranwrd trigamma trim trimn trunc truncover type unformatted uniform union until upcase update user usericon uss validate value var weight when where while wincharset window work workinit workterm write wsum xsync xwait yearcutoff yes yyq min max",["inDataStep","inProc"]),define("operator","and not ",["inDataStep","inProc"]),{startState:function(){return{inDataStep:!1,inProc:!1,inMacro:!1,nextword:!1,continueString:null,continueComment:!1}},token:function(s,o){return s.eatSpace()?null:function tokenize(s,o){var a=s.next();if("/"===a&&s.eat("*"))return o.continueComment=!0,"comment";if(!0===o.continueComment)return"*"===a&&"/"===s.peek()?(s.next(),o.continueComment=!1):s.skipTo("*")?(s.skipTo("*"),s.next(),s.eat("/")&&(o.continueComment=!1)):s.skipToEnd(),"comment";if("*"==a&&s.column()==s.indentation())return s.skipToEnd(),"comment";var i=a+s.peek();if(!('"'!==a&&"'"!==a||o.continueString))return o.continueString=a,"string";if(o.continueString)return o.continueString==a?o.continueString=null:s.skipTo(o.continueString)?(s.next(),o.continueString=null):s.skipToEnd(),"string";if(null!==o.continueString&&s.eol())return s.skipTo(o.continueString)||s.skipToEnd(),"string";if(/[\d\.]/.test(a))return"."===a?s.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"===a?s.match(/^[xX][0-9a-fA-F]+/)||s.match(/^0[0-7]+/):s.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(n.test(a+s.peek()))return s.next(),"operator";if(t.hasOwnProperty(i)){if(s.next()," "===s.peek())return t[i.toLowerCase()]}else if(r.test(a))return"operator";var l;if(null!=s.match(/[%&;\w]+/,!1)){if(l=a+s.match(/[%&;\w]+/,!0),/&/.test(l))return"variable"}else l=a;if(o.nextword)return s.match(/[\w]+/),"."===s.peek()&&s.skipTo(" "),o.nextword=!1,"variable-2";if(l=l.toLowerCase(),o.inDataStep){if("run;"===l||s.match(/run\s;/))return o.inDataStep=!1,"builtin";if(l&&"."===s.next())return/\w/.test(s.peek())?"variable-2":"variable";if(l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inDataStep")||-1!==e[l].state.indexOf("ALL"))){s.start<s.pos&&s.backUp(s.pos-s.start);for(var c=0;c<l.length;++c)s.next();return e[l].style}}if(o.inProc){if("run;"===l||"quit;"===l)return o.inProc=!1,"builtin";if(l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inProc")||-1!==e[l].state.indexOf("ALL")))return s.match(/[\w]+/),e[l].style}return o.inMacro?"%mend"===l?(";"===s.peek()&&s.next(),o.inMacro=!1,"builtin"):l&&e.hasOwnProperty(l)&&(-1!==e[l].state.indexOf("inMacro")||-1!==e[l].state.indexOf("ALL"))?(s.match(/[\w]+/),e[l].style):"atom":l&&e.hasOwnProperty(l)?(s.backUp(1),s.match(/[\w]+/),"data"===l&&!1===/=/.test(s.peek())?(o.inDataStep=!0,o.nextword=!0,"builtin"):"proc"===l?(o.inProc=!0,o.nextword=!0,"builtin"):"%macro"===l?(o.inMacro=!0,o.nextword=!0,"builtin"):/title[1-9]/.test(l)?"def":"footnote"===l?(s.eat(/[1-9]/),"def"):!0===o.inDataStep&&-1!==e[l].state.indexOf("inDataStep")?e[l].style:!0===o.inProc&&-1!==e[l].state.indexOf("inProc")?e[l].style:!0===o.inMacro&&-1!==e[l].state.indexOf("inMacro")?e[l].style:-1!==e[l].state.indexOf("ALL")?e[l].style:null):null}(s,o)},blockCommentStart:"/*",blockCommentEnd:"*/"}}),e.defineMIME("text/x-sas","sas")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/82.31d68144.js b/build/codemirror/mode/82.31d68144.js deleted file mode 100644 index 8b42378..0000000 --- a/build/codemirror/mode/82.31d68144.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([22,111],{910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return n=t,e}function tokenString(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:a),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return x[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();i=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var n,i,a=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},d=r.mediaFeatures||{},u=r.mediaValueKeywords||{},p=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},f=r.counterDescriptors||{},g=r.colorKeywords||{},b=r.valueKeywords||{},k=r.allowNested,w=r.lineComment,y=!0===r.supportsAtComponent,x={};return x.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(y&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)i="builtin";else if("word"==e)i="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(k&&"("==e)return pushContext(r,t,"parens")}return r.context.type},x.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return p.hasOwnProperty(o)?(i="property","maybeprop"):m.hasOwnProperty(o)?(i="string-2","maybeprop"):k?(i=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")}return"meta"==e?"block":k||"hash"!=e&&"qualifier"!=e?x.top(e,t,r):(i="error","block")},x.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},x.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&k)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else i+=" error";return"prop"},x.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(i="property","maybeprop"):r.context.type},x.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},x.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(i="variable-3",r.context.type):pass(e,t,r)},x.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(i="tag",r.context.type):x.atBlock(e,t,r)},x.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,k?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();i="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":d.hasOwnProperty(o)?"property":u.hasOwnProperty(o)?"keyword":p.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":b.hasOwnProperty(o)?"atom":g.hasOwnProperty(o)?"keyword":"error"}return r.context.type},x.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,k?"block":"top",!1):("word"==e&&(i="error"),r.context.type)},x.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):x.atBlock(e,t,r)},x.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(i="variable","restricted_atBlock_before"):pass(e,t,r)},x.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(i="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},x.keyframes=function(e,t,r){return"word"==e?(i="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},x.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?i="tag":"hash"==e&&(i="builtin"),"at")},x.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?i="variable":"variable"!=e&&"("!=e&&")"!=e&&(i="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var o=s[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),i=r,"comment"!=n&&(t.state=x[t.state](n,e,t)),i},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),n=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(n=Math.max(0,r.indent-a)):n=(r=r.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:w,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=keySet(o),i=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],a=keySet(i),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],p=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),f=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(f),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],k=keySet(b),w=t.concat(o).concat(i).concat(s).concat(c).concat(u).concat(f).concat(b);e.registerHelper("hintWords","css",w),e.defineMIME("text/css",{documentTypes:r,mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:k,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:g,valueKeywords:k,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:g,valueKeywords:k,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:n,mediaFeatures:a,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:k,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},928:function(e,t,r){!function(e){e(r(907),r(910))}(function(e){"use strict";e.defineMode("sass",function(t){function isEndLine(e){return!e.peek()||e.match(/\s+$/,!1)}function urlTokens(e,t){var r=e.peek();return")"===r?(e.next(),t.tokenizer=tokenBase,"operator"):"("===r?(e.next(),e.eatSpace(),"operator"):"'"===r||'"'===r?(t.tokenizer=buildStringTokenizer(e.next()),"string"):(t.tokenizer=buildStringTokenizer(")",!1),"string")}function comment(e,t){return function(r,o){return r.sol()&&r.indentation()<=e?(o.tokenizer=tokenBase,tokenBase(r,o)):(t&&r.skipTo("*/")?(r.next(),r.next(),o.tokenizer=tokenBase):r.skipToEnd(),"comment")}}function buildStringTokenizer(e,t){function stringTokenizer(r,o){var n=r.next(),i=r.peek(),a=r.string.charAt(r.pos-2);return"\\"!==n&&i===e||n===e&&"\\"!==a?(n!==e&&t&&r.next(),isEndLine(r)&&(o.cursorHalf=0),o.tokenizer=tokenBase,"string"):"#"===n&&"{"===i?(o.tokenizer=buildInterpolationTokenizer(stringTokenizer),r.next(),"operator"):"string"}return null==t&&(t=!0),stringTokenizer}function buildInterpolationTokenizer(e){return function(t,r){return"}"===t.peek()?(t.next(),r.tokenizer=e,"operator"):tokenBase(t,r)}}function indent(e){if(0==e.indentCount){e.indentCount++;var r=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:r})}}function dedent(e){1!=e.scopes.length&&e.scopes.shift()}function tokenBase(e,t){var o=e.peek();if(e.match("/*"))return t.tokenizer=comment(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=comment(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=buildInterpolationTokenizer(tokenBase),"operator";if('"'===o||"'"===o)return e.next(),t.tokenizer=buildStringTokenizer(o),"string";if(t.cursorHalf){if("#"===o&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return isEndLine(e)&&(t.cursorHalf=0),"unit";if(e.match(l))return isEndLine(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,isEndLine(e)&&(t.cursorHalf=0),"atom";if("$"===o)return e.next(),e.eatWhile(/[\w-]/),isEndLine(e)&&(t.cursorHalf=0),"variable-2";if("!"===o)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(c))return isEndLine(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return isEndLine(e)&&(t.cursorHalf=0),r=e.current().toLowerCase(),a.hasOwnProperty(r)?"atom":i.hasOwnProperty(r)?"keyword":n.hasOwnProperty(r)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(isEndLine(e))return t.cursorHalf=0,null}else{if("-"===o&&e.match(/^-\w+-/))return"meta";if("."===o){if(e.next(),e.match(/^[\w-]+/))return indent(t),"qualifier";if("#"===e.peek())return indent(t),"tag"}if("#"===o){if(e.next(),e.match(/^[\w-]+/))return indent(t),"builtin";if("#"===e.peek())return indent(t),"tag"}if("$"===o)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(l))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,"atom";if("="===o&&e.match(/^=[\w-]+/))return indent(t),"meta";if("+"===o&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===o&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||dedent(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return indent(t),"def";if("@"===o)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){r=e.current().toLowerCase();var u=t.prevProp+"-"+r;return n.hasOwnProperty(u)?"property":n.hasOwnProperty(r)?(t.prevProp=r,"property"):s.hasOwnProperty(r)?"property":"tag"}return e.match(/ *:/,!1)?(indent(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(indent(t),"tag")}if(":"===o)return e.match(d)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(c)?"operator":(e.next(),null)}var r,o=e.mimeModes["text/css"],n=o.propertyKeywords||{},i=o.colorKeywords||{},a=o.valueKeywords||{},s=o.fontProperties||{},l=new RegExp("^"+["true","false","null","auto"].join("|")),c=function tokenRegexp(e){return new RegExp("^"+e.join("|"))}(["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"]),d=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:tokenBase,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,r){var o=function tokenLexer(e,r){e.sol()&&(r.indentCount=0);var o=r.tokenizer(e,r),n=e.current();if("@return"!==n&&"}"!==n||dedent(r),null!==o){for(var i=e.pos-n.length+t.indentUnit*r.indentCount,a=[],s=0;s<r.scopes.length;s++){var l=r.scopes[s];l.offset<=i&&a.push(l)}r.scopes=a}return o}(e,r);return r.lastToken={style:o,content:e.current()},o},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/82.5f97dc28.js b/build/codemirror/mode/82.5f97dc28.js new file mode 100644 index 0000000..0e7346c --- /dev/null +++ b/build/codemirror/mode/82.5f97dc28.js @@ -0,0 +1 @@ +webpackJsonp([21,110],{910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return n=t,e}function tokenString(e){return function(t,r){for(var o,n=!1;null!=(o=t.next());){if(o==e&&!n){")"==e&&t.backUp(1);break}n=!n&&"\\"==o}return(o==e||!n&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,o){return e.context=new Context(r,t.indentation()+(!1===o?0:a),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return x[r.context.type](e,t,r)}function popAndPass(e,t,r,o){for(var n=o||1;n>0;n--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();i=b.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var o=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var n,i,a=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},d=r.mediaFeatures||{},u=r.mediaValueKeywords||{},p=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},h=r.fontProperties||{},f=r.counterDescriptors||{},g=r.colorKeywords||{},b=r.valueKeywords||{},k=r.allowNested,w=r.lineComment,y=!0===r.supportsAtComponent,x={};return x.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(y&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)i="builtin";else if("word"==e)i="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(k&&"("==e)return pushContext(r,t,"parens")}return r.context.type},x.block=function(e,t,r){if("word"==e){var o=t.current().toLowerCase();return p.hasOwnProperty(o)?(i="property","maybeprop"):m.hasOwnProperty(o)?(i="string-2","maybeprop"):k?(i=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")}return"meta"==e?"block":k||"hash"!=e&&"qualifier"!=e?x.top(e,t,r):(i="error","block")},x.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},x.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&k)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else i+=" error";return"prop"},x.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(i="property","maybeprop"):r.context.type},x.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},x.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(i="variable-3",r.context.type):pass(e,t,r)},x.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(i="tag",r.context.type):x.atBlock(e,t,r)},x.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,k?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();i="only"==o||"not"==o||"and"==o||"or"==o?"keyword":c.hasOwnProperty(o)?"attribute":d.hasOwnProperty(o)?"property":u.hasOwnProperty(o)?"keyword":p.hasOwnProperty(o)?"property":m.hasOwnProperty(o)?"string-2":b.hasOwnProperty(o)?"atom":g.hasOwnProperty(o)?"keyword":"error"}return r.context.type},x.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,k?"block":"top",!1):("word"==e&&(i="error"),r.context.type)},x.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):x.atBlock(e,t,r)},x.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(i="variable","restricted_atBlock_before"):pass(e,t,r)},x.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(i="@font-face"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},x.keyframes=function(e,t,r){return"word"==e?(i="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},x.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?i="tag":"hash"==e&&(i="builtin"),"at")},x.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?i="variable":"variable"!=e&&"("!=e&&")"!=e&&(i="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:o?"block":"top",stateArg:null,context:new Context(o?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var o=s[r](e,t);if(!1!==o)return o}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(n=r[1],r=r[0]),i=r,"comment"!=n&&(t.state=x[t.state](n,e,t)),i},indent:function(e,t){var r=e.context,o=t&&t.charAt(0),n=r.indent;return"prop"!=r.type||"}"!=o&&")"!=o||(r=r.prev),r.prev&&("}"!=o||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=o||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=o||"at"!=r.type&&"atBlock"!=r.type)||(n=Math.max(0,r.indent-a)):n=(r=r.prev).indent),n},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:w,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],n=keySet(o),i=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],a=keySet(i),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],d=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],p=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),h=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),f=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(f),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],k=keySet(b),w=t.concat(o).concat(i).concat(s).concat(c).concat(u).concat(f).concat(b);e.registerHelper("hintWords","css",w),e.defineMIME("text/css",{documentTypes:r,mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:k,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:g,valueKeywords:k,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:n,mediaFeatures:a,mediaValueKeywords:l,propertyKeywords:d,nonStandardPropertyKeywords:p,colorKeywords:g,valueKeywords:k,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:n,mediaFeatures:a,propertyKeywords:d,nonStandardPropertyKeywords:p,fontProperties:m,counterDescriptors:h,colorKeywords:g,valueKeywords:k,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},926:function(e,t,r){!function(e){e(r(907),r(910))}(function(e){"use strict";e.defineMode("sass",function(t){function isEndLine(e){return!e.peek()||e.match(/\s+$/,!1)}function urlTokens(e,t){var r=e.peek();return")"===r?(e.next(),t.tokenizer=tokenBase,"operator"):"("===r?(e.next(),e.eatSpace(),"operator"):"'"===r||'"'===r?(t.tokenizer=buildStringTokenizer(e.next()),"string"):(t.tokenizer=buildStringTokenizer(")",!1),"string")}function comment(e,t){return function(r,o){return r.sol()&&r.indentation()<=e?(o.tokenizer=tokenBase,tokenBase(r,o)):(t&&r.skipTo("*/")?(r.next(),r.next(),o.tokenizer=tokenBase):r.skipToEnd(),"comment")}}function buildStringTokenizer(e,t){function stringTokenizer(r,o){var n=r.next(),i=r.peek(),a=r.string.charAt(r.pos-2);return"\\"!==n&&i===e||n===e&&"\\"!==a?(n!==e&&t&&r.next(),isEndLine(r)&&(o.cursorHalf=0),o.tokenizer=tokenBase,"string"):"#"===n&&"{"===i?(o.tokenizer=buildInterpolationTokenizer(stringTokenizer),r.next(),"operator"):"string"}return null==t&&(t=!0),stringTokenizer}function buildInterpolationTokenizer(e){return function(t,r){return"}"===t.peek()?(t.next(),r.tokenizer=e,"operator"):tokenBase(t,r)}}function indent(e){if(0==e.indentCount){e.indentCount++;var r=e.scopes[0].offset+t.indentUnit;e.scopes.unshift({offset:r})}}function dedent(e){1!=e.scopes.length&&e.scopes.shift()}function tokenBase(e,t){var o=e.peek();if(e.match("/*"))return t.tokenizer=comment(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=comment(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=buildInterpolationTokenizer(tokenBase),"operator";if('"'===o||"'"===o)return e.next(),t.tokenizer=buildStringTokenizer(o),"string";if(t.cursorHalf){if("#"===o&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return isEndLine(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return isEndLine(e)&&(t.cursorHalf=0),"unit";if(e.match(l))return isEndLine(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,isEndLine(e)&&(t.cursorHalf=0),"atom";if("$"===o)return e.next(),e.eatWhile(/[\w-]/),isEndLine(e)&&(t.cursorHalf=0),"variable-2";if("!"===o)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(c))return isEndLine(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return isEndLine(e)&&(t.cursorHalf=0),r=e.current().toLowerCase(),a.hasOwnProperty(r)?"atom":i.hasOwnProperty(r)?"keyword":n.hasOwnProperty(r)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(isEndLine(e))return t.cursorHalf=0,null}else{if("-"===o&&e.match(/^-\w+-/))return"meta";if("."===o){if(e.next(),e.match(/^[\w-]+/))return indent(t),"qualifier";if("#"===e.peek())return indent(t),"tag"}if("#"===o){if(e.next(),e.match(/^[\w-]+/))return indent(t),"builtin";if("#"===e.peek())return indent(t),"tag"}if("$"===o)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(l))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=urlTokens,"atom";if("="===o&&e.match(/^=[\w-]+/))return indent(t),"meta";if("+"===o&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===o&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||dedent(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return indent(t),"def";if("@"===o)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){r=e.current().toLowerCase();var u=t.prevProp+"-"+r;return n.hasOwnProperty(u)?"property":n.hasOwnProperty(r)?(t.prevProp=r,"property"):s.hasOwnProperty(r)?"property":"tag"}return e.match(/ *:/,!1)?(indent(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(indent(t),"tag")}if(":"===o)return e.match(d)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(c)?"operator":(e.next(),null)}var r,o=e.mimeModes["text/css"],n=o.propertyKeywords||{},i=o.colorKeywords||{},a=o.valueKeywords||{},s=o.fontProperties||{},l=new RegExp("^"+["true","false","null","auto"].join("|")),c=function tokenRegexp(e){return new RegExp("^"+e.join("|"))}(["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"]),d=/^::?[a-zA-Z_][\w\-]*/;return{startState:function(){return{tokenizer:tokenBase,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,r){var o=function tokenLexer(e,r){e.sol()&&(r.indentCount=0);var o=r.tokenizer(e,r),n=e.current();if("@return"!==n&&"}"!==n||dedent(r),null!==o){for(var i=e.pos-n.length+t.indentUnit*r.indentCount,a=[],s=0;s<r.scopes.length;s++){var l=r.scopes[s];l.offset<=i&&a.push(l)}r.scopes=a}return o}(e,r);return r.lastToken={style:o,content:e.current()},o},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/83.eeaa2ead.js b/build/codemirror/mode/83.61ba1a5d.js similarity index 98% rename from build/codemirror/mode/83.eeaa2ead.js rename to build/codemirror/mode/83.61ba1a5d.js index 7a75fa5..879640c 100644 --- a/build/codemirror/mode/83.eeaa2ead.js +++ b/build/codemirror/mode/83.61ba1a5d.js @@ -1 +1 @@ -webpackJsonp([60],{1008:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("scheme",function(){function makeKeywords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function pushStack(e,t,n){e.indentStack=new function stateStack(e,t,n){this.indent=e,this.type=t,this.prev=n}(t,n,e.indentStack)}function isBinaryNumber(e){return e.match(r)}function isOctalNumber(e){return e.match(i)}function isDecimalNumber(e,t){return!0===t&&e.backUp(1),e.match(c)}function isHexNumber(e){return e.match(a)}var e="comment",t=makeKeywords("λ case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),n=makeKeywords("define let letrec let* lambda"),r=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),i=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),a=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),c=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1}},token:function(r,i){if(null==i.indentStack&&r.sol()&&(i.indentation=r.indentation()),r.eatSpace())return null;var a=null;switch(i.mode){case"string":for(var c=!1;null!=(s=r.next());){if('"'==s&&!c){i.mode=!1;break}c=!c&&"\\"==s}a="string";break;case"comment":for(var s,l=!1;null!=(s=r.next());){if("#"==s&&l){i.mode=!1;break}l="|"==s}a=e;break;case"s-expr-comment":if(i.mode=!1,"("!=r.peek()&&"["!=r.peek()){r.eatWhile(/[^/s]/),a=e;break}i.sExprComment=0;default:var o=r.next();if('"'==o)i.mode="string",a="string";else if("'"==o)a="atom";else if("#"==o)if(r.eat("|"))i.mode="comment",a=e;else if(r.eat(/[tf]/i))a="atom";else if(r.eat(";"))i.mode="s-expr-comment",a=e;else{var d=null,u=!1,m=!0;r.eat(/[ei]/i)?u=!0:r.backUp(1),r.match(/^#b/i)?d=isBinaryNumber:r.match(/^#o/i)?d=isOctalNumber:r.match(/^#x/i)?d=isHexNumber:r.match(/^#d/i)?d=isDecimalNumber:r.match(/^[-+0-9.]/,!1)?(m=!1,d=isDecimalNumber):u||r.eat("#"),null!=d&&(m&&!u&&r.match(/^#[ei]/i),d(r)&&(a="number"))}else if(/^[-+0-9.]/.test(o)&&isDecimalNumber(r,!0))a="number";else if(";"==o)r.skipToEnd(),a=e;else if("("==o||"["==o){for(var p,f="",h=r.column();null!=(p=r.eat(/[^\s\(\[\;\)\]]/));)f+=p;f.length>0&&n.propertyIsEnumerable(f)?pushStack(i,h+2,o):(r.eatSpace(),r.eol()||";"==r.peek()?pushStack(i,h+1,o):pushStack(i,h+r.current().length,o)),r.backUp(r.current().length-1),"number"==typeof i.sExprComment&&i.sExprComment++,a="bracket"}else")"==o||"]"==o?(a="bracket",null!=i.indentStack&&i.indentStack.type==(")"==o?"(":"[")&&(!function popStack(e){e.indentStack=e.indentStack.prev}(i),"number"==typeof i.sExprComment&&0==--i.sExprComment&&(a=e,i.sExprComment=!1))):(r.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),a=t&&t.propertyIsEnumerable(r.current())?"builtin":"variable")}return"number"==typeof i.sExprComment?e:a},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-scheme","scheme")})}}); \ No newline at end of file +webpackJsonp([59],{1007:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("scheme",function(){function makeKeywords(e){for(var t={},n=e.split(" "),r=0;r<n.length;++r)t[n[r]]=!0;return t}function pushStack(e,t,n){e.indentStack=new function stateStack(e,t,n){this.indent=e,this.type=t,this.prev=n}(t,n,e.indentStack)}function isBinaryNumber(e){return e.match(r)}function isOctalNumber(e){return e.match(i)}function isDecimalNumber(e,t){return!0===t&&e.backUp(1),e.match(c)}function isHexNumber(e){return e.match(a)}var e="comment",t=makeKeywords("λ case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),n=makeKeywords("define let letrec let* lambda"),r=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),i=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),a=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),c=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1}},token:function(r,i){if(null==i.indentStack&&r.sol()&&(i.indentation=r.indentation()),r.eatSpace())return null;var a=null;switch(i.mode){case"string":for(var c=!1;null!=(s=r.next());){if('"'==s&&!c){i.mode=!1;break}c=!c&&"\\"==s}a="string";break;case"comment":for(var s,l=!1;null!=(s=r.next());){if("#"==s&&l){i.mode=!1;break}l="|"==s}a=e;break;case"s-expr-comment":if(i.mode=!1,"("!=r.peek()&&"["!=r.peek()){r.eatWhile(/[^/s]/),a=e;break}i.sExprComment=0;default:var o=r.next();if('"'==o)i.mode="string",a="string";else if("'"==o)a="atom";else if("#"==o)if(r.eat("|"))i.mode="comment",a=e;else if(r.eat(/[tf]/i))a="atom";else if(r.eat(";"))i.mode="s-expr-comment",a=e;else{var d=null,u=!1,m=!0;r.eat(/[ei]/i)?u=!0:r.backUp(1),r.match(/^#b/i)?d=isBinaryNumber:r.match(/^#o/i)?d=isOctalNumber:r.match(/^#x/i)?d=isHexNumber:r.match(/^#d/i)?d=isDecimalNumber:r.match(/^[-+0-9.]/,!1)?(m=!1,d=isDecimalNumber):u||r.eat("#"),null!=d&&(m&&!u&&r.match(/^#[ei]/i),d(r)&&(a="number"))}else if(/^[-+0-9.]/.test(o)&&isDecimalNumber(r,!0))a="number";else if(";"==o)r.skipToEnd(),a=e;else if("("==o||"["==o){for(var p,f="",h=r.column();null!=(p=r.eat(/[^\s\(\[\;\)\]]/));)f+=p;f.length>0&&n.propertyIsEnumerable(f)?pushStack(i,h+2,o):(r.eatSpace(),r.eol()||";"==r.peek()?pushStack(i,h+1,o):pushStack(i,h+r.current().length,o)),r.backUp(r.current().length-1),"number"==typeof i.sExprComment&&i.sExprComment++,a="bracket"}else")"==o||"]"==o?(a="bracket",null!=i.indentStack&&i.indentStack.type==(")"==o?"(":"[")&&(!function popStack(e){e.indentStack=e.indentStack.prev}(i),"number"==typeof i.sExprComment&&0==--i.sExprComment&&(a=e,i.sExprComment=!1))):(r.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),a=t&&t.propertyIsEnumerable(r.current())?"builtin":"variable")}return"number"==typeof i.sExprComment?e:a},indent:function(e){return null==e.indentStack?e.indentation:e.indentStack.indent},closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),e.defineMIME("text/x-scheme","scheme")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/84.306f94d8.js b/build/codemirror/mode/84.306f94d8.js deleted file mode 100644 index c81ec28..0000000 --- a/build/codemirror/mode/84.306f94d8.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([59],{1009:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("shell",function(){function define(t,n){for(var i=n.split(" "),r=0;r<i.length;r++)e[i[r]]=t}function tokenString(e,n){var i="("==e?")":"{"==e?"}":e;return function(r,o){for(var s,u=!1,f=!1;null!=(s=r.next());){if(s===i&&!f){u=!0;break}if("$"===s&&!f&&"'"!==e){f=!0,r.backUp(1),o.tokens.unshift(t);break}if(!f&&s===e&&e!==i)return o.tokens.unshift(tokenString(e,n)),tokenize(r,o);f=!f&&"\\"===s}return u&&o.tokens.shift(),n}}function tokenize(n,i){return(i.tokens[0]||function tokenBase(n,i){if(n.eatSpace())return null;var r=n.sol(),o=n.next();if("\\"===o)return n.next(),null;if("'"===o||'"'===o||"`"===o)return i.tokens.unshift(tokenString(o,"`"===o?"quote":"string")),tokenize(n,i);if("#"===o)return r&&n.eat("!")?(n.skipToEnd(),"meta"):(n.skipToEnd(),"comment");if("$"===o)return i.tokens.unshift(t),tokenize(n,i);if("+"===o||"="===o)return"operator";if("-"===o)return n.eat("-"),n.eatWhile(/\w/),"attribute";if(/\d/.test(o)&&(n.eatWhile(/\d/),n.eol()||!/\w/.test(n.peek())))return"number";n.eatWhile(/[\w-]/);var s=n.current();return"="===n.peek()&&/\w+/.test(s)?"def":e.hasOwnProperty(s)?e[s]:null})(n,i)}var e={};define("atom","true false"),define("keyword","if then do else elif while until for in esac fi fin fil done exit set unset export function"),define("builtin","ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep hg kill killall ln ls make mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo svn tee telnet top touch vi vim wall wc wget who write yes zsh");var t=function(e,t){t.tokens.length>1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=tokenString(n,"("==n?"quote":"{"==n?"def":"string"),tokenize(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};return{startState:function(){return{tokens:[]}},token:function(e,t){return tokenize(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/84.a2184a7e.js b/build/codemirror/mode/84.a2184a7e.js new file mode 100644 index 0000000..c70f1f5 --- /dev/null +++ b/build/codemirror/mode/84.a2184a7e.js @@ -0,0 +1 @@ +webpackJsonp([58],{1008:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("shell",function(){function define(t,n){for(var r=n.split(" "),i=0;i<r.length;i++)e[r[i]]=t}function tokenString(e,n){var r="("==e?")":"{"==e?"}":e;return function(i,o){for(var s,u=!1;null!=(s=i.next());){if(s===r&&!u){o.tokens.shift();break}if("$"===s&&!u&&"'"!==e&&i.peek()!=r){u=!0,i.backUp(1),o.tokens.unshift(t);break}if(!u&&e!==r&&s===e)return o.tokens.unshift(tokenString(e,n)),tokenize(i,o);if(!u&&/['"]/.test(s)&&!/['"]/.test(e)){o.tokens.unshift(function tokenStringStart(e,t){return function(n,r){return r.tokens[0]=tokenString(e,t),n.next(),tokenize(n,r)}}(s,"string")),i.backUp(1);break}u=!u&&"\\"===s}return n}}function tokenize(n,r){return(r.tokens[0]||function tokenBase(n,r){if(n.eatSpace())return null;var i=n.sol(),o=n.next();if("\\"===o)return n.next(),null;if("'"===o||'"'===o||"`"===o)return r.tokens.unshift(tokenString(o,"`"===o?"quote":"string")),tokenize(n,r);if("#"===o)return i&&n.eat("!")?(n.skipToEnd(),"meta"):(n.skipToEnd(),"comment");if("$"===o)return r.tokens.unshift(t),tokenize(n,r);if("+"===o||"="===o)return"operator";if("-"===o)return n.eat("-"),n.eatWhile(/\w/),"attribute";if(/\d/.test(o)&&(n.eatWhile(/\d/),n.eol()||!/\w/.test(n.peek())))return"number";n.eatWhile(/[\w-]/);var s=n.current();return"="===n.peek()&&/\w+/.test(s)?"def":e.hasOwnProperty(s)?e[s]:null})(n,r)}var e={};define("atom","true false"),define("keyword","if then do else elif while until for in esac fi fin fil done exit set unset export function"),define("builtin","ab awk bash beep cat cc cd chown chmod chroot clear cp curl cut diff echo find gawk gcc get git grep hg kill killall ln ls make mkdir openssl mv nc node npm ping ps restart rm rmdir sed service sh shopt shred source sort sleep ssh start stop su sudo svn tee telnet top touch vi vim wall wc wget who write yes zsh");var t=function(e,t){t.tokens.length>1&&e.eat("$");var n=e.next();return/['"({]/.test(n)?(t.tokens[0]=tokenString(n,"("==n?"quote":"{"==n?"def":"string"),tokenize(e,t)):(/\d/.test(n)||e.eatWhile(/\w/),t.tokens.shift(),"def")};return{startState:function(){return{tokens:[]}},token:function(e,t){return tokenize(e,t)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),e.defineMIME("text/x-sh","shell"),e.defineMIME("application/x-sh","shell")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/85.cd819e9f.js b/build/codemirror/mode/85.7cdb7b2e.js similarity index 96% rename from build/codemirror/mode/85.cd819e9f.js rename to build/codemirror/mode/85.7cdb7b2e.js index 1f6fdd2..4e1195a 100644 --- a/build/codemirror/mode/85.cd819e9f.js +++ b/build/codemirror/mode/85.7cdb7b2e.js @@ -1 +1 @@ -webpackJsonp([58],{1010:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("sieve",function(e){function words(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}function tokenBase(e,r){var i=e.next();if("/"==i&&e.eat("*"))return r.tokenize=tokenCComment,tokenCComment(e,r);if("#"===i)return e.skipToEnd(),"comment";if('"'==i)return r.tokenize=function tokenString(e){return function(n,t){for(var r,i=!1;null!=(r=n.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(t.tokenize=tokenBase),"string"}}(i),r.tokenize(e,r);if("("==i)return r._indent.push("("),r._indent.push("{"),null;if("{"===i)return r._indent.push("{"),null;if(")"==i&&(r._indent.pop(),r._indent.pop()),"}"===i)return r._indent.pop(),null;if(","==i)return null;if(";"==i)return null;if(/[{}\(\),;]/.test(i))return null;if(/\d/.test(i))return e.eatWhile(/[\d]/),e.eat(/[KkMmGg]/),"number";if(":"==i)return e.eatWhile(/[a-zA-Z_]/),e.eatWhile(/[a-zA-Z0-9_]/),"operator";e.eatWhile(/\w/);var o=e.current();return"text"==o&&e.eat(":")?(r.tokenize=tokenMultiLineString,"string"):n.propertyIsEnumerable(o)?"keyword":t.propertyIsEnumerable(o)?"atom":null}function tokenMultiLineString(e,n){return n._multiLineString=!0,e.sol()?("."==e.next()&&e.eol()&&(n._multiLineString=!1,n.tokenize=tokenBase),"string"):(e.eatSpace(),"#"==e.peek()?(e.skipToEnd(),"comment"):(e.skipToEnd(),"string"))}function tokenCComment(e,n){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){n.tokenize=tokenBase;break}r="*"==t}return"comment"}var n=words("if elsif else stop require"),t=words("true false not"),r=e.indentUnit;return{startState:function(e){return{tokenize:tokenBase,baseIndent:e||0,_indent:[]}},token:function(e,n){return e.eatSpace()?null:(n.tokenize||tokenBase)(e,n)},indent:function(e,n){var t=e._indent.length;return n&&"}"==n[0]&&t--,t<0&&(t=0),t*r},electricChars:"}"}}),e.defineMIME("application/sieve","sieve")})}}); \ No newline at end of file +webpackJsonp([57],{1009:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("sieve",function(e){function words(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}function tokenBase(e,r){var i=e.next();if("/"==i&&e.eat("*"))return r.tokenize=tokenCComment,tokenCComment(e,r);if("#"===i)return e.skipToEnd(),"comment";if('"'==i)return r.tokenize=function tokenString(e){return function(n,t){for(var r,i=!1;null!=(r=n.next())&&(r!=e||i);)i=!i&&"\\"==r;return i||(t.tokenize=tokenBase),"string"}}(i),r.tokenize(e,r);if("("==i)return r._indent.push("("),r._indent.push("{"),null;if("{"===i)return r._indent.push("{"),null;if(")"==i&&(r._indent.pop(),r._indent.pop()),"}"===i)return r._indent.pop(),null;if(","==i)return null;if(";"==i)return null;if(/[{}\(\),;]/.test(i))return null;if(/\d/.test(i))return e.eatWhile(/[\d]/),e.eat(/[KkMmGg]/),"number";if(":"==i)return e.eatWhile(/[a-zA-Z_]/),e.eatWhile(/[a-zA-Z0-9_]/),"operator";e.eatWhile(/\w/);var o=e.current();return"text"==o&&e.eat(":")?(r.tokenize=tokenMultiLineString,"string"):n.propertyIsEnumerable(o)?"keyword":t.propertyIsEnumerable(o)?"atom":null}function tokenMultiLineString(e,n){return n._multiLineString=!0,e.sol()?("."==e.next()&&e.eol()&&(n._multiLineString=!1,n.tokenize=tokenBase),"string"):(e.eatSpace(),"#"==e.peek()?(e.skipToEnd(),"comment"):(e.skipToEnd(),"string"))}function tokenCComment(e,n){for(var t,r=!1;null!=(t=e.next());){if(r&&"/"==t){n.tokenize=tokenBase;break}r="*"==t}return"comment"}var n=words("if elsif else stop require"),t=words("true false not"),r=e.indentUnit;return{startState:function(e){return{tokenize:tokenBase,baseIndent:e||0,_indent:[]}},token:function(e,n){return e.eatSpace()?null:(n.tokenize||tokenBase)(e,n)},indent:function(e,n){var t=e._indent.length;return n&&"}"==n[0]&&t--,t<0&&(t=0),t*r},electricChars:"}"}}),e.defineMIME("application/sieve","sieve")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/86.05fbaa7e.js b/build/codemirror/mode/86.05fbaa7e.js new file mode 100644 index 0000000..47ca622 --- /dev/null +++ b/build/codemirror/mode/86.05fbaa7e.js @@ -0,0 +1 @@ +webpackJsonp([4,12,32,61,88,110],{1010:function(e,t,n){!function(e){e(n(907),n(911),n(916))}(function(e){"use strict";e.defineMode("slim",function(t){function continueLine(e,t){e.stack={parent:e.stack,style:"continuation",indented:t,tokenize:e.line},e.line=e.tokenize}function finishContinue(e){e.line==e.tokenize&&(e.line=e.stack.tokenize,e.stack=e.stack.parent)}function rubyInQuote(e,t){return function(n,r){return n.peek()==e&&1==r.rubyState.tokenize.length?(n.next(),r.tokenize=t,"closeAttributeTag"):ruby(n,r)}}function startRubySplat(t){var n,o=function(e,r){if(1==r.rubyState.tokenize.length&&!r.rubyState.context.prev){if(e.backUp(1),e.eatSpace())return r.rubyState=n,r.tokenize=t,t(e,r);e.next()}return ruby(e,r)};return function(t,a){return n=a.rubyState,a.rubyState=e.startState(r),a.tokenize=o,ruby(t,a)}}function ruby(e,t){return r.token(e,t.rubyState)}function html(e,t){return e.match(/^#\{/)?(t.tokenize=rubyInQuote("}",t.tokenize),null):function maybeBackup(e,t,n,r,o){var a=e.current(),i=a.search(n);return i>-1&&(t.tokenize=function backup(e,t,n){var r=function(r,o){return o.tokenize=t,r.pos<e?(r.pos=e,n):o.tokenize(r,o)};return function(e,n){return n.tokenize=r,t(e,n)}}(e.pos,t.tokenize,o),e.backUp(a.length-i-r)),o}(e,t,/[^\\]#\{/,1,n.token(e,t.htmlState))}function startHtmlLine(e){return function(t,n){var r=function htmlLine(e,t){return e.match(/^\\$/)?"lineContinuation":html(e,t)}(t,n);return t.eol()&&(n.tokenize=e),r}}function startHtmlMode(e,t,n){return t.stack={parent:t.stack,style:"html",indented:e.column()+n,tokenize:t.line},t.line=t.tokenize=html,null}function comment(e,t){return e.skipToEnd(),t.stack.style}function attributeWrapper(e,t){return e.eat(t.stack.endQuote)?(t.line=t.stack.line,t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,null):e.match(m)?(t.tokenize=attributeWrapperAssign,"slimAttribute"):(e.next(),null)}function attributeWrapperAssign(e,t){return e.match(/^==?/)?(t.tokenize=attributeWrapperValue,null):attributeWrapper(e,t)}function attributeWrapperValue(e,t){var n=e.peek();return'"'==n||"'"==n?(t.tokenize=readQuoted(n,"string",!0,!1,attributeWrapper),e.next(),t.tokenize(e,t)):"["==n?startRubySplat(attributeWrapper)(e,t):e.match(/^(true|false|nil)\b/)?(t.tokenize=attributeWrapper,"keyword"):startRubySplat(attributeWrapper)(e,t)}function sub(t,n){if(t.match(/^#\{/))return n.tokenize=rubyInQuote("}",n.tokenize),null;var r=new e.StringStream(t.string.slice(n.stack.indented),t.tabSize);r.pos=t.pos-n.stack.indented,r.start=t.start-n.stack.indented,r.lastColumnPos=t.lastColumnPos-n.stack.indented,r.lastColumnValue=t.lastColumnValue-n.stack.indented;var o=n.subMode.token(r,n.subState);return t.pos=r.pos+n.stack.indented,o}function firstSub(e,t){return t.stack.indented=e.column(),t.line=t.tokenize=sub,t.tokenize(e,t)}function getMode(n){return o.hasOwnProperty(n)?o[n]:o[n]=function createMode(n){var r=a[n],o=e.mimeModes[r];if(o)return e.getMode(t,o);var i=e.modes[r];return i?i(t,{name:r}):e.getMode(t,"null")}(n)}function doctypeLine(e,t){return e.skipToEnd(),"slimDoctype"}function startLine(t,n){if("<"==t.peek())return(n.tokenize=startHtmlLine(n.tokenize))(t,n);if(t.match(/^[|']/))return startHtmlMode(t,n,1);if(t.match(/^\/(!|\[\w+])?/))return function commentMode(e,t){return t.stack={parent:t.stack,style:"comment",indented:t.indented+1,tokenize:t.line},t.line=comment,comment(e,t)}(t,n);if(t.match(/^(-|==?[<>]?)/))return n.tokenize=function lineContinuable(e,t){return function(n,r){if(finishContinue(r),n.match(/^\\$/))return continueLine(r,e),"lineContinuation";var o=t(n,r);return n.eol()&&n.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&n.backUp(1),o}}(t.column(),function commaContinuable(e,t){return function(n,r){finishContinue(r);var o=t(n,r);return n.eol()&&n.current().match(/,$/)&&continueLine(r,e),o}}(t.column(),ruby)),"slimSwitch";if(t.match(/^doctype\b/))return n.tokenize=doctypeLine,"keyword";var r=t.match(i);return r?function startSubMode(t,n){var r=getMode(t),o=e.startState(r);return n.subMode=r,n.subState=o,n.stack={parent:n.stack,style:"sub",indented:n.indented+1,tokenize:n.line},n.line=n.tokenize=firstSub,"slimSubmode"}(r[1],n):slimTag(t,n)}function slim(e,t){return t.startOfLine?startLine(e,t):slimTag(e,t)}function slimTag(e,t){return e.eat("*")?(t.tokenize=startRubySplat(slimTagExtras),null):e.match(p)?(t.tokenize=slimTagExtras,"slimTag"):slimClass(e,t)}function slimTagExtras(e,t){return e.match(/^(<>?|><?)/)?(t.tokenize=slimClass,null):slimClass(e,t)}function slimClass(e,t){return e.match(b)?(t.tokenize=slimClass,"slimId"):e.match(f)?(t.tokenize=slimClass,"slimClass"):slimAttribute(e,t)}function slimAttribute(e,t){return e.match(/^([\[\{\(])/)?function startAttributeWrapperMode(e,t,n){return e.stack={parent:e.stack,style:"wrapper",indented:e.indented+1,tokenize:n,line:e.line,endQuote:t},e.line=e.tokenize=attributeWrapper,null}(t,l[RegExp.$1],slimAttribute):e.match(d)?(t.tokenize=slimAttributeAssign,"slimAttribute"):"*"==e.peek()?(e.next(),t.tokenize=startRubySplat(slimContent),null):slimContent(e,t)}function slimAttributeAssign(e,t){return e.match(/^==?/)?(t.tokenize=slimAttributeValue,null):slimAttribute(e,t)}function slimAttributeValue(e,t){var n=e.peek();return'"'==n||"'"==n?(t.tokenize=readQuoted(n,"string",!0,!1,slimAttribute),e.next(),t.tokenize(e,t)):"["==n?startRubySplat(slimAttribute)(e,t):":"==n?startRubySplat(slimAttributeSymbols)(e,t):e.match(/^(true|false|nil)\b/)?(t.tokenize=slimAttribute,"keyword"):startRubySplat(slimAttribute)(e,t)}function slimAttributeSymbols(e,t){return e.backUp(1),e.match(/^[^\s],(?=:)/)?(t.tokenize=startRubySplat(slimAttributeSymbols),null):(e.next(),slimAttribute(e,t))}function readQuoted(e,t,n,r,o){return function(a,i){finishContinue(i);var s=0==a.current().length;if(a.match(/^\\$/,s))return s?(continueLine(i,i.indented),"lineContinuation"):t;if(a.match(/^#\{/,s))return s?(i.tokenize=rubyInQuote("}",i.tokenize),null):t;for(var l,c=!1;null!=(l=a.next());){if(l==e&&(r||!c)){i.tokenize=o;break}if(n&&"#"==l&&!c&&a.eat("{")){a.backUp(2);break}c=!c&&"\\"==l}return a.eol()&&c&&a.backUp(1),t}}function slimContent(e,t){return e.match(/^==?/)?(t.tokenize=ruby,"slimSwitch"):e.match(/^\/$/)?(t.tokenize=slim,null):e.match(/^:/)?(t.tokenize=slimTag,"slimSwitch"):(startHtmlMode(e,t,0),t.tokenize(e,t))}var n=e.getMode(t,{name:"htmlmixed"}),r=e.getMode(t,"ruby"),o={html:n,ruby:r},a={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},i=function(e){var t=[];for(var n in e)t.push(n);return new RegExp("^("+t.join("|")+"):")}(a),s={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},l={"{":"}","[":"]","(":")"},c="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",u=c+"\\-0-9·̀-ͯ‿-⁀",p=new RegExp("^[:"+c+"](?::["+u+"]|["+u+"]*)"),d=new RegExp("^[:"+c+"][:\\."+u+"]*(?=\\s*=)"),m=new RegExp("^[:"+c+"][:\\."+u+"]*"),f=/^\.-?[_a-zA-Z]+[\w\-]*/,b=/^#[_a-zA-Z]+[\w\-]*/,h={startState:function(){return{htmlState:e.startState(n),rubyState:e.startState(r),stack:null,last:null,tokenize:slim,line:slim,indented:0}},copyState:function(t){return{htmlState:e.copyState(n,t.htmlState),rubyState:e.copyState(r,t.rubyState),subMode:t.subMode,subState:t.subMode&&e.copyState(t.subMode,t.subState),stack:t.stack,last:t.last,tokenize:t.tokenize,line:t.line}},token:function(e,t){if(e.sol())for(t.indented=e.indentation(),t.startOfLine=!0,t.tokenize=t.line;t.stack&&t.stack.indented>t.indented&&"slimSubmode"!=t.last;)t.line=t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,t.subMode=null,t.subState=null;if(e.eatSpace())return null;var n=t.tokenize(e,t);return t.startOfLine=!1,n&&(t.last=n),s.hasOwnProperty(n)?s[n]:n},blankLine:function(e){if(e.subMode&&e.subMode.blankLine)return e.subMode.blankLine(e.subState)},innerMode:function(e){return e.subMode?{state:e.subState,mode:e.subMode}:{state:e,mode:h}}};return h},"htmlmixed","ruby"),e.defineMIME("text/x-slim","slim"),e.defineMIME("application/x-slim","slim")})},908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(m))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(d.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(r)){var o=p[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,i=n-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(u.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)h.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=h.state;if(h.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){h.state.context={prev:h.state.context,vars:h.state.localVars},h.state.localVars=k}function popcontext(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}function pushlex(e,t){var n=function(){var n=h.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,h.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=h.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?h.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==h.state.lexical.info&&h.state.cc[h.state.cc.length-1]==poplex&&h.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(h.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(h.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&h.stream.match(/^\s*\w/,!1)?(h.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(h.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,n){if(h.state.fatArrowAt==h.stream.start){var r=n?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var o=n?maybeoperatorNoComma:maybeoperatorComma;return b.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(h.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(n?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(n?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(n)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):c&&"<"==t&&h.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(h.marked="keyword",cont(typeexpr,r)):"regexp"==e?(h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return h.marked="string-2",h.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return h.marked="property",cont()}function objprop(e,t){if("async"==e)return h.marked="property",cont(objprop);if("variable"==e||"keyword"==h.style){if(h.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&h.state.fatArrowAt==h.stream.start&&(n=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(h.marked=s?"property":h.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(h.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(h.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(h.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=h.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)h.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return h.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return h.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(h.marked="keyword",cont(typeexpr)):(h.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==h.style?(h.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(h.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(h.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(h.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||h.stream.match(/^\s*:/,!1)?("variable"==e&&(h.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(h.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(h.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(h.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(h.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(h.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(h.marked="keyword",cont(classBody)):"variable"==e||"keyword"==h.style?(h.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(h.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(h.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(h.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(h.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(h.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return h.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return h.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,i=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},h={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(h.state=e,h.stream=o,h.marked=null,h.cc=a,h.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return h.marked?h.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var p=l.type,m=s==p;return"vardef"==p?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==p&&"{"==s?l.indented:"form"==p?l.indented+a:"stat"==p?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?i||a:0):"switch"!=l.info||m||0==n.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),u="tag",attrState):i.allowMissingTagName&&"endTag"==e?(u="tag bracket",attrState(e,t,n)):(u="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(u="tag bracket",closeState(e,t,n)):(u="error",closeStateErr)}function closeState(e,t,n){return"endTag"!=e?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return u="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return u="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return u="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(i.allowMissing||(u="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(u="string",attrState):(u="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,i={},s=o.htmlMode?t:n;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,u;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(u=null,t.state=t.state(c||n,e,t),u&&(n="error"==u?n+" error":u)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function ret(e,t){return o=t,e}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(!1===r?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return w[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();a=k.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var r=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},c=n.mediaTypes||{},u=n.mediaFeatures||{},p=n.mediaValueKeywords||{},d=n.propertyKeywords||{},m=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},b=n.counterDescriptors||{},h=n.colorKeywords||{},k=n.valueKeywords||{},x=n.allowNested,g=n.lineComment,y=!0===n.supportsAtComponent,w={};return w.top=function(e,t,n){if("{"==e)return pushContext(n,t,"block");if("}"==e&&n.context.prev)return popContext(n);if(y&&/@component/i.test(e))return pushContext(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(n,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(n,t,"parens")}return n.context.type},w.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(a="property","maybeprop"):m.hasOwnProperty(r)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?w.top(e,t,n):(a="error","block")},w.maybeprop=function(e,t,n){return":"==e?pushContext(n,t,"prop"):pass(e,t,n)},w.prop=function(e,t,n){if(";"==e)return popContext(n);if("{"==e&&x)return pushContext(n,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,n);if("("==e)return pushContext(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(n,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,n){return"}"==e?popContext(n):"word"==e?(a="property","maybeprop"):n.context.type},w.parens=function(e,t,n){return"{"==e||"}"==e?popAndPass(e,t,n):")"==e?popContext(n):"("==e?pushContext(n,t,"parens"):"interpolation"==e?pushContext(n,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):pass(e,t,n)},w.documentTypes=function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):w.atBlock(e,t,n)},w.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,n);if("{"==e)return popContext(n)&&pushContext(n,t,x?"block":"top");if("interpolation"==e)return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();a="only"==r||"not"==r||"and"==r||"or"==r?"keyword":c.hasOwnProperty(r)?"attribute":u.hasOwnProperty(r)?"property":p.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":m.hasOwnProperty(r)?"string-2":k.hasOwnProperty(r)?"atom":h.hasOwnProperty(r)?"keyword":"error"}return n.context.type},w.atComponentBlock=function(e,t,n){return"}"==e?popAndPass(e,t,n):"{"==e?popContext(n)&&pushContext(n,t,x?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},w.atBlock_parens=function(e,t,n){return")"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n,2):w.atBlock(e,t,n)},w.restricted_atBlock_before=function(e,t,n){return"{"==e?pushContext(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,n)},w.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,popContext(n)):"word"==e?(a="@font-face"==n.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!b.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(n,t,"top"):pass(e,t,n)},w.at=function(e,t,n){return";"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,n){return"}"==e?popContext(n):"{"==e||";"==e?popAndPass(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new Context(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function tokenBase(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?ret(null,"compare"):'"'==n||"'"==n?(t.tokenize=tokenString(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==n?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?ret(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?ret(null,n):("u"==n||"U"==n)&&e.match(/rl(-prefix)?\(/i)||("d"==n||"D"==n)&&e.match("omain(",!0,!0)||("r"==n||"R"==n)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),a=n,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-i)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:g,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],n=keySet(t),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(r),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],u=keySet(c),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(p),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),b=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],h=keySet(b),k=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(k),g=t.concat(r).concat(a).concat(s).concat(c).concat(p).concat(b).concat(k);e.registerHelper("hintWords","css",g),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:o,mediaFeatures:i,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,n){!function(e){e(n(907),n(909),n(908),n(910))}(function(e){"use strict";function getAttrValue(e,t){var r=e.match(function getAttrRegexp(e){var t=n[e];return t||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),o=e[n],a=o.length-1;a>=0;a--)r.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};e.defineMode("htmlmixed",function(n,r){function html(t,r){var i,s=o.token(t,r.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))r.inTag=i+" ";else if(r.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var u=">"==t.current()&&function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}(a[c[1]],c[2]),p=e.getMode(n,u),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);r.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}(e,m,t.localMode.token(e,t.localState))},r.localMode=p,r.localState=e.startState(p,o.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return s}var o=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),a={},i=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?o.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},916:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,n){if(e.sol()&&e.match("=begin")&&e.eol())return n.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var r,o=e.next();if("`"==o||"'"==o||'"'==o)return chain(readQuoted(o,"string",'"'==o||"`"==o),e,n);if("/"==o)return function regexpAhead(e){var t,n=e.pos,r=0,o=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){o=!0;break}a="\\"==t}return e.backUp(e.pos-n),o}(e)?chain(readQuoted(o,"string-2",!0),e,n):"operator";if("%"==o){var i="string",s=!0;e.eat("s")?i="atom":e.eat(/[WQ]/)?i="string":e.eat(/[r]/)?i="string-2":e.eat(/[wxq]/)&&(i="string",s=!1);var l=e.eat(/[^\w\s=]/);return l?(a.propertyIsEnumerable(l)&&(l=a[l]),chain(readQuoted(l,i,s,!0),e,n)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}(r[1]),e,n);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?chain(readQuoted("'","atom",!1),e,n):e.eat('"')?chain(readQuoted('"',"atom",!0),e,n):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!n.varList&&"{"!=n.lastTok&&"do"!=n.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return t=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||c||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,n)}}function tokenBaseOnce(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,tokenBase(t,n))}}function readQuoted(e,t,n,r){return function(o,a){var i,s=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,o.eat("}"));null!=(i=o.next());){if(i==e&&(r||!s)){a.tokenize.pop();break}if(n&&"#"==i&&!s){if(o.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(o.peek())){a.tokenize.push(tokenBaseOnce());break}}s=!s&&"\\"==i}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,n=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),r=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),o=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var i,s=a.tokenize[a.tokenize.length-1](e,a),l=t;if("ident"==s){var c=e.current();"keyword"==(s="."==a.lastTok?"property":n.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(l=c,r.propertyIsEnumerable(c)?i="indent":o.propertyIsEnumerable(c)?i="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&a.context.indented<a.indented&&(i="indent"):i="indent")}return(t||s&&"comment"!=s)&&(a.lastTok=l),"|"==t&&(a.varList=!a.varList),"indent"==i||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||s,indented:a.indented}:("dedent"==i||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==s),s},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var r=n&&n.charAt(0),o=t.context,i=o.type==a[r]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(i?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/86.b171cd8f.js b/build/codemirror/mode/86.b171cd8f.js deleted file mode 100644 index d0c210b..0000000 --- a/build/codemirror/mode/86.b171cd8f.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([4,12,33,62,89,111],{1011:function(e,t,n){!function(e){e(n(907),n(911),n(916))}(function(e){"use strict";e.defineMode("slim",function(t){function continueLine(e,t){e.stack={parent:e.stack,style:"continuation",indented:t,tokenize:e.line},e.line=e.tokenize}function finishContinue(e){e.line==e.tokenize&&(e.line=e.stack.tokenize,e.stack=e.stack.parent)}function rubyInQuote(e,t){return function(n,r){return n.peek()==e&&1==r.rubyState.tokenize.length?(n.next(),r.tokenize=t,"closeAttributeTag"):ruby(n,r)}}function startRubySplat(t){var n,o=function(e,r){if(1==r.rubyState.tokenize.length&&!r.rubyState.context.prev){if(e.backUp(1),e.eatSpace())return r.rubyState=n,r.tokenize=t,t(e,r);e.next()}return ruby(e,r)};return function(t,a){return n=a.rubyState,a.rubyState=e.startState(r),a.tokenize=o,ruby(t,a)}}function ruby(e,t){return r.token(e,t.rubyState)}function html(e,t){return e.match(/^#\{/)?(t.tokenize=rubyInQuote("}",t.tokenize),null):function maybeBackup(e,t,n,r,o){var a=e.current(),i=a.search(n);return i>-1&&(t.tokenize=function backup(e,t,n){var r=function(r,o){return o.tokenize=t,r.pos<e?(r.pos=e,n):o.tokenize(r,o)};return function(e,n){return n.tokenize=r,t(e,n)}}(e.pos,t.tokenize,o),e.backUp(a.length-i-r)),o}(e,t,/[^\\]#\{/,1,n.token(e,t.htmlState))}function startHtmlLine(e){return function(t,n){var r=function htmlLine(e,t){return e.match(/^\\$/)?"lineContinuation":html(e,t)}(t,n);return t.eol()&&(n.tokenize=e),r}}function startHtmlMode(e,t,n){return t.stack={parent:t.stack,style:"html",indented:e.column()+n,tokenize:t.line},t.line=t.tokenize=html,null}function comment(e,t){return e.skipToEnd(),t.stack.style}function attributeWrapper(e,t){return e.eat(t.stack.endQuote)?(t.line=t.stack.line,t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,null):e.match(m)?(t.tokenize=attributeWrapperAssign,"slimAttribute"):(e.next(),null)}function attributeWrapperAssign(e,t){return e.match(/^==?/)?(t.tokenize=attributeWrapperValue,null):attributeWrapper(e,t)}function attributeWrapperValue(e,t){var n=e.peek();return'"'==n||"'"==n?(t.tokenize=readQuoted(n,"string",!0,!1,attributeWrapper),e.next(),t.tokenize(e,t)):"["==n?startRubySplat(attributeWrapper)(e,t):e.match(/^(true|false|nil)\b/)?(t.tokenize=attributeWrapper,"keyword"):startRubySplat(attributeWrapper)(e,t)}function sub(t,n){if(t.match(/^#\{/))return n.tokenize=rubyInQuote("}",n.tokenize),null;var r=new e.StringStream(t.string.slice(n.stack.indented),t.tabSize);r.pos=t.pos-n.stack.indented,r.start=t.start-n.stack.indented,r.lastColumnPos=t.lastColumnPos-n.stack.indented,r.lastColumnValue=t.lastColumnValue-n.stack.indented;var o=n.subMode.token(r,n.subState);return t.pos=r.pos+n.stack.indented,o}function firstSub(e,t){return t.stack.indented=e.column(),t.line=t.tokenize=sub,t.tokenize(e,t)}function getMode(n){return o.hasOwnProperty(n)?o[n]:o[n]=function createMode(n){var r=a[n],o=e.mimeModes[r];if(o)return e.getMode(t,o);var i=e.modes[r];return i?i(t,{name:r}):e.getMode(t,"null")}(n)}function doctypeLine(e,t){return e.skipToEnd(),"slimDoctype"}function startLine(t,n){if("<"==t.peek())return(n.tokenize=startHtmlLine(n.tokenize))(t,n);if(t.match(/^[|']/))return startHtmlMode(t,n,1);if(t.match(/^\/(!|\[\w+])?/))return function commentMode(e,t){return t.stack={parent:t.stack,style:"comment",indented:t.indented+1,tokenize:t.line},t.line=comment,comment(e,t)}(t,n);if(t.match(/^(-|==?[<>]?)/))return n.tokenize=function lineContinuable(e,t){return function(n,r){if(finishContinue(r),n.match(/^\\$/))return continueLine(r,e),"lineContinuation";var o=t(n,r);return n.eol()&&n.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&n.backUp(1),o}}(t.column(),function commaContinuable(e,t){return function(n,r){finishContinue(r);var o=t(n,r);return n.eol()&&n.current().match(/,$/)&&continueLine(r,e),o}}(t.column(),ruby)),"slimSwitch";if(t.match(/^doctype\b/))return n.tokenize=doctypeLine,"keyword";var r=t.match(i);return r?function startSubMode(t,n){var r=getMode(t),o=e.startState(r);return n.subMode=r,n.subState=o,n.stack={parent:n.stack,style:"sub",indented:n.indented+1,tokenize:n.line},n.line=n.tokenize=firstSub,"slimSubmode"}(r[1],n):slimTag(t,n)}function slim(e,t){return t.startOfLine?startLine(e,t):slimTag(e,t)}function slimTag(e,t){return e.eat("*")?(t.tokenize=startRubySplat(slimTagExtras),null):e.match(p)?(t.tokenize=slimTagExtras,"slimTag"):slimClass(e,t)}function slimTagExtras(e,t){return e.match(/^(<>?|><?)/)?(t.tokenize=slimClass,null):slimClass(e,t)}function slimClass(e,t){return e.match(b)?(t.tokenize=slimClass,"slimId"):e.match(f)?(t.tokenize=slimClass,"slimClass"):slimAttribute(e,t)}function slimAttribute(e,t){return e.match(/^([\[\{\(])/)?function startAttributeWrapperMode(e,t,n){return e.stack={parent:e.stack,style:"wrapper",indented:e.indented+1,tokenize:n,line:e.line,endQuote:t},e.line=e.tokenize=attributeWrapper,null}(t,l[RegExp.$1],slimAttribute):e.match(d)?(t.tokenize=slimAttributeAssign,"slimAttribute"):"*"==e.peek()?(e.next(),t.tokenize=startRubySplat(slimContent),null):slimContent(e,t)}function slimAttributeAssign(e,t){return e.match(/^==?/)?(t.tokenize=slimAttributeValue,null):slimAttribute(e,t)}function slimAttributeValue(e,t){var n=e.peek();return'"'==n||"'"==n?(t.tokenize=readQuoted(n,"string",!0,!1,slimAttribute),e.next(),t.tokenize(e,t)):"["==n?startRubySplat(slimAttribute)(e,t):":"==n?startRubySplat(slimAttributeSymbols)(e,t):e.match(/^(true|false|nil)\b/)?(t.tokenize=slimAttribute,"keyword"):startRubySplat(slimAttribute)(e,t)}function slimAttributeSymbols(e,t){return e.backUp(1),e.match(/^[^\s],(?=:)/)?(t.tokenize=startRubySplat(slimAttributeSymbols),null):(e.next(),slimAttribute(e,t))}function readQuoted(e,t,n,r,o){return function(a,i){finishContinue(i);var s=0==a.current().length;if(a.match(/^\\$/,s))return s?(continueLine(i,i.indented),"lineContinuation"):t;if(a.match(/^#\{/,s))return s?(i.tokenize=rubyInQuote("}",i.tokenize),null):t;for(var l,c=!1;null!=(l=a.next());){if(l==e&&(r||!c)){i.tokenize=o;break}if(n&&"#"==l&&!c&&a.eat("{")){a.backUp(2);break}c=!c&&"\\"==l}return a.eol()&&c&&a.backUp(1),t}}function slimContent(e,t){return e.match(/^==?/)?(t.tokenize=ruby,"slimSwitch"):e.match(/^\/$/)?(t.tokenize=slim,null):e.match(/^:/)?(t.tokenize=slimTag,"slimSwitch"):(startHtmlMode(e,t,0),t.tokenize(e,t))}var n=e.getMode(t,{name:"htmlmixed"}),r=e.getMode(t,"ruby"),o={html:n,ruby:r},a={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},i=function(e){var t=[];for(var n in e)t.push(n);return new RegExp("^("+t.join("|")+"):")}(a),s={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},l={"{":"}","[":"]","(":")"},c="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",u=c+"\\-0-9·̀-ͯ‿-⁀",p=new RegExp("^[:"+c+"](?::["+u+"]|["+u+"]*)"),d=new RegExp("^[:"+c+"][:\\."+u+"]*(?=\\s*=)"),m=new RegExp("^[:"+c+"][:\\."+u+"]*"),f=/^\.-?[_a-zA-Z]+[\w\-]*/,b=/^#[_a-zA-Z]+[\w\-]*/,h={startState:function(){return{htmlState:e.startState(n),rubyState:e.startState(r),stack:null,last:null,tokenize:slim,line:slim,indented:0}},copyState:function(t){return{htmlState:e.copyState(n,t.htmlState),rubyState:e.copyState(r,t.rubyState),subMode:t.subMode,subState:t.subMode&&e.copyState(t.subMode,t.subState),stack:t.stack,last:t.last,tokenize:t.tokenize,line:t.line}},token:function(e,t){if(e.sol())for(t.indented=e.indentation(),t.startOfLine=!0,t.tokenize=t.line;t.stack&&t.stack.indented>t.indented&&"slimSubmode"!=t.last;)t.line=t.tokenize=t.stack.tokenize,t.stack=t.stack.parent,t.subMode=null,t.subState=null;if(e.eatSpace())return null;var n=t.tokenize(e,t);return t.startOfLine=!1,n&&(t.last=n),s.hasOwnProperty(n)?s[n]:n},blankLine:function(e){if(e.subMode&&e.subMode.blankLine)return e.subMode.blankLine(e.subState)},innerMode:function(e){return e.subMode?{state:e.subState,mode:e.subMode}:{state:e,mode:h}}};return h},"htmlmixed","ruby"),e.defineMIME("text/x-slim","slim"),e.defineMIME("application/x-slim","slim")})},908:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("javascript",function(t,n){function ret(e,t,n){return r=e,o=n,t}function tokenBase(e,t){var n=e.next();if('"'==n||"'"==n)return t.tokenize=function tokenString(e){return function(t,n){var r,o=!1;if(s&&"@"==t.peek()&&t.match(m))return n.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(r=t.next())&&(r!=e||o);)o=!o&&"\\"==r;return o||(n.tokenize=tokenBase),ret("string","string")}}(n),t.tokenize(e,t);if("."==n&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==n&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(n))return ret(n);if("="==n&&e.eat(">"))return ret("=>","operator");if("0"==n&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==n&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==n&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(n))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==n)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==n)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==n)return e.skipToEnd(),ret("error","error");if(d.test(n))return">"==n&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=n&&"="!=n||e.eat("="):/[<>*+\-]/.test(n)&&(e.eat(n),">"==n&&e.eat(n))),ret("operator","operator",e.current());if(u.test(n)){e.eatWhile(u);var r=e.current();if("."!=t.lastType){if(p.propertyIsEnumerable(r)){var o=p[r];return ret(o.type,o.style,r)}if("async"==r&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",r)}return ret("variable","variable",r)}}function tokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="*"==n}return ret("comment","comment")}function tokenQuasi(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=tokenBase;break}r=!r&&"\\"==n}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(c){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,a=!1,i=n-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(u.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,n,r,o,a){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=a,null!=r&&(this.align=r)}function inScope(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(n=r.vars;n;n=n.next)if(n.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)h.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var t=h.state;if(h.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;n.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){h.state.context={prev:h.state.context,vars:h.state.localVars},h.state.localVars=k}function popcontext(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}function pushlex(e,t){var n=function(){var n=h.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new JSLexical(r,h.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function poplex(){var e=h.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?h.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==h.state.lexical.info&&h.state.cc[h.state.cc.length-1]==poplex&&h.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(h.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(h.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(h.state.fatArrowAt==h.stream.start){var n=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var r=t?maybeoperatorNoComma:maybeoperatorComma;return b.hasOwnProperty(e)?cont(r):"function"==e?cont(functiondef,r):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,r):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,r):"{"==e?contCommasep(objprop,"}",null,r):"quasi"==e?pass(quasi,r):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,n){var r=0==n?maybeoperatorComma:maybeoperatorNoComma,o=0==n?expression:expressionNoComma;return"=>"==e?cont(pushcontext,n?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(r):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,r):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",r):"."==e?cont(property,r):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,r):c&&"as"==t?(h.marked="keyword",cont(typeexpr,r)):"regexp"==e?(h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return h.marked="string-2",h.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(h.stream,h.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return h.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return h.marked="property",cont()}function objprop(e,t){if("async"==e)return h.marked="property",cont(objprop);if("variable"==e||"keyword"==h.style){if(h.marked="property","get"==t||"set"==t)return cont(getterSetter);var n;return c&&h.state.fatArrowAt==h.stream.start&&(n=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+n[0].length),cont(afterprop)}return"number"==e||"string"==e?(h.marked=s?"property":h.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(h.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(h.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,n){function proceed(r,o){if(n?n.indexOf(r)>-1:","==r){var a=h.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(n,r){return n==t||r==t?pass():pass(e)},proceed)}return r==t||o==t?cont():cont(expect(t))}return function(n,r){return n==t||r==t?cont():pass(e,proceed)}}function contCommasep(e,t,n){for(var r=3;r<arguments.length;r++)h.cc.push(arguments[r]);return cont(pushlex(t,n),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(h.marked="keyword",cont(typeexpr)):(h.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==h.style?(h.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||h.stream.match(/^\s*:/,!1)?("variable"==e&&(h.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(h.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(h.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(h.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(h.marked="keyword",cont(classBody)):"variable"==e||"keyword"==h.style?(h.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(h.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(h.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(h.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(h.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(h.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return h.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return h.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,n){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}var r,o,a=t.indentUnit,i=n.statementIndent,s=n.jsonld,l=n.json||s,c=n.typescript,u=n.wordCharacters||/[\w$\xa1-\uffff]/,p=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),n=kw("keyword c"),r=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:r,break:r,continue:r,new:kw("new"),delete:n,void:n,throw:n,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:n,export:kw("export"),import:kw("import"),extends:n,await:n};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:n,namespace:n,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var u in l)i[u]=l[u]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",b={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},h={state:null,column:null,marked:null,cc:null},k={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function parseJS(e,t,n,r,o){var a=e.cc;for(h.state=e,h.stream=o,h.marked=null,h.cc=a,h.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(n,r)){for(;a.length&&a[a.length-1].lex;)a.pop()();return h.marked?h.marked:"variable"==n&&inScope(e,r)?"variable-2":t}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var c=t.cc.length-1;c>=0;--c){var u=t.cc[c];if(u==poplex)l=l.prev;else if(u!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var p=l.type,m=s==p;return"vardef"==p?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==p&&"{"==s?l.indented:"form"==p?l.indented+a:"stat"==p?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?i||a:0):"switch"!=l.info||m||0==n.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(r)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(r,o){function inText(e,t){function chain(n){return t.tokenize=n,n(e,t)}var n=e.next();if("<"==n)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==n){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var n=e.next();if(">"==n||"/"==n&&e.eat(">"))return t.tokenize=inText,c=">"==n?"endTag":"selfcloseTag","tag bracket";if("="==n)return c="equals",null;if("<"==n){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var r=t.tokenize(e,t);return r?r+" tag error":"tag error"}return/[\'\"]/.test(n)?(t.tokenize=function inAttribute(e){var t=function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(n),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=inText;break}n.next()}return e}}function doctype(e){return function(t,n){for(var r;null!=(r=t.next());){if("<"==r)return n.tokenize=doctype(e+1),n.tokenize(t,n);if(">"==r){if(1==e){n.tokenize=inText;break}return n.tokenize=doctype(e-1),n.tokenize(t,n)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!i.contextGrabbers.hasOwnProperty(n)||!i.contextGrabbers[n].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,n){return"openTag"==e?(n.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,n){return"word"==e?(n.tagName=t.current(),u="tag",attrState):(u="error",tagNameState)}function closeTagNameState(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&i.implicitlyClosed.hasOwnProperty(n.context.tagName)&&popContext(n),n.context&&n.context.tagName==r||!1===i.matchClosing?(u="tag",closeState):(u="tag error",closeStateErr)}return u="error",closeStateErr}function closeState(e,t,n){return"endTag"!=e?(u="error",closeState):(popContext(n),baseState)}function closeStateErr(e,t,n){return u="error",closeState(e,0,n)}function attrState(e,t,n){if("word"==e)return u="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(r)?maybePopContext(n,r):(maybePopContext(n,r),n.context=new function Context(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),baseState}return u="error",attrState}function attrEqState(e,t,n){return"equals"==e?attrValueState:(i.allowMissing||(u="error"),attrState(e,0,n))}function attrValueState(e,t,n){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(u="string",attrState):(u="error",attrState(e,0,n))}function attrContinuedState(e,t,n){return"string"==e?attrContinuedState:attrState(e,0,n)}var a=r.indentUnit,i={},s=o.htmlMode?t:n;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,u;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var n=t.tokenize(e,t);return(n||c)&&"comment"!=n&&(u=null,t.state=t.state(c||n,e,t),u&&(n="error"==u?n+" error":u)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var s=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function keySet(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.defineMode("css",function(t,n){function ret(e,t){return o=t,e}function tokenString(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,n){this.type=e,this.indent=t,this.prev=n}function pushContext(e,t,n,r){return e.context=new Context(n,t.indentation()+(!1===r?0:i),e.context),n}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,n){return w[n.context.type](e,t,n)}function popAndPass(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return pass(e,t,n)}function wordAsValue(e){var t=e.current().toLowerCase();a=k.hasOwnProperty(t)?"atom":h.hasOwnProperty(t)?"keyword":"variable"}var r=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},c=n.mediaTypes||{},u=n.mediaFeatures||{},p=n.mediaValueKeywords||{},d=n.propertyKeywords||{},m=n.nonStandardPropertyKeywords||{},f=n.fontProperties||{},b=n.counterDescriptors||{},h=n.colorKeywords||{},k=n.valueKeywords||{},x=n.allowNested,g=n.lineComment,y=!0===n.supportsAtComponent,w={};return w.top=function(e,t,n){if("{"==e)return pushContext(n,t,"block");if("}"==e&&n.context.prev)return popContext(n);if(y&&/@component/.test(e))return pushContext(n,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(n,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(n,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(n,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(n,t,"parens")}return n.context.type},w.block=function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(a="property","maybeprop"):m.hasOwnProperty(r)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?w.top(e,t,n):(a="error","block")},w.maybeprop=function(e,t,n){return":"==e?pushContext(n,t,"prop"):pass(e,t,n)},w.prop=function(e,t,n){if(";"==e)return popContext(n);if("{"==e&&x)return pushContext(n,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,n);if("("==e)return pushContext(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(n,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,n){return"}"==e?popContext(n):"word"==e?(a="property","maybeprop"):n.context.type},w.parens=function(e,t,n){return"{"==e||"}"==e?popAndPass(e,t,n):")"==e?popContext(n):"("==e?pushContext(n,t,"parens"):"interpolation"==e?pushContext(n,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,n){return"meta"==e?"pseudo":"word"==e?(a="variable-3",n.context.type):pass(e,t,n)},w.documentTypes=function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",n.context.type):w.atBlock(e,t,n)},w.atBlock=function(e,t,n){if("("==e)return pushContext(n,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,n);if("{"==e)return popContext(n)&&pushContext(n,t,x?"block":"top");if("interpolation"==e)return pushContext(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();a="only"==r||"not"==r||"and"==r||"or"==r?"keyword":c.hasOwnProperty(r)?"attribute":u.hasOwnProperty(r)?"property":p.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":m.hasOwnProperty(r)?"string-2":k.hasOwnProperty(r)?"atom":h.hasOwnProperty(r)?"keyword":"error"}return n.context.type},w.atComponentBlock=function(e,t,n){return"}"==e?popAndPass(e,t,n):"{"==e?popContext(n)&&pushContext(n,t,x?"block":"top",!1):("word"==e&&(a="error"),n.context.type)},w.atBlock_parens=function(e,t,n){return")"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n,2):w.atBlock(e,t,n)},w.restricted_atBlock_before=function(e,t,n){return"{"==e?pushContext(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,n)},w.restricted_atBlock=function(e,t,n){return"}"==e?(n.stateArg=null,popContext(n)):"word"==e?(a="@font-face"==n.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!b.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,n){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(n,t,"top"):pass(e,t,n)},w.at=function(e,t,n){return";"==e?popContext(n):"{"==e||"}"==e?popAndPass(e,t,n):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,n){return"}"==e?popContext(n):"{"==e||";"==e?popAndPass(e,t,n):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new Context(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function tokenBase(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?ret(null,"compare"):'"'==n||"'"==n?(t.tokenize=tokenString(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==n?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?ret(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?ret(null,n):"u"==n&&e.match(/rl(-prefix)?\(/)||"d"==n&&e.match("omain(")||"r"==n&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),a=n,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-i)):o=(n=n.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:g,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],n=keySet(t),r=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(r),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],u=keySet(c),p=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(p),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),b=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],h=keySet(b),k=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(k),g=t.concat(r).concat(a).concat(s).concat(c).concat(p).concat(b).concat(k);e.registerHelper("hintWords","css",g),e.defineMIME("text/css",{documentTypes:n,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:u,nonStandardPropertyKeywords:d,colorKeywords:h,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:n,mediaTypes:o,mediaFeatures:i,propertyKeywords:u,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:h,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,n){!function(e){e(n(907),n(909),n(908),n(910))}(function(e){"use strict";function getAttrValue(e,t){var r=e.match(function getAttrRegexp(e){var t=n[e];return t||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),o=e[n],a=o.length-1;a>=0;a--)r.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};e.defineMode("htmlmixed",function(n,r){function html(t,r){var i,s=o.token(t,r.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))r.inTag=i+" ";else if(r.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var u=">"==t.current()&&function findMatchingMode(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(!r[0]||r[1].test(getAttrValue(t,r[0])))return r[2]}}(a[c[1]],c[2]),p=e.getMode(n,u),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);r.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}(e,m,t.localMode.token(e,t.localState))},r.localMode=p,r.localState=e.startState(p,o.indent(r.htmlState,""))}else r.inTag&&(r.inTag+=t.current(),t.eol()&&(r.inTag+=" "));return s}var o=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:r.multilineTagIndentFactor,multilineTagIndentPastTag:r.multilineTagIndentPastTag}),a={},i=r&&r.tags,s=r&&r.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?o.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})},916:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("ruby",function(e){function wordObj(e){for(var t={},n=0,r=e.length;n<r;++n)t[e[n]]=!0;return t}function chain(e,t,n){return n.tokenize.push(e),e(t,n)}function tokenBase(e,n){if(e.sol()&&e.match("=begin")&&e.eol())return n.tokenize.push(readBlockComment),"comment";if(e.eatSpace())return null;var r,o=e.next();if("`"==o||"'"==o||'"'==o)return chain(readQuoted(o,"string",'"'==o||"`"==o),e,n);if("/"==o)return function regexpAhead(e){var t,n=e.pos,r=0,o=!1,a=!1;for(;null!=(t=e.next());)if(a)a=!1;else{if("[{(".indexOf(t)>-1)r++;else if("]})".indexOf(t)>-1){if(--r<0)break}else if("/"==t&&0==r){o=!0;break}a="\\"==t}return e.backUp(e.pos-n),o}(e)?chain(readQuoted(o,"string-2",!0),e,n):"operator";if("%"==o){var i="string",s=!0;e.eat("s")?i="atom":e.eat(/[WQ]/)?i="string":e.eat(/[r]/)?i="string-2":e.eat(/[wxq]/)&&(i="string",s=!1);var l=e.eat(/[^\w\s=]/);return l?(a.propertyIsEnumerable(l)&&(l=a[l]),chain(readQuoted(l,i,s,!0),e,n)):"operator"}if("#"==o)return e.skipToEnd(),"comment";if("<"==o&&(r=e.match(/^<-?[\`\"\']?([a-zA-Z_?]\w*)[\`\"\']?(?:;|$)/)))return chain(function readHereDoc(e){return function(t,n){return t.match(e)?n.tokenize.pop():t.skipToEnd(),"string"}}(r[1]),e,n);if("0"==o)return e.eat("x")?e.eatWhile(/[\da-fA-F]/):e.eat("b")?e.eatWhile(/[01]/):e.eatWhile(/[0-7]/),"number";if(/\d/.test(o))return e.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+\-]?[\d_]+)?/),"number";if("?"==o){for(;e.match(/^\\[CM]-/););return e.eat("\\")?e.eatWhile(/\w/):e.next(),"string"}if(":"==o)return e.eat("'")?chain(readQuoted("'","atom",!1),e,n):e.eat('"')?chain(readQuoted('"',"atom",!0),e,n):e.eat(/[\<\>]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if("@"==o&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if("$"==o)return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(o))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if("|"!=o||!n.varList&&"{"!=n.lastTok&&"do"!=n.lastTok){if(/[\(\)\[\]{}\\;]/.test(o))return t=o,null;if("-"==o&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(o)){var c=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return"."!=o||c||(t="."),"operator"}return null}return t="|",null}function tokenBaseUntilBrace(e){return e||(e=1),function(t,n){if("}"==t.peek()){if(1==e)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e-1)}else"{"==t.peek()&&(n.tokenize[n.tokenize.length-1]=tokenBaseUntilBrace(e+1));return tokenBase(t,n)}}function tokenBaseOnce(){var e=!1;return function(t,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n)):(e=!0,tokenBase(t,n))}}function readQuoted(e,t,n,r){return function(o,a){var i,s=!1;for("read-quoted-paused"===a.context.type&&(a.context=a.context.prev,o.eat("}"));null!=(i=o.next());){if(i==e&&(r||!s)){a.tokenize.pop();break}if(n&&"#"==i&&!s){if(o.eat("{")){"}"==e&&(a.context={prev:a.context,type:"read-quoted-paused"}),a.tokenize.push(tokenBaseUntilBrace());break}if(/[@\$]/.test(o.peek())){a.tokenize.push(tokenBaseOnce());break}}s=!s&&"\\"==i}return t}}function readBlockComment(e,t){return e.sol()&&e.match("=end")&&e.eol()&&t.tokenize.pop(),e.skipToEnd(),"comment"}var t,n=wordObj(["alias","and","BEGIN","begin","break","case","class","def","defined?","do","else","elsif","END","end","ensure","false","for","if","in","module","next","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield","nil","raise","throw","catch","fail","loop","callcc","caller","lambda","proc","public","protected","private","require","load","require_relative","extend","autoload","__END__","__FILE__","__LINE__","__dir__"]),r=wordObj(["def","class","case","for","while","until","module","then","catch","loop","proc","begin"]),o=wordObj(["end","until"]),a={"[":"]","{":"}","(":")"};return{startState:function(){return{tokenize:[tokenBase],indented:0,context:{type:"top",indented:-e.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,a){t=null,e.sol()&&(a.indented=e.indentation());var i,s=a.tokenize[a.tokenize.length-1](e,a),l=t;if("ident"==s){var c=e.current();"keyword"==(s="."==a.lastTok?"property":n.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(c)?"tag":"def"==a.lastTok||"class"==a.lastTok||a.varList?"def":"variable")&&(l=c,r.propertyIsEnumerable(c)?i="indent":o.propertyIsEnumerable(c)?i="dedent":"if"!=c&&"unless"!=c||e.column()!=e.indentation()?"do"==c&&a.context.indented<a.indented&&(i="indent"):i="indent")}return(t||s&&"comment"!=s)&&(a.lastTok=l),"|"==t&&(a.varList=!a.varList),"indent"==i||/[\(\[\{]/.test(t)?a.context={prev:a.context,type:t||s,indented:a.indented}:("dedent"==i||/[\)\]\}]/.test(t))&&a.context.prev&&(a.context=a.context.prev),e.eol()&&(a.continuedLine="\\"==t||"operator"==s),s},indent:function(t,n){if(t.tokenize[t.tokenize.length-1]!=tokenBase)return 0;var r=n&&n.charAt(0),o=t.context,i=o.type==a[r]||"keyword"==o.type&&/^(?:end|until|else|elsif|when|rescue)\b/.test(n);return o.indented+(i?0:e.indentUnit)+(t.continuedLine?e.indentUnit:0)},electricInput:/^\s*(?:end|rescue|elsif|else|\})$/,lineComment:"#",fold:"indent"}}),e.defineMIME("text/x-ruby","ruby")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/87.463ccf62.js b/build/codemirror/mode/87.13bde017.js similarity index 96% rename from build/codemirror/mode/87.463ccf62.js rename to build/codemirror/mode/87.13bde017.js index 0c82b9f..94720f7 100644 --- a/build/codemirror/mode/87.463ccf62.js +++ b/build/codemirror/mode/87.13bde017.js @@ -1 +1 @@ -webpackJsonp([57],{1012:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("smalltalk",function(t){var e=/[+\-\/\\*~<>=@%|&?!.,:;^]/,n=/true|false|nil|self|super|thisContext/,a=function(t,e){this.next=t,this.parent=e},i=function(t,e,n){this.name=t,this.context=e,this.eos=n},r=function(){this.context=new a(o,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};r.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/t.indentUnit-this.indentation:0};var o=function(t,r,o){var x=new i(null,r,!1),h=t.next();return'"'===h?x=s(t,new a(s,r)):"'"===h?x=u(t,new a(u,r)):"#"===h?"'"===t.peek()?(t.next(),x=c(t,new a(c,r))):t.eatWhile(/[^\s.{}\[\]()]/)?x.name="string-2":x.name="meta":"$"===h?("<"===t.next()&&(t.eatWhile(/[^\s>]/),t.next()),x.name="string-2"):"|"===h&&o.expectVariable?x.context=new a(l,r):/[\[\]{}()]/.test(h)?(x.name="bracket",x.eos=/[\[{(]/.test(h),"["===h?o.indentation++:"]"===h&&(o.indentation=Math.max(0,o.indentation-1))):e.test(h)?(t.eatWhile(e),x.name="operator",x.eos=";"!==h):/\d/.test(h)?(t.eatWhile(/[\w\d]/),x.name="number"):/[\w_]/.test(h)?(t.eatWhile(/[\w\d_]/),x.name=o.expectVariable?n.test(t.current())?"keyword":"variable":null):x.eos=o.expectVariable,x},s=function(t,e){return t.eatWhile(/[^"]/),new i("comment",t.eat('"')?e.parent:e,!0)},u=function(t,e){return t.eatWhile(/[^']/),new i("string",t.eat("'")?e.parent:e,!1)},c=function(t,e){return t.eatWhile(/[^']/),new i("string-2",t.eat("'")?e.parent:e,!1)},l=function(t,e){var n=new i(null,e,!1);return"|"===t.next()?(n.context=e.parent,n.eos=!0):(t.eatWhile(/[^|]/),n.name="variable"),n};return{startState:function(){return new r},token:function(t,e){if(e.userIndent(t.indentation()),t.eatSpace())return null;var n=e.context.next(t,e.context,e);return e.context=n.context,e.expectVariable=n.eos,n.name},blankLine:function(t){t.userIndent(0)},indent:function(e,n){var a=e.context.next===o&&n&&"]"===n.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+a)*t.indentUnit},electricChars:"]"}}),t.defineMIME("text/x-stsrc",{name:"smalltalk"})})}}); \ No newline at end of file +webpackJsonp([56],{1011:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("smalltalk",function(t){var e=/[+\-\/\\*~<>=@%|&?!.,:;^]/,n=/true|false|nil|self|super|thisContext/,a=function(t,e){this.next=t,this.parent=e},i=function(t,e,n){this.name=t,this.context=e,this.eos=n},r=function(){this.context=new a(o,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};r.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/t.indentUnit-this.indentation:0};var o=function(t,r,o){var x=new i(null,r,!1),h=t.next();return'"'===h?x=s(t,new a(s,r)):"'"===h?x=u(t,new a(u,r)):"#"===h?"'"===t.peek()?(t.next(),x=c(t,new a(c,r))):t.eatWhile(/[^\s.{}\[\]()]/)?x.name="string-2":x.name="meta":"$"===h?("<"===t.next()&&(t.eatWhile(/[^\s>]/),t.next()),x.name="string-2"):"|"===h&&o.expectVariable?x.context=new a(l,r):/[\[\]{}()]/.test(h)?(x.name="bracket",x.eos=/[\[{(]/.test(h),"["===h?o.indentation++:"]"===h&&(o.indentation=Math.max(0,o.indentation-1))):e.test(h)?(t.eatWhile(e),x.name="operator",x.eos=";"!==h):/\d/.test(h)?(t.eatWhile(/[\w\d]/),x.name="number"):/[\w_]/.test(h)?(t.eatWhile(/[\w\d_]/),x.name=o.expectVariable?n.test(t.current())?"keyword":"variable":null):x.eos=o.expectVariable,x},s=function(t,e){return t.eatWhile(/[^"]/),new i("comment",t.eat('"')?e.parent:e,!0)},u=function(t,e){return t.eatWhile(/[^']/),new i("string",t.eat("'")?e.parent:e,!1)},c=function(t,e){return t.eatWhile(/[^']/),new i("string-2",t.eat("'")?e.parent:e,!1)},l=function(t,e){var n=new i(null,e,!1);return"|"===t.next()?(n.context=e.parent,n.eos=!0):(t.eatWhile(/[^|]/),n.name="variable"),n};return{startState:function(){return new r},token:function(t,e){if(e.userIndent(t.indentation()),t.eatSpace())return null;var n=e.context.next(t,e.context,e);return e.context=n.context,e.expectVariable=n.eos,n.name},blankLine:function(t){t.userIndent(0)},indent:function(e,n){var a=e.context.next===o&&n&&"]"===n.charAt(0)?-1:e.userIndentationDelta;return(e.indentation+a)*t.indentUnit},electricChars:"]"}}),t.defineMIME("text/x-stsrc",{name:"smalltalk"})})}}); \ No newline at end of file diff --git a/build/codemirror/mode/88.d4151819.js b/build/codemirror/mode/88.a947c8ec.js similarity index 97% rename from build/codemirror/mode/88.d4151819.js rename to build/codemirror/mode/88.a947c8ec.js index 9b87b0e..ac52420 100644 --- a/build/codemirror/mode/88.d4151819.js +++ b/build/codemirror/mode/88.a947c8ec.js @@ -1 +1 @@ -webpackJsonp([56],{1013:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("smarty",function(e,n){function cont(t,e){return r=e,t}function doesNotCount(t,e){return null==e&&(e=t.pos),3===a&&"{"==o&&(e==t.string.length||/\s/.test(t.string.charAt(e)))}function tokenTop(t,e){for(var n=t.string,a=t.pos;;){var l=n.indexOf(o,a);if(a=l+o.length,-1==l||!doesNotCount(t,l+o.length))break}if(l==t.pos)return t.match(o),t.eat("*")?function chain(t,e,n){return e.tokenize=n,n(t,e)}(t,e,function tokenBlock(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=tokenTop;break}n.next()}return t}}("comment","*"+i)):(e.depth++,e.tokenize=tokenSmarty,r="startTag","tag");l>-1&&(t.string=n.slice(0,l));var f=u.token(t,e.base);return l>-1&&(t.string=n),f}function tokenSmarty(t,e){if(t.match(i,!0))return 3===a?(e.depth--,e.depth<=0&&(e.tokenize=tokenTop)):e.tokenize=tokenTop,cont("tag",null);if(t.match(o,!0))return e.depth++,cont("tag","startTag");var n=t.next();if("$"==n)return t.eatWhile(f.validIdentifier),cont("variable-2","variable");if("|"==n)return cont("operator","pipe");if("."==n)return cont("operator","property");if(f.stringChar.test(n))return e.tokenize=function tokenAttribute(t){return function(e,n){for(var r=null,i=null;!e.eol();){if(i=e.peek(),e.next()==t&&"\\"!==r){n.tokenize=tokenSmarty;break}r=i}return"string"}}(n),cont("string","string");if(f.operatorChars.test(n))return t.eatWhile(f.operatorChars),cont("operator","operator");if("["==n||"]"==n)return cont("bracket","bracket");if("("==n||")"==n)return cont("bracket","operator");if(/\d/.test(n))return t.eatWhile(/\d/),cont("number","number");if("variable"==e.last){if("@"==n)return t.eatWhile(f.validIdentifier),cont("property","property");if("|"==n)return t.eatWhile(f.validIdentifier),cont("qualifier","modifier")}else{if("pipe"==e.last)return t.eatWhile(f.validIdentifier),cont("qualifier","modifier");if("whitespace"==e.last)return t.eatWhile(f.validIdentifier),cont("attribute","modifier")}if("property"==e.last)return t.eatWhile(f.validIdentifier),cont("property",null);if(/\s/.test(n))return r="whitespace",null;var u="";"/"!=n&&(u+=n);for(var s=null;s=t.eat(f.validIdentifier);)u+=s;for(var c=0,d=l.length;c<d;c++)if(l[c]==u)return cont("keyword","keyword");return/\s/.test(n)?null:cont("tag","tag")}var r,i=n.rightDelimiter||"}",o=n.leftDelimiter||"{",a=n.version||2,u=t.getMode(e,n.baseMode||"null"),l=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/};return{startState:function(){return{base:t.startState(u),tokenize:tokenTop,last:null,depth:0}},copyState:function(e){return{base:t.copyState(u,e.base),tokenize:e.tokenize,last:e.last,depth:e.depth}},innerMode:function(t){if(t.tokenize==tokenTop)return{mode:u,state:t.base}},token:function(t,e){var n=e.tokenize(t,e);return e.last=r,n},indent:function(e,n){return e.tokenize==tokenTop&&u.indent?u.indent(e.base,n):t.Pass},blockCommentStart:o+"*",blockCommentEnd:"*"+i}}),t.defineMIME("text/x-smarty","smarty")})}}); \ No newline at end of file +webpackJsonp([55],{1012:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("smarty",function(e,n){function cont(t,e){return r=e,t}function doesNotCount(t,e){return null==e&&(e=t.pos),3===a&&"{"==o&&(e==t.string.length||/\s/.test(t.string.charAt(e)))}function tokenTop(t,e){for(var n=t.string,a=t.pos;;){var l=n.indexOf(o,a);if(a=l+o.length,-1==l||!doesNotCount(t,l+o.length))break}if(l==t.pos)return t.match(o),t.eat("*")?function chain(t,e,n){return e.tokenize=n,n(t,e)}(t,e,function tokenBlock(t,e){return function(n,r){for(;!n.eol();){if(n.match(e)){r.tokenize=tokenTop;break}n.next()}return t}}("comment","*"+i)):(e.depth++,e.tokenize=tokenSmarty,r="startTag","tag");l>-1&&(t.string=n.slice(0,l));var f=u.token(t,e.base);return l>-1&&(t.string=n),f}function tokenSmarty(t,e){if(t.match(i,!0))return 3===a?(e.depth--,e.depth<=0&&(e.tokenize=tokenTop)):e.tokenize=tokenTop,cont("tag",null);if(t.match(o,!0))return e.depth++,cont("tag","startTag");var n=t.next();if("$"==n)return t.eatWhile(f.validIdentifier),cont("variable-2","variable");if("|"==n)return cont("operator","pipe");if("."==n)return cont("operator","property");if(f.stringChar.test(n))return e.tokenize=function tokenAttribute(t){return function(e,n){for(var r=null,i=null;!e.eol();){if(i=e.peek(),e.next()==t&&"\\"!==r){n.tokenize=tokenSmarty;break}r=i}return"string"}}(n),cont("string","string");if(f.operatorChars.test(n))return t.eatWhile(f.operatorChars),cont("operator","operator");if("["==n||"]"==n)return cont("bracket","bracket");if("("==n||")"==n)return cont("bracket","operator");if(/\d/.test(n))return t.eatWhile(/\d/),cont("number","number");if("variable"==e.last){if("@"==n)return t.eatWhile(f.validIdentifier),cont("property","property");if("|"==n)return t.eatWhile(f.validIdentifier),cont("qualifier","modifier")}else{if("pipe"==e.last)return t.eatWhile(f.validIdentifier),cont("qualifier","modifier");if("whitespace"==e.last)return t.eatWhile(f.validIdentifier),cont("attribute","modifier")}if("property"==e.last)return t.eatWhile(f.validIdentifier),cont("property",null);if(/\s/.test(n))return r="whitespace",null;var u="";"/"!=n&&(u+=n);for(var s=null;s=t.eat(f.validIdentifier);)u+=s;for(var c=0,d=l.length;c<d;c++)if(l[c]==u)return cont("keyword","keyword");return/\s/.test(n)?null:cont("tag","tag")}var r,i=n.rightDelimiter||"}",o=n.leftDelimiter||"{",a=n.version||2,u=t.getMode(e,n.baseMode||"null"),l=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/};return{startState:function(){return{base:t.startState(u),tokenize:tokenTop,last:null,depth:0}},copyState:function(e){return{base:t.copyState(u,e.base),tokenize:e.tokenize,last:e.last,depth:e.depth}},innerMode:function(t){if(t.tokenize==tokenTop)return{mode:u,state:t.base}},token:function(t,e){var n=e.tokenize(t,e);return e.last=r,n},indent:function(e,n){return e.tokenize==tokenTop&&u.indent?u.indent(e.base,n):t.Pass},blockCommentStart:o+"*",blockCommentEnd:"*"+i}}),t.defineMIME("text/x-smarty","smarty")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/89.cb7c9282.js b/build/codemirror/mode/89.9ad95fdc.js similarity index 94% rename from build/codemirror/mode/89.cb7c9282.js rename to build/codemirror/mode/89.9ad95fdc.js index 84264ff..504ca9b 100644 --- a/build/codemirror/mode/89.cb7c9282.js +++ b/build/codemirror/mode/89.9ad95fdc.js @@ -1 +1 @@ -webpackJsonp([55],{1014:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("solr",function(){function tokenWord(t){return function(o,r){for(var i=t;(t=o.peek())&&null!=t.match(e);)i+=o.next();return r.tokenize=tokenBase,n.test(i)?"operator":function isNumber(e){return parseFloat(e).toString()===e}(i)?"number":":"==o.peek()?"field":"string"}}function tokenBase(n,o){var r=n.next();return'"'==r?o.tokenize=function tokenString(e){return function(t,n){for(var o,r=!1;null!=(o=t.next())&&(o!=e||r);)r=!r&&"\\"==o;return r||(n.tokenize=tokenBase),"string"}}(r):t.test(r)?o.tokenize=function tokenOperator(e){return function(t,n){var o="operator";return"+"==e?o+=" positive":"-"==e?o+=" negative":"|"==e?t.eat(/\|/):"&"==e?t.eat(/\&/):"^"==e&&(o+=" boost"),n.tokenize=tokenBase,o}}(r):e.test(r)&&(o.tokenize=tokenWord(r)),o.tokenize!=tokenBase?o.tokenize(n,o):null}var e=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,t=/[\|\!\+\-\*\?\~\^\&]/,n=/^(OR|AND|NOT|TO)$/i;return{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-solr","solr")})}}); \ No newline at end of file +webpackJsonp([54],{1013:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("solr",function(){function tokenWord(t){return function(o,r){for(var i=t;(t=o.peek())&&null!=t.match(e);)i+=o.next();return r.tokenize=tokenBase,n.test(i)?"operator":function isNumber(e){return parseFloat(e).toString()===e}(i)?"number":":"==o.peek()?"field":"string"}}function tokenBase(n,o){var r=n.next();return'"'==r?o.tokenize=function tokenString(e){return function(t,n){for(var o,r=!1;null!=(o=t.next())&&(o!=e||r);)r=!r&&"\\"==o;return r||(n.tokenize=tokenBase),"string"}}(r):t.test(r)?o.tokenize=function tokenOperator(e){return function(t,n){var o="operator";return"+"==e?o+=" positive":"-"==e?o+=" negative":"|"==e?t.eat(/\|/):"&"==e?t.eat(/\&/):"^"==e&&(o+=" boost"),n.tokenize=tokenBase,o}}(r):e.test(r)&&(o.tokenize=tokenWord(r)),o.tokenize!=tokenBase?o.tokenize(n,o):null}var e=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,t=/[\|\!\+\-\*\?\~\^\&]/,n=/^(OR|AND|NOT|TO)$/i;return{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-solr","solr")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/9.28f82480.js b/build/codemirror/mode/9.b84ed167.js similarity index 98% rename from build/codemirror/mode/9.28f82480.js rename to build/codemirror/mode/9.b84ed167.js index 2ae2bf2..cdfa20d 100644 --- a/build/codemirror/mode/9.28f82480.js +++ b/build/codemirror/mode/9.b84ed167.js @@ -1 +1 @@ -webpackJsonp([114],{922:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("coffeescript",function(e,n){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,n){if(e.sol()){null===n.scope.align&&(n.scope.align=!1);var a=n.scope.offset;if(e.eatSpace()){var l=e.indentation();return l>a&&"coffee"==n.scope.type?"indent":l<a?"dedent":null}a>0&&dedent(e,n)}if(e.eatSpace())return null;var m=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=longComment,n.tokenize(e,n);if("#"===m)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var k=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(k=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(k=!0),e.match(/^-?0(?![\dx])/i)&&(k=!0),k)return"number"}if(e.match(s))return n.tokenize=tokenFactory(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(u)){if("/"!=e.current()||e.match(/^.*\//,!1))return n.tokenize=tokenFactory(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(o)||e.match(f)?"operator":e.match(r)?"punctuation":e.match(d)?"atom":e.match(c)||n.prop&&e.match(i)?"property":e.match(p)?"keyword":e.match(i)?"variable":(e.next(),t)}function tokenFactory(e,o,r){return function(i,c){for(;!i.eol();)if(i.eatWhile(/[^'"\/\\]/),i.eat("\\")){if(i.next(),o&&i.eol())return r}else{if(i.match(e))return c.tokenize=tokenBase,r;i.eat(/['"\/]/)}return o&&(n.singleLineStringErrors?r=t:c.tokenize=tokenBase),r}}function longComment(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=tokenBase;break}e.eatWhile("#")}return"comment"}function indent(n,t,o){o=o||"coffee";for(var r=0,i=!1,c=null,f=t.scope;f;f=f.prev)if("coffee"===f.type||"}"==f.type){r=f.offset+e.indentUnit;break}"coffee"!==o?(i=null,c=n.column()+n.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:r,type:o,prev:t.scope,align:i,alignOffset:c}}function dedent(e,n){if(n.scope.prev){if("coffee"===n.scope.type){for(var t=e.indentation(),o=!1,r=n.scope;r;r=r.prev)if(t===r.offset){o=!0;break}if(!o)return!0;for(;n.scope.prev&&n.scope.offset!==t;)n.scope=n.scope.prev;return!1}return n.scope=n.scope.prev,!1}}var t="error",o=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,r=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,i=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,f=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),a=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],p=wordRegexp(a.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));a=wordRegexp(a);var s=/^('{3}|\"{3}|['\"])/,u=/^(\/{3}|\/)/,d=wordRegexp(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);return{startState:function(e){return{tokenize:tokenBase,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var o=null===n.scope.align&&n.scope;o&&e.sol()&&(o.align=!1);var r=function tokenLexer(e,n){var o=n.tokenize(e,n),r=e.current();"return"===r&&(n.dedent=!0),(("->"===r||"=>"===r)&&e.eol()||"indent"===o)&&indent(e,n);var i="[({".indexOf(r);if(-1!==i&&indent(e,n,"])}".slice(i,i+1)),a.exec(r)&&indent(e,n),"then"==r&&dedent(e,n),"dedent"===o&&dedent(e,n))return t;if(-1!==(i="])}".indexOf(r))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==r&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),o}(e,n);return r&&"comment"!=r&&(o&&(o.align=!0),n.prop="punctuation"==r&&"."==e.current()),r},indent:function(e,n){if(e.tokenize!=tokenBase)return 0;var t=e.scope,o=n&&"])}".indexOf(n.charAt(0))>-1;if(o)for(;"coffee"==t.type&&t.prev;)t=t.prev;var r=o&&t.type===n.charAt(0);return t.align?t.alignOffset-(r?1:0):(r?t.prev:t).offset},lineComment:"#",fold:"indent"}}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})}}); \ No newline at end of file +webpackJsonp([113],{919:function(e,n,t){!function(e){e(t(907))}(function(e){"use strict";e.defineMode("coffeescript",function(e,n){function wordRegexp(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}function tokenBase(e,n){if(e.sol()){null===n.scope.align&&(n.scope.align=!1);var a=n.scope.offset;if(e.eatSpace()){var l=e.indentation();return l>a&&"coffee"==n.scope.type?"indent":l<a?"dedent":null}a>0&&dedent(e,n)}if(e.eatSpace())return null;var m=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=longComment,n.tokenize(e,n);if("#"===m)return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var h=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(h=!0),e.match(/^-?\d+\.\d*/)&&(h=!0),e.match(/^-?\.\d+/)&&(h=!0),h)return"."==e.peek()&&e.backUp(1),"number";var k=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(k=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(k=!0),e.match(/^-?0(?![\dx])/i)&&(k=!0),k)return"number"}if(e.match(s))return n.tokenize=tokenFactory(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(u)){if("/"!=e.current()||e.match(/^.*\//,!1))return n.tokenize=tokenFactory(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(o)||e.match(f)?"operator":e.match(r)?"punctuation":e.match(d)?"atom":e.match(c)||n.prop&&e.match(i)?"property":e.match(p)?"keyword":e.match(i)?"variable":(e.next(),t)}function tokenFactory(e,o,r){return function(i,c){for(;!i.eol();)if(i.eatWhile(/[^'"\/\\]/),i.eat("\\")){if(i.next(),o&&i.eol())return r}else{if(i.match(e))return c.tokenize=tokenBase,r;i.eat(/['"\/]/)}return o&&(n.singleLineStringErrors?r=t:c.tokenize=tokenBase),r}}function longComment(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=tokenBase;break}e.eatWhile("#")}return"comment"}function indent(n,t,o){o=o||"coffee";for(var r=0,i=!1,c=null,f=t.scope;f;f=f.prev)if("coffee"===f.type||"}"==f.type){r=f.offset+e.indentUnit;break}"coffee"!==o?(i=null,c=n.column()+n.current().length):t.scope.align&&(t.scope.align=!1),t.scope={offset:r,type:o,prev:t.scope,align:i,alignOffset:c}}function dedent(e,n){if(n.scope.prev){if("coffee"===n.scope.type){for(var t=e.indentation(),o=!1,r=n.scope;r;r=r.prev)if(t===r.offset){o=!0;break}if(!o)return!0;for(;n.scope.prev&&n.scope.offset!==t;)n.scope=n.scope.prev;return!1}return n.scope=n.scope.prev,!1}}var t="error",o=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,r=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,i=/^[_A-Za-z$][_A-Za-z$0-9]*/,c=/^@[_A-Za-z$][_A-Za-z$0-9]*/,f=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),a=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],p=wordRegexp(a.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));a=wordRegexp(a);var s=/^('{3}|\"{3}|['\"])/,u=/^(\/{3}|\/)/,d=wordRegexp(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);return{startState:function(e){return{tokenize:tokenBase,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var o=null===n.scope.align&&n.scope;o&&e.sol()&&(o.align=!1);var r=function tokenLexer(e,n){var o=n.tokenize(e,n),r=e.current();"return"===r&&(n.dedent=!0),(("->"===r||"=>"===r)&&e.eol()||"indent"===o)&&indent(e,n);var i="[({".indexOf(r);if(-1!==i&&indent(e,n,"])}".slice(i,i+1)),a.exec(r)&&indent(e,n),"then"==r&&dedent(e,n),"dedent"===o&&dedent(e,n))return t;if(-1!==(i="])}".indexOf(r))){for(;"coffee"==n.scope.type&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==r&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&("coffee"==n.scope.type&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),o}(e,n);return r&&"comment"!=r&&(o&&(o.align=!0),n.prop="punctuation"==r&&"."==e.current()),r},indent:function(e,n){if(e.tokenize!=tokenBase)return 0;var t=e.scope,o=n&&"])}".indexOf(n.charAt(0))>-1;if(o)for(;"coffee"==t.type&&t.prev;)t=t.prev;var r=o&&t.type===n.charAt(0);return t.align?t.alignOffset-(r?1:0):(r?t.prev:t).offset},lineComment:"#",fold:"indent"}}),e.defineMIME("application/vnd.coffeescript","coffeescript"),e.defineMIME("text/x-coffeescript","coffeescript"),e.defineMIME("text/coffeescript","coffeescript")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/90.2b2a9b2a.js b/build/codemirror/mode/90.2b2a9b2a.js deleted file mode 100644 index 8ea7cf2..0000000 --- a/build/codemirror/mode/90.2b2a9b2a.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([10,12,33,89,111],{1015:function(e,t,r){!function(e){e(r(907),r(911))}(function(e){"use strict";var t=["template","literal","msg","fallbackmsg","let","if","elseif","else","switch","case","default","foreach","ifempty","for","call","param","deltemplate","delcall","log"];e.defineMode("soy",function(r){function last(e){return e[e.length-1]}function tokenUntil(e,t,r){if(e.sol()){for(var n=0;n<t.indent&&e.eat(/\s/);n++);if(n)return null}var o=e.string,a=r.exec(o.substr(e.pos));a&&(e.string=o.substr(0,e.pos+a.index));var i=e.hideFirstChars(t.indent,function(){var r=last(t.localStates);return r.mode.token(e,r.state)});return e.string=o,i}function prepend(e,t){return{element:t,next:e}}function ref(e,t,r){return function contains(e,t){for(;e;){if(e.element===t)return!0;e=e.next}return!1}(e,t)?"variable-2":r?"variable":"variable-2 error"}function popscope(e){e.scopes&&(e.variables=e.scopes.element,e.scopes=e.scopes.next)}var n=e.getMode(r,"text/plain"),o={html:e.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1}),attributes:n,text:n,uri:n,css:e.getMode(r,"text/css"),js:e.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};return{startState:function(){return{kind:[],kindTag:[],soyState:[],templates:null,variables:prepend(null,"ij"),scopes:null,indent:0,quoteKind:null,localStates:[{mode:o.html,state:e.startState(o.html)}]}},copyState:function(t){return{tag:t.tag,kind:t.kind.concat([]),kindTag:t.kindTag.concat([]),soyState:t.soyState.concat([]),templates:t.templates,variables:t.variables,scopes:t.scopes,indent:t.indent,quoteKind:t.quoteKind,localStates:t.localStates.map(function(t){return{mode:t.mode,state:e.copyState(t.mode,t.state)}})}},token:function(n,a){switch(last(a.soyState)){case"comment":if(n.match(/^.*?\*\//)?a.soyState.pop():n.skipToEnd(),!a.scopes)for(var i=/@param\??\s+(\S+)/g,s=n.current();p=i.exec(s);)a.variables=prepend(a.variables,p[1]);return"comment";case"templ-def":return(p=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(a.templates=prepend(a.templates,p[1]),a.scopes=prepend(a.scopes,a.variables),a.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(p=n.match(/^\.?([\w]+)/))?(a.soyState.pop(),"."==p[0][0]?ref(a.templates,p[1],!0):"variable"):(n.next(),null);case"param-def":return(p=n.match(/^\w+/))?(a.variables=prepend(a.variables,p[0]),a.soyState.pop(),a.soyState.push("param-type"),"def"):(n.next(),null);case"param-type":return"}"==n.peek()?(a.soyState.pop(),null):n.eatWhile(/^[\w]+/)?"variable-3":(n.next(),null);case"var-def":return(p=n.match(/^\$([\w]+)/))?(a.variables=prepend(a.variables,p[1]),a.soyState.pop(),"def"):(n.next(),null);case"tag":if(n.match(/^\/?}/))return"/template"==a.tag||"/deltemplate"==a.tag?(popscope(a),a.variables=prepend(null,"ij"),a.indent=0):("/for"!=a.tag&&"/foreach"!=a.tag||popscope(a),a.indent-=r.indentUnit*("/}"==n.current()||-1==t.indexOf(a.tag)?2:1)),a.soyState.pop(),"keyword";if(n.match(/^([\w?]+)(?==)/)){if("kind"==n.current()&&(p=n.match(/^="([^"]+)/,!1))){var l=p[1];a.kind.push(l),a.kindTag.push(a.tag);var c=o[l]||o.html;(u=last(a.localStates)).mode.indent&&(a.indent+=u.mode.indent(u.state,"")),a.localStates.push({mode:c,state:e.startState(c)})}return"attribute"}return(p=n.match(/^["']/))?(a.soyState.push("string"),a.quoteKind=p,"string"):(p=n.match(/^\$([\w]+)/))?ref(a.variables,p[1]):(p=n.match(/^\w+/))?/^(?:as|and|or|not|in)$/.test(p[0])?"keyword":null:(n.next(),null);case"literal":return n.match(/^(?=\{\/literal})/)?(a.indent-=r.indentUnit,a.soyState.pop(),this.token(n,a)):tokenUntil(n,a,/\{\/literal}/);case"string":var p;return(p=n.match(/^.*?(["']|\\[\s\S])/))?p[1]==a.quoteKind&&(a.quoteKind=null,a.soyState.pop()):n.skipToEnd(),"string"}if(n.match(/^\/\*/))return a.soyState.push("comment"),a.scopes||(a.variables=prepend(null,"ij")),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return a.scopes||(a.variables=prepend(null,"ij")),"comment";if(n.match(/^\{literal}/))return a.indent+=r.indentUnit,a.soyState.push("literal"),"keyword";if(p=n.match(/^\{([\/@\\]?\w+\??)(?=[\s\}])/)){if("/switch"!=p[1]&&(a.indent+=(/^(\/|(else|elseif|ifempty|case|fallbackmsg|default)$)/.test(p[1])&&"switch"!=a.tag?1:2)*r.indentUnit),a.tag=p[1],a.tag=="/"+last(a.kindTag)){a.kind.pop(),a.kindTag.pop(),a.localStates.pop();var u;(u=last(a.localStates)).mode.indent&&(a.indent-=u.mode.indent(u.state,""))}return a.soyState.push("tag"),"template"==a.tag||"deltemplate"==a.tag?a.soyState.push("templ-def"):"call"==a.tag||"delcall"==a.tag?a.soyState.push("templ-ref"):"let"==a.tag?a.soyState.push("var-def"):"for"==a.tag||"foreach"==a.tag?(a.scopes=prepend(a.scopes,a.variables),a.soyState.push("var-def")):"namespace"==a.tag?a.scopes||(a.variables=prepend(null,"ij")):a.tag.match(/^@(?:param\??|inject)/)&&a.soyState.push("param-def"),"keyword"}return n.eat("{")?(a.tag="print",a.indent+=2*r.indentUnit,a.soyState.push("tag"),"keyword"):tokenUntil(n,a,/\{|\s+\/\/|\/\*/)},indent:function(t,n){var o=t.indent,a=last(t.soyState);if("comment"==a)return e.Pass;if("literal"==a)/^\{\/literal}/.test(n)&&(o-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(n))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(n)&&(o-=r.indentUnit),"switch"!=t.tag&&/^\{(case|default)\b/.test(n)&&(o-=r.indentUnit),/^\{\/switch\b/.test(n)&&(o-=r.indentUnit)}var i=last(t.localStates);return o&&i.mode.indent&&(o+=i.mode.indent(i.state,n)),o},innerMode:function(e){return e.soyState.length&&"literal"!=last(e.soyState)?null:last(e.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),e.registerHelper("hintWords","soy",t.concat(["delpackage","namespace","alias","print","css","debugger"])),e.defineMIME("text/x-soy","soy")})},908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^\s*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=x}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"variable"==e?c&&"type"==t?(g.marked="keyword",cont(typeexpr,expect("operator"),typeexpr,expect(";"))):c&&"declare"==t?(g.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"class"==e?cont(pushlex("form"),className,poplex):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"module"==e?cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e){return expressionInner(e,!1)}function expressionNoComma(e){return expressionInner(e,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t){if(g.state.fatArrowAt==g.stream.start){var r=t?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),r,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),r,popcontext)}var n=t?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(n):"function"==e?cont(functiondef,n):"class"==e?cont(pushlex("form"),classExpression,poplex):"keyword c"==e||"async"==e?cont(t?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,n):"operator"==e||"spread"==e?cont(t?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,n):"{"==e?contCommasep(objprop,"}",null,n):"quasi"==e?pass(quasi,n):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(t)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):"modifier"==e?cont(objprop):"["==e?cont(expression,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t?cont(typeexpr):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function vardef(){return pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return"modifier"==e?cont(pattern):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,maybetype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e||"modifier"==e?cont(funarg):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?cont(c?typeexpr:expression,classNameAfter):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"modifier"==e||"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t)&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"},i={if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r};if(c){var s={type:"variable",style:"type"},l={interface:kw("class"),implements:r,namespace:r,module:kw("module"),enum:kw("module"),public:kw("modifier"),private:kw("modifier"),protected:kw("modifier"),abstract:kw("modifier"),readonly:kw("modifier"),string:s,number:s,boolean:s,any:s};for(var p in l)i[p]=l[p]}return i}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},x={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return p="error",closeStateErr}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=x.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},x=r.valueKeywords||{},b=r.allowNested,y=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):b?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&b)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,b?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":x.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,b?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):"u"==r&&e.match(/rl(-prefix)?\(/)||"d"==r&&e.match("omain(")||"r"==r&&e.match("egexp(")?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),x=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],b=keySet(x),y=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(x);e.registerHelper("hintWords","css",y),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:b,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:b,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/90.dc5cad7b.js b/build/codemirror/mode/90.dc5cad7b.js new file mode 100644 index 0000000..b40e732 --- /dev/null +++ b/build/codemirror/mode/90.dc5cad7b.js @@ -0,0 +1 @@ +webpackJsonp([10,12,32,88,110],{1014:function(e,t,r){!function(e){e(r(907),r(911))}(function(e){"use strict";var t=["template","literal","msg","fallbackmsg","let","if","elseif","else","switch","case","default","foreach","ifempty","for","call","param","deltemplate","delcall","log"];e.defineMode("soy",function(r){function last(e){return e[e.length-1]}function tokenUntil(e,t,r){if(e.sol()){for(var n=0;n<t.indent&&e.eat(/\s/);n++);if(n)return null}var o=e.string,a=r.exec(o.substr(e.pos));a&&(e.string=o.substr(0,e.pos+a.index));var i=e.hideFirstChars(t.indent,function(){var r=last(t.localStates);return r.mode.token(e,r.state)});return e.string=o,i}function prepend(e,t){return{element:t,next:e}}function ref(e,t,r){return function contains(e,t){for(;e;){if(e.element===t)return!0;e=e.next}return!1}(e,t)?"variable-2":r?"variable":"variable-2 error"}function popscope(e){e.scopes&&(e.variables=e.scopes.element,e.scopes=e.scopes.next)}var n=e.getMode(r,"text/plain"),o={html:e.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1}),attributes:n,text:n,uri:n,css:e.getMode(r,"text/css"),js:e.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};return{startState:function(){return{kind:[],kindTag:[],soyState:[],templates:null,variables:prepend(null,"ij"),scopes:null,indent:0,quoteKind:null,localStates:[{mode:o.html,state:e.startState(o.html)}]}},copyState:function(t){return{tag:t.tag,kind:t.kind.concat([]),kindTag:t.kindTag.concat([]),soyState:t.soyState.concat([]),templates:t.templates,variables:t.variables,scopes:t.scopes,indent:t.indent,quoteKind:t.quoteKind,localStates:t.localStates.map(function(t){return{mode:t.mode,state:e.copyState(t.mode,t.state)}})}},token:function(n,a){switch(last(a.soyState)){case"comment":if(n.match(/^.*?\*\//)?a.soyState.pop():n.skipToEnd(),!a.scopes)for(var i=/@param\??\s+(\S+)/g,s=n.current();l=i.exec(s);)a.variables=prepend(a.variables,l[1]);return"comment";case"string":var l;return(l=n.match(/^.*?(["']|\\[\s\S])/))?l[1]==a.quoteKind&&(a.quoteKind=null,a.soyState.pop()):n.skipToEnd(),"string"}if(n.match(/^\/\*/))return a.soyState.push("comment"),"comment";if(n.match(n.sol()||a.soyState.length&&"literal"!=last(a.soyState)?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment";switch(last(a.soyState)){case"templ-def":return(l=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(a.templates=prepend(a.templates,l[1]),a.scopes=prepend(a.scopes,a.variables),a.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(l=n.match(/^\.?([\w]+)/))?(a.soyState.pop(),"."==l[0][0]?ref(a.templates,l[1],!0):"variable"):(n.next(),null);case"param-def":return(l=n.match(/^\w+/))?(a.variables=prepend(a.variables,l[0]),a.soyState.pop(),a.soyState.push("param-type"),"def"):(n.next(),null);case"param-type":return"}"==n.peek()?(a.soyState.pop(),null):n.eatWhile(/^[\w]+/)?"variable-3":(n.next(),null);case"var-def":return(l=n.match(/^\$([\w]+)/))?(a.variables=prepend(a.variables,l[1]),a.soyState.pop(),"def"):(n.next(),null);case"tag":if(n.match(/^\/?}/))return"/template"==a.tag||"/deltemplate"==a.tag?(popscope(a),a.variables=prepend(null,"ij"),a.indent=0):("/for"!=a.tag&&"/foreach"!=a.tag||popscope(a),a.indent-=r.indentUnit*("/}"==n.current()||-1==t.indexOf(a.tag)?2:1)),a.soyState.pop(),"keyword";if(n.match(/^([\w?]+)(?==)/)){if("kind"==n.current()&&(l=n.match(/^="([^"]+)/,!1))){var c=l[1];a.kind.push(c),a.kindTag.push(a.tag);var p=o[c]||o.html;(u=last(a.localStates)).mode.indent&&(a.indent+=u.mode.indent(u.state,"")),a.localStates.push({mode:p,state:e.startState(p)})}return"attribute"}return(l=n.match(/^["']/))?(a.soyState.push("string"),a.quoteKind=l,"string"):(l=n.match(/^\$([\w]+)/))?ref(a.variables,l[1]):(l=n.match(/^\w+/))?/^(?:as|and|or|not|in)$/.test(l[0])?"keyword":null:(n.next(),null);case"literal":return n.match(/^(?=\{\/literal})/)?(a.indent-=r.indentUnit,a.soyState.pop(),this.token(n,a)):tokenUntil(n,a,/\{\/literal}/)}if(n.match(/^\{literal}/))return a.indent+=r.indentUnit,a.soyState.push("literal"),"keyword";if(l=n.match(/^\{([\/@\\]?\w+\??)(?=[\s\}]|\/[/*])/)){if("/switch"!=l[1]&&(a.indent+=(/^(\/|(else|elseif|ifempty|case|fallbackmsg|default)$)/.test(l[1])&&"switch"!=a.tag?1:2)*r.indentUnit),a.tag=l[1],a.tag=="/"+last(a.kindTag)){a.kind.pop(),a.kindTag.pop(),a.localStates.pop();var u;(u=last(a.localStates)).mode.indent&&(a.indent-=u.mode.indent(u.state,""))}return a.soyState.push("tag"),"template"==a.tag||"deltemplate"==a.tag?a.soyState.push("templ-def"):"call"==a.tag||"delcall"==a.tag?a.soyState.push("templ-ref"):"let"==a.tag?a.soyState.push("var-def"):"for"==a.tag||"foreach"==a.tag?(a.scopes=prepend(a.scopes,a.variables),a.soyState.push("var-def")):"namespace"==a.tag?a.scopes||(a.variables=prepend(null,"ij")):a.tag.match(/^@(?:param\??|inject)/)&&a.soyState.push("param-def"),"keyword"}return n.eat("{")?(a.tag="print",a.indent+=2*r.indentUnit,a.soyState.push("tag"),"keyword"):tokenUntil(n,a,/\{|\s+\/\/|\/\*/)},indent:function(t,n){var o=t.indent,a=last(t.soyState);if("comment"==a)return e.Pass;if("literal"==a)/^\{\/literal}/.test(n)&&(o-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(n))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(n)&&(o-=r.indentUnit),"switch"!=t.tag&&/^\{(case|default)\b/.test(n)&&(o-=r.indentUnit),/^\{\/switch\b/.test(n)&&(o-=r.indentUnit)}var i=last(t.localStates);return o&&i.mode.indent&&(o+=i.mode.indent(i.state,n)),o},innerMode:function(e){return e.soyState.length&&"literal"!=last(e.soyState)?null:last(e.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),e.registerHelper("hintWords","soy",t.concat(["delpackage","namespace","alias","print","css","debugger"])),e.defineMIME("text/x-soy","soy")})},908:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("javascript",function(t,r){function ret(e,t,r){return n=e,o=r,t}function tokenBase(e,t){var r=e.next();if('"'==r||"'"==r)return t.tokenize=function tokenString(e){return function(t,r){var n,o=!1;if(s&&"@"==t.peek()&&t.match(m))return r.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(n=t.next())&&(n!=e||o);)o=!o&&"\\"==n;return o||(r.tokenize=tokenBase),ret("string","string")}}(r),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return ret("number","number");if("."==r&&e.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return ret(r);if("="==r&&e.eat(">"))return ret("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),ret("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),ret("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),ret("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),ret("number","number");if("/"==r)return e.eat("*")?(t.tokenize=tokenComment,tokenComment(e,t)):e.eat("/")?(e.skipToEnd(),ret("comment","comment")):expressionAllowed(e,t,1)?(function readRegexp(e){for(var t,r=!1,n=!1;null!=(t=e.next());){if(!r){if("/"==t&&!n)return;"["==t?n=!0:n&&"]"==t&&(n=!1)}r=!r&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),ret("regexp","string-2")):(e.eat("="),ret("operator","operator",e.current()));if("`"==r)return t.tokenize=tokenQuasi,tokenQuasi(e,t);if("#"==r)return e.skipToEnd(),ret("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),ret("operator","operator",e.current());if(p.test(r)){e.eatWhile(p);var n=e.current();if("."!=t.lastType){if(u.propertyIsEnumerable(n)){var o=u[n];return ret(o.type,o.style,n)}if("async"==n&&e.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,!1))return ret("async","keyword",n)}return ret("variable","variable",n)}}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("/"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return ret("comment","comment")}function tokenQuasi(e,t){for(var r,n=!1;null!=(r=e.next());){if(!n&&("`"==r||"$"==r&&e.eat("{"))){t.tokenize=tokenBase;break}n=!n&&"\\"==r}return ret("quasi","string-2",e.current())}function findFatArrow(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var r=e.string.indexOf("=>",e.start);if(!(r<0)){if(c){var n=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,r));n&&(r=n.index)}for(var o=0,a=!1,i=r-1;i>=0;--i){var s=e.string.charAt(i),l=f.indexOf(s);if(l>=0&&l<3){if(!o){++i;break}if(0==--o){"("==s&&(a=!0);break}}else if(l>=3&&l<6)++o;else if(p.test(s))a=!0;else{if(/["'\/]/.test(s))return;if(a&&!o){++i;break}}}a&&!o&&(t.fatArrowAt=i)}}function JSLexical(e,t,r,n,o,a){this.indented=e,this.column=t,this.type=r,this.prev=o,this.info=a,null!=n&&(this.align=n)}function inScope(e,t){for(var r=e.localVars;r;r=r.next)if(r.name==t)return!0;for(var n=e.context;n;n=n.prev)for(r=n.vars;r;r=r.next)if(r.name==t)return!0}function pass(){for(var e=arguments.length-1;e>=0;e--)g.cc.push(arguments[e])}function cont(){return pass.apply(null,arguments),!0}function register(e){function inList(t){for(var r=t;r;r=r.next)if(r.name==e)return!0;return!1}var t=g.state;if(g.marked="def",t.context){if(inList(t.localVars))return;t.localVars={name:e,next:t.localVars}}else{if(inList(t.globalVars))return;r.globalVars&&(t.globalVars={name:e,next:t.globalVars})}}function isModifier(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}function pushcontext(){g.state.context={prev:g.state.context,vars:g.state.localVars},g.state.localVars=y}function popcontext(){g.state.localVars=g.state.context.vars,g.state.context=g.state.context.prev}function pushlex(e,t){var r=function(){var r=g.state,n=r.indented;if("stat"==r.lexical.type)n=r.lexical.indented;else for(var o=r.lexical;o&&")"==o.type&&o.align;o=o.prev)n=o.indented;r.lexical=new JSLexical(n,g.stream.column(),e,null,r.lexical,t)};return r.lex=!0,r}function poplex(){var e=g.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function expect(e){function exp(t){return t==e?cont():";"==e?pass():cont(exp)}return exp}function statement(e,t){return"var"==e?cont(pushlex("vardef",t.length),vardef,expect(";"),poplex):"keyword a"==e?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==e?cont(pushlex("form"),statement,poplex):"keyword d"==e?g.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==e?cont(expect(";")):"{"==e?cont(pushlex("}"),block,poplex):";"==e?cont():"if"==e?("else"==g.state.lexical.info&&g.state.cc[g.state.cc.length-1]==poplex&&g.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==e?cont(functiondef):"for"==e?cont(pushlex("form"),forspec,statement,poplex):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),className,poplex)):"variable"==e?c&&"declare"==t?(g.marked="keyword",cont(statement)):c&&("module"==t||"enum"==t||"type"==t)&&g.stream.match(/^\s*\w/,!1)?(g.marked="keyword","enum"==t?cont(enumdef):"type"==t?cont(typeexpr,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):c&&"namespace"==t?(g.marked="keyword",cont(pushlex("form"),expression,block,poplex)):cont(pushlex("stat"),maybelabel):"switch"==e?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),block,poplex,poplex):"case"==e?cont(expression,expect(":")):"default"==e?cont(expect(":")):"catch"==e?cont(pushlex("form"),pushcontext,expect("("),funarg,expect(")"),statement,poplex,popcontext):"export"==e?cont(pushlex("stat"),afterExport,poplex):"import"==e?cont(pushlex("stat"),afterImport,poplex):"async"==e?cont(statement):"@"==t?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function expression(e,t){return expressionInner(e,t,!1)}function expressionNoComma(e,t){return expressionInner(e,t,!0)}function parenExpr(e){return"("!=e?pass():cont(pushlex(")"),expression,expect(")"),poplex)}function expressionInner(e,t,r){if(g.state.fatArrowAt==g.stream.start){var n=r?arrowBodyNoComma:arrowBody;if("("==e)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),n,popcontext);if("variable"==e)return pass(pushcontext,pattern,expect("=>"),n,popcontext)}var o=r?maybeoperatorNoComma:maybeoperatorComma;return h.hasOwnProperty(e)?cont(o):"function"==e?cont(functiondef,o):"class"==e||c&&"interface"==t?(g.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==e||"async"==e?cont(r?expressionNoComma:expression):"("==e?cont(pushlex(")"),maybeexpression,expect(")"),poplex,o):"operator"==e||"spread"==e?cont(r?expressionNoComma:expression):"["==e?cont(pushlex("]"),arrayLiteral,poplex,o):"{"==e?contCommasep(objprop,"}",null,o):"quasi"==e?pass(quasi,o):"new"==e?cont(function maybeTarget(e){return function(t){return"."==t?cont(e?targetNoComma:target):"variable"==t&&c?cont(maybeTypeArgs,e?maybeoperatorNoComma:maybeoperatorComma):pass(e?expressionNoComma:expression)}}(r)):cont()}function maybeexpression(e){return e.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(e,t){return","==e?cont(expression):maybeoperatorNoComma(e,t,!1)}function maybeoperatorNoComma(e,t,r){var n=0==r?maybeoperatorComma:maybeoperatorNoComma,o=0==r?expression:expressionNoComma;return"=>"==e?cont(pushcontext,r?arrowBodyNoComma:arrowBody,popcontext):"operator"==e?/\+\+|--/.test(t)||c&&"!"==t?cont(n):c&&"<"==t&&g.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,n):"?"==t?cont(expression,expect(":"),o):cont(o):"quasi"==e?pass(quasi,n):";"!=e?"("==e?contCommasep(expressionNoComma,")","call",n):"."==e?cont(property,n):"["==e?cont(pushlex("]"),maybeexpression,expect("]"),poplex,n):c&&"as"==t?(g.marked="keyword",cont(typeexpr,n)):"regexp"==e?(g.state.lastType=g.marked="operator",g.stream.backUp(g.stream.pos-g.stream.start-1),cont(o)):void 0:void 0}function quasi(e,t){return"quasi"!=e?pass():"${"!=t.slice(t.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(e){if("}"==e)return g.marked="string-2",g.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expression)}function arrowBodyNoComma(e){return findFatArrow(g.stream,g.state),pass("{"==e?statement:expressionNoComma)}function target(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(e,t){if("target"==t)return g.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(e){return":"==e?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(e){if("variable"==e)return g.marked="property",cont()}function objprop(e,t){if("async"==e)return g.marked="property",cont(objprop);if("variable"==e||"keyword"==g.style){if(g.marked="property","get"==t||"set"==t)return cont(getterSetter);var r;return c&&g.state.fatArrowAt==g.stream.start&&(r=g.stream.match(/^\s*:\s*/,!1))&&(g.state.fatArrowAt=g.stream.pos+r[0].length),cont(afterprop)}return"number"==e||"string"==e?(g.marked=s?"property":g.style+" property",cont(afterprop)):"jsonld-keyword"==e?cont(afterprop):c&&isModifier(t)?(g.marked="keyword",cont(objprop)):"["==e?cont(expression,maybetype,expect("]"),afterprop):"spread"==e?cont(expressionNoComma,afterprop):"*"==t?(g.marked="keyword",cont(objprop)):":"==e?pass(afterprop):void 0}function getterSetter(e){return"variable"!=e?pass(afterprop):(g.marked="property",cont(functiondef))}function afterprop(e){return":"==e?cont(expressionNoComma):"("==e?pass(functiondef):void 0}function commasep(e,t,r){function proceed(n,o){if(r?r.indexOf(n)>-1:","==n){var a=g.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),cont(function(r,n){return r==t||n==t?pass():pass(e)},proceed)}return n==t||o==t?cont():cont(expect(t))}return function(r,n){return r==t||n==t?cont():pass(e,proceed)}}function contCommasep(e,t,r){for(var n=3;n<arguments.length;n++)g.cc.push(arguments[n]);return cont(pushlex(t,r),commasep(e,t),poplex)}function block(e){return"}"==e?cont():pass(statement,block)}function maybetype(e,t){if(c){if(":"==e)return cont(typeexpr);if("?"==t)return cont(maybetype)}}function mayberettype(e){if(c&&":"==e)return g.stream.match(/^\s*\w+\s+is\b/,!1)?cont(expression,isKW,typeexpr):cont(typeexpr)}function isKW(e,t){if("is"==t)return g.marked="keyword",cont()}function typeexpr(e,t){return"variable"==e||"void"==t?"keyof"==t?(g.marked="keyword",cont(typeexpr)):(g.marked="type",cont(afterType)):"string"==e||"number"==e||"atom"==e?cont(afterType):"["==e?cont(pushlex("]"),commasep(typeexpr,"]",","),poplex,afterType):"{"==e?cont(pushlex("}"),commasep(typeprop,"}",",;"),poplex,afterType):"("==e?cont(commasep(typearg,")"),maybeReturnType):void 0}function maybeReturnType(e){if("=>"==e)return cont(typeexpr)}function typeprop(e,t){return"variable"==e||"keyword"==g.style?(g.marked="property",cont(typeprop)):"?"==t?cont(typeprop):":"==e?cont(typeexpr):"["==e?cont(expression,maybetype,expect("]"),typeprop):void 0}function typearg(e){return"variable"==e?cont(typearg):":"==e?cont(typeexpr):void 0}function afterType(e,t){return"<"==t?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==t||"."==e?cont(typeexpr):"["==e?cont(expect("]"),afterType):"extends"==t||"implements"==t?(g.marked="keyword",cont(typeexpr)):void 0}function maybeTypeArgs(e,t){if("<"==t)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(e,t){if("="==t)return cont(typeexpr)}function vardef(e,t){return"enum"==t?(g.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(e,t){return c&&isModifier(t)?(g.marked="keyword",cont(pattern)):"variable"==e?(register(t),cont()):"spread"==e?cont(pattern):"["==e?contCommasep(pattern,"]"):"{"==e?contCommasep(proppattern,"}"):void 0}function proppattern(e,t){return"variable"!=e||g.stream.match(/^\s*:/,!1)?("variable"==e&&(g.marked="property"),"spread"==e?cont(pattern):"}"==e?pass():cont(expect(":"),pattern,maybeAssign)):(register(t),cont(maybeAssign))}function maybeAssign(e,t){if("="==t)return cont(expressionNoComma)}function vardefCont(e){if(","==e)return cont(vardef)}function maybeelse(e,t){if("keyword b"==e&&"else"==t)return cont(pushlex("form","else"),statement,poplex)}function forspec(e){if("("==e)return cont(pushlex(")"),forspec1,expect(")"),poplex)}function forspec1(e){return"var"==e?cont(vardef,expect(";"),forspec2):";"==e?cont(forspec2):"variable"==e?cont(formaybeinof):pass(expression,expect(";"),forspec2)}function formaybeinof(e,t){return"in"==t||"of"==t?(g.marked="keyword",cont(expression)):cont(maybeoperatorComma,forspec2)}function forspec2(e,t){return";"==e?cont(forspec3):"in"==t||"of"==t?(g.marked="keyword",cont(expression)):pass(expression,expect(";"),forspec3)}function forspec3(e){")"!=e&&cont(expression)}function functiondef(e,t){return"*"==t?(g.marked="keyword",cont(functiondef)):"variable"==e?(register(t),cont(functiondef)):"("==e?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):c&&"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function funarg(e,t){return"@"==t&&cont(expression,funarg),"spread"==e?cont(funarg):c&&isModifier(t)?(g.marked="keyword",cont(funarg)):pass(pattern,maybetype,maybeAssign)}function classExpression(e,t){return"variable"==e?className(e,t):classNameAfter(e,t)}function className(e,t){if("variable"==e)return register(t),cont(classNameAfter)}function classNameAfter(e,t){return"<"==t?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==t||"implements"==t||c&&","==e?("implements"==t&&(g.marked="keyword"),cont(c?typeexpr:expression,classNameAfter)):"{"==e?cont(pushlex("}"),classBody,poplex):void 0}function classBody(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||c&&isModifier(t))&&g.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(g.marked="keyword",cont(classBody)):"variable"==e||"keyword"==g.style?(g.marked="property",cont(c?classfield:functiondef,classBody)):"["==e?cont(expression,maybetype,expect("]"),c?classfield:functiondef,classBody):"*"==t?(g.marked="keyword",cont(classBody)):";"==e?cont(classBody):"}"==e?cont():"@"==t?cont(expression,classBody):void 0}function classfield(e,t){return"?"==t?cont(classfield):":"==e?cont(typeexpr,maybeAssign):"="==t?cont(expressionNoComma):pass(functiondef)}function afterExport(e,t){return"*"==t?(g.marked="keyword",cont(maybeFrom,expect(";"))):"default"==t?(g.marked="keyword",cont(expression,expect(";"))):"{"==e?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(e,t){return"as"==t?(g.marked="keyword",cont(expect("variable"))):"variable"==e?pass(expressionNoComma,exportField):void 0}function afterImport(e){return"string"==e?cont():pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(e,t){return"{"==e?contCommasep(importSpec,"}"):("variable"==e&&register(t),"*"==t&&(g.marked="keyword"),cont(maybeAs))}function maybeMoreImports(e){if(","==e)return cont(importSpec,maybeMoreImports)}function maybeAs(e,t){if("as"==t)return g.marked="keyword",cont(importSpec)}function maybeFrom(e,t){if("from"==t)return g.marked="keyword",cont(expression)}function arrayLiteral(e){return"]"==e?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(e,t,r){return t.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(r||0)))}var n,o,a=t.indentUnit,i=r.statementIndent,s=r.jsonld,l=r.json||s,c=r.typescript,p=r.wordCharacters||/[\w$\xa1-\uffff]/,u=function(){function kw(e){return{type:e,style:"keyword"}}var e=kw("keyword a"),t=kw("keyword b"),r=kw("keyword c"),n=kw("keyword d"),o=kw("operator"),a={type:"atom",style:"atom"};return{if:kw("if"),while:e,with:e,else:t,do:t,try:t,finally:t,return:n,break:n,continue:n,new:kw("new"),delete:r,void:r,throw:r,debugger:kw("debugger"),var:kw("var"),const:kw("var"),let:kw("var"),function:kw("function"),catch:kw("catch"),for:kw("for"),switch:kw("switch"),case:kw("case"),default:kw("default"),in:o,typeof:o,instanceof:o,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:kw("this"),class:kw("class"),super:kw("atom"),yield:r,export:kw("export"),import:kw("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,m=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/,f="([{}])",h={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0},g={state:null,column:null,marked:null,cc:null},y={name:"this",next:{name:"arguments"}};return poplex.lex=!0,{startState:function(e){var t={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((e||0)-a,0,"block",!1),localVars:r.localVars,context:r.localVars&&{vars:r.localVars},indented:e||0};return r.globalVars&&"object"==typeof r.globalVars&&(t.globalVars=r.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),findFatArrow(e,t)),t.tokenize!=tokenComment&&e.eatSpace())return null;var r=t.tokenize(e,t);return"comment"==n?r:(t.lastType="operator"!=n||"++"!=o&&"--"!=o?n:"incdec",function parseJS(e,t,r,n,o){var a=e.cc;for(g.state=e,g.stream=o,g.marked=null,g.cc=a,g.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;)if((a.length?a.pop():l?expression:statement)(r,n)){for(;a.length&&a[a.length-1].lex;)a.pop()();return g.marked?g.marked:"variable"==r&&inScope(e,n)?"variable-2":t}}(t,r,n,o,e))},indent:function(t,n){if(t.tokenize==tokenComment)return e.Pass;if(t.tokenize!=tokenBase)return 0;var o,s=n&&n.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(n))for(var c=t.cc.length-1;c>=0;--c){var p=t.cc[c];if(p==poplex)l=l.prev;else if(p!=maybeelse)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==maybeoperatorComma||o==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(n));)l=l.prev;i&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var u=l.type,m=s==u;return"vardef"==u?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==u&&"{"==s?l.indented:"form"==u?l.indented+a:"stat"==u?l.indented+(function isContinuedStatement(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,n)?i||a:0):"switch"!=l.info||m||0==r.doubleIndentSwitch?l.align?l.column+(m?0:1):l.indented+(m?0:a):l.indented+(/^(?:case|default)\b/.test(n)?a:2*a)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:expressionAllowed,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=expression&&t!=expressionNoComma||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})})},909:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(n,o){function inText(e,t){function chain(r){return t.tokenize=r,r(e,t)}var r=e.next();if("<"==r)return e.eat("!")?e.eat("[")?e.match("CDATA[")?chain(inBlock("atom","]]>")):null:e.match("--")?chain(inBlock("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),chain(doctype(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=inBlock("meta","?>"),"meta"):(c=e.eat("/")?"closeTag":"openTag",t.tokenize=inTag,"tag bracket");if("&"==r){return(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error"}return e.eatWhile(/[^&<]/),null}function inTag(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=inText,c=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return c="equals",null;if("<"==r){t.tokenize=inText,t.state=baseState,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=function inAttribute(e){var t=function(t,r){for(;!t.eol();)if(t.next()==e){r.tokenize=inTag;break}return"string"};return t.isInAttribute=!0,t}(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(e,t){return function(r,n){for(;!r.eol();){if(r.match(t)){n.tokenize=inText;break}r.next()}return e}}function doctype(e){return function(t,r){for(var n;null!=(n=t.next());){if("<"==n)return r.tokenize=doctype(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=inText;break}return r.tokenize=doctype(e-1),r.tokenize(t,r)}}return"meta"}}function popContext(e){e.context&&(e.context=e.context.prev)}function maybePopContext(e,t){for(var r;;){if(!e.context)return;if(r=e.context.tagName,!i.contextGrabbers.hasOwnProperty(r)||!i.contextGrabbers[r].hasOwnProperty(t))return;popContext(e)}}function baseState(e,t,r){return"openTag"==e?(r.tagStart=t.column(),tagNameState):"closeTag"==e?closeTagNameState:baseState}function tagNameState(e,t,r){return"word"==e?(r.tagName=t.current(),p="tag",attrState):i.allowMissingTagName&&"endTag"==e?(p="tag bracket",attrState(e,t,r)):(p="error",tagNameState)}function closeTagNameState(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&i.implicitlyClosed.hasOwnProperty(r.context.tagName)&&popContext(r),r.context&&r.context.tagName==n||!1===i.matchClosing?(p="tag",closeState):(p="tag error",closeStateErr)}return i.allowMissingTagName&&"endTag"==e?(p="tag bracket",closeState(e,t,r)):(p="error",closeStateErr)}function closeState(e,t,r){return"endTag"!=e?(p="error",closeState):(popContext(r),baseState)}function closeStateErr(e,t,r){return p="error",closeState(e,0,r)}function attrState(e,t,r){if("word"==e)return p="attribute",attrEqState;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,o=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||i.autoSelfClosers.hasOwnProperty(n)?maybePopContext(r,n):(maybePopContext(r,n),r.context=new function Context(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(i.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(r,n,o==r.indented)),baseState}return p="error",attrState}function attrEqState(e,t,r){return"equals"==e?attrValueState:(i.allowMissing||(p="error"),attrState(e,0,r))}function attrValueState(e,t,r){return"string"==e?attrContinuedState:"word"==e&&i.allowUnquoted?(p="string",attrState):(p="error",attrState(e,0,r))}function attrContinuedState(e,t,r){return"string"==e?attrContinuedState:attrState(e,0,r)}var a=n.indentUnit,i={},s=o.htmlMode?t:r;for(var l in s)i[l]=s[l];for(var l in o)i[l]=o[l];var c,p;return inText.isInText=!0,{startState:function(e){var t={tokenize:inText,state:baseState,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;c=null;var r=t.tokenize(e,t);return(r||c)&&"comment"!=r&&(p=null,t.state=t.state(c||r,e,t),p&&(r="error"==p?r+" error":p)),r},indent:function(t,r,n){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+a;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=inTag&&t.tokenize!=inText)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==i.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+a*(i.multilineTagIndentFactor||1);if(i.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var s=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(s&&s[1])for(;o;){if(o.tagName==s[2]){o=o.prev;break}if(!i.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(s)for(;o;){var l=i.contextGrabbers[o.tagName];if(!l||!l.hasOwnProperty(s[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+a:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:i.htmlMode?"html":"xml",helperType:i.htmlMode?"html":"xml",skipAttribute:function(e){e.state==attrValueState&&(e.state=attrState)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})})},910:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r].toLowerCase()]=!0;return t}function tokenCComment(e,t){for(var r,n=!1;null!=(r=e.next());){if(n&&"/"==r){t.tokenize=null;break}n="*"==r}return["comment","comment"]}e.defineMode("css",function(t,r){function ret(e,t){return o=t,e}function tokenString(e){return function(t,r){for(var n,o=!1;null!=(n=t.next());){if(n==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==n}return(n==e||!o&&")"!=e)&&(r.tokenize=null),ret("string","string")}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),ret(null,"(")}function Context(e,t,r){this.type=e,this.indent=t,this.prev=r}function pushContext(e,t,r,n){return e.context=new Context(r,t.indentation()+(!1===n?0:i),e.context),r}function popContext(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function pass(e,t,r){return w[r.context.type](e,t,r)}function popAndPass(e,t,r,n){for(var o=n||1;o>0;o--)r.context=r.context.prev;return pass(e,t,r)}function wordAsValue(e){var t=e.current().toLowerCase();a=y.hasOwnProperty(t)?"atom":g.hasOwnProperty(t)?"keyword":"variable"}var n=r.inline;r.propertyKeywords||(r=e.resolveMode("text/css"));var o,a,i=t.indentUnit,s=r.tokenHooks,l=r.documentTypes||{},c=r.mediaTypes||{},p=r.mediaFeatures||{},u=r.mediaValueKeywords||{},d=r.propertyKeywords||{},m=r.nonStandardPropertyKeywords||{},f=r.fontProperties||{},h=r.counterDescriptors||{},g=r.colorKeywords||{},y=r.valueKeywords||{},x=r.allowNested,b=r.lineComment,k=!0===r.supportsAtComponent,w={};return w.top=function(e,t,r){if("{"==e)return pushContext(r,t,"block");if("}"==e&&r.context.prev)return popContext(r);if(k&&/@component/i.test(e))return pushContext(r,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return pushContext(r,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return pushContext(r,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return pushContext(r,t,"at");if("hash"==e)a="builtin";else if("word"==e)a="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return pushContext(r,t,"interpolation");if(":"==e)return"pseudo";if(x&&"("==e)return pushContext(r,t,"parens")}return r.context.type},w.block=function(e,t,r){if("word"==e){var n=t.current().toLowerCase();return d.hasOwnProperty(n)?(a="property","maybeprop"):m.hasOwnProperty(n)?(a="string-2","maybeprop"):x?(a=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(a+=" error","maybeprop")}return"meta"==e?"block":x||"hash"!=e&&"qualifier"!=e?w.top(e,t,r):(a="error","block")},w.maybeprop=function(e,t,r){return":"==e?pushContext(r,t,"prop"):pass(e,t,r)},w.prop=function(e,t,r){if(";"==e)return popContext(r);if("{"==e&&x)return pushContext(r,t,"propBlock");if("}"==e||"{"==e)return popAndPass(e,t,r);if("("==e)return pushContext(r,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)wordAsValue(t);else if("interpolation"==e)return pushContext(r,t,"interpolation")}else a+=" error";return"prop"},w.propBlock=function(e,t,r){return"}"==e?popContext(r):"word"==e?(a="property","maybeprop"):r.context.type},w.parens=function(e,t,r){return"{"==e||"}"==e?popAndPass(e,t,r):")"==e?popContext(r):"("==e?pushContext(r,t,"parens"):"interpolation"==e?pushContext(r,t,"interpolation"):("word"==e&&wordAsValue(t),"parens")},w.pseudo=function(e,t,r){return"meta"==e?"pseudo":"word"==e?(a="variable-3",r.context.type):pass(e,t,r)},w.documentTypes=function(e,t,r){return"word"==e&&l.hasOwnProperty(t.current())?(a="tag",r.context.type):w.atBlock(e,t,r)},w.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if("}"==e||";"==e)return popAndPass(e,t,r);if("{"==e)return popContext(r)&&pushContext(r,t,x?"block":"top");if("interpolation"==e)return pushContext(r,t,"interpolation");if("word"==e){var n=t.current().toLowerCase();a="only"==n||"not"==n||"and"==n||"or"==n?"keyword":c.hasOwnProperty(n)?"attribute":p.hasOwnProperty(n)?"property":u.hasOwnProperty(n)?"keyword":d.hasOwnProperty(n)?"property":m.hasOwnProperty(n)?"string-2":y.hasOwnProperty(n)?"atom":g.hasOwnProperty(n)?"keyword":"error"}return r.context.type},w.atComponentBlock=function(e,t,r){return"}"==e?popAndPass(e,t,r):"{"==e?popContext(r)&&pushContext(r,t,x?"block":"top",!1):("word"==e&&(a="error"),r.context.type)},w.atBlock_parens=function(e,t,r){return")"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r,2):w.atBlock(e,t,r)},w.restricted_atBlock_before=function(e,t,r){return"{"==e?pushContext(r,t,"restricted_atBlock"):"word"==e&&"@counter-style"==r.stateArg?(a="variable","restricted_atBlock_before"):pass(e,t,r)},w.restricted_atBlock=function(e,t,r){return"}"==e?(r.stateArg=null,popContext(r)):"word"==e?(a="@font-face"==r.stateArg&&!f.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==r.stateArg&&!h.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,t,r){return"word"==e?(a="variable","keyframes"):"{"==e?pushContext(r,t,"top"):pass(e,t,r)},w.at=function(e,t,r){return";"==e?popContext(r):"{"==e||"}"==e?popAndPass(e,t,r):("word"==e?a="tag":"hash"==e&&(a="builtin"),"at")},w.interpolation=function(e,t,r){return"}"==e?popContext(r):"{"==e||";"==e?popAndPass(e,t,r):("word"==e?a="variable":"variable"!=e&&"("!=e&&")"!=e&&(a="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:n?"block":"top",stateArg:null,context:new Context(n?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var r=(t.tokenize||function tokenBase(e,t){var r=e.next();if(s[r]){var n=s[r](e,t);if(!1!==n)return n}return"@"==r?(e.eatWhile(/[\w\\\-]/),ret("def",e.current())):"="==r||("~"==r||"|"==r)&&e.eat("=")?ret(null,"compare"):'"'==r||"'"==r?(t.tokenize=tokenString(r),t.tokenize(e,t)):"#"==r?(e.eatWhile(/[\w\\\-]/),ret("atom","hash")):"!"==r?(e.match(/^\s*\w*/),ret("keyword","important")):/\d/.test(r)||"."==r&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),ret("number","unit")):"-"!==r?/[,+>*\/]/.test(r)?ret(null,"select-op"):"."==r&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?ret(null,r):("u"==r||"U"==r)&&e.match(/rl(-prefix)?\(/i)||("d"==r||"D"==r)&&e.match("omain(",!0,!0)||("r"==r||"R"==r)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=tokenParenthesized,ret("property","word")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),ret("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):e.match(/^\w+-/)?ret("meta","meta"):void 0})(e,t);return r&&"object"==typeof r&&(o=r[1],r=r[0]),a=r,"comment"!=o&&(t.state=w[t.state](o,e,t)),a},indent:function(e,t){var r=e.context,n=t&&t.charAt(0),o=r.indent;return"prop"!=r.type||"}"!=n&&")"!=n||(r=r.prev),r.prev&&("}"!=n||"block"!=r.type&&"top"!=r.type&&"interpolation"!=r.type&&"restricted_atBlock"!=r.type?(")"!=n||"parens"!=r.type&&"atBlock_parens"!=r.type)&&("{"!=n||"at"!=r.type&&"atBlock"!=r.type)||(o=Math.max(0,r.indent-i)):o=(r=r.prev).indent),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:b,fold:"brace"}});var t=["domain","regexp","url","url-prefix"],r=keySet(t),n=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],o=keySet(n),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=keySet(a),s=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],l=keySet(s),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],p=keySet(c),u=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],d=keySet(u),m=keySet(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),f=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),h=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],g=keySet(h),y=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],x=keySet(y),b=t.concat(n).concat(a).concat(s).concat(c).concat(u).concat(h).concat(y);e.registerHelper("hintWords","css",b),e.defineMIME("text/css",{documentTypes:r,mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:o,mediaFeatures:i,mediaValueKeywords:l,propertyKeywords:p,nonStandardPropertyKeywords:d,colorKeywords:g,valueKeywords:x,fontProperties:m,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=tokenCComment,tokenCComment(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:o,mediaFeatures:i,propertyKeywords:p,nonStandardPropertyKeywords:d,fontProperties:m,counterDescriptors:f,colorKeywords:g,valueKeywords:x,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=tokenCComment,tokenCComment(e,t))}},name:"css",helperType:"gss"})})},911:function(e,t,r){!function(e){e(r(907),r(909),r(908),r(910))}(function(e){"use strict";function getAttrValue(e,t){var n=e.match(function getAttrRegexp(e){var t=r[e];return t||(r[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return n?/^\s*(.*?)\s*$/.exec(n[2])[1]:""}function getTagRegexp(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function addTags(e,t){for(var r in e)for(var n=t[r]||(t[r]=[]),o=e[r],a=o.length-1;a>=0;a--)n.unshift(o[a])}var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},r={};e.defineMode("htmlmixed",function(r,n){function html(t,n){var i,s=o.token(t,n.htmlState),l=/\btag\b/.test(s);if(l&&!/[<>\s\/]/.test(t.current())&&(i=n.htmlState.tagName&&n.htmlState.tagName.toLowerCase())&&a.hasOwnProperty(i))n.inTag=i+" ";else if(n.inTag&&l&&/>$/.test(t.current())){var c=/^([\S]+) (.*)/.exec(n.inTag);n.inTag=null;var p=">"==t.current()&&function findMatchingMode(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n[0]||n[1].test(getAttrValue(t,n[0])))return n[2]}}(a[c[1]],c[2]),u=e.getMode(r,p),d=getTagRegexp(c[1],!0),m=getTagRegexp(c[1],!1);n.token=function(e,t){return e.match(d,!1)?(t.token=html,t.localState=t.localMode=null,null):function maybeBackup(e,t,r){var n=e.current(),o=n.search(t);return o>-1?e.backUp(n.length-o):n.match(/<\/?$/)&&(e.backUp(n.length),e.match(t,!1)||e.match(n)),r}(e,m,t.localMode.token(e,t.localState))},n.localMode=u,n.localState=e.startState(u,o.indent(n.htmlState,""))}else n.inTag&&(n.inTag+=t.current(),t.eol()&&(n.inTag+=" "));return s}var o=e.getMode(r,{name:"xml",htmlMode:!0,multilineTagIndentFactor:n.multilineTagIndentFactor,multilineTagIndentPastTag:n.multilineTagIndentPastTag}),a={},i=n&&n.tags,s=n&&n.scriptTypes;if(addTags(t,a),i&&addTags(i,a),s)for(var l=s.length-1;l>=0;l--)a.script.unshift(["type",s[l].matches,s[l].mode]);return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:e.startState(o)}},copyState:function(t){var r;return t.localState&&(r=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:r,htmlState:e.copyState(o,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,r,n){return!t.localMode||/^\s*<\//.test(r)?o.indent(t.htmlState,r):t.localMode.indent?t.localMode.indent(t.localState,r,n):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||o}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/91.ab574985.js b/build/codemirror/mode/91.782262bf.js similarity index 98% rename from build/codemirror/mode/91.ab574985.js rename to build/codemirror/mode/91.782262bf.js index a1befda..3a46a1d 100644 --- a/build/codemirror/mode/91.ab574985.js +++ b/build/codemirror/mode/91.782262bf.js @@ -1 +1 @@ -webpackJsonp([54],{1016:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("sparql",function(t){function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")$","i")}function tokenBase(t,n){var a=t.next();if(e=null,"$"==a||"?"==a)return"?"==a&&t.match(/\s/,!1)?"operator":(t.match(/^[\w\d]*/),"variable-2");if("<"!=a||t.match(/^[\s\u00a0=]/,!1)){if('"'==a||"'"==a)return n.tokenize=function tokenLiteral(t){return function(e,n){for(var o,r=!1;null!=(o=e.next());){if(o==t&&!r){n.tokenize=tokenBase;break}r=!r&&"\\"==o}return"string"}}(a),n.tokenize(t,n);if(/[{}\(\),\.;\[\]]/.test(a))return e=a,"bracket";if("#"==a)return t.skipToEnd(),"comment";if(i.test(a))return t.eatWhile(i),"operator";if(":"==a)return t.eatWhile(/[\w\d\._\-]/),"atom";if("@"==a)return t.eatWhile(/[a-z\d\-]/i),"meta";if(t.eatWhile(/[_\w\d]/),t.eat(":"))return t.eatWhile(/[\w\d_\-]/),"atom";var c=t.current();return o.test(c)?"builtin":r.test(c)?"keyword":"variable"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=wordRegexp(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),r=wordRegexp(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load"]),i=/[*+\-<>=&|\^\/!\?]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){if(t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation()),t.eatSpace())return null;var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&(popContext(n),"}"==e&&n.context&&"pattern"==n.context.type&&popContext(n))}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0},lineComment:"#"}}),t.defineMIME("application/sparql-query","sparql")})}}); \ No newline at end of file +webpackJsonp([53],{1015:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("sparql",function(t){function wordRegexp(t){return new RegExp("^(?:"+t.join("|")+")$","i")}function tokenBase(t,n){var a=t.next();if(e=null,"$"==a||"?"==a)return"?"==a&&t.match(/\s/,!1)?"operator":(t.match(/^[\w\d]*/),"variable-2");if("<"!=a||t.match(/^[\s\u00a0=]/,!1)){if('"'==a||"'"==a)return n.tokenize=function tokenLiteral(t){return function(e,n){for(var o,r=!1;null!=(o=e.next());){if(o==t&&!r){n.tokenize=tokenBase;break}r=!r&&"\\"==o}return"string"}}(a),n.tokenize(t,n);if(/[{}\(\),\.;\[\]]/.test(a))return e=a,"bracket";if("#"==a)return t.skipToEnd(),"comment";if(i.test(a))return t.eatWhile(i),"operator";if(":"==a)return t.eatWhile(/[\w\d\._\-]/),"atom";if("@"==a)return t.eatWhile(/[a-z\d\-]/i),"meta";if(t.eatWhile(/[_\w\d]/),t.eat(":"))return t.eatWhile(/[\w\d_\-]/),"atom";var c=t.current();return o.test(c)?"builtin":r.test(c)?"keyword":"variable"}return t.match(/^[^\s\u00a0>]*>?/),"atom"}function pushContext(t,e,n){t.context={prev:t.context,indent:t.indent,col:n,type:e}}function popContext(t){t.indent=t.context.indent,t.context=t.context.prev}var e,n=t.indentUnit,o=wordRegexp(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),r=wordRegexp(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load"]),i=/[*+\-<>=&|\^\/!\?]/;return{startState:function(){return{tokenize:tokenBase,context:null,indent:0,col:0}},token:function(t,n){if(t.sol()&&(n.context&&null==n.context.align&&(n.context.align=!1),n.indent=t.indentation()),t.eatSpace())return null;var o=n.tokenize(t,n);if("comment"!=o&&n.context&&null==n.context.align&&"pattern"!=n.context.type&&(n.context.align=!0),"("==e)pushContext(n,")",t.column());else if("["==e)pushContext(n,"]",t.column());else if("{"==e)pushContext(n,"}",t.column());else if(/[\]\}\)]/.test(e)){for(;n.context&&"pattern"==n.context.type;)popContext(n);n.context&&e==n.context.type&&(popContext(n),"}"==e&&n.context&&"pattern"==n.context.type&&popContext(n))}else"."==e&&n.context&&"pattern"==n.context.type?popContext(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?pushContext(n,"pattern",t.column()):"pattern"!=n.context.type||n.context.align||(n.context.align=!0,n.context.col=t.column()));return o},indent:function(t,e){var o=e&&e.charAt(0),r=t.context;if(/[\]\}]/.test(o))for(;r&&"pattern"==r.type;)r=r.prev;var i=r&&o==r.type;return r?"pattern"==r.type?r.col:r.align?r.col+(i?0:1):r.indent+(i?0:n):0},lineComment:"#"}}),t.defineMIME("application/sparql-query","sparql")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/92.ad517888.js b/build/codemirror/mode/92.bb001aed.js similarity index 94% rename from build/codemirror/mode/92.ad517888.js rename to build/codemirror/mode/92.bb001aed.js index d1a0f1f..42c0446 100644 --- a/build/codemirror/mode/92.ad517888.js +++ b/build/codemirror/mode/92.bb001aed.js @@ -1 +1 @@ -webpackJsonp([53],{1017:function(e,t,a){!function(e){e(a(907))}(function(e){"use strict";e.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":-1!=["[","]","(",")","{","}"].indexOf(a)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),e.defineMIME("text/x-spreadsheet","spreadsheet")})}}); \ No newline at end of file +webpackJsonp([52],{1016:function(e,t,a){!function(e){e(a(907))}(function(e){"use strict";e.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(0===t.stack.length&&('"'!=e.peek()&&"'"!=e.peek()||(t.stringType=e.peek(),e.next(),t.stack.unshift("string"))),t.stack[0]){case"string":for(;"string"===t.stack[0]&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===t.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var a=e.peek();switch(a){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":-1!=["[","]","(",")","{","}"].indexOf(a)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),e.defineMIME("text/x-spreadsheet","spreadsheet")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/93.d93e7b80.js b/build/codemirror/mode/93.288e4087.js similarity index 66% rename from build/codemirror/mode/93.d93e7b80.js rename to build/codemirror/mode/93.288e4087.js index 9385181..d54b901 100644 --- a/build/codemirror/mode/93.d93e7b80.js +++ b/build/codemirror/mode/93.288e4087.js @@ -1 +1 @@ -webpackJsonp([52],{1018:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("sql",function(t,r){function tokenBase(e,t){var r=e.next();if(c[r]){var d=c[r](e,t);if(!1!==d)return d}if(l.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(l.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),l.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&l.doubleQuote)return t.tokenize=function tokenLiteral(e){return function(t,r){for(var a,n=!1;null!=(a=t.next());){if(a==e&&!n){r.tokenize=tokenBase;break}n=!n&&"\\"==a}return"string"}}(r),t.tokenize(e,t);if((l.nCharCast&&("n"==r||"N"==r)||l.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(/^[\(\),\;\[\]]/.test(r))return null;if(l.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(l.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!l.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=tokenComment(1),t.tokenize(e,t);if("."!=r){if(o.test(r))return e.eatWhile(o),null;if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var m=e.current().toLowerCase();return u.hasOwnProperty(m)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":n.hasOwnProperty(m)?"atom":i.hasOwnProperty(m)?"builtin":s.hasOwnProperty(m)?"keyword":a.hasOwnProperty(m)?"string-2":null}return l.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:l.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function tokenComment(e){return function(t,r){var a=t.match(/^.*?(\/\*|\*\/)/);return a?"/*"==a[1]?r.tokenize=tokenComment(e+1):r.tokenize=e>1?tokenComment(e-1):tokenBase:t.skipToEnd(),"comment"}}function pushContext(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}var a=r.client||{},n=r.atoms||{false:!0,true:!0,null:!0},i=r.builtin||{},s=r.keywords||{},o=r.operatorChars||/^[*+\-%<>!=&|~^]/,l=r.support||{},c=r.hooks||{},u=r.dateSQL||{date:!0,time:!0,timestamp:!0};return{startState:function(){return{tokenize:tokenBase,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==tokenBase&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var a=e.current();return"("==a?pushContext(e,t,")"):"["==a?pushContext(e,t,"]"):t.context&&t.context.type==a&&function popContext(e){e.indent=e.context.indent,e.context=e.context.prev}(t),r},indent:function(r,a){var n=r.context;if(!n)return e.Pass;var i=a.charAt(0)==n.type;return n.align?n.col+(i?0:1):n.indent+(i?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:l.commentSlashSlash?"//":l.commentHash?"#":"--"}}),function(){function hookIdentifier(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function hookVar(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function hookClient(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function set(e){for(var t={},r=e.split(" "),a=0;a<r.length;++a)t[r[a]]=!0;return t}var t="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";e.defineMIME("text/x-sql",{name:"sql",keywords:set(t+"begin"),builtin:set("bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec"),builtin:set("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":hookVar}}),e.defineMIME("text/x-mysql",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME("text/x-mariadb",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME("text/x-sqlite",{name:"sql",client:set("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:set(t+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:set("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set("date time timestamp datetime"),support:set("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':function hookIdentifierDoublequote(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null},"`":hookIdentifier}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:set("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:set("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:set("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:set("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:set("date time timestamp"),support:set("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:set("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:set("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:set("source"),keywords:set(t+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:set("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:set("false true"),builtin:set("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:set("source"),keywords:set("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:set("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:set("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:set("false true null"),operatorChars:/^[*+\-%<>!=~&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:set("source"),keywords:set("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:set("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("time"),support:set("decimallessFloat zerolessFloat binaryNumber hexNumber")})}()})}}); \ No newline at end of file +webpackJsonp([51],{1017:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("sql",function(t,r){function tokenBase(e,t){var r=e.next();if(c[r]){var d=c[r](e,t);if(!1!==d)return d}if(l.hexNumber&&("0"==r&&e.match(/^[xX][0-9a-fA-F]+/)||("x"==r||"X"==r)&&e.match(/^'[0-9a-fA-F]+'/)))return"number";if(l.binaryNumber&&(("b"==r||"B"==r)&&e.match(/^'[01]+'/)||"0"==r&&e.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return e.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),l.decimallessFloat&&e.match(/^\.(?!\.)/),"number";if("?"==r&&(e.eatSpace()||e.eol()||e.eat(";")))return"variable-3";if("'"==r||'"'==r&&l.doubleQuote)return t.tokenize=function tokenLiteral(e){return function(t,r){for(var a,n=!1;null!=(a=t.next());){if(a==e&&!n){r.tokenize=tokenBase;break}n=!n&&"\\"==a}return"string"}}(r),t.tokenize(e,t);if((l.nCharCast&&("n"==r||"N"==r)||l.charsetCast&&"_"==r&&e.match(/[a-z][a-z0-9]*/i))&&("'"==e.peek()||'"'==e.peek()))return"keyword";if(/^[\(\),\;\[\]]/.test(r))return null;if(l.commentSlashSlash&&"/"==r&&e.eat("/"))return e.skipToEnd(),"comment";if(l.commentHash&&"#"==r||"-"==r&&e.eat("-")&&(!l.commentSpaceRequired||e.eat(" ")))return e.skipToEnd(),"comment";if("/"==r&&e.eat("*"))return t.tokenize=tokenComment(1),t.tokenize(e,t);if("."!=r){if(o.test(r))return e.eatWhile(o),null;if("{"==r&&(e.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||e.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";e.eatWhile(/^[_\w\d]/);var m=e.current().toLowerCase();return u.hasOwnProperty(m)&&(e.match(/^( )+'[^']*'/)||e.match(/^( )+"[^"]*"/))?"number":n.hasOwnProperty(m)?"atom":i.hasOwnProperty(m)?"builtin":s.hasOwnProperty(m)?"keyword":a.hasOwnProperty(m)?"string-2":null}return l.zerolessFloat&&e.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":e.match(/^\.+/)?null:l.ODBCdotTable&&e.match(/^[\w\d_]+/)?"variable-2":void 0}function tokenComment(e){return function(t,r){var a=t.match(/^.*?(\/\*|\*\/)/);return a?"/*"==a[1]?r.tokenize=tokenComment(e+1):r.tokenize=e>1?tokenComment(e-1):tokenBase:t.skipToEnd(),"comment"}}function pushContext(e,t,r){t.context={prev:t.context,indent:e.indentation(),col:e.column(),type:r}}var a=r.client||{},n=r.atoms||{false:!0,true:!0,null:!0},i=r.builtin||{},s=r.keywords||{},o=r.operatorChars||/^[*+\-%<>!=&|~^]/,l=r.support||{},c=r.hooks||{},u=r.dateSQL||{date:!0,time:!0,timestamp:!0};return{startState:function(){return{tokenize:tokenBase,context:null}},token:function(e,t){if(e.sol()&&t.context&&null==t.context.align&&(t.context.align=!1),t.tokenize==tokenBase&&e.eatSpace())return null;var r=t.tokenize(e,t);if("comment"==r)return r;t.context&&null==t.context.align&&(t.context.align=!0);var a=e.current();return"("==a?pushContext(e,t,")"):"["==a?pushContext(e,t,"]"):t.context&&t.context.type==a&&function popContext(e){e.indent=e.context.indent,e.context=e.context.prev}(t),r},indent:function(r,a){var n=r.context;if(!n)return e.Pass;var i=a.charAt(0)==n.type;return n.align?n.col+(i?0:1):n.indent+(i?0:t.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:l.commentSlashSlash?"//":l.commentHash?"#":"--"}}),function(){function hookIdentifier(e){for(var t;null!=(t=e.next());)if("`"==t&&!e.eat("`"))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null}function hookVar(e){return e.eat("@")&&(e.match(/^session\./),e.match(/^local\./),e.match(/^global\./)),e.eat("'")?(e.match(/^.*'/),"variable-2"):e.eat('"')?(e.match(/^.*"/),"variable-2"):e.eat("`")?(e.match(/^.*`/),"variable-2"):e.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function hookClient(e){return e.eat("N")?"atom":e.match(/^[a-zA-Z.#!?]/)?"variable-2":null}function set(e){for(var t={},r=e.split(" "),a=0;a<r.length;++a)t[r[a]]=!0;return t}var t="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";e.defineMIME("text/x-sql",{name:"sql",keywords:set(t+"begin"),builtin:set("bool boolean bit blob enum long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision real date datetime year unsigned signed decimal numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-mssql",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec"),builtin:set("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":hookVar}}),e.defineMIME("text/x-mysql",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME("text/x-mariadb",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(t+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),e.defineMIME("text/x-sqlite",{name:"sql",client:set("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:set(t+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:set("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set("date time timestamp datetime"),support:set("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':function hookIdentifierDoublequote(e){for(var t;null!=(t=e.next());)if('"'==t&&!e.eat('"'))return"variable-2";return e.backUp(e.current().length-1),e.eatWhile(/\w/)?"variable-2":null},"`":hookIdentifier}}),e.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:set("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:set("commentSlashSlash decimallessFloat"),hooks:{}}),e.defineMIME("text/x-plsql",{name:"sql",client:set("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:set("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*+\-%<>!=~]/,dateSQL:set("date time timestamp"),support:set("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),e.defineMIME("text/x-hive",{name:"sql",keywords:set("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external false fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger true unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with"),builtin:set("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),e.defineMIME("text/x-pgsql",{name:"sql",client:set("source"),keywords:set(t+"a abort abs absent absolute access according action ada add admin after aggregate all allocate also always analyse analyze any are array array_agg array_max_cardinality asensitive assertion assignment asymmetric at atomic attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli binary bit_length blob blocked bom both breadth c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain characteristics characters character_length character_set_catalog character_set_name character_set_schema char_length check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column columns column_name command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constraint constraints constraint_catalog constraint_name constraint_schema constructor contains content continue control conversion convert copy corr corresponding cost covar_pop covar_samp cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datetime_interval_code datetime_interval_precision day db deallocate dec declare default defaults deferrable deferred defined definer degree delimiter delimiters dense_rank depth deref derived describe descriptor deterministic diagnostics dictionary disable discard disconnect dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain dynamic dynamic_function dynamic_function_code each element else empty enable encoding encrypted end end-exec end_frame end_partition enforced enum equals escape event every except exception exclude excluding exclusive exec execute exists exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreign fortran forward found frame_row free freeze fs full function functions fusion g general generated get global go goto grant granted greatest grouping groups handler header hex hierarchy hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import including increment indent index indexes indicator inherit inherits initially inline inner inout input insensitive instance instantiable instead integrity intersect intersection invoker isnull isolation k key key_member key_type label lag language large last last_value lateral lc_collate lc_ctype lead leading leakproof least left length level library like_regex link listen ln load local localtime localtimestamp location locator lock locked logged lower m map mapping match matched materialized max maxvalue max_cardinality member merge message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized nothing notify notnull nowait nth_value ntile null nullable nullif nulls number object occurrences_regex octets octet_length of off offset oids old only open operator option options ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password percent percentile_cont percentile_disc percent_rank period permission placing plans pli policy portion position position_regex power precedes preceding prepare prepared preserve primary prior privileges procedural procedure program public quote range rank read reads reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict restricted result return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count row_number rule savepoint scale schema schema_name scope scope_catalog scope_name scope_schema scroll search second section security selective self sensitive sequence sequences serializable server server_name session session_user setof sets share show similar simple size skip snapshot some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset substring substring_regex succeeds sum symmetric sysid system system_time system_user t tables tablesample tablespace table_name temp template temporary then ties timezone_hour timezone_minute to token top_level_count trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted unique unknown unlink unlisten unlogged unnamed unnest until untyped upper uri usage user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of varbinary variadic var_pop var_samp verbose version versioning view views volatile when whenever whitespace width_bucket window within work wrapper write xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes loop repeat attach path depends detach zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-gql",{name:"sql",keywords:set("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:set("false true"),builtin:set("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),e.defineMIME("text/x-gpsql",{name:"sql",client:set("source"),keywords:set("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),e.defineMIME("text/x-sparksql",{name:"sql",keywords:set("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:set("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:set("false true null"),operatorChars:/^[*+\-%<>!=~&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote zerolessFloat")}),e.defineMIME("text/x-esper",{name:"sql",client:set("source"),keywords:set("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:set("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("time"),support:set("decimallessFloat zerolessFloat binaryNumber hexNumber")})}()})}}); \ No newline at end of file diff --git a/build/codemirror/mode/94.f05cdb39.js b/build/codemirror/mode/94.30796d46.js similarity index 97% rename from build/codemirror/mode/94.f05cdb39.js rename to build/codemirror/mode/94.30796d46.js index c640dfd..8d7f087 100644 --- a/build/codemirror/mode/94.f05cdb39.js +++ b/build/codemirror/mode/94.30796d46.js @@ -1 +1 @@ -webpackJsonp([51],{929:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("stex",function(){function pushCommand(t,e){t.cmdState.push(e)}function peekCommand(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function addPluginPattern(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}function setState(t,e){t.f=e}function normal(e,n){var a;if(e.match(/^\\[a-zA-Z@]+/)){var r=e.current().slice(1);return a=t[r]||t.DEFAULT,a=new a,pushCommand(n,a),setState(n,beginParams),a.style}if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/\\]/))return"tag";if(e.match("\\["))return setState(n,function(t,e){return inMathMode(t,e,"\\]")}),"keyword";if(e.match("$$"))return setState(n,function(t,e){return inMathMode(t,e,"$$")}),"keyword";if(e.match("$"))return setState(n,function(t,e){return inMathMode(t,e,"$")}),"keyword";var i=e.next();return"%"==i?(e.skipToEnd(),"comment"):"}"==i||"]"==i?(a=peekCommand(n))?(a.closeBracket(i),setState(n,beginParams),"bracket"):"error":"{"==i||"["==i?(a=t.DEFAULT,a=new a,pushCommand(n,a),"bracket"):/\d/.test(i)?(e.eatWhile(/[\w.%]/),"atom"):(e.eatWhile(/[\w\-_]/),"begin"==(a=function getMostPowerful(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var a=e[n];if("DEFAULT"!=a.name)return a}return{styleIdentifier:function(){return null}}}(n)).name&&(a.argument=e.current()),a.styleIdentifier())}function inMathMode(t,e,n){if(t.eatSpace())return null;if(t.match(n))return setState(e,normal),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variable-2";if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/]/))return"tag";if(t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=t.next();return"{"==a||"}"==a||"["==a||"]"==a||"("==a||")"==a?"bracket":"%"==a?(t.skipToEnd(),"comment"):"error"}function beginParams(t,e){var n=t.peek();return"{"==n||"["==n?(peekCommand(e).openBracket(n),t.eat(n),setState(e,normal),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(setState(e,normal),function popCommand(t){var e=t.cmdState.pop();e&&e.closeBracket()}(e),normal(t,e))}var t={};return t.importmodule=addPluginPattern("importmodule","tag",["string","builtin"]),t.documentclass=addPluginPattern("documentclass","tag",["","atom"]),t.usepackage=addPluginPattern("usepackage","tag",["atom"]),t.begin=addPluginPattern("begin","tag",["atom"]),t.end=addPluginPattern("end","tag",["atom"]),t.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:normal}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=normal,t.cmdState.length=0},lineComment:"%"}}),t.defineMIME("text/x-stex","stex"),t.defineMIME("text/x-latex","stex")})}}); \ No newline at end of file +webpackJsonp([50],{927:function(t,e,n){!function(t){t(n(907))}(function(t){"use strict";t.defineMode("stex",function(){function pushCommand(t,e){t.cmdState.push(e)}function peekCommand(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function addPluginPattern(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}function setState(t,e){t.f=e}function normal(e,n){var a;if(e.match(/^\\[a-zA-Z@]+/)){var r=e.current().slice(1);return a=t[r]||t.DEFAULT,a=new a,pushCommand(n,a),setState(n,beginParams),a.style}if(e.match(/^\\[$&%#{}_]/))return"tag";if(e.match(/^\\[,;!\/\\]/))return"tag";if(e.match("\\["))return setState(n,function(t,e){return inMathMode(t,e,"\\]")}),"keyword";if(e.match("$$"))return setState(n,function(t,e){return inMathMode(t,e,"$$")}),"keyword";if(e.match("$"))return setState(n,function(t,e){return inMathMode(t,e,"$")}),"keyword";var i=e.next();return"%"==i?(e.skipToEnd(),"comment"):"}"==i||"]"==i?(a=peekCommand(n))?(a.closeBracket(i),setState(n,beginParams),"bracket"):"error":"{"==i||"["==i?(a=t.DEFAULT,a=new a,pushCommand(n,a),"bracket"):/\d/.test(i)?(e.eatWhile(/[\w.%]/),"atom"):(e.eatWhile(/[\w\-_]/),"begin"==(a=function getMostPowerful(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var a=e[n];if("DEFAULT"!=a.name)return a}return{styleIdentifier:function(){return null}}}(n)).name&&(a.argument=e.current()),a.styleIdentifier())}function inMathMode(t,e,n){if(t.eatSpace())return null;if(t.match(n))return setState(e,normal),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variable-2";if(t.match(/^\\[$&%#{}_]/))return"tag";if(t.match(/^\\[,;!\/]/))return"tag";if(t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var a=t.next();return"{"==a||"}"==a||"["==a||"]"==a||"("==a||")"==a?"bracket":"%"==a?(t.skipToEnd(),"comment"):"error"}function beginParams(t,e){var n=t.peek();return"{"==n||"["==n?(peekCommand(e).openBracket(n),t.eat(n),setState(e,normal),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(setState(e,normal),function popCommand(t){var e=t.cmdState.pop();e&&e.closeBracket()}(e),normal(t,e))}var t={};return t.importmodule=addPluginPattern("importmodule","tag",["string","builtin"]),t.documentclass=addPluginPattern("documentclass","tag",["","atom"]),t.usepackage=addPluginPattern("usepackage","tag",["atom"]),t.begin=addPluginPattern("begin","tag",["atom"]),t.end=addPluginPattern("end","tag",["atom"]),t.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}},{startState:function(){return{cmdState:[],f:normal}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=normal,t.cmdState.length=0},lineComment:"%"}}),t.defineMIME("text/x-stex","stex"),t.defineMIME("text/x-latex","stex")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/95.157d304e.js b/build/codemirror/mode/95.157d304e.js deleted file mode 100644 index ebdcca9..0000000 --- a/build/codemirror/mode/95.157d304e.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([50],{930:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=!0;return t}e.defineMode("stylus",function(e){function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}function tokenString(e){return function(t,r){for(var o,i=!1;null!=(o=t.next());){if(o==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==o}return(o==e||!i&&")"!=e)&&(r.tokenize=null),["string","string"]}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),[null,"("]}function Context(e,t,r,o){this.type=e,this.indent=t,this.prev=r,this.line=o||{firstWord:"",indent:0}}function pushContext(e,t,r,o){return o=o>=0?o:b,e.context=new Context(r,t.indentation()+o,e.context),r}function popContext(e,t){var r=e.context.indent-b;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=r),e.context.type}function popAndPass(e,t,r,o){for(var i=o||1;i>0;i--)r.context=r.context.prev;return function pass(e,t,r){return T[r.context.type](e,t,r)}(e,t,r)}function wordIsTag(e){return e.toLowerCase()in w}function wordIsProperty(e){return(e=e.toLowerCase())in y||e in P}function wordIsBlock(e){return e.toLowerCase()in B}function wordIsVendorPrefix(e){return e.toLowerCase().match(S)}function wordAsValue(e){var t=e.toLowerCase(),r="variable-2";return wordIsTag(e)?r="tag":wordIsBlock(e)?r="block-keyword":wordIsProperty(e)?r="property":t in C||t in W?r="atom":"return"==t||t in z?r="keyword":e.match(/^[A-Z]/)&&(r="string"),r}function typeIsBlock(e,t){return endOfLine(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function typeIsInterpolation(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function typeIsPseudo(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function startOfLine(e){return e.sol()||e.string.match(new RegExp("^\\s*"+function escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e.current())))}function endOfLine(e){return e.eol()||e.match(/^\s*$/,!1)}function firstWordOfLine(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r="string"==typeof e?e.match(t):e.string.match(t);return r?r[0].replace(/^\s*/,""):""}for(var m,h,f,g,b=e.indentUnit,k="",w=keySet(t),x=/^(a|b|i|s|col|em)$/i,y=keySet(n),v=keySet(a),C=keySet(c),z=keySet(l),L=keySet(r),I=wordRegexp(r),O=keySet(i),q=keySet(o),P=keySet(s),j=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,$=wordRegexp(d),B=keySet(u),S=new RegExp(/^\-(moz|ms|o|webkit)-/i),W=keySet(p),A="",T={};k.length<b;)k+=" ";return T.block=function(e,t,r){if("comment"==e&&startOfLine(t)||","==e&&endOfLine(t)||"mixin"==e)return pushContext(r,t,"block",0);if(typeIsInterpolation(e,t))return pushContext(r,t,"interpolation");if(endOfLine(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!wordIsTag(firstWordOfLine(t)))return pushContext(r,t,"block",0);if(typeIsBlock(e,t))return pushContext(r,t,"block");if("}"==e&&endOfLine(t))return pushContext(r,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||wordIsBlock(firstWordOfLine(t))?pushContext(r,t,"variableName"):pushContext(r,t,"variableName",0);if("="==e)return endOfLine(t)||wordIsBlock(firstWordOfLine(t))?pushContext(r,t,"block"):pushContext(r,t,"block",0);if("*"==e&&(endOfLine(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return g="tag",pushContext(r,t,"block");if(typeIsPseudo(e,t))return pushContext(r,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return pushContext(r,t,endOfLine(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return pushContext(r,t,"keyframes");if(/@extends?/.test(e))return pushContext(r,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&wordIsProperty(t.current().slice(1))?(g="variable-2","block"):/(@import|@require|@charset)/.test(e)?pushContext(r,t,"block",0):pushContext(r,t,"block");if("reference"==e&&endOfLine(t))return pushContext(r,t,"block");if("("==e)return pushContext(r,t,"parens");if("vendor-prefixes"==e)return pushContext(r,t,"vendorPrefixes");if("word"==e){var o=t.current();if("property"==(g=wordAsValue(o)))return startOfLine(t)?pushContext(r,t,"block",0):(g="atom","block");if("tag"==g){if(/embed|menu|pre|progress|sub|table/.test(o)&&wordIsProperty(firstWordOfLine(t)))return g="atom","block";if(t.string.match(new RegExp("\\[\\s*"+o+"|"+o+"\\s*\\]")))return g="atom","block";if(x.test(o)&&(startOfLine(t)&&t.string.match(/=/)||!startOfLine(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!wordIsTag(firstWordOfLine(t))))return g="variable-2",wordIsBlock(firstWordOfLine(t))?"block":pushContext(r,t,"block",0);if(endOfLine(t))return pushContext(r,t,"block")}if("block-keyword"==g)return g="keyword",t.current(/(if|unless)/)&&!startOfLine(t)?"block":pushContext(r,t,"block");if("return"==o)return pushContext(r,t,"block",0);if("variable-2"==g&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(r,t,"block")}return r.context.type},T.parens=function(e,t,r){if("("==e)return pushContext(r,t,"parens");if(")"==e)return"parens"==r.context.prev.type?popContext(r):t.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(t)||wordIsBlock(firstWordOfLine(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(t))?pushContext(r,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?pushContext(r,t,"block",0):endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"block",0);if(e&&"@"==e.charAt(0)&&wordIsProperty(t.current().slice(1))&&(g="variable-2"),"word"==e){var o=t.current();"tag"==(g=wordAsValue(o))&&x.test(o)&&(g="variable-2"),"property"!=g&&"to"!=o||(g="atom")}return"variable-name"==e?pushContext(r,t,"variableName"):typeIsPseudo(e,t)?pushContext(r,t,"pseudo"):r.context.type},T.vendorPrefixes=function(e,t,r){return"word"==e?(g="property",pushContext(r,t,"block",0)):popContext(r)},T.pseudo=function(e,t,r){return wordIsProperty(firstWordOfLine(t.string))?popAndPass(e,t,r):(t.match(/^[a-z-]+/),g="variable-3",endOfLine(t)?pushContext(r,t,"block"):popContext(r))},T.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if(typeIsBlock(e,t))return pushContext(r,t,"block");if(typeIsInterpolation(e,t))return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();if("tag"==(g=/^(only|not|and|or)$/.test(o)?"keyword":L.hasOwnProperty(o)?"tag":q.hasOwnProperty(o)?"attribute":O.hasOwnProperty(o)?"property":v.hasOwnProperty(o)?"string-2":wordAsValue(t.current()))&&endOfLine(t))return pushContext(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(g="keyword"),r.context.type},T.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"atBlock");if("word"==e){var o=t.current().toLowerCase();return g=wordAsValue(o),/^(max|min)/.test(o)&&(g="property"),"tag"==g&&(g=x.test(o)?"variable-2":"atom"),r.context.type}return T.atBlock(e,t,r)},T.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&startOfLine(t)||"]"==e||"hash"==e||"qualifier"==e||wordIsTag(t.current()))?popAndPass(e,t,r):"{"==e?pushContext(r,t,"keyframes"):"}"==e?startOfLine(t)?popContext(r,!0):pushContext(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?pushContext(r,t,"keyframes"):"word"==e&&"block-keyword"==(g=wordAsValue(t.current()))?(g="keyword",pushContext(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?pushContext(r,t,endOfLine(t)?"block":"atBlock"):"mixin"==e?pushContext(r,t,"block",0):r.context.type},T.interpolation=function(e,t,r){return"{"==e&&popContext(r)&&pushContext(r,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(t))?pushContext(r,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?pushContext(r,t,"block",0):pushContext(r,t,"block"):"variable-name"==e?pushContext(r,t,"variableName",0):("word"==e&&"tag"==(g=wordAsValue(t.current()))&&(g="atom"),r.context.type)},T.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"==e?popContext(r):"word"==e?(g=wordAsValue(t.current()),"extend"):popContext(r)},T.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(g="variable-2"),"variableName"):popAndPass(e,t,r)},{startState:function(e){return{tokenize:null,state:"block",context:new Context("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((h=(t.tokenize||function tokenBase(e,t){if(A=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=A?A[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),m=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=tokenCComment,tokenCComment(e,t);if('"'==m||"'"==m)return e.next(),t.tokenize=tokenString(m),t.tokenize(e,t);if("@"==m)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==m){if(e.next(),e.match(/^[0-9a-f]{6}|[0-9a-f]{3}/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(S)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==m?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==m&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(I)?("("==e.peek()&&(t.tokenize=tokenParenthesized),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match($)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(j)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(m)?(e.next(),[null,m]):(e.next(),[null,null])})(e,t))&&"object"==typeof h&&(f=h[1],h=h[0]),g=h,t.state=T[t.state](f,e,t),g)},indent:function(e,t,r){var o=e.context,i=t&&t.charAt(0),n=o.indent,a=firstWordOfLine(t),s=r.match(/^\s*/)[0].replace(/\t/g,k).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return o.prev&&("}"==i&&("block"==o.type||"atBlock"==o.type||"keyframes"==o.type)||")"==i&&("parens"==o.type||"atBlock_parens"==o.type)||"{"==i&&"at"==o.type)?n=o.indent-b:/(\})/.test(i)||(/@|\$|\d/.test(i)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||wordIsBlock(a)?n=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(i)||wordIsTag(a)?n=/\,\s*$/.test(l)?c:/^\s+/.test(r)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||wordIsTag(l))?s<=c?c:c+b:s:/,\s*$/.test(r)||!wordIsVendorPrefix(a)&&!wordIsProperty(a)||(n=wordIsBlock(l)?s<=c?c:c+b:/^\{/.test(l)?s<=c?s:c+b:wordIsVendorPrefix(l)||wordIsProperty(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||wordIsTag(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+b:s)),n},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],r=["domain","regexp","url","url-prefix"],o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],n=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],a=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],d=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],u=["for","if","else","unless","from","to"],p=["null","true","false","href","title","type","not-allowed","readonly","disabled"],m=t.concat(r,o,i,n,a,l,c,s,d,u,p,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);e.registerHelper("hintWords","stylus",m),e.defineMIME("text/x-styl","stylus")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/95.893ea849.js b/build/codemirror/mode/95.893ea849.js new file mode 100644 index 0000000..c3820ef --- /dev/null +++ b/build/codemirror/mode/95.893ea849.js @@ -0,0 +1 @@ +webpackJsonp([49],{928:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";function wordRegexp(e){return e=e.sort(function(e,t){return t>e}),new RegExp("^(("+e.join(")|(")+"))\\b")}function keySet(e){for(var t={},r=0;r<e.length;++r)t[e[r]]=!0;return t}e.defineMode("stylus",function(e){function tokenCComment(e,t){for(var r,o=!1;null!=(r=e.next());){if(o&&"/"==r){t.tokenize=null;break}o="*"==r}return["comment","comment"]}function tokenString(e){return function(t,r){for(var o,i=!1;null!=(o=t.next());){if(o==e&&!i){")"==e&&t.backUp(1);break}i=!i&&"\\"==o}return(o==e||!i&&")"!=e)&&(r.tokenize=null),["string","string"]}}function tokenParenthesized(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=tokenString(")"),[null,"("]}function Context(e,t,r,o){this.type=e,this.indent=t,this.prev=r,this.line=o||{firstWord:"",indent:0}}function pushContext(e,t,r,o){return o=o>=0?o:b,e.context=new Context(r,t.indentation()+o,e.context),r}function popContext(e,t){var r=e.context.indent-b;return t=t||!1,e.context=e.context.prev,t&&(e.context.indent=r),e.context.type}function popAndPass(e,t,r,o){for(var i=o||1;i>0;i--)r.context=r.context.prev;return function pass(e,t,r){return T[r.context.type](e,t,r)}(e,t,r)}function wordIsTag(e){return e.toLowerCase()in w}function wordIsProperty(e){return(e=e.toLowerCase())in y||e in P}function wordIsBlock(e){return e.toLowerCase()in B}function wordIsVendorPrefix(e){return e.toLowerCase().match(S)}function wordAsValue(e){var t=e.toLowerCase(),r="variable-2";return wordIsTag(e)?r="tag":wordIsBlock(e)?r="block-keyword":wordIsProperty(e)?r="property":t in C||t in W?r="atom":"return"==t||t in z?r="keyword":e.match(/^[A-Z]/)&&(r="string"),r}function typeIsBlock(e,t){return endOfLine(t)&&("{"==e||"]"==e||"hash"==e||"qualifier"==e)||"block-mixin"==e}function typeIsInterpolation(e,t){return"{"==e&&t.match(/^\s*\$?[\w-]+/i,!1)}function typeIsPseudo(e,t){return":"==e&&t.match(/^[a-z-]+/,!1)}function startOfLine(e){return e.sol()||e.string.match(new RegExp("^\\s*"+function escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e.current())))}function endOfLine(e){return e.eol()||e.match(/^\s*$/,!1)}function firstWordOfLine(e){var t=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r="string"==typeof e?e.match(t):e.string.match(t);return r?r[0].replace(/^\s*/,""):""}for(var m,h,f,g,b=e.indentUnit,k="",w=keySet(t),x=/^(a|b|i|s|col|em)$/i,y=keySet(n),v=keySet(a),C=keySet(c),z=keySet(l),L=keySet(r),I=wordRegexp(r),O=keySet(i),q=keySet(o),P=keySet(s),j=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,$=wordRegexp(d),B=keySet(u),S=new RegExp(/^\-(moz|ms|o|webkit)-/i),W=keySet(p),A="",T={};k.length<b;)k+=" ";return T.block=function(e,t,r){if("comment"==e&&startOfLine(t)||","==e&&endOfLine(t)||"mixin"==e)return pushContext(r,t,"block",0);if(typeIsInterpolation(e,t))return pushContext(r,t,"interpolation");if(endOfLine(t)&&"]"==e&&!/^\s*(\.|#|:|\[|\*|&)/.test(t.string)&&!wordIsTag(firstWordOfLine(t)))return pushContext(r,t,"block",0);if(typeIsBlock(e,t))return pushContext(r,t,"block");if("}"==e&&endOfLine(t))return pushContext(r,t,"block",0);if("variable-name"==e)return t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||wordIsBlock(firstWordOfLine(t))?pushContext(r,t,"variableName"):pushContext(r,t,"variableName",0);if("="==e)return endOfLine(t)||wordIsBlock(firstWordOfLine(t))?pushContext(r,t,"block"):pushContext(r,t,"block",0);if("*"==e&&(endOfLine(t)||t.match(/\s*(,|\.|#|\[|:|{)/,!1)))return g="tag",pushContext(r,t,"block");if(typeIsPseudo(e,t))return pushContext(r,t,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(e))return pushContext(r,t,endOfLine(t)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(e))return pushContext(r,t,"keyframes");if(/@extends?/.test(e))return pushContext(r,t,"extend",0);if(e&&"@"==e.charAt(0))return t.indentation()>0&&wordIsProperty(t.current().slice(1))?(g="variable-2","block"):/(@import|@require|@charset)/.test(e)?pushContext(r,t,"block",0):pushContext(r,t,"block");if("reference"==e&&endOfLine(t))return pushContext(r,t,"block");if("("==e)return pushContext(r,t,"parens");if("vendor-prefixes"==e)return pushContext(r,t,"vendorPrefixes");if("word"==e){var o=t.current();if("property"==(g=wordAsValue(o)))return startOfLine(t)?pushContext(r,t,"block",0):(g="atom","block");if("tag"==g){if(/embed|menu|pre|progress|sub|table/.test(o)&&wordIsProperty(firstWordOfLine(t)))return g="atom","block";if(t.string.match(new RegExp("\\[\\s*"+o+"|"+o+"\\s*\\]")))return g="atom","block";if(x.test(o)&&(startOfLine(t)&&t.string.match(/=/)||!startOfLine(t)&&!t.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!wordIsTag(firstWordOfLine(t))))return g="variable-2",wordIsBlock(firstWordOfLine(t))?"block":pushContext(r,t,"block",0);if(endOfLine(t))return pushContext(r,t,"block")}if("block-keyword"==g)return g="keyword",t.current(/(if|unless)/)&&!startOfLine(t)?"block":pushContext(r,t,"block");if("return"==o)return pushContext(r,t,"block",0);if("variable-2"==g&&t.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(r,t,"block")}return r.context.type},T.parens=function(e,t,r){if("("==e)return pushContext(r,t,"parens");if(")"==e)return"parens"==r.context.prev.type?popContext(r):t.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(t)||wordIsBlock(firstWordOfLine(t))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(t))||!t.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(t))?pushContext(r,t,"block"):t.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||t.string.match(/^\s*(\(|\)|[0-9])/)||t.string.match(/^\s+[a-z][\w-]*\(/i)||t.string.match(/^\s+[\$-]?[a-z]/i)?pushContext(r,t,"block",0):endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"block",0);if(e&&"@"==e.charAt(0)&&wordIsProperty(t.current().slice(1))&&(g="variable-2"),"word"==e){var o=t.current();"tag"==(g=wordAsValue(o))&&x.test(o)&&(g="variable-2"),"property"!=g&&"to"!=o||(g="atom")}return"variable-name"==e?pushContext(r,t,"variableName"):typeIsPseudo(e,t)?pushContext(r,t,"pseudo"):r.context.type},T.vendorPrefixes=function(e,t,r){return"word"==e?(g="property",pushContext(r,t,"block",0)):popContext(r)},T.pseudo=function(e,t,r){return wordIsProperty(firstWordOfLine(t.string))?popAndPass(e,t,r):(t.match(/^[a-z-]+/),g="variable-3",endOfLine(t)?pushContext(r,t,"block"):popContext(r))},T.atBlock=function(e,t,r){if("("==e)return pushContext(r,t,"atBlock_parens");if(typeIsBlock(e,t))return pushContext(r,t,"block");if(typeIsInterpolation(e,t))return pushContext(r,t,"interpolation");if("word"==e){var o=t.current().toLowerCase();if("tag"==(g=/^(only|not|and|or)$/.test(o)?"keyword":L.hasOwnProperty(o)?"tag":q.hasOwnProperty(o)?"attribute":O.hasOwnProperty(o)?"property":v.hasOwnProperty(o)?"string-2":wordAsValue(t.current()))&&endOfLine(t))return pushContext(r,t,"block")}return"operator"==e&&/^(not|and|or)$/.test(t.current())&&(g="keyword"),r.context.type},T.atBlock_parens=function(e,t,r){if("{"==e||"}"==e)return r.context.type;if(")"==e)return endOfLine(t)?pushContext(r,t,"block"):pushContext(r,t,"atBlock");if("word"==e){var o=t.current().toLowerCase();return g=wordAsValue(o),/^(max|min)/.test(o)&&(g="property"),"tag"==g&&(g=x.test(o)?"variable-2":"atom"),r.context.type}return T.atBlock(e,t,r)},T.keyframes=function(e,t,r){return"0"==t.indentation()&&("}"==e&&startOfLine(t)||"]"==e||"hash"==e||"qualifier"==e||wordIsTag(t.current()))?popAndPass(e,t,r):"{"==e?pushContext(r,t,"keyframes"):"}"==e?startOfLine(t)?popContext(r,!0):pushContext(r,t,"keyframes"):"unit"==e&&/^[0-9]+\%$/.test(t.current())?pushContext(r,t,"keyframes"):"word"==e&&"block-keyword"==(g=wordAsValue(t.current()))?(g="keyword",pushContext(r,t,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(e)?pushContext(r,t,endOfLine(t)?"block":"atBlock"):"mixin"==e?pushContext(r,t,"block",0):r.context.type},T.interpolation=function(e,t,r){return"{"==e&&popContext(r)&&pushContext(r,t,"block"),"}"==e?t.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||t.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(t))?pushContext(r,t,"block"):!t.string.match(/^(\{|\s*\&)/)||t.match(/\s*[\w-]/,!1)?pushContext(r,t,"block",0):pushContext(r,t,"block"):"variable-name"==e?pushContext(r,t,"variableName",0):("word"==e&&"tag"==(g=wordAsValue(t.current()))&&(g="atom"),r.context.type)},T.extend=function(e,t,r){return"["==e||"="==e?"extend":"]"==e?popContext(r):"word"==e?(g=wordAsValue(t.current()),"extend"):popContext(r)},T.variableName=function(e,t,r){return"string"==e||"["==e||"]"==e||t.current().match(/^(\.|\$)/)?(t.current().match(/^\.[\w-]+/i)&&(g="variable-2"),"variableName"):popAndPass(e,t,r)},{startState:function(e){return{tokenize:null,state:"block",context:new Context("block",e||0,null)}},token:function(e,t){return!t.tokenize&&e.eatSpace()?null:((h=(t.tokenize||function tokenBase(e,t){if(A=e.string.match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),t.context.line.firstWord=A?A[0].replace(/^\s*/,""):"",t.context.line.indent=e.indentation(),m=e.peek(),e.match("//"))return e.skipToEnd(),["comment","comment"];if(e.match("/*"))return t.tokenize=tokenCComment,tokenCComment(e,t);if('"'==m||"'"==m)return e.next(),t.tokenize=tokenString(m),t.tokenize(e,t);if("@"==m)return e.next(),e.eatWhile(/[\w\\-]/),["def",e.current()];if("#"==m){if(e.next(),e.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b/i))return["atom","atom"];if(e.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return e.match(S)?["meta","vendor-prefixes"]:e.match(/^-?[0-9]?\.?[0-9]/)?(e.eatWhile(/[a-z%]/i),["number","unit"]):"!"==m?(e.next(),[e.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==m&&e.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:e.match(I)?("("==e.peek()&&(t.tokenize=tokenParenthesized),["property","word"]):e.match(/^[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","mixin"]):e.match(/^(\+|-)[a-z][\w-]*\(/i)?(e.backUp(1),["keyword","block-mixin"]):e.string.match(/^\s*&/)&&e.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:e.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(e.backUp(1),["variable-3","reference"]):e.match(/^&{1}\s*$/)?["variable-3","reference"]:e.match($)?["operator","operator"]:e.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?e.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(e.current())?(e.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:e.match(j)?["operator",e.current()]:/[:;,{}\[\]\(\)]/.test(m)?(e.next(),[null,m]):(e.next(),[null,null])})(e,t))&&"object"==typeof h&&(f=h[1],h=h[0]),g=h,t.state=T[t.state](f,e,t),g)},indent:function(e,t,r){var o=e.context,i=t&&t.charAt(0),n=o.indent,a=firstWordOfLine(t),s=r.match(/^\s*/)[0].replace(/\t/g,k).length,l=e.context.prev?e.context.prev.line.firstWord:"",c=e.context.prev?e.context.prev.line.indent:s;return o.prev&&("}"==i&&("block"==o.type||"atBlock"==o.type||"keyframes"==o.type)||")"==i&&("parens"==o.type||"atBlock_parens"==o.type)||"{"==i&&"at"==o.type)?n=o.indent-b:/(\})/.test(i)||(/@|\$|\d/.test(i)||/^\{/.test(t)||/^\s*\/(\/|\*)/.test(t)||/^\s*\/\*/.test(l)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(t)||/^(\+|-)?[a-z][\w-]*\(/i.test(t)||/^return/.test(t)||wordIsBlock(a)?n=s:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(i)||wordIsTag(a)?n=/\,\s*$/.test(l)?c:/^\s+/.test(r)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||wordIsTag(l))?s<=c?c:c+b:s:/,\s*$/.test(r)||!wordIsVendorPrefix(a)&&!wordIsProperty(a)||(n=wordIsBlock(l)?s<=c?c:c+b:/^\{/.test(l)?s<=c?s:c+b:wordIsVendorPrefix(l)||wordIsProperty(l)?s>=c?c:s:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(l)||/=\s*$/.test(l)||wordIsTag(l)||/^\$[\w-\.\[\]\'\"]/.test(l)?c+b:s)),n},electricChars:"}",lineComment:"//",fold:"indent"}});var t=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],r=["domain","regexp","url","url-prefix"],o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],n=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],a=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],s=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],l=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],c=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],d=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],u=["for","if","else","unless","from","to"],p=["null","true","false","href","title","type","not-allowed","readonly","disabled"],m=t.concat(r,o,i,n,a,l,c,s,d,u,p,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);e.registerHelper("hintWords","stylus",m),e.defineMIME("text/x-styl","stylus")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/96.6bfbc2da.js b/build/codemirror/mode/96.6bfbc2da.js new file mode 100644 index 0000000..d1656b0 --- /dev/null +++ b/build/codemirror/mode/96.6bfbc2da.js @@ -0,0 +1 @@ +webpackJsonp([48],{1018:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordSet(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function tokenBase(e,h,k){if(e.sol()&&(h.indented=e.indentation()),e.eatSpace())return null;var v=e.peek();if("/"==v){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return h.tokenize.push(tokenComment),tokenComment(e,h)}if(e.match(p))return"builtin";if(e.match(m))return"attribute";if(e.match(u))return"number";if(e.match(c))return"number";if(e.match(f))return"number";if(e.match(s))return"number";if(e.match(l))return"property";if(o.indexOf(v)>-1)return e.next(),"operator";if(a.indexOf(v)>-1)return e.next(),e.match(".."),"punctuation";if('"'==v||"'"==v){e.next();var _=function tokenString(e){return function(t,n){for(var r,i=!1;r=t.next();)if(i){if("("==r)return n.tokenize.push(tokenUntilClosingParen()),"string";i=!1}else{if(r==e)break;i="\\"==r}return n.tokenize.pop(),"string"}}(v);return h.tokenize.push(_),_(e,h)}if(e.match(d)){var x=e.current();return i.hasOwnProperty(x)?"variable-2":r.hasOwnProperty(x)?"atom":t.hasOwnProperty(x)?(n.hasOwnProperty(x)&&(h.prev="define"),"keyword"):"define"==k?"def":"variable"}return e.next(),null}function tokenUntilClosingParen(){var e=0;return function(t,n,r){var i=tokenBase(t,n,r);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return i}}function tokenComment(e,t){for(var n;e.match(/^[^/*]+/,!0),n=e.next();)"/"===n&&e.eat("*")?t.tokenize.push(tokenComment):"*"===n&&e.eat("/")&&t.tokenize.pop();return"comment"}var t=wordSet(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),n=wordSet(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),r=wordSet(["true","false","nil","self","super","_"]),i=wordSet(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),o="+-/*%=|&<>~^?!",a=":;,.(){}[]",u=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,f=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,s=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,d=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,l=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,p=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;e.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||tokenBase)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?function popContext(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}:function pushContext(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new function Context(e,t,n){this.prev=e,this.align=t,this.indented=n}(e.context,n,e.indented)})(t,e)}return r},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),e.defineMIME("text/x-swift","swift")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/96.d8be156d.js b/build/codemirror/mode/96.d8be156d.js deleted file mode 100644 index a87b9c1..0000000 --- a/build/codemirror/mode/96.d8be156d.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([49],{1019:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";function wordSet(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function tokenBase(e,h,v){if(e.sol()&&(h.indented=e.indentation()),e.eatSpace())return null;var k=e.peek();if("/"==k){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return h.tokenize.push(tokenComment),tokenComment(e,h)}if(e.match(p))return"builtin";if(e.match(m))return"attribute";if(e.match(u))return"number";if(e.match(c))return"number";if(e.match(f))return"number";if(e.match(s))return"number";if(e.match(l))return"property";if(o.indexOf(k)>-1)return e.next(),"operator";if(a.indexOf(k)>-1)return e.next(),e.match(".."),"punctuation";if('"'==k||"'"==k){e.next();var _=function tokenString(e){return function(t,n){for(var r,i=!1;r=t.next();)if(i){if("("==r)return n.tokenize.push(tokenUntilClosingParen()),"string";i=!1}else{if(r==e)break;i="\\"==r}return n.tokenize.pop(),"string"}}(k);return h.tokenize.push(_),_(e,h)}if(e.match(d)){var w=e.current();return i.hasOwnProperty(w)?"variable-2":r.hasOwnProperty(w)?"atom":t.hasOwnProperty(w)?(n.hasOwnProperty(w)&&(h.prev="define"),"keyword"):"define"==v?"def":"variable"}return e.next(),null}function tokenUntilClosingParen(){var e=0;return function(t,n,r){var i=tokenBase(t,n,r);if("punctuation"==i)if("("==t.current())++e;else if(")"==t.current()){if(0==e)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}return i}}function tokenComment(e,t){return e.match(/^(?:[^*]|\*(?!\/))*/),e.match("*/")&&t.tokenize.pop(),"comment"}var t=wordSet(["_","var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","open","public","internal","fileprivate","private","deinit","init","new","override","self","subscript","super","convenience","dynamic","final","indirect","lazy","required","static","unowned","unowned(safe)","unowned(unsafe)","weak","as","is","break","case","continue","default","else","fallthrough","for","guard","if","in","repeat","switch","where","while","defer","return","inout","mutating","nonmutating","catch","do","rethrows","throw","throws","try","didSet","get","set","willSet","assignment","associativity","infix","left","none","operator","postfix","precedence","precedencegroup","prefix","right","Any","AnyObject","Type","dynamicType","Self","Protocol","__COLUMN__","__FILE__","__FUNCTION__","__LINE__"]),n=wordSet(["var","let","class","enum","extension","import","protocol","struct","func","typealias","associatedtype","for"]),r=wordSet(["true","false","nil","self","super","_"]),i=wordSet(["Array","Bool","Character","Dictionary","Double","Float","Int","Int8","Int16","Int32","Int64","Never","Optional","Set","String","UInt8","UInt16","UInt32","UInt64","Void"]),o="+-/*%=|&<>~^?!",a=":;,.(){}[]",u=/^\-?0b[01][01_]*/,c=/^\-?0o[0-7][0-7_]*/,f=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,s=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,d=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,l=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,p=/^\#[A-Za-z]+/,m=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;e.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(e,t){var n=t.prev;t.prev=null;var r=(t.tokenize[t.tokenize.length-1]||tokenBase)(e,t,n);if(r&&"comment"!=r?t.prev||(t.prev=r):t.prev=n,"punctuation"==r){var i=/[\(\[\{]|([\]\)\}])/.exec(e.current());i&&(i[1]?function popContext(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}:function pushContext(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new function Context(e,t,n){this.prev=e,this.align=t,this.indented=n}(e.context,n,e.indented)})(t,e)}return r},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return null!=r.align?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),e.defineMIME("text/x-swift","swift")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/97.88367277.js b/build/codemirror/mode/97.f676d8c3.js similarity index 97% rename from build/codemirror/mode/97.88367277.js rename to build/codemirror/mode/97.f676d8c3.js index ec6e4ff..2ccf5b7 100644 --- a/build/codemirror/mode/97.88367277.js +++ b/build/codemirror/mode/97.f676d8c3.js @@ -1 +1 @@ -webpackJsonp([48],{1020:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("tcl",function(){function parseWords(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function chain(e,t,r){return t.tokenize=r,r(e,t)}function tokenBase(n,a){var o=a.beforeParams;a.beforeParams=!1;var i=n.next();if('"'!=i&&"'"!=i||!a.inParams){if(/[\[\]{}\(\),;\.]/.test(i))return"("==i&&o?a.inParams=!0:")"==i&&(a.inParams=!1),null;if(/\d/.test(i))return n.eatWhile(/[\w\.]/),"number";if("#"==i)return n.eat("*")?chain(n,a,tokenComment):"#"==i&&n.match(/ *\[ *\[/)?chain(n,a,tokenUnparsed):(n.skipToEnd(),"comment");if('"'==i)return n.skipTo(/"/),"comment";if("$"==i)return n.eatWhile(/[$_a-z0-9A-Z\.{:]/),n.eatWhile(/}/),a.beforeParams=!0,"builtin";if(r.test(i))return n.eatWhile(r),"comment";n.eatWhile(/[\w\$_{}\xa1-\uffff]/);var s=n.current().toLowerCase();return e&&e.propertyIsEnumerable(s)?"keyword":t&&t.propertyIsEnumerable(s)?(a.beforeParams=!0,"keyword"):null}return chain(n,a,function tokenString(e){return function(t,r){for(var n,a=!1,o=!1;null!=(n=t.next());){if(n==e&&!a){o=!0;break}a=!a&&"\\"==n}return o&&(r.tokenize=tokenBase),"string"}}(i))}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("#"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return"comment"}function tokenUnparsed(e,t){for(var r,n=0;r=e.next();){if("#"==r&&2==n){t.tokenize=tokenBase;break}"]"==r?n++:" "!=r&&(n=0)}return"meta"}var e=parseWords("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),t=parseWords("if elseif else and not or eq ne in ni for foreach while switch"),r=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-tcl","tcl")})}}); \ No newline at end of file +webpackJsonp([47],{1019:function(e,t,r){!function(e){e(r(907))}(function(e){"use strict";e.defineMode("tcl",function(){function parseWords(e){for(var t={},r=e.split(" "),n=0;n<r.length;++n)t[r[n]]=!0;return t}function chain(e,t,r){return t.tokenize=r,r(e,t)}function tokenBase(n,a){var o=a.beforeParams;a.beforeParams=!1;var i=n.next();if('"'!=i&&"'"!=i||!a.inParams){if(/[\[\]{}\(\),;\.]/.test(i))return"("==i&&o?a.inParams=!0:")"==i&&(a.inParams=!1),null;if(/\d/.test(i))return n.eatWhile(/[\w\.]/),"number";if("#"==i)return n.eat("*")?chain(n,a,tokenComment):"#"==i&&n.match(/ *\[ *\[/)?chain(n,a,tokenUnparsed):(n.skipToEnd(),"comment");if('"'==i)return n.skipTo(/"/),"comment";if("$"==i)return n.eatWhile(/[$_a-z0-9A-Z\.{:]/),n.eatWhile(/}/),a.beforeParams=!0,"builtin";if(r.test(i))return n.eatWhile(r),"comment";n.eatWhile(/[\w\$_{}\xa1-\uffff]/);var s=n.current().toLowerCase();return e&&e.propertyIsEnumerable(s)?"keyword":t&&t.propertyIsEnumerable(s)?(a.beforeParams=!0,"keyword"):null}return chain(n,a,function tokenString(e){return function(t,r){for(var n,a=!1,o=!1;null!=(n=t.next());){if(n==e&&!a){o=!0;break}a=!a&&"\\"==n}return o&&(r.tokenize=tokenBase),"string"}}(i))}function tokenComment(e,t){for(var r,n=!1;r=e.next();){if("#"==r&&n){t.tokenize=tokenBase;break}n="*"==r}return"comment"}function tokenUnparsed(e,t){for(var r,n=0;r=e.next();){if("#"==r&&2==n){t.tokenize=tokenBase;break}"]"==r?n++:" "!=r&&(n=0)}return"meta"}var e=parseWords("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),t=parseWords("if elseif else and not or eq ne in ni for foreach while switch"),r=/[+\-*&%=<>!?^\/\|]/;return{startState:function(){return{tokenize:tokenBase,beforeParams:!1,inParams:!1}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),e.defineMIME("text/x-tcl","tcl")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/98.95baa9d3.js b/build/codemirror/mode/98.479b2a70.js similarity index 99% rename from build/codemirror/mode/98.95baa9d3.js rename to build/codemirror/mode/98.479b2a70.js index 84f3ed4..78490ab 100644 --- a/build/codemirror/mode/98.95baa9d3.js +++ b/build/codemirror/mode/98.479b2a70.js @@ -1 +1 @@ -webpackJsonp([47],{1021:function(e,t,i){!function(e){e(i(907))}(function(e){"use strict";function handlePhraseModifier(e,i,n){if("_"===n)return e.eat("_")?togglePhraseModifier(e,i,"italic",/__/,2):togglePhraseModifier(e,i,"em",/_/,1);if("*"===n)return e.eat("*")?togglePhraseModifier(e,i,"bold",/\*\*/,2):togglePhraseModifier(e,i,"strong",/\*/,1);if("["===n)return e.match(/\d+\]/)&&(i.footCite=!0),tokenStyles(i);if("("===n){if(e.match(/^(r|tm|c)\)/))return tokenStylesWith(i,t.specialChar)}if("<"===n&&e.match(/(\w+)[^>]+>[^<]+<\/\1>/))return tokenStylesWith(i,t.html);if("?"===n&&e.eat("?"))return togglePhraseModifier(e,i,"cite",/\?\?/,2);if("="===n&&e.eat("="))return togglePhraseModifier(e,i,"notextile",/==/,2);if("-"===n&&!e.eat("-"))return togglePhraseModifier(e,i,"deletion",/-/,1);if("+"===n)return togglePhraseModifier(e,i,"addition",/\+/,1);if("~"===n)return togglePhraseModifier(e,i,"sub",/~/,1);if("^"===n)return togglePhraseModifier(e,i,"sup",/\^/,1);if("%"===n)return togglePhraseModifier(e,i,"span",/%/,1);if("@"===n)return togglePhraseModifier(e,i,"code",/@/,1);if("!"===n){var a=togglePhraseModifier(e,i,"image",/(?:\([^\)]+\))?!/,1);return e.match(/^:\S+/),a}return tokenStyles(i)}function togglePhraseModifier(e,t,i,a,r){var l=e.pos>r?e.string.charAt(e.pos-r-1):null,o=e.peek();if(t[i]){if((!o||/\W/.test(o))&&l&&/\S/.test(l)){var s=tokenStyles(t);return t[i]=!1,s}}else(!l||/\W/.test(l))&&o&&/\S/.test(o)&&e.match(new RegExp("^.*\\S"+a.source+"(?:\\W|$)"),!1)&&(t[i]=!0,t.mode=n.attributes);return tokenStyles(t)}function tokenStyles(e){var i=textileDisabled(e);if(i)return i;var n=[];return e.layoutType&&n.push(t[e.layoutType]),n=n.concat(function activeStyles(e){for(var i=[],n=1;n<arguments.length;++n)e[arguments[n]]&&i.push(t[arguments[n]]);return i}(e,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),"header"===e.layoutType&&n.push(t.header+"-"+e.header),n.length?n.join(" "):null}function textileDisabled(e){var i=e.layoutType;switch(i){case"notextile":case"code":case"pre":return t[i];default:return e.notextile?t.notextile+(i?" "+t[i]:""):null}}function tokenStylesWith(e,t){var i=textileDisabled(e);if(i)return i;var n=tokenStyles(e);return t?n?n+" "+t:t:n}function blankLine(e){var t=e.spanningLayout,i=e.layoutType;for(var a in e)e.hasOwnProperty(a)&&delete e[a];e.mode=n.newLayout,t&&(e.layoutType=i,e.spanningLayout=!0)}function RE(e){return i.cache[e]||(i.cache[e]=i.createRe(e))}var t={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",tableHeading:"operator"},i={cache:{},single:{bc:"bc",bq:"bq",definitionList:/- .*?:=+/,definitionListEnd:/.*=:\s*$/,div:"div",drawTable:/\|.*\|/,foot:/fn\d+/,header:/h[1-6]/,html:/\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(e){switch(e){case"drawTable":return i.makeRe("^",i.single.drawTable,"$");case"html":return i.makeRe("^",i.single.html,"(?:",i.single.html,")*","$");case"linkDefinition":return i.makeRe("^",i.single.linkDefinition,"$");case"listLayout":return i.makeRe("^",i.single.list,RE("allAttributes"),"*\\s+");case"tableCellAttributes":return i.makeRe("^",i.choiceRe(i.single.tableCellAttributes,RE("allAttributes")),"+\\.");case"type":return i.makeRe("^",RE("allTypes"));case"typeLayout":return i.makeRe("^",RE("allTypes"),RE("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return i.makeRe("^",RE("allAttributes"),"+");case"allTypes":return i.choiceRe(i.single.div,i.single.foot,i.single.header,i.single.bc,i.single.bq,i.single.notextile,i.single.pre,i.single.table,i.single.para);case"allAttributes":return i.choiceRe(i.attributes.selector,i.attributes.css,i.attributes.lang,i.attributes.align,i.attributes.pad);default:return i.makeRe("^",i.single[e])}},makeRe:function(){for(var e="",t=0;t<arguments.length;++t){var i=arguments[t];e+="string"==typeof i?i:i.source}return new RegExp(e)},choiceRe:function(){for(var e=[arguments[0]],t=1;t<arguments.length;++t)e[2*t-1]="|",e[2*t]=arguments[t];return e.unshift("(?:"),e.push(")"),i.makeRe.apply(null,e)}},n={newLayout:function(e,t){if(e.match(RE("typeLayout"),!1))return t.spanningLayout=!1,(t.mode=n.blockType)(e,t);var i;return textileDisabled(t)||(e.match(RE("listLayout"),!1)?i=n.list:e.match(RE("drawTable"),!1)?i=n.table:e.match(RE("linkDefinition"),!1)?i=n.linkDefinition:e.match(RE("definitionList"))?i=n.definitionList:e.match(RE("html"),!1)&&(i=n.html)),(t.mode=i||n.text)(e,t)},blockType:function(e,t){var i,a;return t.layoutType=null,(i=e.match(RE("type")))?(a=i[0],(i=a.match(RE("header")))?(t.layoutType="header",t.header=parseInt(i[0][1])):a.match(RE("bq"))?t.layoutType="quote":a.match(RE("bc"))?t.layoutType="code":a.match(RE("foot"))?t.layoutType="footnote":a.match(RE("notextile"))?t.layoutType="notextile":a.match(RE("pre"))?t.layoutType="pre":a.match(RE("div"))?t.layoutType="div":a.match(RE("table"))&&(t.layoutType="table"),t.mode=n.attributes,tokenStyles(t)):(t.mode=n.text)(e,t)},text:function(e,t){if(e.match(RE("text")))return tokenStyles(t);var i=e.next();return'"'===i?(t.mode=n.link)(e,t):handlePhraseModifier(e,t,i)},attributes:function(e,i){return i.mode=n.layoutLength,e.match(RE("attributes"))?tokenStylesWith(i,t.attributes):tokenStyles(i)},layoutLength:function(e,t){return e.eat(".")&&e.eat(".")&&(t.spanningLayout=!0),t.mode=n.text,tokenStyles(t)},list:function(e,t){var i=e.match(RE("list"));t.listDepth=i[0].length;var a=(t.listDepth-1)%3;return t.layoutType=a?1===a?"list2":"list3":"list1",t.mode=n.attributes,tokenStyles(t)},link:function(e,i){return i.mode=n.text,e.match(RE("link"))?(e.match(/\S+/),tokenStylesWith(i,t.link)):tokenStyles(i)},linkDefinition:function(e,i){return e.skipToEnd(),tokenStylesWith(i,t.linkDefinition)},definitionList:function(e,t){return e.match(RE("definitionList")),t.layoutType="definitionList",e.match(/\s*$/)?t.spanningLayout=!0:t.mode=n.attributes,tokenStyles(t)},html:function(e,i){return e.skipToEnd(),tokenStylesWith(i,t.html)},table:function(e,t){return t.layoutType="table",(t.mode=n.tableCell)(e,t)},tableCell:function(e,t){return e.match(RE("tableHeading"))?t.tableHeading=!0:e.eat("|"),t.mode=n.tableCellAttributes,tokenStyles(t)},tableCellAttributes:function(e,i){return i.mode=n.tableText,e.match(RE("tableCellAttributes"))?tokenStylesWith(i,t.attributes):tokenStyles(i)},tableText:function(e,t){return e.match(RE("tableText"))?tokenStyles(t):"|"===e.peek()?(t.mode=n.tableCell,tokenStyles(t)):handlePhraseModifier(e,t,e.next())}};e.defineMode("textile",function(){return{startState:function(){return{mode:n.newLayout}},token:function(e,t){return e.sol()&&function startNewLine(e,t){t.mode=n.newLayout,t.tableHeading=!1,"definitionList"===t.layoutType&&t.spanningLayout&&e.match(RE("definitionListEnd"),!1)&&(t.spanningLayout=!1)}(e,t),t.mode(e,t)},blankLine:blankLine}}),e.defineMIME("text/x-textile","textile")})}}); \ No newline at end of file +webpackJsonp([46],{1020:function(e,t,i){!function(e){e(i(907))}(function(e){"use strict";function handlePhraseModifier(e,i,n){if("_"===n)return e.eat("_")?togglePhraseModifier(e,i,"italic",/__/,2):togglePhraseModifier(e,i,"em",/_/,1);if("*"===n)return e.eat("*")?togglePhraseModifier(e,i,"bold",/\*\*/,2):togglePhraseModifier(e,i,"strong",/\*/,1);if("["===n)return e.match(/\d+\]/)&&(i.footCite=!0),tokenStyles(i);if("("===n){if(e.match(/^(r|tm|c)\)/))return tokenStylesWith(i,t.specialChar)}if("<"===n&&e.match(/(\w+)[^>]+>[^<]+<\/\1>/))return tokenStylesWith(i,t.html);if("?"===n&&e.eat("?"))return togglePhraseModifier(e,i,"cite",/\?\?/,2);if("="===n&&e.eat("="))return togglePhraseModifier(e,i,"notextile",/==/,2);if("-"===n&&!e.eat("-"))return togglePhraseModifier(e,i,"deletion",/-/,1);if("+"===n)return togglePhraseModifier(e,i,"addition",/\+/,1);if("~"===n)return togglePhraseModifier(e,i,"sub",/~/,1);if("^"===n)return togglePhraseModifier(e,i,"sup",/\^/,1);if("%"===n)return togglePhraseModifier(e,i,"span",/%/,1);if("@"===n)return togglePhraseModifier(e,i,"code",/@/,1);if("!"===n){var a=togglePhraseModifier(e,i,"image",/(?:\([^\)]+\))?!/,1);return e.match(/^:\S+/),a}return tokenStyles(i)}function togglePhraseModifier(e,t,i,a,r){var l=e.pos>r?e.string.charAt(e.pos-r-1):null,o=e.peek();if(t[i]){if((!o||/\W/.test(o))&&l&&/\S/.test(l)){var s=tokenStyles(t);return t[i]=!1,s}}else(!l||/\W/.test(l))&&o&&/\S/.test(o)&&e.match(new RegExp("^.*\\S"+a.source+"(?:\\W|$)"),!1)&&(t[i]=!0,t.mode=n.attributes);return tokenStyles(t)}function tokenStyles(e){var i=textileDisabled(e);if(i)return i;var n=[];return e.layoutType&&n.push(t[e.layoutType]),n=n.concat(function activeStyles(e){for(var i=[],n=1;n<arguments.length;++n)e[arguments[n]]&&i.push(t[arguments[n]]);return i}(e,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),"header"===e.layoutType&&n.push(t.header+"-"+e.header),n.length?n.join(" "):null}function textileDisabled(e){var i=e.layoutType;switch(i){case"notextile":case"code":case"pre":return t[i];default:return e.notextile?t.notextile+(i?" "+t[i]:""):null}}function tokenStylesWith(e,t){var i=textileDisabled(e);if(i)return i;var n=tokenStyles(e);return t?n?n+" "+t:t:n}function blankLine(e){var t=e.spanningLayout,i=e.layoutType;for(var a in e)e.hasOwnProperty(a)&&delete e[a];e.mode=n.newLayout,t&&(e.layoutType=i,e.spanningLayout=!0)}function RE(e){return i.cache[e]||(i.cache[e]=i.createRe(e))}var t={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",tableHeading:"operator"},i={cache:{},single:{bc:"bc",bq:"bq",definitionList:/- .*?:=+/,definitionListEnd:/.*=:\s*$/,div:"div",drawTable:/\|.*\|/,foot:/fn\d+/,header:/h[1-6]/,html:/\s*<(?:\/)?(\w+)(?:[^>]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(e){switch(e){case"drawTable":return i.makeRe("^",i.single.drawTable,"$");case"html":return i.makeRe("^",i.single.html,"(?:",i.single.html,")*","$");case"linkDefinition":return i.makeRe("^",i.single.linkDefinition,"$");case"listLayout":return i.makeRe("^",i.single.list,RE("allAttributes"),"*\\s+");case"tableCellAttributes":return i.makeRe("^",i.choiceRe(i.single.tableCellAttributes,RE("allAttributes")),"+\\.");case"type":return i.makeRe("^",RE("allTypes"));case"typeLayout":return i.makeRe("^",RE("allTypes"),RE("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return i.makeRe("^",RE("allAttributes"),"+");case"allTypes":return i.choiceRe(i.single.div,i.single.foot,i.single.header,i.single.bc,i.single.bq,i.single.notextile,i.single.pre,i.single.table,i.single.para);case"allAttributes":return i.choiceRe(i.attributes.selector,i.attributes.css,i.attributes.lang,i.attributes.align,i.attributes.pad);default:return i.makeRe("^",i.single[e])}},makeRe:function(){for(var e="",t=0;t<arguments.length;++t){var i=arguments[t];e+="string"==typeof i?i:i.source}return new RegExp(e)},choiceRe:function(){for(var e=[arguments[0]],t=1;t<arguments.length;++t)e[2*t-1]="|",e[2*t]=arguments[t];return e.unshift("(?:"),e.push(")"),i.makeRe.apply(null,e)}},n={newLayout:function(e,t){if(e.match(RE("typeLayout"),!1))return t.spanningLayout=!1,(t.mode=n.blockType)(e,t);var i;return textileDisabled(t)||(e.match(RE("listLayout"),!1)?i=n.list:e.match(RE("drawTable"),!1)?i=n.table:e.match(RE("linkDefinition"),!1)?i=n.linkDefinition:e.match(RE("definitionList"))?i=n.definitionList:e.match(RE("html"),!1)&&(i=n.html)),(t.mode=i||n.text)(e,t)},blockType:function(e,t){var i,a;return t.layoutType=null,(i=e.match(RE("type")))?(a=i[0],(i=a.match(RE("header")))?(t.layoutType="header",t.header=parseInt(i[0][1])):a.match(RE("bq"))?t.layoutType="quote":a.match(RE("bc"))?t.layoutType="code":a.match(RE("foot"))?t.layoutType="footnote":a.match(RE("notextile"))?t.layoutType="notextile":a.match(RE("pre"))?t.layoutType="pre":a.match(RE("div"))?t.layoutType="div":a.match(RE("table"))&&(t.layoutType="table"),t.mode=n.attributes,tokenStyles(t)):(t.mode=n.text)(e,t)},text:function(e,t){if(e.match(RE("text")))return tokenStyles(t);var i=e.next();return'"'===i?(t.mode=n.link)(e,t):handlePhraseModifier(e,t,i)},attributes:function(e,i){return i.mode=n.layoutLength,e.match(RE("attributes"))?tokenStylesWith(i,t.attributes):tokenStyles(i)},layoutLength:function(e,t){return e.eat(".")&&e.eat(".")&&(t.spanningLayout=!0),t.mode=n.text,tokenStyles(t)},list:function(e,t){var i=e.match(RE("list"));t.listDepth=i[0].length;var a=(t.listDepth-1)%3;return t.layoutType=a?1===a?"list2":"list3":"list1",t.mode=n.attributes,tokenStyles(t)},link:function(e,i){return i.mode=n.text,e.match(RE("link"))?(e.match(/\S+/),tokenStylesWith(i,t.link)):tokenStyles(i)},linkDefinition:function(e,i){return e.skipToEnd(),tokenStylesWith(i,t.linkDefinition)},definitionList:function(e,t){return e.match(RE("definitionList")),t.layoutType="definitionList",e.match(/\s*$/)?t.spanningLayout=!0:t.mode=n.attributes,tokenStyles(t)},html:function(e,i){return e.skipToEnd(),tokenStylesWith(i,t.html)},table:function(e,t){return t.layoutType="table",(t.mode=n.tableCell)(e,t)},tableCell:function(e,t){return e.match(RE("tableHeading"))?t.tableHeading=!0:e.eat("|"),t.mode=n.tableCellAttributes,tokenStyles(t)},tableCellAttributes:function(e,i){return i.mode=n.tableText,e.match(RE("tableCellAttributes"))?tokenStylesWith(i,t.attributes):tokenStyles(i)},tableText:function(e,t){return e.match(RE("tableText"))?tokenStyles(t):"|"===e.peek()?(t.mode=n.tableCell,tokenStyles(t)):handlePhraseModifier(e,t,e.next())}};e.defineMode("textile",function(){return{startState:function(){return{mode:n.newLayout}},token:function(e,t){return e.sol()&&function startNewLine(e,t){t.mode=n.newLayout,t.tableHeading=!1,"definitionList"===t.layoutType&&t.spanningLayout&&e.match(RE("definitionListEnd"),!1)&&(t.spanningLayout=!1)}(e,t),t.mode(e,t)},blankLine:blankLine}}),e.defineMIME("text/x-textile","textile")})}}); \ No newline at end of file diff --git a/build/codemirror/mode/99.a0bccb8f.js b/build/codemirror/mode/99.3ad39299.js similarity index 98% rename from build/codemirror/mode/99.a0bccb8f.js rename to build/codemirror/mode/99.3ad39299.js index 8911bde..a602dda 100644 --- a/build/codemirror/mode/99.a0bccb8f.js +++ b/build/codemirror/mode/99.3ad39299.js @@ -1 +1 @@ -webpackJsonp([46],{1022:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("tiddlywiki",function(){function chain(e,t,n){return t.tokenize=n,n(e,t)}function tokenBase(t,l){var h=t.sol(),s=t.peek();if(l.block=!1,h&&/[<\/\*{}\-]/.test(s)){if(t.match(m))return l.block=!0,chain(t,l,twTokenCode);if(t.match(a))return"quote";if(t.match(i)||t.match(o))return"comment";if(t.match(u)||t.match(c)||t.match(k)||t.match(f))return"comment";if(t.match(r))return"hr"}if(t.next(),h&&/[\/\*!#;:>|]/.test(s)){if("!"==s)return t.skipToEnd(),"header";if("*"==s)return t.eatWhile("*"),"comment";if("#"==s)return t.eatWhile("#"),"comment";if(";"==s)return t.eatWhile(";"),"comment";if(":"==s)return t.eatWhile(":"),"comment";if(">"==s)return t.eatWhile(">"),"quote";if("|"==s)return"header"}if("{"==s&&t.match(/\{\{/))return chain(t,l,twTokenCode);if(/[hf]/i.test(s)&&/[ti]/i.test(t.peek())&&t.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==s)return"string";if("~"==s)return"brace";if(/[\[\]]/.test(s)&&t.match(s))return"brace";if("@"==s)return t.eatWhile(n),"link";if(/\d/.test(s))return t.eatWhile(/\d/),"number";if("/"==s){if(t.eat("%"))return chain(t,l,twTokenComment);if(t.eat("/"))return chain(t,l,twTokenEm)}if("_"==s&&t.eat("_"))return chain(t,l,twTokenUnderline);if("-"==s&&t.eat("-")){if(" "!=t.peek())return chain(t,l,twTokenStrike);if(" "==t.peek())return"brace"}return"'"==s&&t.eat("'")?chain(t,l,twTokenStrong):"<"==s&&t.eat("<")?chain(t,l,twTokenMacro):(t.eatWhile(/[\w\$_]/),e.propertyIsEnumerable(t.current())?"keyword":null)}function twTokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="%"==n}return"comment"}function twTokenStrong(e,t){for(var n,r=!1;n=e.next();){if("'"==n&&r){t.tokenize=tokenBase;break}r="'"==n}return"strong"}function twTokenCode(e,t){var n=t.block;return n&&e.current()?"comment":!n&&e.match(h)?(t.tokenize=tokenBase,"comment"):n&&e.sol()&&e.match(l)?(t.tokenize=tokenBase,"comment"):(e.next(),"comment")}function twTokenEm(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="/"==n}return"em"}function twTokenUnderline(e,t){for(var n,r=!1;n=e.next();){if("_"==n&&r){t.tokenize=tokenBase;break}r="_"==n}return"underlined"}function twTokenStrike(e,t){for(var n,r=!1;n=e.next();){if("-"==n&&r){t.tokenize=tokenBase;break}r="-"==n}return"strikethrough"}function twTokenMacro(e,n){if("<<"==e.current())return"macro";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),n.tokenize=tokenBase,"macro"):(e.eatWhile(/[\w\$_]/),t.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=tokenBase,null)}var e={},t={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},n=/[\w_\-]/i,r=/^\-\-\-\-+$/,i=/^\/\*\*\*$/,o=/^\*\*\*\/$/,a=/^<<<$/,u=/^\/\/\{\{\{$/,c=/^\/\/\}\}\}$/,k=/^<!--\{\{\{-->$/,f=/^<!--\}\}\}-->$/,m=/^\{\{\{$/,l=/^\}\}\}$/,h=/.*?\}\}\}/;return{startState:function(){return{tokenize:tokenBase}},token:function(e,t){if(e.eatSpace())return null;return t.tokenize(e,t)}}}),e.defineMIME("text/x-tiddlywiki","tiddlywiki")})}}); \ No newline at end of file +webpackJsonp([45],{1021:function(e,t,n){!function(e){e(n(907))}(function(e){"use strict";e.defineMode("tiddlywiki",function(){function chain(e,t,n){return t.tokenize=n,n(e,t)}function tokenBase(t,l){var h=t.sol(),s=t.peek();if(l.block=!1,h&&/[<\/\*{}\-]/.test(s)){if(t.match(m))return l.block=!0,chain(t,l,twTokenCode);if(t.match(a))return"quote";if(t.match(i)||t.match(o))return"comment";if(t.match(u)||t.match(c)||t.match(k)||t.match(f))return"comment";if(t.match(r))return"hr"}if(t.next(),h&&/[\/\*!#;:>|]/.test(s)){if("!"==s)return t.skipToEnd(),"header";if("*"==s)return t.eatWhile("*"),"comment";if("#"==s)return t.eatWhile("#"),"comment";if(";"==s)return t.eatWhile(";"),"comment";if(":"==s)return t.eatWhile(":"),"comment";if(">"==s)return t.eatWhile(">"),"quote";if("|"==s)return"header"}if("{"==s&&t.match(/\{\{/))return chain(t,l,twTokenCode);if(/[hf]/i.test(s)&&/[ti]/i.test(t.peek())&&t.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if('"'==s)return"string";if("~"==s)return"brace";if(/[\[\]]/.test(s)&&t.match(s))return"brace";if("@"==s)return t.eatWhile(n),"link";if(/\d/.test(s))return t.eatWhile(/\d/),"number";if("/"==s){if(t.eat("%"))return chain(t,l,twTokenComment);if(t.eat("/"))return chain(t,l,twTokenEm)}if("_"==s&&t.eat("_"))return chain(t,l,twTokenUnderline);if("-"==s&&t.eat("-")){if(" "!=t.peek())return chain(t,l,twTokenStrike);if(" "==t.peek())return"brace"}return"'"==s&&t.eat("'")?chain(t,l,twTokenStrong):"<"==s&&t.eat("<")?chain(t,l,twTokenMacro):(t.eatWhile(/[\w\$_]/),e.propertyIsEnumerable(t.current())?"keyword":null)}function twTokenComment(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="%"==n}return"comment"}function twTokenStrong(e,t){for(var n,r=!1;n=e.next();){if("'"==n&&r){t.tokenize=tokenBase;break}r="'"==n}return"strong"}function twTokenCode(e,t){var n=t.block;return n&&e.current()?"comment":!n&&e.match(h)?(t.tokenize=tokenBase,"comment"):n&&e.sol()&&e.match(l)?(t.tokenize=tokenBase,"comment"):(e.next(),"comment")}function twTokenEm(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=tokenBase;break}r="/"==n}return"em"}function twTokenUnderline(e,t){for(var n,r=!1;n=e.next();){if("_"==n&&r){t.tokenize=tokenBase;break}r="_"==n}return"underlined"}function twTokenStrike(e,t){for(var n,r=!1;n=e.next();){if("-"==n&&r){t.tokenize=tokenBase;break}r="-"==n}return"strikethrough"}function twTokenMacro(e,n){if("<<"==e.current())return"macro";var r=e.next();return r?">"==r&&">"==e.peek()?(e.next(),n.tokenize=tokenBase,"macro"):(e.eatWhile(/[\w\$_]/),t.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=tokenBase,null)}var e={},t={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},n=/[\w_\-]/i,r=/^\-\-\-\-+$/,i=/^\/\*\*\*$/,o=/^\*\*\*\/$/,a=/^<<<$/,u=/^\/\/\{\{\{$/,c=/^\/\/\}\}\}$/,k=/^<!--\{\{\{-->$/,f=/^<!--\}\}\}-->$/,m=/^\{\{\{$/,l=/^\}\}\}$/,h=/.*?\}\}\}/;return{startState:function(){return{tokenize:tokenBase}},token:function(e,t){if(e.eatSpace())return null;return t.tokenize(e,t)}}}),e.defineMIME("text/x-tiddlywiki","tiddlywiki")})}}); \ No newline at end of file diff --git a/build/react-sortable-hoc.1863c1e1.js b/build/react-sortable-hoc.e37a541e.js similarity index 95% rename from build/react-sortable-hoc.1863c1e1.js rename to build/react-sortable-hoc.e37a541e.js index 13558b2..849f898 100644 --- a/build/react-sortable-hoc.1863c1e1.js +++ b/build/react-sortable-hoc.e37a541e.js @@ -1 +1 @@ -webpackJsonp([0],{1042:function(e,t){e.exports=function baseFindIndex(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},1043:function(e,t,n){function baseFlatten(e,t,n,i,a){var s=-1,l=e.length;for(n||(n=o),a||(a=[]);++s<l;){var u=e[s];t>0&&n(u)?t>1?baseFlatten(u,t-1,n,i,a):r(a,u):i||(a[a.length]=u)}return a}var r=n(218),o=n(1049);e.exports=baseFlatten},1044:function(e,t,n){var r=n(96),o=n(95),i=n(219),a=n(1045),s=n(221),l=n(1047),u=n(53);e.exports=function baseOrderBy(e,t,n){var f=-1;t=r(t.length?t:[u],s(o));var c=i(e,function(e,n,o){return{criteria:r(t,function(t){return t(e)}),index:++f,value:e}});return a(c,function(e,t){return l(e,t,n)})}},1045:function(e,t){e.exports=function baseSortBy(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},1046:function(e,t,n){var r=n(37);e.exports=function compareAscending(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),s=void 0!==t,l=null===t,u=t==t,f=r(t);if(!l&&!f&&!a&&e>t||a&&s&&u&&!l&&!f||o&&s&&u||!n&&u||!i)return 1;if(!o&&!a&&!f&&e<t||f&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}},1047:function(e,t,n){var r=n(1046);e.exports=function compareMultiple(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var u=r(i[o],a[o]);if(u)return o>=l?u:u*("desc"==n[o]?-1:1)}return e.index-t.index}},1048:function(e,t,n){var r=n(95),o=n(24),i=n(55);e.exports=function createFind(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[l?t[u]:u]:void 0}}},1049:function(e,t,n){var r=n(36),o=n(54),i=n(14),a=r?r.isConcatSpreadable:void 0;e.exports=function isFlattenable(e){return i(e)||o(e)||!!(a&&e&&e[a])}},1050:function(e,t,n){var r=n(1048)(n(1051));e.exports=r},1051:function(e,t,n){var r=n(1042),o=n(95),i=n(1054),a=Math.max;e.exports=function findIndex(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},1052:function(e,t,n){var r=n(1043),o=n(1044),i=n(220),a=n(222),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},1053:function(e,t,n){var r=n(224),o=1/0,i=1.7976931348623157e308;e.exports=function toFinite(e){if(!e)return 0===e?e:0;if((e=r(e))===o||e===-o)return(e<0?-1:1)*i;return e==e?e:0}},1054:function(e,t,n){var r=n(1053);e.exports=function toInteger(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},1055:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),o=_interopRequireDefault(n(1050)),i=_interopRequireDefault(n(1052)),a=function(){function Manager(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Manager),this.refs={}}return r(Manager,[{key:"add",value:function add(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function remove(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function isActive(){return this.active}},{key:"getActive",value:function getActive(){var e=this;return(0,o.default)(this.refs[this.active.collection],function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function getIndex(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function getOrderedRefs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return(0,i.default)(this.refs[e],function(e){return e.node.sortableInfo.index})}}]),Manager}();t.default=a},1056:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableContainer(e){var t,n,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class);var t=function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).call(this,e));return t.handleStart=function(e){var n=t.props,r=n.distance,o=n.shouldCancelStart;if(2===e.button||o(e))return!1;t._touched=!0,t._pos={x:e.pageX,y:e.pageY};var i=(0,d.closest)(e.target,function(e){return null!=e.sortableInfo});if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,s=i.sortableInfo,l=s.index,u=s.collection;if(a&&!(0,d.closest)(e.target,function(e){return null!=e.sortableHandle}))return;t.manager.active={index:l,collection:u},"a"===e.target.tagName.toLowerCase()&&e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}},t.nodeIsChild=function(e){return e.sortableInfo.manager===t.manager},t.handleMove=function(e){var n=t.props,r=n.distance,o=n.pressThreshold;if(!t.state.sorting&&t._touched){t._delta={x:t._pos.x-e.pageX,y:t._pos.y-e.pageY};var i=Math.abs(t._delta.x)+Math.abs(t._delta.y);r||o&&!(o&&i>=o)?r&&i>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}},t.handleEnd=function(){var e=t.props.distance;t._touched=!1,e||t.cancel()},t.cancel=function(){t.state.sorting||(clearTimeout(t.pressTimer),t.manager.active=null)},t.handlePress=function(e){var n=t.manager.getActive();if(n){var r=t.props,o=r.axis,i=r.getHelperDimensions,a=r.helperClass,s=r.hideSortableGhost,l=r.onSortStart,u=r.useWindowAsScrollContainer,f=n.node,c=n.collection,h=f.sortableInfo.index,p=(0,d.getElementMargin)(f),g=t.container.getBoundingClientRect(),v=i({index:h,node:f,collection:c});t.node=f,t.margin=p,t.width=v.width,t.height=v.height,t.marginOffset={x:t.margin.left+t.margin.right,y:Math.max(t.margin.top,t.margin.bottom)},t.boundingClientRect=f.getBoundingClientRect(),t.containerBoundingRect=g,t.index=h,t.newIndex=h,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=t.getEdgeOffset(f),t.initialOffset=t.getOffset(e),t.initialScroll={top:t.scrollContainer.scrollTop,left:t.scrollContainer.scrollLeft},t.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var y=f.querySelectorAll("input, textarea, select"),m=f.cloneNode(!0);if([].concat(_toConsumableArray(m.querySelectorAll("input, textarea, select"))).forEach(function(e,t){"file"!==e.type&&y[t]&&(e.value=y[t].value)}),t.helper=t.document.body.appendChild(m),t.helper.style.position="fixed",t.helper.style.top=t.boundingClientRect.top-p.top+"px",t.helper.style.left=t.boundingClientRect.left-p.left+"px",t.helper.style.width=t.width+"px",t.helper.style.height=t.height+"px",t.helper.style.boxSizing="border-box",t.helper.style.pointerEvents="none",s&&(t.sortableGhost=f,f.style.visibility="hidden",f.style.opacity=0),t.minTranslate={},t.maxTranslate={},t.axis.x&&(t.minTranslate.x=(u?0:g.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(u?t.contentWindow.innerWidth:g.left+g.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(u?0:g.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(u?t.contentWindow.innerHeight:g.top+g.height)-t.boundingClientRect.top-t.height/2),a){var x;(x=t.helper.classList).add.apply(x,_toConsumableArray(a.split(" ")))}t.listenerNode=e.touches?f:t.contentWindow,d.events.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),d.events.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}),t.setState({sorting:!0,sortingIndex:h}),l&&l({node:f,index:h,collection:c},e)}},t.handleSortMove=function(e){var n=t.props.onSortMove;e.preventDefault(),t.updatePosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)},t.handleSortEnd=function(e){var n=t.props,r=n.hideSortableGhost,o=n.onSortEnd,i=t.manager.active.collection;t.listenerNode&&(d.events.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),d.events.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&(t.sortableGhost.style.visibility="",t.sortableGhost.style.opacity="");for(var a=t.manager.refs[i],s=0,l=a.length;s<l;s++){var u=a[s],f=u.node;u.edgeOffset=null,f.style[d.vendorPrefix+"Transform"]="",f.style[d.vendorPrefix+"TransitionDuration"]=""}clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.manager.active=null,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof o&&o({oldIndex:t.index,newIndex:t.newIndex,collection:i},e),t._touched=!1},t.autoscroll=function(){var e=t.translate,n={x:0,y:0},r={x:1,y:1},o=10,i=10;e.y>=t.maxTranslate.y-t.height/2?(n.y=1,r.y=i*Math.abs((t.maxTranslate.y-t.height/2-e.y)/t.height)):e.x>=t.maxTranslate.x-t.width/2?(n.x=1,r.x=o*Math.abs((t.maxTranslate.x-t.width/2-e.x)/t.width)):e.y<=t.minTranslate.y+t.height/2?(n.y=-1,r.y=i*Math.abs((e.y-t.height/2-t.minTranslate.y)/t.height)):e.x<=t.minTranslate.x+t.width/2&&(n.x=-1,r.x=o*Math.abs((e.x-t.width/2-t.minTranslate.x)/t.width)),t.autoscrollInterval&&(clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.isAutoScrolling=!1),0===n.x&&0===n.y||(t.autoscrollInterval=setInterval(function(){t.isAutoScrolling=!0;var e=1*r.x*n.x,o=1*r.y*n.y;t.scrollContainer.scrollTop+=o,t.scrollContainer.scrollLeft+=e,t.translate.x+=e,t.translate.y+=o,t.animateNodes()},5))},t.manager=new c.default,t.events={start:t.handleStart,move:t.handleMove,end:t.handleEnd},(0,f.default)(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.state={},t}return function _inherits(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)}(_class,a.Component),i(_class,[{key:"getChildContext",value:function getChildContext(){return{manager:this.manager}}},{key:"componentDidMount",value:function componentDidMount(){var e=this,t=this.props,n=t.getContainer,r=t.useWindowAsScrollContainer,o=this.props.contentWindow||window;this.container="function"==typeof n?n(this.getWrappedInstance()):(0,u.findDOMNode)(this),this.document=this.container.ownerDocument||document,this.scrollContainer=r?this.document.body:this.container,this.contentWindow="function"==typeof o?o():o;var i=function _loop(t){e.events.hasOwnProperty(t)&&d.events[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})};for(var a in this.events)i(a)}},{key:"componentWillUnmount",value:function componentWillUnmount(){var e=this,t=function _loop2(t){e.events.hasOwnProperty(t)&&d.events[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})};for(var n in this.events)t(n)}},{key:"getEdgeOffset",value:function getEdgeOffset(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,left:0};if(e){var n={top:t.top+e.offsetTop,left:t.left+e.offsetLeft};return e.parentNode!==this.container?this.getEdgeOffset(e.parentNode,n):n}}},{key:"getOffset",value:function getOffset(e){return{x:e.touches?e.touches[0].pageX:e.pageX,y:e.touches?e.touches[0].pageY:e.pageY}}},{key:"getLockPixelOffsets",value:function getLockPixelOffsets(){var e=this.props.lockOffset;Array.isArray(e)||(e=[e,e]),(0,f.default)(2===e.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",e);var t=o(e,2),n=t[0],r=t[1];return[this.getLockPixelOffset(n),this.getLockPixelOffset(r)]}},{key:"getLockPixelOffset",value:function getLockPixelOffset(e){var t=e,n=e,r="px";if("string"==typeof e){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);(0,f.default)(null!==o,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),t=n=parseFloat(e),r=o[1]}return(0,f.default)(isFinite(t)&&isFinite(n),"lockOffset value should be a finite. Given %s",e),"%"===r&&(t=t*this.width/100,n=n*this.height/100),{x:t,y:n}}},{key:"updatePosition",value:function updatePosition(e){var t=this.props,n=t.lockAxis,r=t.lockToContainerEdges,i=this.getOffset(e),a={x:i.x-this.initialOffset.x,y:i.y-this.initialOffset.y};if(a.y-=window.pageYOffset-this.initialWindowScroll.top,a.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=a,r){var s=this.getLockPixelOffsets(),l=o(s,2),u=l[0],f=l[1],c={x:this.width/2-u.x,y:this.height/2-u.y},h={x:this.width/2-f.x,y:this.height/2-f.y};a.x=(0,d.limit)(this.minTranslate.x+c.x,this.maxTranslate.x-h.x,a.x),a.y=(0,d.limit)(this.minTranslate.y+c.y,this.maxTranslate.y-h.y,a.y)}"x"===n?a.y=0:"y"===n&&(a.x=0),this.helper.style[d.vendorPrefix+"Transform"]="translate3d("+a.x+"px,"+a.y+"px, 0)"}},{key:"animateNodes",value:function animateNodes(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=this.manager.getOrderedRefs(),o=this.scrollContainer.scrollLeft-this.initialScroll.left,i=this.scrollContainer.scrollTop-this.initialScroll.top,a=this.offsetEdge.left+this.translate.x+o,s=this.offsetEdge.top+this.translate.y+i,l=window.pageYOffset-this.initialWindowScroll.top,u=window.pageXOffset-this.initialWindowScroll.left;this.newIndex=null;for(var f=0,c=r.length;f<c;f++){var h=r[f].node,p=h.sortableInfo.index,g=h.offsetWidth,v=h.offsetHeight,y={width:this.width>g?g/2:this.width/2,height:this.height>v?v/2:this.height/2},m={x:0,y:0},x=r[f].edgeOffset;x||(r[f].edgeOffset=x=this.getEdgeOffset(h));var b=f<r.length-1&&r[f+1],w=f>0&&r[f-1];b&&!b.edgeOffset&&(b.edgeOffset=this.getEdgeOffset(b.node)),p!==this.index?(t&&(h.style[d.vendorPrefix+"TransitionDuration"]=t+"ms"),this.axis.x?this.axis.y?p<this.index&&(a+u-y.width<=x.left&&s+l<=x.top+y.height||s+l+y.height<=x.top)?(m.x=this.width+this.marginOffset.x,x.left+m.x>this.containerBoundingRect.width-y.width&&(m.x=b.edgeOffset.left-x.left,m.y=b.edgeOffset.top-x.top),null===this.newIndex&&(this.newIndex=p)):p>this.index&&(a+u+y.width>=x.left&&s+l+y.height>=x.top||s+l+y.height>=x.top+v)&&(m.x=-(this.width+this.marginOffset.x),x.left+m.x<this.containerBoundingRect.left+y.width&&(m.x=w.edgeOffset.left-x.left,m.y=w.edgeOffset.top-x.top),this.newIndex=p):p>this.index&&a+u+y.width>=x.left?(m.x=-(this.width+this.marginOffset.x),this.newIndex=p):p<this.index&&a+u<=x.left+y.width&&(m.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=p)):this.axis.y&&(p>this.index&&s+l+y.height>=x.top?(m.y=-(this.height+this.marginOffset.y),this.newIndex=p):p<this.index&&s+l<=x.top+y.height&&(m.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=p))),h.style[d.vendorPrefix+"Transform"]="translate3d("+m.x+"px,"+m.y+"px,0)"):n&&(this.sortableGhost=h,h.style.visibility="hidden",h.style.opacity=0)}null==this.newIndex&&(this.newIndex=this.index)}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,f.default)(h.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=h.withRef?"wrappedInstance":null;return s.default.createElement(e,r({ref:t},(0,d.omit)(this.props,"contentWindow","useWindowAsScrollContainer","distance","helperClass","hideSortableGhost","transitionDuration","useDragHandle","pressDelay","pressThreshold","shouldCancelStart","onSortStart","onSortMove","onSortEnd","axis","lockAxis","lockOffset","lockToContainerEdges","getContainer","getHelperDimensions")))}}]),_class}(),t.displayName=(0,d.provideDisplayName)("sortableList",e),t.defaultProps={axis:"y",transitionDuration:300,pressDelay:0,pressThreshold:5,distance:0,useWindowAsScrollContainer:!1,hideSortableGhost:!0,shouldCancelStart:function shouldCancelStart(e){if(-1!==["input","textarea","select","option","button"].indexOf(e.target.tagName.toLowerCase()))return!0},lockToContainerEdges:!1,lockOffset:"50%",getHelperDimensions:function getHelperDimensions(e){var t=e.node;return{width:t.offsetWidth,height:t.offsetHeight}}},t.propTypes={axis:l.default.oneOf(["x","y","xy"]),distance:l.default.number,lockAxis:l.default.string,helperClass:l.default.string,transitionDuration:l.default.number,contentWindow:l.default.any,onSortStart:l.default.func,onSortMove:l.default.func,onSortEnd:l.default.func,shouldCancelStart:l.default.func,pressDelay:l.default.number,useDragHandle:l.default.bool,useWindowAsScrollContainer:l.default.bool,hideSortableGhost:l.default.bool,lockToContainerEdges:l.default.bool,lockOffset:l.default.oneOfType([l.default.number,l.default.string,l.default.arrayOf(l.default.oneOfType([l.default.number,l.default.string]))]),getContainer:l.default.func,getHelperDimensions:l.default.func},t.childContextTypes={manager:l.default.object.isRequired},n};var a=n(1),s=_interopRequireDefault(a),l=_interopRequireDefault(n(0)),u=n(31),f=_interopRequireDefault(n(932)),c=_interopRequireDefault(n(1055)),d=n(918)},1057:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableElement(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class),function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).apply(this,arguments))}return function _inherits(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)}(_class,i.Component),o(_class,[{key:"componentDidMount",value:function componentDidMount(){var e=this.props,t=e.collection,n=e.disabled,r=e.index;n||this.setDraggable(t,r)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){if(this.props.index!==e.index&&this.node&&(this.node.sortableInfo.index=e.index),this.props.disabled!==e.disabled){var t=e.collection,n=e.disabled,r=e.index;n?this.removeDraggable(t):this.setDraggable(t,r)}else this.props.collection!==e.collection&&(this.removeDraggable(this.props.collection),this.setDraggable(e.collection,e.index))}},{key:"componentWillUnmount",value:function componentWillUnmount(){var e=this.props,t=e.collection;e.disabled||this.removeDraggable(t)}},{key:"setDraggable",value:function setDraggable(e,t){var n=this.node=(0,l.findDOMNode)(this);n.sortableInfo={index:t,collection:e,manager:this.context.manager},this.ref={node:n},this.context.manager.add(e,this.ref)}},{key:"removeDraggable",value:function removeDraggable(e){this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,u.default)(c.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=c.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},(0,f.omit)(this.props,"collection","disabled","index")))}}]),_class}(),t.displayName=(0,f.provideDisplayName)("sortableElement",e),t.contextTypes={manager:s.default.object.isRequired},t.propTypes={index:s.default.number.isRequired,collection:s.default.oneOfType([s.default.number,s.default.string]),disabled:s.default.bool},t.defaultProps={collection:0},n};var i=n(1),a=_interopRequireDefault(i),s=_interopRequireDefault(n(0)),l=n(31),u=_interopRequireDefault(n(932)),f=n(918)},1058:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableHandle(e){var t,n,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class),function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).apply(this,arguments))}return function _inherits(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)}(_class,i.Component),o(_class,[{key:"componentDidMount",value:function componentDidMount(){(0,s.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,l.default)(f.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=f.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},this.props))}}]),_class}(),t.displayName=(0,u.provideDisplayName)("sortableHandle",e),n};var i=n(1),a=_interopRequireDefault(i),s=n(31),l=_interopRequireDefault(n(932)),u=n(918)},905:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=t.sortableHandle=t.sortableElement=t.sortableContainer=t.SortableHandle=t.SortableElement=t.SortableContainer=void 0;var r=n(918);Object.defineProperty(t,"arrayMove",{enumerable:!0,get:function get(){return r.arrayMove}});var o=_interopRequireDefault(n(1056)),i=_interopRequireDefault(n(1057)),a=_interopRequireDefault(n(1058));t.SortableContainer=o.default,t.SortableElement=i.default,t.SortableHandle=a.default,t.sortableContainer=o.default,t.sortableElement=i.default,t.sortableHandle=a.default},918:function(e,t,n){"use strict";function getCSSPixelValue(e){return"px"===e.substr(-2)?parseFloat(e):0}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=function arrayMove(e,t,n){var r=e.slice(0);if(n>=r.length)for(var o=n-r.length;1+o--;)r.push(void 0);return r.splice(n,0,r.splice(t,1)[0]),r},t.omit=function omit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce(function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t},{})},t.closest=function closest(e,t){for(;e;){if(t(e))return e;e=e.parentNode}},t.limit=function limit(e,t,n){return n<e?e:n>t?t:n},t.getElementMargin=function getElementMargin(e){var t=window.getComputedStyle(e);return{top:getCSSPixelValue(t.marginTop),right:getCSSPixelValue(t.marginRight),bottom:getCSSPixelValue(t.marginBottom),left:getCSSPixelValue(t.marginLeft)}},t.provideDisplayName=function provideDisplayName(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e};t.events={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},t.vendorPrefix=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}()},932:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],f=0;(l=new Error(t.replace(/%s/g,function(){return u[f++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}}}); \ No newline at end of file +webpackJsonp([0],{1041:function(e,t){e.exports=function baseFindIndex(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},1042:function(e,t,n){function baseFlatten(e,t,n,i,a){var s=-1,l=e.length;for(n||(n=o),a||(a=[]);++s<l;){var u=e[s];t>0&&n(u)?t>1?baseFlatten(u,t-1,n,i,a):r(a,u):i||(a[a.length]=u)}return a}var r=n(218),o=n(1048);e.exports=baseFlatten},1043:function(e,t,n){var r=n(96),o=n(95),i=n(219),a=n(1044),s=n(221),l=n(1046),u=n(53);e.exports=function baseOrderBy(e,t,n){var f=-1;t=r(t.length?t:[u],s(o));var c=i(e,function(e,n,o){return{criteria:r(t,function(t){return t(e)}),index:++f,value:e}});return a(c,function(e,t){return l(e,t,n)})}},1044:function(e,t){e.exports=function baseSortBy(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},1045:function(e,t,n){var r=n(37);e.exports=function compareAscending(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e==e,a=r(e),s=void 0!==t,l=null===t,u=t==t,f=r(t);if(!l&&!f&&!a&&e>t||a&&s&&u&&!l&&!f||o&&s&&u||!n&&u||!i)return 1;if(!o&&!a&&!f&&e<t||f&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!u)return-1}return 0}},1046:function(e,t,n){var r=n(1045);e.exports=function compareMultiple(e,t,n){for(var o=-1,i=e.criteria,a=t.criteria,s=i.length,l=n.length;++o<s;){var u=r(i[o],a[o]);if(u)return o>=l?u:u*("desc"==n[o]?-1:1)}return e.index-t.index}},1047:function(e,t,n){var r=n(95),o=n(24),i=n(55);e.exports=function createFind(e){return function(t,n,a){var s=Object(t);if(!o(t)){var l=r(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[l?t[u]:u]:void 0}}},1048:function(e,t,n){var r=n(36),o=n(54),i=n(14),a=r?r.isConcatSpreadable:void 0;e.exports=function isFlattenable(e){return i(e)||o(e)||!!(a&&e&&e[a])}},1049:function(e,t,n){var r=n(1047)(n(1050));e.exports=r},1050:function(e,t,n){var r=n(1041),o=n(95),i=n(1053),a=Math.max;e.exports=function findIndex(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(e,o(t,3),l)}},1051:function(e,t,n){var r=n(1042),o=n(1043),i=n(220),a=n(222),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},1052:function(e,t,n){var r=n(224),o=1/0,i=1.7976931348623157e308;e.exports=function toFinite(e){if(!e)return 0===e?e:0;if((e=r(e))===o||e===-o)return(e<0?-1:1)*i;return e==e?e:0}},1053:function(e,t,n){var r=n(1052);e.exports=function toInteger(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},1055:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}(),o=_interopRequireDefault(n(1049)),i=_interopRequireDefault(n(1051)),a=function(){function Manager(){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Manager),this.refs={}}return r(Manager,[{key:"add",value:function add(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function remove(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function isActive(){return this.active}},{key:"getActive",value:function getActive(){var e=this;return(0,o.default)(this.refs[this.active.collection],function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function getIndex(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function getOrderedRefs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return(0,i.default)(this.refs[e],function(e){return e.node.sortableInfo.index})}}]),Manager}();t.default=a},1056:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _toConsumableArray(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function sliceIterator(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableContainer(e){var t,n,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(e){!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class);var t=function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).call(this,e));return t.handleStart=function(e){var n=t.props,r=n.distance,o=n.shouldCancelStart;if(2===e.button||o(e))return!1;t._touched=!0,t._pos={x:e.pageX,y:e.pageY};var i=(0,d.closest)(e.target,function(e){return null!=e.sortableInfo});if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var a=t.props.useDragHandle,s=i.sortableInfo,l=s.index,u=s.collection;if(a&&!(0,d.closest)(e.target,function(e){return null!=e.sortableHandle}))return;t.manager.active={index:l,collection:u},"a"===e.target.tagName.toLowerCase()&&e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}},t.nodeIsChild=function(e){return e.sortableInfo.manager===t.manager},t.handleMove=function(e){var n=t.props,r=n.distance,o=n.pressThreshold;if(!t.state.sorting&&t._touched){t._delta={x:t._pos.x-e.pageX,y:t._pos.y-e.pageY};var i=Math.abs(t._delta.x)+Math.abs(t._delta.y);r||o&&!(o&&i>=o)?r&&i>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}},t.handleEnd=function(){var e=t.props.distance;t._touched=!1,e||t.cancel()},t.cancel=function(){t.state.sorting||(clearTimeout(t.pressTimer),t.manager.active=null)},t.handlePress=function(e){var n=t.manager.getActive();if(n){var r=t.props,o=r.axis,i=r.getHelperDimensions,a=r.helperClass,s=r.hideSortableGhost,l=r.onSortStart,u=r.useWindowAsScrollContainer,f=n.node,c=n.collection,h=f.sortableInfo.index,p=(0,d.getElementMargin)(f),g=t.container.getBoundingClientRect(),v=i({index:h,node:f,collection:c});t.node=f,t.margin=p,t.width=v.width,t.height=v.height,t.marginOffset={x:t.margin.left+t.margin.right,y:Math.max(t.margin.top,t.margin.bottom)},t.boundingClientRect=f.getBoundingClientRect(),t.containerBoundingRect=g,t.index=h,t.newIndex=h,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=t.getEdgeOffset(f),t.initialOffset=t.getOffset(e),t.initialScroll={top:t.scrollContainer.scrollTop,left:t.scrollContainer.scrollLeft},t.initialWindowScroll={top:window.pageYOffset,left:window.pageXOffset};var y=f.querySelectorAll("input, textarea, select"),m=f.cloneNode(!0);if([].concat(_toConsumableArray(m.querySelectorAll("input, textarea, select"))).forEach(function(e,t){"file"!==e.type&&y[t]&&(e.value=y[t].value)}),t.helper=t.document.body.appendChild(m),t.helper.style.position="fixed",t.helper.style.top=t.boundingClientRect.top-p.top+"px",t.helper.style.left=t.boundingClientRect.left-p.left+"px",t.helper.style.width=t.width+"px",t.helper.style.height=t.height+"px",t.helper.style.boxSizing="border-box",t.helper.style.pointerEvents="none",s&&(t.sortableGhost=f,f.style.visibility="hidden",f.style.opacity=0),t.minTranslate={},t.maxTranslate={},t.axis.x&&(t.minTranslate.x=(u?0:g.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(u?t.contentWindow.innerWidth:g.left+g.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(u?0:g.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(u?t.contentWindow.innerHeight:g.top+g.height)-t.boundingClientRect.top-t.height/2),a){var x;(x=t.helper.classList).add.apply(x,_toConsumableArray(a.split(" ")))}t.listenerNode=e.touches?f:t.contentWindow,d.events.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),d.events.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}),t.setState({sorting:!0,sortingIndex:h}),l&&l({node:f,index:h,collection:c},e)}},t.handleSortMove=function(e){var n=t.props.onSortMove;e.preventDefault(),t.updatePosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)},t.handleSortEnd=function(e){var n=t.props,r=n.hideSortableGhost,o=n.onSortEnd,i=t.manager.active.collection;t.listenerNode&&(d.events.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),d.events.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&(t.sortableGhost.style.visibility="",t.sortableGhost.style.opacity="");for(var a=t.manager.refs[i],s=0,l=a.length;s<l;s++){var u=a[s],f=u.node;u.edgeOffset=null,f.style[d.vendorPrefix+"Transform"]="",f.style[d.vendorPrefix+"TransitionDuration"]=""}clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.manager.active=null,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof o&&o({oldIndex:t.index,newIndex:t.newIndex,collection:i},e),t._touched=!1},t.autoscroll=function(){var e=t.translate,n={x:0,y:0},r={x:1,y:1},o=10,i=10;e.y>=t.maxTranslate.y-t.height/2?(n.y=1,r.y=i*Math.abs((t.maxTranslate.y-t.height/2-e.y)/t.height)):e.x>=t.maxTranslate.x-t.width/2?(n.x=1,r.x=o*Math.abs((t.maxTranslate.x-t.width/2-e.x)/t.width)):e.y<=t.minTranslate.y+t.height/2?(n.y=-1,r.y=i*Math.abs((e.y-t.height/2-t.minTranslate.y)/t.height)):e.x<=t.minTranslate.x+t.width/2&&(n.x=-1,r.x=o*Math.abs((e.x-t.width/2-t.minTranslate.x)/t.width)),t.autoscrollInterval&&(clearInterval(t.autoscrollInterval),t.autoscrollInterval=null,t.isAutoScrolling=!1),0===n.x&&0===n.y||(t.autoscrollInterval=setInterval(function(){t.isAutoScrolling=!0;var e=1*r.x*n.x,o=1*r.y*n.y;t.scrollContainer.scrollTop+=o,t.scrollContainer.scrollLeft+=e,t.translate.x+=e,t.translate.y+=o,t.animateNodes()},5))},t.manager=new c.default,t.events={start:t.handleStart,move:t.handleMove,end:t.handleEnd},(0,f.default)(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time."),t.state={},t}return function _inherits(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)}(_class,a.Component),i(_class,[{key:"getChildContext",value:function getChildContext(){return{manager:this.manager}}},{key:"componentDidMount",value:function componentDidMount(){var e=this,t=this.props,n=t.getContainer,r=t.useWindowAsScrollContainer,o=this.props.contentWindow||window;this.container="function"==typeof n?n(this.getWrappedInstance()):(0,u.findDOMNode)(this),this.document=this.container.ownerDocument||document,this.scrollContainer=r?this.document.body:this.container,this.contentWindow="function"==typeof o?o():o;var i=function _loop(t){e.events.hasOwnProperty(t)&&d.events[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})};for(var a in this.events)i(a)}},{key:"componentWillUnmount",value:function componentWillUnmount(){var e=this,t=function _loop2(t){e.events.hasOwnProperty(t)&&d.events[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})};for(var n in this.events)t(n)}},{key:"getEdgeOffset",value:function getEdgeOffset(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{top:0,left:0};if(e){var n={top:t.top+e.offsetTop,left:t.left+e.offsetLeft};return e.parentNode!==this.container?this.getEdgeOffset(e.parentNode,n):n}}},{key:"getOffset",value:function getOffset(e){return{x:e.touches?e.touches[0].pageX:e.pageX,y:e.touches?e.touches[0].pageY:e.pageY}}},{key:"getLockPixelOffsets",value:function getLockPixelOffsets(){var e=this.props.lockOffset;Array.isArray(e)||(e=[e,e]),(0,f.default)(2===e.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",e);var t=o(e,2),n=t[0],r=t[1];return[this.getLockPixelOffset(n),this.getLockPixelOffset(r)]}},{key:"getLockPixelOffset",value:function getLockPixelOffset(e){var t=e,n=e,r="px";if("string"==typeof e){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(e);(0,f.default)(null!==o,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',e),t=n=parseFloat(e),r=o[1]}return(0,f.default)(isFinite(t)&&isFinite(n),"lockOffset value should be a finite. Given %s",e),"%"===r&&(t=t*this.width/100,n=n*this.height/100),{x:t,y:n}}},{key:"updatePosition",value:function updatePosition(e){var t=this.props,n=t.lockAxis,r=t.lockToContainerEdges,i=this.getOffset(e),a={x:i.x-this.initialOffset.x,y:i.y-this.initialOffset.y};if(a.y-=window.pageYOffset-this.initialWindowScroll.top,a.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=a,r){var s=this.getLockPixelOffsets(),l=o(s,2),u=l[0],f=l[1],c={x:this.width/2-u.x,y:this.height/2-u.y},h={x:this.width/2-f.x,y:this.height/2-f.y};a.x=(0,d.limit)(this.minTranslate.x+c.x,this.maxTranslate.x-h.x,a.x),a.y=(0,d.limit)(this.minTranslate.y+c.y,this.maxTranslate.y-h.y,a.y)}"x"===n?a.y=0:"y"===n&&(a.x=0),this.helper.style[d.vendorPrefix+"Transform"]="translate3d("+a.x+"px,"+a.y+"px, 0)"}},{key:"animateNodes",value:function animateNodes(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=this.manager.getOrderedRefs(),o=this.scrollContainer.scrollLeft-this.initialScroll.left,i=this.scrollContainer.scrollTop-this.initialScroll.top,a=this.offsetEdge.left+this.translate.x+o,s=this.offsetEdge.top+this.translate.y+i,l=window.pageYOffset-this.initialWindowScroll.top,u=window.pageXOffset-this.initialWindowScroll.left;this.newIndex=null;for(var f=0,c=r.length;f<c;f++){var h=r[f].node,p=h.sortableInfo.index,g=h.offsetWidth,v=h.offsetHeight,y={width:this.width>g?g/2:this.width/2,height:this.height>v?v/2:this.height/2},m={x:0,y:0},x=r[f].edgeOffset;x||(r[f].edgeOffset=x=this.getEdgeOffset(h));var b=f<r.length-1&&r[f+1],w=f>0&&r[f-1];b&&!b.edgeOffset&&(b.edgeOffset=this.getEdgeOffset(b.node)),p!==this.index?(t&&(h.style[d.vendorPrefix+"TransitionDuration"]=t+"ms"),this.axis.x?this.axis.y?p<this.index&&(a+u-y.width<=x.left&&s+l<=x.top+y.height||s+l+y.height<=x.top)?(m.x=this.width+this.marginOffset.x,x.left+m.x>this.containerBoundingRect.width-y.width&&(m.x=b.edgeOffset.left-x.left,m.y=b.edgeOffset.top-x.top),null===this.newIndex&&(this.newIndex=p)):p>this.index&&(a+u+y.width>=x.left&&s+l+y.height>=x.top||s+l+y.height>=x.top+v)&&(m.x=-(this.width+this.marginOffset.x),x.left+m.x<this.containerBoundingRect.left+y.width&&(m.x=w.edgeOffset.left-x.left,m.y=w.edgeOffset.top-x.top),this.newIndex=p):p>this.index&&a+u+y.width>=x.left?(m.x=-(this.width+this.marginOffset.x),this.newIndex=p):p<this.index&&a+u<=x.left+y.width&&(m.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=p)):this.axis.y&&(p>this.index&&s+l+y.height>=x.top?(m.y=-(this.height+this.marginOffset.y),this.newIndex=p):p<this.index&&s+l<=x.top+y.height&&(m.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=p))),h.style[d.vendorPrefix+"Transform"]="translate3d("+m.x+"px,"+m.y+"px,0)"):n&&(this.sortableGhost=h,h.style.visibility="hidden",h.style.opacity=0)}null==this.newIndex&&(this.newIndex=this.index)}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,f.default)(h.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=h.withRef?"wrappedInstance":null;return s.default.createElement(e,r({ref:t},(0,d.omit)(this.props,"contentWindow","useWindowAsScrollContainer","distance","helperClass","hideSortableGhost","transitionDuration","useDragHandle","pressDelay","pressThreshold","shouldCancelStart","onSortStart","onSortMove","onSortEnd","axis","lockAxis","lockOffset","lockToContainerEdges","getContainer","getHelperDimensions")))}}]),_class}(),t.displayName=(0,d.provideDisplayName)("sortableList",e),t.defaultProps={axis:"y",transitionDuration:300,pressDelay:0,pressThreshold:5,distance:0,useWindowAsScrollContainer:!1,hideSortableGhost:!0,shouldCancelStart:function shouldCancelStart(e){if(-1!==["input","textarea","select","option","button"].indexOf(e.target.tagName.toLowerCase()))return!0},lockToContainerEdges:!1,lockOffset:"50%",getHelperDimensions:function getHelperDimensions(e){var t=e.node;return{width:t.offsetWidth,height:t.offsetHeight}}},t.propTypes={axis:l.default.oneOf(["x","y","xy"]),distance:l.default.number,lockAxis:l.default.string,helperClass:l.default.string,transitionDuration:l.default.number,contentWindow:l.default.any,onSortStart:l.default.func,onSortMove:l.default.func,onSortEnd:l.default.func,shouldCancelStart:l.default.func,pressDelay:l.default.number,useDragHandle:l.default.bool,useWindowAsScrollContainer:l.default.bool,hideSortableGhost:l.default.bool,lockToContainerEdges:l.default.bool,lockOffset:l.default.oneOfType([l.default.number,l.default.string,l.default.arrayOf(l.default.oneOfType([l.default.number,l.default.string]))]),getContainer:l.default.func,getHelperDimensions:l.default.func},t.childContextTypes={manager:l.default.object.isRequired},n};var a=n(1),s=_interopRequireDefault(a),l=_interopRequireDefault(n(0)),u=n(31),f=_interopRequireDefault(n(930)),c=_interopRequireDefault(n(1055)),d=n(918)},1057:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableElement(e){var t,n,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class),function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).apply(this,arguments))}return function _inherits(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)}(_class,i.Component),o(_class,[{key:"componentDidMount",value:function componentDidMount(){var e=this.props,t=e.collection,n=e.disabled,r=e.index;n||this.setDraggable(t,r)}},{key:"componentWillReceiveProps",value:function componentWillReceiveProps(e){if(this.props.index!==e.index&&this.node&&(this.node.sortableInfo.index=e.index),this.props.disabled!==e.disabled){var t=e.collection,n=e.disabled,r=e.index;n?this.removeDraggable(t):this.setDraggable(t,r)}else this.props.collection!==e.collection&&(this.removeDraggable(this.props.collection),this.setDraggable(e.collection,e.index))}},{key:"componentWillUnmount",value:function componentWillUnmount(){var e=this.props,t=e.collection;e.disabled||this.removeDraggable(t)}},{key:"setDraggable",value:function setDraggable(e,t){var n=this.node=(0,l.findDOMNode)(this);n.sortableInfo={index:t,collection:e,manager:this.context.manager},this.ref={node:n},this.context.manager.add(e,this.ref)}},{key:"removeDraggable",value:function removeDraggable(e){this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,u.default)(c.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=c.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},(0,f.omit)(this.props,"collection","disabled","index")))}}]),_class}(),t.displayName=(0,f.provideDisplayName)("sortableElement",e),t.contextTypes={manager:s.default.object.isRequired},t.propTypes={index:s.default.number.isRequired,collection:s.default.oneOfType([s.default.number,s.default.string]),disabled:s.default.bool},t.defaultProps={collection:0},n};var i=n(1),a=_interopRequireDefault(i),s=_interopRequireDefault(n(0)),l=n(31),u=_interopRequireDefault(n(930)),f=n(918)},1058:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();t.default=function sortableHandle(e){var t,n,f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function _class(){return function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_class),function _possibleConstructorReturn(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}(this,(_class.__proto__||Object.getPrototypeOf(_class)).apply(this,arguments))}return function _inherits(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)}(_class,i.Component),o(_class,[{key:"componentDidMount",value:function componentDidMount(){(0,s.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function getWrappedInstance(){return(0,l.default)(f.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.refs.wrappedInstance}},{key:"render",value:function render(){var t=f.withRef?"wrappedInstance":null;return a.default.createElement(e,r({ref:t},this.props))}}]),_class}(),t.displayName=(0,u.provideDisplayName)("sortableHandle",e),n};var i=n(1),a=_interopRequireDefault(i),s=n(31),l=_interopRequireDefault(n(930)),u=n(918)},905:function(e,t,n){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=t.sortableHandle=t.sortableElement=t.sortableContainer=t.SortableHandle=t.SortableElement=t.SortableContainer=void 0;var r=n(918);Object.defineProperty(t,"arrayMove",{enumerable:!0,get:function get(){return r.arrayMove}});var o=_interopRequireDefault(n(1056)),i=_interopRequireDefault(n(1057)),a=_interopRequireDefault(n(1058));t.SortableContainer=o.default,t.SortableElement=i.default,t.SortableHandle=a.default,t.sortableContainer=o.default,t.sortableElement=i.default,t.sortableHandle=a.default},918:function(e,t,n){"use strict";function getCSSPixelValue(e){return"px"===e.substr(-2)?parseFloat(e):0}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayMove=function arrayMove(e,t,n){var r=e.slice(0);if(n>=r.length)for(var o=n-r.length;1+o--;)r.push(void 0);return r.splice(n,0,r.splice(t,1)[0]),r},t.omit=function omit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.keys(e).reduce(function(t,r){return-1===n.indexOf(r)&&(t[r]=e[r]),t},{})},t.closest=function closest(e,t){for(;e;){if(t(e))return e;e=e.parentNode}},t.limit=function limit(e,t,n){return n<e?e:n>t?t:n},t.getElementMargin=function getElementMargin(e){var t=window.getComputedStyle(e);return{top:getCSSPixelValue(t.marginTop),right:getCSSPixelValue(t.marginRight),bottom:getCSSPixelValue(t.marginBottom),left:getCSSPixelValue(t.marginLeft)}},t.provideDisplayName=function provideDisplayName(e,t){var n=t.displayName||t.name;return n?e+"("+n+")":e};t.events={start:["touchstart","mousedown"],move:["touchmove","mousemove"],end:["touchend","touchcancel","mouseup"]},t.vendorPrefix=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}()},930:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],f=0;(l=new Error(t.replace(/%s/g,function(){return u[f++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}}}); \ No newline at end of file diff --git a/index.html b/index.html index 2b06935..74ce0e4 100644 --- a/index.html +++ b/index.html @@ -2,10 +2,10 @@ <html> <head> <meta charset="utf-8"> - <title>Plesk UI Library 0.4.0</title> + <title>Plesk UI Library 0.4.1</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div id="app"></div> - <script type="text/javascript" src="build/bundle.13566d48.js"></script></body> + <script type="text/javascript" src="build/bundle.ba7a221a.js"></script></body> </html>